PDA

View Full Version : Major SDK bug discovered



jonwil
08-27-2007, 07:22 AM
If you are running a foriegn language version of windows (e.g. French) or for any other reason have the windows decimal separator set to something other than a fullstop (e.g. a comma) and then try to modify and recompile certain parts of the XML (e.g. certain items in weapon.xml), you may see an error from the compiler that says "System.FormatException: Input string was not in a correct format" or something similar.

To fix this, you can open control panel. Then select "regional and language options". Then press "Customize". Then change the decimal symbol to a fullstop. Be aware however that this may affect other software on your system that created data using a comma as the decimal separator.

The other option is to wait for a fix from EA (if one ever shows up)
Feel free to post this on other forums (especially foriegn language forums)

Ingoneur
08-27-2007, 07:44 AM
Can't proove as true, running German Windows with comma as seperator and there is no error.

jonwil
08-27-2007, 10:50 AM
You probably didn't edit whatever bit of the XML causes the relavent code to run. All I know is that the guy I was talking to had this issue and it went away (with his mod compiling and running fine) when he switched to a period as decimal seperator.

Ingoneur
08-27-2007, 11:14 AM
I've tried it three times with each different changes on the Weapon.xml, cutting out something, changing values

Overmind
08-29-2007, 02:41 AM
This is a system font /keyboard character issue.
Using an old ASCII editor and english keyboard setting will create no errors.

Ingoneur
08-29-2007, 05:20 AM
Then the question is: Why me don't have any errors?

Overmind
08-29-2007, 08:33 AM
You probably don't use illegal characters.