[Resolved 0.2.8] Crash on Blank Save

This subforum contains all the issues which we already resolved.
Post Reply
Verbesity
Inserter
Inserter
Posts: 28
Joined: Sat Feb 16, 2013 6:12 am
Contact:

[Resolved 0.2.8] Crash on Blank Save

Post by Verbesity »

Saving with no name entered crashes the game. Could be fixed by just auto filling it with something standard like Save Game 1 or some such.

Heinrich
Long Handed Inserter
Long Handed Inserter
Posts: 51
Joined: Tue Feb 12, 2013 9:09 am
Contact:

Re: Crash on Blank Save

Post by Heinrich »

Generally the game is crashing when entering illegal filename characters. I recognized this by entering the "\" character. The upcoming error message states something like: "file not found". Alos loading (even selecting) the corrupt savegame causes the game to crash.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Crash on Blank Save

Post by kovarex »

Thank you for the report, we will definitely fix that.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Crash on Blank Save

Post by kovarex »

Resolved for the upcoming 0.2.8, this is the list of allowed characters:
  • a -z
  • A-Z (capital)
  • 0-9
  • .
  • -
  • _ (underscore)
This is to keep compatibility everywhere in the future.

If you think some character should be included, let me know.

User avatar
Narc
Filter Inserter
Filter Inserter
Posts: 278
Joined: Mon Feb 11, 2013 7:25 am
Contact:

Re: [Resolved 0.2.8] Crash on Blank Save

Post by Narc »

0-9?

Otherwise looks okay to me. /[0-9a-zA-Z._-]+/ is how I'd parse that.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [Resolved 0.2.8] Crash on Blank Save

Post by kovarex »

Sorry, 0-9 was there ofcourse, I just didn't mention it in this topic (edited).
The regular expression is more compact definition, but not everyone understands it :)

User avatar
Narc
Filter Inserter
Filter Inserter
Posts: 278
Joined: Mon Feb 11, 2013 7:25 am
Contact:

Re: [Resolved 0.2.8] Crash on Blank Save

Post by Narc »

Heh, I just included it to confirm I had it right. :)

Post Reply

Return to “Resolved Problems and Bugs”