Save-Point
CTB - A Final Fantasy X-like Battle System, Version 3.2 - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: CTB - A Final Fantasy X-like Battle System, Version 3.2 (/thread-2298.html)



CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 09-28-2009

This is the error message shown when a script run by an event has some error, but you haven't provided enough information for me to understand what is going on...
When you say you worked with the summons section, what exactly does it mean?


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - dkaelynd - 09-28-2009

well i changed the names of the summons and sprites and changed the common event to the appropriate script. that's all i did then i tried adding them in the class skills for lancer and now that error happens


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 09-29-2009

post the contents of the common events then


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - dkaelynd - 09-29-2009

it was: script: $game_party.summon(19)

and it goes to 22


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Archeia - 09-29-2009

It will be a faroff dream to see this in VX...sigh...
I...have to use XP it seems... orz


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 09-29-2009

dkaelynd Wrote:it was: script: $game_party.summon(19)

and it goes to 22

There's your problem. The format is:

$game_party.summon(type,list of actors' names in square brackets,unique identifier(optional))

I guess you wanted to summon actor number 19, right? Then, assuming that you want a summon that replaces the party and fights alone, you must have a common event like this

$game_party.summon(2,["name of the actor"])

Read the instructions and ask me if there's something you can't figure out.

Archeia Wrote:It will be a faroff dream to see this in VX...sigh...
I...have to use XP it seems... orz

XP! XP! XP!


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - dkaelynd - 09-30-2009

ok it fixed it but now when i try to summon in battle the game crashes with this error

Script "Summons 0.7" line 821: NoMethodError occurred.
undefined method 'available' for nil:NilClass

how do i correct this


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 09-30-2009

You may have not configured the summon skills correctly.
Review the "Installation" and "Configuration of Summons" sections of the guide.
Also, remember that summons do not work in test battle mode.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Cinnamon - 10-01-2009

Hey!
I have another problem. I'm getting an error after a battle. After the battle is completed I get the victory sound and this error appears.

Script 'Window_BattleReport' line 110: ArgumentError occured.
wrong number of arguments (1 for 0)

I do have one other script installed which is the MOG Menu script. When I take that off the error stops appearing. I'd rather use both scripts that just yours, do you know how I can fix that? Any ideas? Please say yes haha.


CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Alpha-Mad - 10-01-2009

You should post the code or at least a link to the script so that Charlie or someone else can help. Doesn't MOG have like, 6 menus?