Toadvile IM'd me about this issue and I offered to share the IM here so that what I'd suggested could be posted to avoid repeating any steps, a solution wasn't found yet... I did clean up the conversation a little, but didn't take things out of time order so if it's not the easiest to read (flow-wise) blame the nature of instant messaging.
(17:18:05) Toadvile: Hello
(17:24:01) Toadvile: Meh.. i screwed my mud up
(17:24:11) Toadvile: and uhh.. i don't have a clue how :D
(17:24:29) Toadvile: I think Renumber is evil
(17:25:31) Conner: so I read.. nah, just not complete.. I thought someone had posted a fix for renumber actually, but that may have been for SmaugFUSS (I don't actually use AFKmud, but I do use something things that are in it, so I watch that forum too)
(17:25:54) Toadvile: :O
(17:26:36) Conner: CPU being at 99% is bad enough on its own..
(17:26:43) Toadvile: yep
(17:27:13) Conner: so it only gets to initializing area resets.. and you've reverted all the area files back to before you'd used renumber?
(17:27:23) Conner: emphasis on all
(17:27:24) Toadvile: Yep
(17:27:43) Toadvile: I'm freaking lost now
(17:28:03) Conner: and you've shutdown and restarted the mud? (not just hotboot/copyover, or even reboot)
(17:28:14) Toadvile: Yep, it won't restart
(17:28:51) Conner: weird, because once you've shut it down, it should only be able to get it's resets from the area files, it shouldn't even know that there had been a problem.
(17:29:03) Toadvile: for( area = first_area; area; area = area->next, i++ )
{
reset_area( area );
area->last_resettime = current_time;
add_event( number_range( ( area->reset_frequency * 60 ) / 2, 3 * ( area->reset_frequency * 60 ) / 2 ),
ev_area_reset, area );
}
}
(17:29:08) Toadvile: thats the spot in code its stuck at...
(17:29:10) Conner: you're sure you didn't miss an area?
(17:29:14) Toadvile: Yep
(17:29:46) Conner: is it saving the reset time to the area file?
(17:30:06) Toadvile: Not sure..
(17:30:18) Conner: (is it trying to be persistant over shutdowns and such?)
(17:30:35) Conner: I assume this is an AFKmud.
(17:30:38) Toadvile: yeah it is
(17:30:50) Toadvile: it shutdown with no prob at all
(17:32:15) Conner: not my strongest suite.. AFK's got some neat features, but I haven't got them all in my mud.. never cared that much for overland and it's the tough one to remove/disable from AFK so I stayed with SmaugFUSS instead.. that and AFK has no vampire class/race... *chuckle*
(17:33:23) Conner: ok, so it shuts down cleanly.. all the areas have been reverted to before the change so all the resets should be 'right' again, but it won't start because it's getting stuck on the reset_area or the add_event call ...
(17:35:26) Conner: it really seems like there must still be a bad reset or something in there.. were these areas converted to AFK format? (maybe you reverted too far?)
(17:35:47) Toadvile: Nope, they were originally here
(17:36:21) Conner: so these are all stock areas? (I didn't think AFK came with much in the way of stock areas.)
(17:36:31) Toadvile: it comes with 7 stock
(17:37:00) Conner: *nod* ..does it still use an area.lst file to load the areas?
(17:37:06) Toadvile: yeah
(17:38:03) Conner: can you take them out of the area.lst and add them back in one at a time (starting with any that have hard coded references) to see which one it's actually failing on?
(17:39:02) Conner: or maybe download a fresh copy of AFK to replace the stock areas? (or if you still have your original distribution archive, get them from it?)
(17:42:35) Toadvile: Meh.. i dunno.. i guess i'll deal with it later..
(17:42:49) Toadvile: See if samson can suggest something since i somehow screwed this up good
(17:42:50) Toadvile: again
(17:43:13) Conner: *L* do you want me to post this conversation so you don't get the same suggestions?
(17:47:41) Toadvile: yeah, please
(17:48:14) Conner: ok, no problem
(17:48:18) Toadvile: I might have just stumpled upon a new critical bug for Samson lol
(17:48:36) Conner: it's possible, that's how most of them are found. *LOL*
(17:48:40) Toadvile:
(17:49:03) Toadvile: Cause Areaconvert was another one of them buggy ones
(17:49:52) Toadvile: Guess i outta stop playing with stuff.. i keep breaking everything
(17:50:06) Conner: no comments, haven't toyed with it enough to have an opinion.. anyway, have a good 'night' and get some rest, we'll see what other ideas folks can come up with.
(17:50:15) Conner: *L* That's how you learn.
(17:50:19) Toadvile: Nod
(17:50:28) Toadvile: thanks again for everything
(17:50:54) Conner: again, no problem, sorry that I couldn't come up with a full solution.