Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Thread Tools Display Modes
Multiple critical errors while saving
General Patton
Junior Member
Status: Offline
Posts: 6
Join Date: Nov 2010
Angry Multiple critical errors while saving - 12-06-2010, 05:41 PM

Alice has been consistently screwing up the saves after making certain edits. By using backups and making new saves after small incremental edits, I managed to track down one of the points after which things go to hell when saved.

Here is the program right before the final bug-inducing change

To make it crash, just go to Knight.Run and in the If statement, right after Knight.GainXP (StatIndex=1, Gain=1), put a Knight.GainXP (StatIndex=2, Gain=Knight.Encumbrance%). Saving will then fail catastrophically.

Here are screenshots of two different incidences of this bug. After the first pic was taken, I completely deleted the Knight.Run method and the event that called it, and then recreated them exactly, before saving (as the version which has been attached), closing Alice, reopening it and then making the error happen for the second screenshot. So the two bug reports are similar, but the second one is slightly more relevant to the attached world.
Attached Images
File Type: jpg CriticalErrorAgain.jpg (19.0 KB, 27 views)
File Type: jpg YetAnotherCriticalError.jpg (19.5 KB, 28 views)

Last edited by General Patton; 12-06-2010 at 05:52 PM.
Reply With Quote
Senior Member
zonedabone's Avatar
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 12-06-2010, 08:10 PM

Yay! It has something to do with the old method being corrupted. Anyway, I just copied the function, so now use the new one I made. Or, if you want, you can make a new one yourself. This would be good because I cheated. Since I just directly copied the code, you can't delete the old one without messing up the new one. I recommend deleting both function and making a new one just like a it from scratch. Also, only use letters, numbers, and underscores in names, please!

'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
Reply With Quote
this just happened
Posts: n/a
Default this just happened - 12-15-2010, 03:30 AM

hi im new to alice and working on it for a project. My program just went red and now wont load, how did you get back to yours. i dont know how to even find my backup. please help
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Copyright ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.