Xarslik
10-15-2002, 06:14 AM
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).