IPB Style© Fisana

Jump to content


Delete the old archive, an error occurs


  • Please log in to reply
14 replies to this topic

#1 gameboy

gameboy

  • Community Members
    PipPip

  • Sesquiplicarius
    (120 posts)

Posted 04 March 2012 - 09:05 AM

Press the Delete button:
Delete the old archive, an error occurs::banger: :angry: :angry:

<p class="error">ERROR: JavaScript error: gui/savedgames/load.js line 72
TypeError: Engine.DeleteSavedGame is not a function
reallyDeleteGame("quicksave-0029")@gui/savedgames/load.js:72
()@gui/savedgames/load.js:66
([object Object])@Some XML file:55</p>
<p class="error">ERROR: JavaScript error: gui/savedgames/load.js line 72
TypeError: Engine.DeleteSavedGame is not a function
reallyDeleteGame("quicksave-0028")@gui/savedgames/load.js:72
()@gui/savedgames/load.js:66

Edited by gameboy, 04 March 2012 - 09:07 AM.


#2 historic_bruno

historic_bruno

  • WFG Programming Team

  • Primus Pilus
    (1,924 posts)

Posted 04 March 2012 - 11:02 PM

That changes requires a rebuild (or you can use the autobuild).
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben@wildfiregames.com

#3 gameboy

gameboy

  • Community Members
    PipPip

  • Sesquiplicarius
    (120 posts)

Posted 08 March 2012 - 12:18 PM

But the error persists, you can test it, thank you!:banger: :banger: :banger:

#4 quantumstate

quantumstate

  • WFG Programming Team

  • Primus Pilus
    (1,072 posts)

Posted 08 March 2012 - 03:24 PM

View Postgameboy, on 08 March 2012 - 12:18 PM, said:

But the error persists, you can test it, thank you!:banger: :banger: :banger:

I can't reproduce the error. I just successfully deleted several old saved games. Can you give more details about which version of the game and OS you are using? Also is the error message exactly the same as before?

Jonathan Waller [ aka quantumstate ]

Wildfire Games AI Scripter
Contact me: jonathanmarkwaller at gmail dot com


Support Wildfire Games!


#5 gameboy

gameboy

  • Community Members
    PipPip

  • Sesquiplicarius
    (120 posts)

Posted 09 March 2012 - 11:15 AM

ok, My operating system is: win7 32bit.
I tested version of the game: the ALPHA VIII (svn-11285)

Posted Image


Posted Image

#6 historic_bruno

historic_bruno

  • WFG Programming Team

  • Primus Pilus
    (1,924 posts)

Posted 09 March 2012 - 11:04 PM

That image is too low quality to see the error. Can you paste the error from the log? (interestinglog.html)
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben@wildfiregames.com

#7 gameboy

gameboy

  • Community Members
    PipPip

  • Sesquiplicarius
    (120 posts)

Posted 10 March 2012 - 11:19 AM


0 A.D. Main log (warnings and errors only)
ERROR: JavaScript error: gui/savedgames/load.js line 72 TypeError: Engine.DeleteSavedGame is not a function reallyDeleteGame("quicksave-0039")@gui/savedgames/load.js:72 ()@gui/savedgames/load.js:66 ([object Object])@Some XML file:55

ERROR: JavaScript error: gui/savedgames/load.js line 72 TypeError: Engine.DeleteSavedGame is not a function reallyDeleteGame("quicksave-0040")@gui/savedgames/load.js:72 ()@gui/savedgames/load.js:66 ([object Object])@Some XML file:55



#8 quantumstate

quantumstate

  • WFG Programming Team

  • Primus Pilus
    (1,072 posts)

Posted 12 March 2012 - 02:00 PM

This is a strange error. Is the svn checkout completing correctly? Also are you compiling yourself or using the autobuild?

Jonathan Waller [ aka quantumstate ]

Wildfire Games AI Scripter
Contact me: jonathanmarkwaller at gmail dot com


Support Wildfire Games!


#9 gameboy

gameboy

  • Community Members
    PipPip

  • Sesquiplicarius
    (120 posts)

Posted 13 March 2012 - 01:48 AM

yes,Checked out from SVN. I am using the autobuild. thank you!

#10 gudo

gudo

  • Community Members
    PipPipPip

  • Duplicarius
    (228 posts)

Posted 13 March 2012 - 02:37 AM

Hmmmm... I've attempted to duplicate this bug, and while I couldn't get it to work as advertised, I did discover a few new ones.

1)Save several games, quit to menu, open the Load Game menu
2)In your file manager (as in, NOT in game) locate the save files.
3)Delete said saves using your file manager.
4)In game, attempt to delete the any saved game OTHER THAN the first one on the list

Game should crash to desktop with the following error. When I attempted to delete the first game on the list, it mearly warned that the file could not be read, and refreshed the list of saved games.
Spoiler

It also happened (produced the same error too) when you do the above steps, but instead of deleting an already deleted game, you try and load it up.

I used to most recent SVN autobuild. Win 7, on the off chance that makes a difference.

Edited by gudo, 13 March 2012 - 02:38 AM.

Did you contribute to 0 AD?
Make sure you're in the credits!


AI Players
JuBot | RootBot | SplitBot | qBot | Marilyn | arBot

#11 gameboy

gameboy

  • Community Members
    PipPip

  • Sesquiplicarius
    (120 posts)

Posted 13 March 2012 - 12:09 PM

This issue is resolved, thank you!

#12 historic_bruno

historic_bruno

  • WFG Programming Team

  • Primus Pilus
    (1,924 posts)

Posted 13 March 2012 - 10:59 PM

View Postgudo, on 13 March 2012 - 02:37 AM, said:

1)Save several games, quit to menu, open the Load Game menu
2)In your file manager (as in, NOT in game) locate the save files.
3)Delete said saves using your file manager.
4)In game, attempt to delete the any saved game OTHER THAN the first one on the list
Found this error, it will be fixed soon (it's a different error than the one below)

Quote

Game should crash to desktop with the following error. When I attempted to delete the first game on the list, it mearly warned that the file could not be read, and refreshed the list of saved games.
Spoiler

It also happened (produced the same error too) when you do the above steps, but instead of deleting an already deleted game, you try and load it up.
This one's a bit more troubling, but I'll see if I can fix it :)
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben@wildfiregames.com

#13 gudo

gudo

  • Community Members
    PipPipPip

  • Duplicarius
    (228 posts)

Posted 13 March 2012 - 11:02 PM

One of us is a bit confused :P 1-4 is the steps to replicate the bug, the following paragraph is what happened.
Did you contribute to 0 AD?
Make sure you're in the credits!


AI Players
JuBot | RootBot | SplitBot | qBot | Marilyn | arBot

#14 historic_bruno

historic_bruno

  • WFG Programming Team

  • Primus Pilus
    (1,924 posts)

Posted 14 March 2012 - 12:28 AM

Thanks for reporting the errors with steps to reproduce, very helpful ;) Those crashes should be fixed in r11332 (or wait for an autobuild).
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben@wildfiregames.com

#15 gudo

gudo

  • Community Members
    PipPipPip

  • Duplicarius
    (228 posts)

Posted 14 March 2012 - 01:51 PM

Nice! Everything looks fixed to me.
Did you contribute to 0 AD?
Make sure you're in the credits!


AI Players
JuBot | RootBot | SplitBot | qBot | Marilyn | arBot




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users