Welcome to the Builder Academy

Question IDNUMs

More
13 Jul 2012 21:45 #364 by Gahan
IDNUMs was created by Gahan
Hey guys, I've been having this issue with how IDNUMs are set up. My IDNUM code in players.c compares cleanly to the newest revision of TBAMUD. Heres the issue:

Once and a while after some heavy advertising and PR, we have a bunch of people logging in at once. Maybe one of those 20-30 players, will log in with an idnum of over 1 billion. I'll go into the player index file, and check, and sure enough its been written to that insanely high IDNUM. What boggles me, is that sometimes a player will get logged in the index file WITHOUT an idnum. Is it possible that a character in the character creation screen who has logged prior to the player who gets out of character creation first, will re-write the p_table with the character in creation without an IDNUM? Is it possible then that if there is no number beside the character's name, that the text gets translated into a bit value, and then top of p_table becomes a ridiculously higher number? Has anyone ever encountered something like this, or could anyone possibly give me some feedback about how the p_table code could be doing this? I've had this problem come up about every few months, and its a sonofabitch to correct. I've tried doing some simple logging to see what is happening, but I can't get enough useful information to come to a conclusion, or to even fathom how to fix it.

Thanks for listning, and thanks in advance for any useful information posted here after.

Please Log in or Create an account to join the conversation.

Time to create page: 0.318 seconds