Quote:
Hes here to stop win32 compiling, STOP HIM!
|
Bah, foiled again. It turns out not to be a Windows problem afterall. Looks like the crashing problem was some invalid data in the starting_items table.
Database::GetItem(int32) does not take kindly to being called with zero. Causes a segmentation fault for some reason. I couldn't figure out a good way of error checking before that call (I suspect zero is not the only value that will make this function segfault).
Anyway, don't put invalid itemids in your starting_items table and you'll be fine with this enhancement.
<bad-dubbing>Hehe...Image, my next enhancement will have unstoppable Linux kung-fu. Your victory will be short lived!</bad-dubbing>
Regards,
krich