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
➜ SMAUG
➜ SMAUG coding
➜ Top Players Command
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Sonolin
(6 posts) Bio
|
| Date
| Sun 16 Mar 2008 02:36 AM (UTC) |
| Message
| I was wondering how to implement a "Top Players" command? I simply want users to be able to type something like "toplist" or maybe "who toplist" (rather the former, without the who in front). Is there some snippet that does this? It seems like something that some builders would want in their muds.
I am quite new to SMAUG and love it, but I just hate the lack of documentation.. usually when I start ANY project, google is my friend. With SMAUG it took me like an hour just to find a map of the stupid darkhaven town lol. (I am not talking about MUDs here.. talking about things in general)
I'd say I am intermediate in my C++ coding abilities, so the code isn't extremely foreign to me.. But it looks just so confusing I looked through the who command and think I'd be able to add a "who toplist" command but I just don't know how to make it list the top say 20 people in the mud.
To clarify - I just want the command to return the top 20 players in the MUD, according to experience.
Also.. I am using the latest SMAUG build (1.8b I think), NOT SmaugFUSS... I was wondering if it would be wise to use SmaugFUSS over SMAUG? And if so, what version? The files on SmaugFUSS's website are a bit confusing.. it shows a SmaugFUSS1.9 but then, more recently, a SmaugFUSS1.8 and 1.7..?
Thank you in advance =) | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Sun 16 Mar 2008 02:48 AM (UTC) Amended on Sun 16 Mar 2008 03:18 AM (UTC) by Zeno
|
| Message
| There should be a hiscore snippet around somewhere.
If not, I know it is at least in the DBSaga codebase.
(And yes, use FUSS) |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Sonolin
(6 posts) Bio
|
| Date
| Reply #2 on Sun 16 Mar 2008 03:20 AM (UTC) |
| Message
| Can't seem to find a snippet but I'll download the dbsaga codebase and check it out
OK I will convert to FUSS.. which version, the 1.9? Or one of the others (1.8/1.7)?
Thank you | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #3 on Sun 16 Mar 2008 03:36 AM (UTC) |
| Message
| Latest version.
I don't see the snippet either, although I did see a Rom snippet. But DBSaga did have it and it shouldn't be too hard to rip from there. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Sonolin
(6 posts) Bio
|
| Date
| Reply #4 on Sun 16 Mar 2008 03:48 AM (UTC) |
| Message
| Thanks!
Yea I'll let you know if I have any problems getting it from dbsaga, I'll take a look tonight.
Again, thank you for your help =) | | Top |
|
| Posted by
| David Haley
USA (3,881 posts) Bio
|
| Date
| Reply #5 on Sun 16 Mar 2008 10:30 PM (UTC) |
| Message
| This was cross-posted to the FUSS forums; some more thoughts were given there by Conner and Kayle.
http://www.smaugmuds.org/index.php?a=topic&t=3651 |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | | Top |
|
| Posted by
| Conner
USA (381 posts) Bio
|
| Date
| Reply #6 on Mon 17 Mar 2008 12:13 AM (UTC) |
| Message
| | David, you're playing such a good intermediary. ;) |
-=Conner=-
--
Come test your mettle in the Land of Legends at telnet://tcdbbs.zapto.org:4000
or, for a little family oriented medieval fun, come join us at The Castle's Dungeon BBS at telnet://tcdbbs.zapto.org
or, if you just want information about either, check our web page at http://tcdbbs.zapto.org | | 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.
28,892 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top