Increasing the vnums past 36k on win32

Posted by Gareth555 on Sun 22 Jun 2003 10:10 PM — 6 posts, 22,679 views.

#0
Hi,
There have been a few posts that the latest version of smaug 1.4a has increased the number of vnums past 36 k.
Is this just on linux? I just downloaded the source,
compiled it, and it has the limit of 36k, which is pretty useless. Can any recommend a way of increasing the vnums? and tell me how to add it to my code? I tried adding the billion vnum patch but I get a stack dump overflow
Exception: STATUS_ACCESS_VIOLATION at eip=0048AF4A
eax=0A340190 ebx=FFFFFFFF ecx=0A04A9D8 edx=00000000 esi=0A33E898 edi=0A33E898
ebp=0022C958 esp=0022C930 program=C:\SMAUG\SMAUG\AREA\smaug.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame Function Args
0022C958 0048AF4A (0A33E898, 0A0A12B8, 00000001, 00000001)
0022F9B8 0047B464 (0A33ED58, 0022FA00, 00570DA0, 0022F8B4)
0022FE18 00478523 (00576160, 00000000, 00000039, 0022FE58)
0022FEE0 00477AFB (00000001, 0A0403D0, 0A040328, 00000001)
0022FF40 61007408 (610D1F58, FFFFFFFE, 00000028, 610D1E7C)
0022FF90 610076ED (00000000, 00000000, 80430F47, 00000000)
0022FFB0 005530C2 (00477710, 037F0009, 0022FFF0, 77E9CA90)
0022FFC0 0040103C (00000000, 00000000, 7FFDF000, 00000000)
0022FFF0 77E9CA90 (00401000, 00000000, 000000C8, 00000100)
End of stack trace

I really do not wish to use another mud source. Can anyone help or point me to some vnum code that works?
#1
im working on the win32 platform btw... not linux...
Australia Forum Administrator #2
Did you recompile everything? Make sure you delete all object files, and then recompile, or some files may recompile but not others.
#3
Ok, i found a new code snippet
at http://www.angelfire.com/tn2/ZelseChar/vnums.txt

works perfectly after compile.. phew, thanks anyway Nick..
speaking of which, i suspect samson has posted a modified
win32 bank snippet, does anyone know his snippet site?

USA #4
www.alsherok.net/afkmud

Look in the Download section, the bank would be under the 'Others' section.
USA #5
Actually the banking code is in the Smaug section. I don't have a modified Win32 version of that, but I don't see any reason why it won't work. The code is fairly simple.