Droke Posted October 27, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 32 Reputation: 1 Joined: 12/01/11 Last Seen: March 29, 2014 Share Posted October 27, 2012 My flux is registering with a extra zero for example it start 2000000 but after 2000237 it showing 20000235 some time it goes 200000335 please need help when any new player creat new account this account should come as 2000308 but is cming as 20000308 please help me what is the issue Quote Link to comment Share on other sites More sharing options...
Emistry Posted November 4, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted November 4, 2012 (edited) Merged same topic ..... @TS Please dont create similar topic in multiple forum... -- -- Table structure for table `login` -- CREATE TABLE IF NOT EXISTS `login` ( `account_id` int(11) unsigned NOT NULL auto_increment, `userid` varchar(23) NOT NULL default '', `user_pass` varchar(32) NOT NULL default '', `sex` enum('M','F','S') NOT NULL default 'M', `email` varchar(39) NOT NULL default '', `group_id` tinyint(3) NOT NULL default '0', `state` int(11) unsigned NOT NULL default '0', `unban_time` int(11) unsigned NOT NULL default '0', `expiration_time` int(11) unsigned NOT NULL default '0', `logincount` mediumint(9) unsigned NOT NULL default '0', `lastlogin` datetime NOT NULL default '0000-00-00 00:00:00', `last_ip` varchar(100) NOT NULL default '', `birthdate` DATE NOT NULL DEFAULT '0000-00-00', PRIMARY KEY (`account_id`), KEY `name` (`userid`) ) ENGINE=MyISAM AUTO_INCREMENT=2000000; check this part... AUTO_INCREMENT=2000000; Edited November 4, 2012 by Emistry Quote Link to comment Share on other sites More sharing options...
Brian Posted November 4, 2012 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted November 4, 2012 Did you manually edit an account_id in SQL? Maybe you added an extra 0, then that changed the AUTO_INCREMENT value, then the next account that FluxCP registered had the extra zero too. The easy way to fix it would be re-import main.sql (but this would delete all your existing data). Or you can: 1. edit all the account_id and remove the extra zero (you would also have to edit `account_id` columns in other tables like char, storage, global_reg_value, etc. 2. edit the `login` table's AUTO_INCREMENT value and remove the extra zero. ALTER TABLE `buildbot_rag`.`login` AUTO_INCREMENT=2000335; Quote Link to comment Share on other sites More sharing options...
Question
Droke
My flux is registering with a extra zero for example it start 2000000 but after 2000237 it showing 20000235 some time it goes 200000335
please need help
when any new player creat new account this account should come as 2000308 but is cming as 20000308
please help me what is the issue
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.