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

Gammon Software Solutions 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
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: MUSHclient generic graphical mapper module
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

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

Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Sun 26 Aug 2012 11:16 PM (UTC)  quote  ]
Message
Martin4503 said:
It works for a SMAUG MUD translated in spanish?

I don't see why it wouldn't work in Spanish too.

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Martin4503   (1 post)  [Biography] bio
Date Thu 23 Aug 2012 09:08 PM (UTC)  quote  ]
Message
Hi, im new on the forums, i just downloaded the mapper
and I play on a SMAUG mud, in spanish, so mi question is:

It works for a SMAUG MUD translated in spanish?

thanks
[Go to top] top

Posted by Nylian   (12 posts)  [Biography] bio
Date Fri 15 Jun 2012 09:18 PM (UTC)  quote  ]
Message
Thank you Nick! I've seen all of your instructional videos thus far from youtube and am constantly checking the site.

I appreciate the direction and will do what I can to get her working. :)
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Fri 15 Jun 2012 08:55 PM (UTC)  quote  ]
Message
Personally I don't propose to convert yet another MUD's output for mapping, having done it a few times. But you may get tips from them. eg.

http://www.gammon.com.au/forum/?id=10536

http://www.gammon.com.au/forum/?id=10667

If CMUD can make it work, no doubt it can be done. I presume they also hit issues with rooms with the same name, hidden exits, that sort of stuff.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nylian   (12 posts)  [Biography] bio
Date Fri 15 Jun 2012 06:23 PM (UTC)  quote  ]

Amended on Fri 15 Jun 2012 09:10 PM (UTC) by Nylian

Message
Worstje said:

I wasn't planning on posting, since nobody needs to be told the same thing twice. However, I do want to make a comparison.

You have a button. You press the button, the light works. How is this implemented? The accepted way is to simply close the electrical circuit and voila, done.

The other way is to make a Ruby Goldberg machine. Your button nudges a domino, que 100 more, then something turns and a ball rolls, etc etc, and eventually a little robotic hand screws in a lightbulb.

Ridiculous? Probably, but I'm exaggurating with a reason. The latter way has so many fault points and unnecessary complexity that it is bound to cause trouble. A domino might no fall, the turny thing doesn't have enough momentum, the robot hand slips on the lightbulb, etc.

In comparison, the button is proven technology. It works with tons of different lightbulbs. It is simple. If one breaks, you can easily fix it. In the same way, using GMCP will not only allow existing mappers to work with it, it will also be simple to maintain: there's no logic to start and stop the omitting of lines, no other user triggers that might fire first and possibly prevent your script from running, and no chance on 'it breaks and now my output is being eaten!' sort of problems.

GMCP is a very simple protocol. Any codebase worth its name will make it very simple. The amount of bugs and time the crappy method will involve is paid back a hundred times by biting he bullet on GMCP and doing it 'right' from the get-go. (Learning how to use a wheel beats inventing it based on a picture!)

If this sounds like an elitist lecture, I apologize for coming across that way. But I see this happen far too often: people choose the 'crappy' methods because it is all they know, and other thing are the things of wizards and dragons. Ruby Goldberg machines are what come out of such situations almost every single time, and they'll never be 'replaced' by those in charge because it always 'almost works'. In the meanwhile, everyone (coders and players both) suffer the consequences. :)

Good luck with whatever method you go with. :-)


I like your style and I appreciate the intent, but sometimes you go through making the Ruby Goldberg machine so you can see how it works. Not only does it make you appreciate the light switch more, but you can then learn the bits and pieces that make them go and apply that to other areas where a light switch hasn't been invented yet.

Do I want GMCP? Hell yeah.
Do I still want to learn how to make this trigger & consequently mapper work so I can learn more about XML plugins? Hell yeah.

The builtin mapper for CMUD seems to work fine for me for now. I personally like Mushclient more, but if this is too much work to get going I'm fine with just using this until we have GMCP implemented.

If anyone is willing to take a look and do the work, I'm more than willing to learn.
[Go to top] top

Posted by Worstje   Netherlands  (867 posts)  [Biography] bio
Date Fri 15 Jun 2012 07:59 AM (UTC)  quote  ]
Message
I wasn't planning on posting, since nobody needs to be told the same thing twice. However, I do want to make a comparison.

You have a button. You press the button, the light works. How is this implemented? The accepted way is to simply close the electrical circuit and voila, done.

The other way is to make a Ruby Goldberg machine. Your button nudges a domino, que 100 more, then something turns and a ball rolls, etc etc, and eventually a little robotic hand screws in a lightbulb.

Ridiculous? Probably, but I'm exaggurating with a reason. The latter way has so many fault points and unnecessary complexity that it is bound to cause trouble. A domino might no fall, the turny thing doesn't have enough momentum, the robot hand slips on the lightbulb, etc.

In comparison, the button is proven technology. It works with tons of different lightbulbs. It is simple. If one breaks, you can easily fix it. In the same way, using GMCP will not only allow existing mappers to work with it, it will also be simple to maintain: there's no logic to start and stop the omitting of lines, no other user triggers that might fire first and possibly prevent your script from running, and no chance on 'it breaks and now my output is being eaten!' sort of problems.

GMCP is a very simple protocol. Any codebase worth its name will make it very simple. The amount of bugs and time the crappy method will involve is paid back a hundred times by biting he bullet on GMCP and doing it 'right' from the get-go. (Learning how to use a wheel beats inventing it based on a picture!)

If this sounds like an elitist lecture, I apologize for coming across that way. But I see this happen far too often: people choose the 'crappy' methods because it is all they know, and other thing are the things of wizards and dragons. Ruby Goldberg machines are what come out of such situations almost every single time, and they'll never be 'replaced' by those in charge because it always 'almost works'. In the meanwhile, everyone (coders and players both) suffer the consequences. :)

