thomas wrote: Unfortunately something is still not right after one does this - the mud has a bug with these settings causing it to crash after a couple of minutes. I have still not been able to pin it down - apparently somewhere we're either clobbering memory or freeing something we're not supposed to. This doesn't happen on linux or when compiled in cygwin, so it might be some library included by visual studio that's causing it.
So, I recommend that instead of going through all that trouble, you run tbamud under cygwin.
Okay, here I am, half a year later, thinking I should dust off that 3.57 and play with it a bit in hopes that it would encourage me to do a bit of work on my zones. However, it was before any of my zones went in so I decided to add my zones in manually.
That's when I found that the nice download zones section is gone now. So...in my simple-minded way, I grabbed the lib\world section of the 3.66 and swapped it out. I expected to get bugs but figured it would sort of maybe work in a general sort of way, right? I was sort of surprised to see that older zones (I expected that all the bugs would be in the newer zones because of new code that would be missing) suddenly had a bunch of mobs that were flagged NOT DEAD YET! Anyway, the mud started up and off we went! ...until it crashed... But still, not unexpected, right? So I started looking around for information about start-ups and DGB and crashes and anything that would help me figure out what was conflicting.
I read Thomas' post a few times when it struck me that the situation sounded very familiar. I swapped back the old lib\world and there were no crashes. "AHA!" I told myself. "Maybe it's not the code, maybe it's the zones!"
Therefore, I went back to Visual Studio and compiled 3.66. Sure enough, there were the mysterious crashes. I swapped out the world file for the earlier one and...WOW, no crashes. That was good enough for me! I compared the zone files of the 3.57 and the 3.66 and...um...oh, *expletive deleted*, all the changes I could see on a fast comparison were ones I'd put together! 211 wasn't in the old one but it was in the new one. Hmm, my Tarot zone. 355 and 356? Those were the Ultima that I did as an experiment because someone had asked if it were possible to port it from a ROM based base. 653 and 654? Those were my player housing zones.
I manually entered them into the old lib. First Tarot, then housing, then Ultima, restarting each time and waiting for the crash. It's now been 2 hours and the 3.66 is still running.
I still believe that it isn't Visual Studio and it isn't anything about the codebase. I don't know why it doesn't show up in linux or Cygwin but switching the world file makes 3.66 run with Visual Studio without crashes.
Next step: THE WORLD! *maniacal laugh* Or at least a trial of TBA 2018.