Posts: 21
Threads: 3
Joined: Feb 2010
i didnt mean the visibility switch
i put " $game_switches[255] == false" (and "else" later) before line 184 so the following would only be executed if that switch was off, but the error just popped up in main instead of in train_actor.
i activated this switch right before battle and deativated it afterwards but it didnt help.
i'll try to come up with a small demo but idk if it will work because my project depends on a lot of files.
thank you for your help so far!
Posts: 21
Threads: 3
Joined: Feb 2010
alright, here comes the demo. i copied over the whole data folder minus all the maps (except 1).
but, i wasnt able to reproduce the error in the demo..its really strange.
http://www.mediafire.com/?wntzhiw3mny
Posts: 21
Threads: 3
Joined: Feb 2010
at least two people downloaded the demo.. still no comments?
i really need help with this one since it's rendering my whole project unplayable and thus many years of work for nothing.
i currently doubt that the error is restricted to the caterpillar script since the error seems to have shiftet to the last line of "main"...
Posts: 867
Threads: 15
Joined: Nov 2009
I am not a scripter but paste this in main:
I didn't get any error but my main looks also like this, so try it^^
Posts: 21
Threads: 3
Joined: Feb 2010
thank you but the error keeps persistent.
Edit: i've made a quick video of the process in which the error occures:
http://yfrog.us/j0forcelordsdebugz
Posts: 867
Threads: 15
Joined: Nov 2009
this error is really weird, I have never seen it before xD did you include all scripts in the demo? Seems that is has something to do with anything you took out of the demo.
In the video it seems like it has something to do with the dead of this skull.
Posts: 21
Threads: 3
Joined: Feb 2010
yup i did copy over all the scripts. i just copied over the "data" folder to the new demo project to guarantee that everything was included. (except the maps...)
the error seems only to occur when a game is loaded, never when a new game is started..
Posts: 867
Threads: 15
Joined: Nov 2009
really weird.... I loaded a save, fought against an enemy but this error didn't occure as well... does the same error occure on other maps?
Posts: 21
Threads: 3
Joined: Feb 2010
yes, it's the same on every map with battles. i could not get the error in the demo either. maybe thats the way, if i find the difference between the demo and my full project, i'll find the error^^
Posts: 11,214
Threads: 648
Joined: May 2009
DUDE!!! It just struck me when you said it happens after loading your 'save game'.
You are using a save game file created before you installed fukuyama's system, aren't you? It is a common problem that save games are not going to work properly after installing a new script because the new script has values that your save game is not accounting for. So... your old save game does not have the required @characters array.
All you have to do is make a new saved game file and continue with that one. Get rid of your old one. It won't work..