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 ➜ SMAUG ➜ SMAUG coding ➜ infinate levels and such

infinate levels and such

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


Posted by Typhon   USA  (112 posts)  Bio
Date Sat 29 May 2004 07:18 PM (UTC)
Message
toy's post had me thinking. im working on some code for my mud that leaves it open to essentially almost infinate levels. level is set to sh_int at the moment so its only at 32k or so but i figured that wold keep everyone busy for a while. with my current exp_level code it would take 342,933,333 to hit level 32k. now as for imms and such i used a seperate variable to determine your "Status", 0-newbie, 1-mortal, 2-hero, 3-avatar, ... 13-implamentor. ive run through the whole mud and looked for any sort of call to ch->level and get_trusted and anything that has to do with levels and changed it to check for your status. BUT... im blonde and i forget alot, can anyone think of any sort of problems i might run into? oh, commands, and channels and things are all based on your status instead of level. just tryin to get some input.
-typ
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 29 May 2004 10:45 PM (UTC)
Message
I think it is a sensible idea. That means you can be an imm (and keep an eye on things) while at the same time seeing how the MUD plays for (say) level 2 players.

As long as you change the test for places where only imms can do things you should be OK.

- Nick Gammon

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

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #2 on Sun 30 May 2004 01:57 AM (UTC)
Message
Yeah, possible, and you won't run into any trouble unless you don't change something that needs to be changed. There are some functions that compare levels, or the sort. You'll have to change those, etc. It may be quite a bit of work, but worth it, most likely.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Typhon   USA  (112 posts)  Bio
Date Reply #3 on Sun 30 May 2004 04:51 PM (UTC)
Message
well if all works out imms will be able to play the game normally. they'll be able to level remort quest etc. im still givin it a whirl :)
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.


15,189 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.