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, 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 ➜ Lua ➜ A couple of questions for Aardwolf

A couple of questions for Aardwolf

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


Posted by Onoitsu2   USA  (248 posts)  Bio
Date Mon 20 Apr 2015 03:38 AM (UTC)
Message
Hi all, I realize I have pretty much dropped off the map for the last several years. I just got back into playing on Aardwolf, and everything has changed, it is absolutely insane, and the epitome of what we always dreamed the mapper could be.

I however have a few questions having to do with both the mapper and the GMCP protocol, I am trying to make something that will set general variables in the world, that aliases or triggers can pull from. For example I would like to store the name of my area in a variable, so that I can compare it within an alias so that I can have it either 'runto recall' or enter my portal. Basically if I am anywhere in the town it can save a step to simply run to recall to start a speedwalk.

Also the statmon shows the name of the enemy I am currently fighting, I would love to be able to use that in a variable as well...

Perhaps those that pioneered the GMCP plugins can point me in the direction of extracting this information, because once I have it I won't have any issues saving it, or altering it in any way I may need. But having looked over the mapper plugin, I could not make heads nor tails of where it is pulling the name of the area from, and the stats I MIGHT be able to locate it, but don't wish to mess with something so low level and possibly send something erroneous to the game and break things.

Thanks,
Onoitsu2
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 20 Apr 2015 03:56 AM (UTC)
Message
This post should help: http://www.gammon.com.au/forum/?id=12829

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Mon 20 Apr 2015 03:56 AM (UTC)
Message
Quote:

For example I would like to store the name of my area in a variable ...


See reply #9 in the above thread.

- Nick Gammon

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

Posted by Onoitsu2   USA  (248 posts)  Bio
Date Reply #3 on Mon 20 Apr 2015 04:07 AM (UTC)
Message
Thank you Nick, I was sure you all would have thought of it. Certainly faster than my finding using apparently incorrect search terms :)
Top

Posted by Fiendish   USA  (2,534 posts)  Bio   Global Moderator
Date Reply #4 on Mon 20 Apr 2015 02:23 PM (UTC)
Message
Also, take a look at this.

https://github.com/fiendish/aardwolfclientpackage/commit/57e1a343a8fe16d495d9339fcf6b8f7f3d94fac9

https://github.com/fiendish/aardwolfclientpackage
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.


17,036 views.

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.