Loading game failed (ajax request failed)

You can get help here if Freeciv doesn't start on your computer, or if you keep getting fatal errors while playing etc.
bork
Posts: 2
Joined: Sun Dec 14, 2014 12:16 pm

Loading game failed (ajax request failed)

Postby bork » Sun Dec 14, 2014 1:52 pm

This morning walked to pc to continue a game.
I wasn't alowed so reload but nothing only loading game failed (ajax request failed), tried other saves but nothing.
I saw that somebody else was logged to mine game earlier last night (I am in GMT) so early hours in the US.
What can I do to restore?
Secondly what is the location of the save games? (using chrome 64-bit)
Third can you save games in an other directory?

User avatar
AndreasR
Elite
Posts: 698
Joined: Thu May 02, 2013 10:26 pm
Location: Norway

Re: Loading game failed (ajax request failed)

Postby AndreasR » Sun Dec 14, 2014 2:42 pm

Hi bork,

I released a new version of Freeciv-web today, which unfortunately isn't able to load savegames from the previous version.
If you start a new game now, then saving and loading it will work correctly. I'm sorry about that, this is the price of progress...

Andreas

bork
Posts: 2
Joined: Sun Dec 14, 2014 12:16 pm

Re: Loading game failed (ajax request failed)

Postby bork » Sun Dec 14, 2014 7:01 pm

The price to pay, ok. It would be nice to be informed about such a effort ;)
Amd could you help me with the other two questions?

User avatar
AndreasR
Elite
Posts: 698
Joined: Thu May 02, 2013 10:26 pm
Location: Norway

Re: Loading game failed (ajax request failed)

Postby AndreasR » Sun Dec 14, 2014 7:42 pm

bork wrote:Amd could you help me with the other two questions?
What can I do to restore?
Secondly what is the location of the save games? (using chrome 64-bit)
Third can you save games in an other directory?


The savegames can't be restored. The savegames are stored in the browser's localstorage, and it is not possible to store them at another place at the moment.

WanderingDude
Posts: 6
Joined: Sun Jan 17, 2016 2:24 pm

Re: Loading game failed (ajax request failed)

Postby WanderingDude » Sat Jul 23, 2016 7:45 pm

*bump*

I am assuming a new version was released in the last couple of days?
Since I am now experiencing the same issue and there's no way to access my saved game.

sveinung
Elite
Posts: 430
Joined: Wed Feb 20, 2013 4:50 pm

Re: Loading game failed (ajax request failed)

Postby sveinung » Sun Jul 24, 2016 2:00 am

WanderingDude wrote:I am assuming a new version was released in the last couple of days?

I don't think it has. But a new version is on the way.

WanderingDude
Posts: 6
Joined: Sun Jan 17, 2016 2:24 pm

Re: Loading game failed (ajax request failed)

Postby WanderingDude » Sun Jul 24, 2016 8:56 am

sveinung wrote:
WanderingDude wrote:I am assuming a new version was released in the last couple of days?

I don't think it has. But a new version is on the way.

Ok... So what could be the reason for getting that message?

sveinung
Elite
Posts: 430
Joined: Wed Feb 20, 2013 4:50 pm

Re: Loading game failed (ajax request failed)

Postby sveinung » Sun Jul 24, 2016 2:04 pm

WanderingDude wrote:Ok... So what could be the reason for getting that message?

There could be a problem in the savegame loading code. Andreas just released a new version of Freeciv-web to play.freeciv.org. This version of Freeciv-web has an updated version of the Freeciv server. It may have fixed the savegame loading code problem. Could you check if the new version still has the problem? (It could also be cause by a problem in Freeciv's save game loading that we haven't discovered or fixed yet)

Another possibility is that the savegame it self is broken.

WanderingDude
Posts: 6
Joined: Sun Jan 17, 2016 2:24 pm

Re: Loading game failed (ajax request failed)

Postby WanderingDude » Sun Jul 24, 2016 2:22 pm

sveinung wrote:
WanderingDude wrote:Ok... So what could be the reason for getting that message?

There could be a problem in the savegame loading code. Andreas just released a new version of Freeciv-web to play.freeciv.org. This version of Freeciv-web has an updated version of the Freeciv server. It may have fixed the savegame loading code problem. Could you check if the new version still has the problem? (It could also be cause by a problem in Freeciv's save game loading that we haven't discovered or fixed yet)

Another possibility is that the savegame it self is broken.

Thanks.
Not sure if I am supposed to do some special step?
But I just tried again to load the existing savegame in Freeciv-web, but I get the same error.

sveinung
Elite
Posts: 430
Joined: Wed Feb 20, 2013 4:50 pm

Re: Loading game failed (ajax request failed)

Postby sveinung » Mon Jul 25, 2016 5:34 am

WanderingDude wrote:Not sure if I am supposed to do some special step?

Nothing special.

WanderingDude wrote:But I just tried again to load the existing savegame in Freeciv-web, but I get the same error.

Maybe I should have a look at it? Could you download the save game and upload it somewhere? I think this forum will let you upload the save game if you put it in a zip file.