Script Error with Game_Actors

[IMG]http://i.imgur.com/7YxTLCJ.png[/IMG]

Spoiler
[IMG]http://i.imgur.com/rceyprE.png[/IMG]
This is an issue that occurs when I have victors multi attack script preform  Dubay, Clarence and Persaios's skill together.

However the other teams skill Clarence, Evangeline and Dubay works, I am unsure what could be causing this odd error.

So here's the setup for Dubay, Clarence and Persaios

Spoiler
[IMG]http://i.imgur.com/l5ZfZic.png[/IMG]
and Clarence, Evangeline and Dubay

Spoiler
[IMG]http://i.imgur.com/nBjaRxz.png[/IMG]
They both look similar and set up right, dont know if I missed anything.

The script that might be causing the issue: https://victorscripts.wordpress.com/rpg-maker-vx-ace/battle-scripts/animated-battle/cooperation-skills/

Yes it is set up correctly in database here's a comparison
Spoiler
[IMG]http://i.imgur.com/Cf0doWi.png[/IMG]
and the working skill
Spoiler
[IMG]http://i.imgur.com/GhXMdpd.png[/IMG]
Finally here is a video showing what happens with the working skill and the broken skill.

https://www.youtube.com/watch?v=jsE91PCzc4U&feature=youtu.be



Thank you for any help you can give 🙂
If the script might be causing the issue, disable it (or start a new project without that script) and see if the issue still happens.


I can't look at the script - dropbox has disabled it.


Clearly, something is doing $game_actors[false] The false might be a variable as well (script variable, as opposed to $game_variables variable).


You could try Mithran's crash debugger (Global Graphical Object Reference) which would give you the stack trace and tell you what was calling what at the time of the crash.
Alright here is the link to his scripts: https://drive.google.com/folderview?id=0B5uvwXLAev89ZTVQRTd2T0EwQlk&usp=sharing

And it is this only occurs when I use that certain skill, I have no idea how else I can trigger it. Funny thing is though a similar skill in the same script doesnt cause it.

As for Mithran it doesnt seem to help anything.
Mithran's script wouldn't HELP anything. It would tell you WHERE the call was coming from that caused it to crash. You have to play with the console turned on.


And holy cow, that's a lot of scripts. I'm sorry - I'm not going to scour through all those looking for the one you're talking about, when you're not even certain it's the one causing the issue.
Yeah I did that nothing came up on it, I probably set it up wrong.

As for script it is cooperation skills which is this one: https://docs.google.com/file/d/0B5uvwXLAev89SzVqSEZqZGdtcFE/edit
mmm ... do you have a 10th actor in the database?


If you copy the entire notebox from the working skill and paste it into the non-working skill, replacing what's already there and making no changes, does the skill then work? If it does, change the 9 to a 10 and see if it works. If it doesn't, go to the working skill and change the 9 to a 10 and see if that skill is then broken as a result.


I don't see any typos between the two skills, so the only difference I see is that you go into the double-digits. If they both work when you use 9 and they both break when you use 10, I'd question if there's something wrong on this line:

Code:
regexp = /<ACTOR COOPERATION: *((?:\d+ *,? *)+)>/i
or this line:
Code:
r += obj.first.scan(/\d+/i).collect {|i| i.to_i }
in the actor_cooperation method.
I do have a tenth actor.

Okay so I did copy from the other skill and replaced 9 with 10.It didnt work with the sequence in the broken skill, and I did replace 9 with ten on the working skill and it still worked.

So there must be some issue with the sequence, even if we dont see anything.
 
Looking at the sequence for... well who knows how many times I finally spotted something very easy to miss for a human eye

Spoiler
[IMG]http://i.imgur.com/7YQiVqU.png[/IMG]
There's a period in that sequence that caused everything to go wrong.

Thank you Shaz for your help 🙂 This is solved now.

Original thread: https://forums.rpgmakerweb.com/threads/script-error-with-game_actors.38313/