[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Plugins
. . -> [Subject]  MUSHclient generic graphical mapper module
Home  |  Users  |  Search  |  FAQ
Register forum user name
Forgotten password?

MUSHclient generic graphical mapper module

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Pages: 1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17 

Posted by Victorious   (41 posts)  [Biography] bio
Date Reply #240 on Mon 13 Jan 2014 01:42 AM (UTC)  quote  ]

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

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?
[Go to top] top

Posted by Nick Gammon   Australia  (19,672 posts)  [Biography] bio   Forum Administrator
Date Reply #241 on Mon 13 Jan 2014 03:51 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Bzik   Poland  (1 post)  [Biography] bio
Date Reply #242 on Thu 20 Feb 2014 10:55 AM (UTC)  quote  ]

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

Simple mapper from page 7 does not work for me.

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: (.*)%]")
[Go to top] top

Posted by Gorertz   (2 posts)  [Biography] bio
Date Reply #243 on Tue 24 Jun 2014 07:43 PM (UTC)  quote  ]
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.

[Go to top] 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.


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.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.


Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]