Dark Age Games
Home Dark Age EX Dark Age 2 Message Board Fan Art FAQ Kelzar Mage DALpedia MS Forum
Board Index Dark Age General Bug Report Website Off Topic Register User Edit User User List Search

In reply to: Think I got it -- Xorlak 12:09:16 08-27-2005

...
Posted by: BBaller
02:03:17 08-28-2005

The infamous decimal problem, eh?

Had the same problem in a game I made.  I was saving the user's statistics to a file, and when I went to release it, I found out that my program wasn't compatible with the European number system, it seemed.  So to correct the problem (thankfully my host happens to be a very good programmer in GM) I had to ammend my saving scripts by converting the numbers I was saving into strings and then back into reals when I read them at game start, etc.  Somehow this erased the compatibility issue that the saving had with the European number system by elimanating the decimal point somehow...

...Anyway, while letting the player change his/her regional settings will fix the problem, there might be a way for the programmer to save the data differently so that when you go to read it, it can be read in either regional setting.  That's the basic idea, but I don't know how TK works anymore.  And you say TK3 already fixes this problem, so even better, heh. :)