Jump to content

The "overflow" error may occurs when someone use editor under non-English system.

Recommended Posts

I'm a Chinese player, and I got a copy of the database editor from TonyE(thank you!).

But when I try to import the database into the editor, it crashed. And there was a pop-up messagebox on the screen which says "error 6: overflow!"

After conducted several tests, I found the problem occurred only when you are using a non-english system.

Here's the reasonable explanation:(I will take the Chinese edition of win7 into example)

There's a bug about the unicode between different language: If you're using the Chinese system and there exist some special terms of english words, such as 's, 'v, 'd and so on, the system will translate the terms into a less Chinese letter such as 暰幮咱乽嵟廔抯娍背开俣乿傪.

I viewed the code of editor in VB mode and founde the ReadInteger() is designed as a function that can only read a 2-bytes value. As we all know, a english letter occupy 2 bytes while a Chinese letter will occupy 4 bytes.

So when the editor read data from the the .dat files, the "overflow" error will occur where the Chinese letter stands.


So I changed the unicode option in win7 system to "English(US)", and there were no error anymore.

I write this to strongly recommend the non-english players to change their unicode option to English before you use the editor.

  • Like 1
Link to comment
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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.


  • Create New...