Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Plugins
➜ Mapper for Achaea
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2
3
4
5
6
7
8
9
10 11
12
13
Posted by
| BeardedBuddhist
(21 posts) Bio
|
Date
| Reply #135 on Thu 24 Feb 2011 09:41 PM (UTC) Amended on Fri 25 Feb 2011 02:15 AM (UTC) by BeardedBuddhist
|
Message
|
Dontarion said:
@ Nick:
Think you could work in a permanent solution for tracking wormholes? I'm going to re-add my wormhole solution into the current version but IIRC the last time took quite a bit effort but this is because I don't do SQL at all.
Aye, that would be nice for the snakes out there.
Personally, I would pay to see the following happen(or have someone help me with the following):
1. The mapper reading and displaying area name instead of a number, such as has been accomplished by Dontarion. (Shouldn't it be this way already?) (he accomplishes this with both of his atcp plugins, and I have yet to pinpoint how)
2. The ability to control the length of the exit lines, as has been accomplished by Kairuni. (Shouldn't it be this way already?) (I managed to accomplish this, thanks to the info in Kairuni's post)
3. Unexplored exits to show path and room border of unexplored room in style of dash line, instead of that giant ugly cyan ring, as was accomplished by Dontarion. (because it looks 1000x better) (he accomplishes this with his mapper.lua, that does not support hiding areas it seems)
4. Farsight support, as accomplished by Dontarion. (because that would be too cool) (I haven't messed with this task yet because it pales in comparison)
Edit: Ahh, did I mention how kick@$$ MUSHclient is yet.
Still #3 eludes me. I changed the circle to match the background colour, which works well enough to make the mapper bearable, though I would love to figure a real solution.
Oohh, I wonder if it would be possible to label area exits somehow...? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #136 on Fri 25 Feb 2011 06:39 AM (UTC) |
Message
|
Quote: Think you could work in a permanent solution for tracking wormholes?
Wormholes? Are they like teleports? The mapper was deliberately designed to be fairly generic. I knew, for example, that some MUDs have "enter" and "leave" which wouldn't be handled by it directly because it only knows the directions N/S/E/W, NE/NW/SE/SW, up and down. After that it starts to run out of places it can automatically place exit lines.
Quote: The mapper reading and displaying area name instead of a number ...
I think it does that (see screen shot on page 1 of this thread) if you populate the correct field for the room when it asks the room info.
Quote: The ability to control the length of the exit lines ...
Well that's hard to get right. If someone has, I take off my hat to them. You really need to know coordinates, not every MUD has that.
Quote: Unexplored exits to show path and room border of unexplored room in style of dash line, instead of that giant ugly cyan ring ...
The ring was an "area exit" ring. I think you can configure to turn that off.
Quote: Farsight support ...
I'm not sure what that is.
I'm pleased everyone likes the mapper (well mainly like it) and the fact that it is just there in source form means that you are most welcome to adapt it to more precisely meet the needs of a particular MUD. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| BeardedBuddhist
(21 posts) Bio
|
Date
| Reply #137 on Fri 25 Feb 2011 08:14 AM (UTC) Amended on Fri 25 Feb 2011 08:15 PM (UTC) by BeardedBuddhist
|
Message
|
Quote: "The mapper reading and displaying area name instead of a number ... I think it does that"
Ahh. I meant more of reading it properly automatically, out of the box. I tried both the older version on the downloads page and the latest version [of MUSHCLIENT], of which neither does this, with Achaea at least. Simply switching out the 2 ACTP plugins with the ones provided by Dontarion fixes this for me though. My thanks to you, Dontarion.
Quote: "The ability to control the length of the exit lines ... Well that's hard to get right. If someone has, I take off my hat to them."
This has been accomplished already, in a seemingly universal manner with a couple dozen lines of script addition, by Kairuni, here: http://pastebin.com/3L421QyT
This was a feature I could not imagine having a mapper without, major thanks to Kairuni.
Quote: "Unexplored exits to show path and room border of unexplored room in style of dash line, instead of that giant ugly cyan ring ... I think you can configure to turn that off."
I figured out the perfect solution for me. I extended the length of the exit lines and removed the ring entirely, with the area exits solid and the unknown exits dashed. Now it looks awesome.
Quote: "Farsight support ... I'm not sure what that is."
Farsight is a skill that names the location of another player. It requires a trigger that is game specific though... so it is not really something I imagine you'd put in.
Yes, I especially love the mapper. It is way too cool, I mean waay too cool. | Top |
|
Posted by
| BeardedBuddhist
(21 posts) Bio
|
Date
| Reply #138 on Sat 05 Mar 2011 03:43 PM (UTC) Amended on Sat 05 Mar 2011 03:44 PM (UTC) by BeardedBuddhist
|
Message
| Argh! MUSHCLIENT is amazing, but also infinitely frustrating in its magnificence.
So I had the exit extender stuff by Kairuni scripted in and working beautifully.. then all of a sudden it stopped saving the extended lengths.
Fresh install, re-script the mapper length stuff, but still it is not reproducing the extended exits after restarting the client.
What happened?
Also I noticed when redrawing a new mapper database that it is giving the coordinates. Is there a way to get the map to place the room at the ATCP coordinates given? | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #139 on Sat 05 Mar 2011 09:45 PM (UTC) |
Message
| I don't know the answers to any of those. Maybe you got the wrong script. Maybe it is something to do with the plugin state file, if it has one. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| BeardedBuddhist
(21 posts) Bio
|
Date
| Reply #140 on Sat 05 Mar 2011 10:00 PM (UTC) Amended on Sat 05 Mar 2011 10:30 PM (UTC) by BeardedBuddhist
|
Message
| I am using your default v4.72 atcp plugins. In these 2 file I put in some script by Kairuni, which you can view here:
http://forums.achaea.com/index.php?showtopic=40651&pid=1228934&st=0&#entry1228934
(more specifically, here:)
http://pastebin.com/3L421QyT
Everything was working just fine. I could manually change the exit length using the alias scripted from the above, and it kept these changes through many restarts.
Recently, as in last night, the exit lines are no longer lengthened. I reinstalled all the default stuff and added the few lines of script that worked so beautifully before, but still it is not saving the exit lengths.
I have studied the scripts for many hours, restarted and reinstalled many times. I am not a programmer, I am a kung fu instructor. This stuff is way beyond me, I barely managed to add Kairuni's script stuff to begin with, so why it stopped working is entirely beyond me at this point. I am sure if you take a look at whats going on, anyone really, it wouldn't be hard to figure out.
Edit: All I need at this point is for the mapper to function as any mapper should, that is for it to have adjustable exit lengths. Rather this is achieved automatically through recognizing the atcp/gmcp coordinates and drawing it accordingly, or having to adjust it manually through an alias like was working before, matters little to me, so long as I can do it.
Any help you can provide is greatly appreciated. Seriously, any.
Thanks guys.
| Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #141 on Sun 06 Mar 2011 12:34 AM (UTC) |
Message
| I didn't have anything to do with the variable exit lengths code. Perhaps the person that did can comment. I haven't even seen it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| BeardedBuddhist
(21 posts) Bio
|
Date
| Reply #142 on Sun 06 Mar 2011 01:34 AM (UTC) Amended on Sun 06 Mar 2011 01:43 AM (UTC) by BeardedBuddhist
|
Message
|
Nick Gammon said:
I didn't have anything to do with the variable exit lengths code... I haven't even seen it.
Aye. That is why I put the link(s), for you, to check out the script (if you were so inclined).
The real issue that I am having doesn't seem so much to be with the script, though it may be. It seems to be with the fact that it is no longer storing the information like it was.. or redrawing the room now regardless of what the script that used to work is telling it to do. But like I said, I am not scripter.
It is frustrating to finally get the mapper configured, and have it work well for a week, only to have it take a shit on me without touching it. Adding to that frustration is knowing a decent scripter with a few minutes could fix what I have spent literally an entire day trying to just figure out.
... at this point I am quite willing to pay someone to help end my frustration (via Achaea credits or paypal donation link). | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #143 on Sun 06 Mar 2011 03:20 AM (UTC) Amended on Sun 06 Mar 2011 03:26 AM (UTC) by Twisol
|
Message
|
BeardedBuddhist said: It is frustrating to finally get the mapper configured, and have it work well for a week, only to have it take a shit on me without touching it. Adding to that frustration is knowing a decent scripter with a few minutes could fix what I have spent literally an entire day trying to just figure out.
I haven't looked at the code either, but I can tell you that debugging is one of the more onerous parts of programming. Usually a bug means one of the assumptions you made was wrong, which means you have to use the process of elimination to figure out what you did wrong. It's not as simple as looking at the code and saying "Oh, I'm adding 1 instead of 2."
There's a point where you have a kind of intuition for where the problem might be, but it only really applies to code you've written or algorithms you're familiar with.
The way I see it there are two places there could be a bug. The first is in the core code written by Nick, and the second is in the room-length patch written by Kairuni. Last I saw of Kairuni's work it was mathematically dense (all sorts of weights and balancing and whatnot), so I'm not touching that. I'd be more inclined to poke around Nick's code, but I have more to do than play with MUSHclient these days, sadly.
Sorry, I'm rambling. Tl;dr: it's not always that simple, and I wish I could help but I don't have the time. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| BeardedBuddhist
(21 posts) Bio
|
Date
| Reply #144 on Sun 06 Mar 2011 03:26 AM (UTC) Amended on Sun 06 Mar 2011 03:28 AM (UTC) by BeardedBuddhist
|
Message
|
Twisol said:
I haven't looked at the code either, but I can tell you that debugging is one of the more onerous parts of programming. Usually a bug means one of the assumptions you made was wrong, which means you have to use the process of elimination to figure out what you did wrong. It's not as simple as looking at the code and saying "Oh, I left out a parenthesis."
There's a point where you have a kind of intuition for where the problem might be, but it only really applies to code you've written or algorithms you're familiar with.
For god's sake would y'all just look at the bloody script.. it would take less time than to type out to tell me you haven't seen the script.
I am disappointed that all I keep hearing is "oh well."
(sad when I am asking so little.. and willing to pay for help.) | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #145 on Sun 06 Mar 2011 04:01 AM (UTC) |
Message
| forums.achaea.com seems to be down. My best guess right now, based on the symptoms, is that you should delete and recreate the database. Make sure you add the database table mentioned at the bottom of the pastebin, as that's where the line lengths seem to be stored. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| BeardedBuddhist
(21 posts) Bio
|
Date
| Reply #146 on Sun 06 Mar 2011 04:15 AM (UTC) |
Message
|
Twisol said:
forums.achaea.com seems to be down. My best guess right now, based on the symptoms, is that you should delete and recreate the database. Make sure you add the database table mentioned at the bottom of the pastebin, as that's where the line lengths seem to be stored.
Excellent, thank you for your help. I am not sure how to delete and recreate the database outside of deleting the <worldname>.db in and along with the mushclient folder each time I reinstalled the client. Each time I start with a clean map, with no drawn rooms. I have been putting in the table at the end, I assumed that part was important and figured that to be where the exit_len #s where stored (or supposed to be stored).
On another note: the client receives the coordinates, which seem to be accurate for the area number.. is it possible to get the mapper to draw the room at the atcp coordinates (such as Kairuni's mapper does).
Thanks again for the help. | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #147 on Sun 06 Mar 2011 04:24 AM (UTC) |
Message
|
BeardedBuddhist said: I am not sure how to delete and recreate the database outside of deleting the <worldname>.db in and along with the mushclient folder each time I reinstalled the client.
Just the .db file should suffice.
BeardedBuddhist said: I have been putting in the table at the end
End of what, again? |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| BeardedBuddhist
(21 posts) Bio
|
Date
| Reply #148 on Sun 06 Mar 2011 04:27 AM (UTC) |
Message
|
BeardedBuddhist said: I have been putting in the table at the end
End of what, again?
I should have said the table at the bottom [of the pastebin link]. | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #149 on Sun 06 Mar 2011 04:30 AM (UTC) |
Message
| Right, but where are you putting it? It's not Lua code, and the .db file is a binary format. The CREATE TABLE etc. stuff is an SQL command used to configure a database. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
501,754 views.
This is page 10, subject is 13 pages long:
1
2
3
4
5
6
7
8
9
10 11
12
13
It is now over 60 days since the last post. This thread is closed.
Refresh page
top