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 ➜ Maximum number of vnums, 32K?

Maximum number of vnums, 32K?

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


Posted by DaveI   (1 post)  Bio
Date Mon 09 Dec 2002 09:24 PM (UTC)
Message
Hi everyone,

I'm starting to do some work on a new mud, and at the moment am planning on using the SMAUG code base. The only thing that I've read that concerns me at the moment is that the most possible vnums that it allows is about 32 thousand (32,767 is it?) ...anyway... the lenth of a short int. I would assume that it's possible to just change this to a long int instead, but has anyone tried this succesfully? I'm sure not many people have any need for more than this, but my plan is for a very large world, so this a big concern to me. Any help would be appreciated.

Thanks,
Dave
Top

Posted by Typhon   USA  (112 posts)  Bio
Date Reply #1 on Mon 09 Dec 2002 09:28 PM (UTC)
Message
yes there are alot of people that have imped this includign myself.. best bet is findind a snippet to change everything if not you might miss something.. try www.kyndig.com and look for smaug snippets
-typ
Top

Posted by Zhamel   USA  (67 posts)  Bio
Date Reply #2 on Tue 10 Dec 2002 12:15 AM (UTC)
Message
It is possible to get the max # of vnums up to 2 billion. Go to www.kyndig.com/codes/diku/merc/smaug/snippets/ and look through the list for a 2bil snippet. It's possible to expand for more, but generally 2bil is enough. Post again if you have more questions.
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.


12,919 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.