Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-26-2016, 03:56 PM
cyranothedaft
Fire Beetle
 
Join Date: May 2016
Posts: 1
Default defaultstatus setting is unsigned 8-bit

When I use the zones/defaultstatus setting in eqemu_config.xml to specify -1 (suspended), subsequent auto-created accounts get a status of 255, which is undesired. This appears to be because in the server code the EQEmuConfig::DefaultStatus member is declared as uint8, so the -1 is probably getting implicitly converted to 255. The corresponding account.status field in the database is a 32-bit integer, and, to my understanding, is designed to allow values of -1 and -2. It makes sense to me that the defaultstatus eqemu_config.xml setting should allow these as well. I propose changing that member variable's declaration to int16 or int32. (Being unfamiliar with most of the server code, I am unaware of other possible consequences of such a change.)

Thanks for your attention.

- Eric
/ cyranothedaft /

Last edited by cyranothedaft; 05-26-2016 at 03:58 PM.. Reason: added unsigned to title
Reply With Quote
Reply

Tags
defaultstatus, eqemu_config


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:07 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3