Quote:
Originally Posted by Astaldoath
Edit however when i added my new world.exe i get this error when starting the server
Runtime Check Failure #2 - Stack around they variable "query" was corrupted
I just hit ignore and everything loads up ok. The zoning problem was happening before this lol. Im gonna try my back up exe.s and see if i still crash
|
When you compile, there is debug and release. Normaly C and C++ do not complain about buffer over runs (Release mode), but when compiled in debug mode, it will complian.
This error is caused from the items table field "FileName" it is varchar(32) and the code is trying to put it into the
struct Item_Struct
char Filename[15]; // Filename for book data
if you modify the item.filename to be 15 characters or less it resolves this issue, but the books that use those values will not work (i do not think they work currently).
here is a sql statment that changes the filename (make a backup first)
update `items` set filename=substring(filename,1,15) where length(filename) > 15
http://www.eqemulator.net/forums/showthread.php?t=21677