Good luck with whatever method you go with. :-)
[Go to top] top

Posted by Nylian   (12 posts)  [Biography] bio
Date Thu 14 Jun 2012 09:17 PM (UTC)  quote  ]
Message
Nick Gammon said:

If you are developing the MUD, you an either do it the very easy way, or the very tedious and unreliable way. Guess which one I would recommend?

The easy way, as Fiendish suggested, is to add some extra protocol (it could be GMCP) which sends down, at the very least, what room you are in (as in, internal room number). Uniquely identifying each room is the most important thing for a mapper. More simply than GMCP, just use telnet subnegotiation to send down a simple sequence (eg. "room=1234").

But really, just send GMCP. Then you have mappers "off the shelf" already written, or if you want to look different, customize one that is already written.

If you don't, then you have to try to detect unique rooms by finding the room description (which is prone to errors) and then handle multiple rooms with exactly the same description (like "a forest path") which will make the mapper act weirdly. And look crappy.


Truly I appreciate the response Nick, however my response to him would be the same to you.

Nylian said:


Thanks for the suggestion (I have already mentioned this to the chief).

I am not doing that level of coding, or any coding at the moment for that matter, that's up to the head code monkey. I'm doing things at a much simpler level.

Regardless of what becomes of the MUD, I would still like to know how to adapt this to the screenshot provided.


I would have to figure this out the crappy way and just need help customizing the triggers =/
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Thu 14 Jun 2012 09:04 PM (UTC)  quote  ]
Message
If you are developing the MUD, you an either do it the very easy way, or the very tedious and unreliable way. Guess which one I would recommend?

The easy way, as Fiendish suggested, is to add some extra protocol (it could be GMCP) which sends down, at the very least, what room you are in (as in, internal room number). Uniquely identifying each room is the most important thing for a mapper. More simply than GMCP, just use telnet subnegotiation to send down a simple sequence (eg. "room=1234").

But really, just send GMCP. Then you have mappers "off the shelf" already written, or if you want to look different, customize one that is already written.

If you don't, then you have to try to detect unique rooms by finding the room description (which is prone to errors) and then handle multiple rooms with exactly the same description (like "a forest path") which will make the mapper act weirdly. And look crappy.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nylian   (12 posts)  [Biography] bio
Date Thu 14 Jun 2012 06:57 PM (UTC)  quote  ]
Message
Fiendish said:

If you're developing a new MUD, why not add in GMCP support?


Thanks for the suggestion (I have already mentioned this to the chief).

I am not doing that level of coding, or any coding at the moment for that matter, that's up to the head code monkey. I'm doing things at a much simpler level.

Regardless of what becomes of the MUD, I would still like to know how to adapt this to the screenshot provided.
[Go to top] top

Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Thu 14 Jun 2012 12:07 AM (UTC)  quote  ]
Message
Nylian said:
I am trying to get this mapper to work with a MUD I am helping to develop

If you're developing a new MUD, why not add in GMCP support?

http://aardwolfclientpackage.googlecode.com/
[Go to top] top

Posted by Nylian   (12 posts)  [Biography] bio
Date Wed 13 Jun 2012 05:09 PM (UTC)  quote  ]

Amended on Wed 13 Jun 2012 10:08 PM (UTC) by Nylian

Message
Nick Gammon said:

Right. I have done a simple plugin (below) which illustrates integrating the mapper into a MUD which does NOT use telnet negotiation....


Hello,

I am trying to get this mapper to work with a MUD I am helping to develop, currently I'm trying to get it to work in our beta environment.

I think I just need to adjust the triggers, but I don't know how to identify what I need to change, and what I need it to trigger on. Any help that could be provided would be invaluable.

Here is a screenshot of what we have to work with

http://i21.photobucket.com/albums/b261/Nylian/mudhelp.png

Here's the code for triggers only:



<!--  Triggers  -->

<triggers>

  <trigger
   back_colour="8"
   bold="y"
   enabled="y"
   match="[*]"
   match_back_colour="y"
   match_bold="y"
   match_inverse="y"
   match_italic="y"
   match_text_colour="y"
   name="Name_Line"
   script="Name_Line"
   sequence="100"
   text_colour="11"
  >
  </trigger>
  
  <trigger
   back_colour="8"
   bold="y"
   enabled="y"
   match="Obvious exits are:*"
   match_back_colour="y"
   match_bold="y"
   match_inverse="y"
   match_italic="y"
   match_text_colour="y"
   name="Name_Or_Exits"
   script="Name_Or_Exits"
   sequence="100"
   text_colour="15"
  >
  </trigger>
  
</triggers>
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Tue 13 Mar 2012 04:28 AM (UTC)  quote  ]
Message
It's part of the MUSHclient install.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Shakey   (1 post)  [Biography] bio
Date Mon 12 Mar 2012 09:47 PM (UTC)  quote  ]
Message
Where do I get ATCP_NJG?
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Tue 27 Dec 2011 04:56 AM (UTC)  quote  ]
Message
Something like this:


<aliases>
  <alias
   match="goto *"
   enabled="y"
   send_to="10"
   sequence="100"
  >
  <send>mapper find %1
mapper next</send>
  </alias>
</aliases>


Template:pasting For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.


That does a "mapper find <wherever>" followed by a "mapper next".

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Fiendish   USA  (848 posts)  [Biography] bio   Global Moderator
Date Tue 27 Dec 2011 02:57 AM (UTC)  quote  ]
Message
What do you expect to happen if there is more than one found result?

In any case, since it looks like you're asking about the Aardwolf mapper and not the generic graphical module, just use 'mapper next' to go to the next found result.

http://aardwolfclientpackage.googlecode.com/
[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.


85,964 views.

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

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

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]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]