Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::General > Archive::General Discussion

Archive::General Discussion Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-15-2002, 06:14 AM
Xarslik
Hill Giant
 
Join Date: Oct 2002
Location: System.Web
Posts: 107
Default Error in DB.SQL released with 0.3.9

There appears to be a problem in DB.SQL being released in the current (0.3.9) version of EQEmu. Took me a while to figure this out since I'm new to mySQL. If you examine the "CREATE TABLE account" section of the database (near the top) you'll notice the column status is being created as such, "status tinyint(5) NOT NULL default '0',". This makes a SIGNED tinyint(5), meaning it supports -128 to 127. Therefore you cannot set a user's status higher than 127. To fix this, either replace the line with "status tinyint(5) unsigned NOT NULL default '0'," OR run mySQL, use eq (or whatever your db is), and enter "ALTER TABLE account MODIFY status tinyint(5) unsigned NOT NULL default '0';". Also using the dbupdate.sql file included will fix this problem (as it uses an int, allowing a much wider range and the new ban \ suspend feature).
__________________
~ Xarslik
[ Xarslik's Arena Challenge Server ]
Reply With Quote
 


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 05:05 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3