Jump to content
  • 0
ThyroDree

Rodex Mapif.c error

Question

2 answers to this question

Recommended Posts

  • 1

This error is quite explicit: the ID of your character in your SQL database (table `char`) is less than 150000 (the initial ID for auto-increment). This could happen if you manually added a character and explicitly specified an ID lower than 150000. Since the column is on auto-increment you should not specify a char id when adding rows to the table. You can find the offending rows with a simple query:

SELECT * FROM `char` WHERE `char_id` < 150000;

Keep in mind that if you end up changing the ID of a char it needs to be changed in every table that has a char_id column and should only be done when the server is offline.

 

You can reset the auto increment with this query:

ALTER TABLE `char` AUTO_INCREMENT = 1;

Setting auto increment to a value less than or equal the highest value will reset it to highest + 1

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, meko said:

This error is quite explicit: the ID of your character in your SQL database (table `char`) is less than 150000 (the initial ID for auto-increment). This could happen if you manually added a character and explicitly specified an ID lower than 150000. Since the column is on auto-increment you should not specify a char id when adding rows to the table. You can find the offending rows with a simple query:

SELECT * FROM `char` WHERE `char_id` < 150000;


SELECT * FROM `char` WHERE `char_id` < 150000;

Keep in mind that if you end up changing the ID of a char it needs to be changed in every table that has a char_id column and should only be done when the server is offline.

 

You can reset the auto increment with this query:

ALTER TABLE `char` AUTO_INCREMENT = 1;


ALTER TABLE `char` AUTO_INCREMENT = 1;

Setting auto increment to a value less than or equal the highest value will reset it to highest + 1 

Thank you! I used _M and _F to create account and character before.

It's fixed now 🙏

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.