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 ➜ Swr 1.0 - Vnum Max Change for Swr

Swr 1.0 - Vnum Max Change for Swr

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


Posted by Odis   (5 posts)  Bio
Date Wed 11 Dec 2002 02:09 AM (UTC)
Message
Well, I know I just posted my only bug error but this one has gotten me thinking also. I've been trying to update my Swr codebase to 5 million vnums. While I have been able to get it so it can assign it, and you can "goto" it to create the room, when I look in zones, score, or the god/pfile it only writes it up to 19k. I've been looking on this one and I think its an error with vassign.
I changed
int r_lo, r_hi;
to
long int r_lo, r_hi;
But this hasn't fixed it. I don't really know if this is a problem writing the pfile, but when I check its still only at 19k. I tried looking at the SMAUG 2 bill room vnum snippet and I changed everything in my SWR that it said to in SMAUG, except SWR doesn't have all of the ones it told me to change so I'm still sort of stuck. When I use goto it can go up to 5 mill, but thats about it. So, if you can help please reply.
Top

Posted by Nick Cash   USA  (626 posts)  Bio
Date Reply #1 on Sun 12 Jan 2003 11:52 AM (UTC)
Message
Hmm. I think I've delt with this before also. If it is a problem writing the pfile then look in mud.h under struct pc_data. Look for r_range_lo, r_range_hi, and on down through the mobs and objects. Make sure the left side is changed to long or long int instead of the normal int and sh_int. If you didn't change those before then you need to now, and once you change them you should run a make clean and a make. You should have a load of warnings. Just go to the specific lines and put a l on front of the d for the variable (e.g. %ld instead of %d). Hope that helped.

~Nick Cash
http://www.nick-cash.com
Top

Posted by Odis   (5 posts)  Bio
Date Reply #2 on Sun 12 Jan 2003 11:55 AM (UTC)
Message
Thanks. You were right, there were a ton of warnings. I tried it out (even though I'm about to drop down on my keyboard because of the time) and it works. Thanks again for helping me, and at such an early hour its kind of odd we are both on...

Thanks again,
~Odis
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.


11,774 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.