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 ➜ General ➜ Lost in a world of I dont know

Lost in a world of I dont know

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


Posted by Dawsonconnor   (4 posts)  Bio
Date Mon 10 Oct 2005 03:36 AM (UTC)
Message
I need help making a xp/hr thing for my MUD and Im not sure where to even begin with it. I have version 3.42 and the MUD I play at is www.merentha.com because Im not sure what is needed. Any info on this would be GREAT help
Top

Posted by JoeScripter   (12 posts)  Bio
Date Reply #1 on Wed 12 Oct 2005 03:46 PM (UTC)
Message
There are probably several different solutions to the problem that you present.. one that comes to mind would be to set a timer with some sort of interval (say 5 minutes), which would enable an xp tracking trigger, then fire off a command which checks your stats (ie "score"). Then the xp trigger will grab your current xp from the mud, disable itself, and then compare itself to the xp value that was grabbed the time before it. Take the difference, then factor in your time ratio for an hour, and there you go.. ie if you gained 10,000 xp in 5 minutes, then multiply that by 12 to see that you're earning roughly 120k xp/hr.

Either that or maybe just set up the trigger w/o the timer, which grabs your xp whenever it sees it, and compares it to the last time you grabbed it, do some math on the amount of time which has passed, and there you go.
Top

Posted by Dawsonconnor   (4 posts)  Bio
Date Reply #2 on Wed 12 Oct 2005 04:06 PM (UTC)
Message
the time one is exactly what i need and how people have done it on zmud that i know, but the problem is i dont know to make it or set it up I really have never done this before
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.


13,694 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.