Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, 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.
 Entire forum ➜ MUSHclient ➜ Plugins ➜ MUSHclient generic graphical mapper module

MUSHclient generic graphical mapper module

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  14  15  16  17 

Posted by Victorious   (89 posts)  Bio
Date Reply #240 on Mon 13 Jan 2014 01:42 AM (UTC)

Amended on Mon 13 Jan 2014 01:58 AM (UTC) by Victorious

Message
Recent posts in this topic prompted me to try adapting the mapper to work with a mud called Batmud. One of the problems that I've been facing is that rooms with identical names with identical exits and descriptions are far too common, which will cause mapping problems. Is there a good way of dealing with this? I'm wondering if its even possible to map muds reliably that do not have some way of letting players look at room numbers (e.g gmcp in materia magica and aardwolf).

If I manage to solve the above problem, the next mapping challenge for me will be to restrict automatic map movement e.g only to roads when moving in the outworld. Is it possible to control the mapper's pathfinding?
Top

Posted by Nick Gammon   Australia  (23,057 posts)  Bio   Forum Administrator
Date Reply #241 on Mon 13 Jan 2014 03:51 AM (UTC)
Message
No there's not a particularly good way of dealing with it. It's like a city that has a lot of streets with the same name in it. It might be amusing to do, but isn't fun for its citizens.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Bzik   Poland  (1 post)  Bio
Date Reply #242 on Thu 20 Feb 2014 10:55 AM (UTC)

Amended on Sun 23 Feb 2014 02:50 PM (UTC) by Bzik

Message
Hello,
Simple mapper from page 7 does not work for me.


Schodki
Za jednym z gobelinow zdobiacych sciane katedry znajduja sie waziutkie, okragle
schody prowadzace coraz wyzej i wyzej. Nie ma tu pochodni, ani okienek, nie
mozesz wiec ocenic wysokosci chociazby po wysokosci schodow. Ale nogi Ci mowia,
ze jest to stanowczo za wysoko. Wyglada na to, ze ponad krzyzowo-zebrowym
sklepieniem darkhavenskiej katedry znajduje sie cos, czego normalnie z poziomu
ulicy zobaczyc nie sposob...
[Exits: up down]

<2201/2201hp 1008/1130mn {-11al 1000}>


I get this error:


Run-time error
Plugin: Simple_Mapper (called from world: cyg-kylan)
Function/Sub: Name_Or_Exits called by trigger
Reason: processing trigger "Name_Or_Exits"
[string "Plugin"]:39: attempt to concatenate global 'roomdesc' (a nil value)
stack traceback:
        [string "Plugin"]:39: in function 'process_exits'
        [string "Plugin"]:80: in function <[string "Plugin"]:74>
Error context in script:
  35 : 
  36 : function process_exits (exits_str)
  37 : 
  38 :   -- genereate a "room ID" by hashing the room name, description and exits
  39*:   uid = utils.tohex (utils.md5 (roomname .. roomdesc .. exits_str))
  40 :   uid = uid:sub (1, 25)
  41 : 
  42 :   -- break up exits into individual directions
  43 :   exits = {}


in the script simple mapper corrected function Name_Or_Exit:


    exits = string.match (line, "^%[Exits: (.*)%]")
Top

Posted by Gorertz   (2 posts)  Bio
Date Reply #243 on Tue 24 Jun 2014 07:43 PM (UTC)
Message
Greetings.
I'm new in this and my question would be:
Can somebody explain me how it works... by how it works i want to ask how do you add that to You're mush client.
I wasn't able to understand what Nick Gammon wrote...
If somebody could help i would be really gratefull.

Gorertz
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.


746,158 views.

This is page 17, subject is 17 pages long:  [Previous page]  1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17 

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.