![]() |
|
+- Save-Point (http://save-point.org) +-- Forum: Material Development (/forum-8.html) +--- Forum: Scripts Database (/forum-39.html) +--- Thread: |
CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - dkaelynd - 09-28-2009 12:19 PM hey i tried working with the summons section of your demo but now i get an error that looks like this: ArgumentError occurred while running script. wrong number of arguments (1 for 2) how do i fix this problem? plus now what ever i do to change it or undo the summons i still get this message. please help thanks. CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - Charlie Fleed - 09-28-2009 06:43 PM 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 08:15 PM 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 12:55 AM 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 04:43 AM 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 08:32 AM 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 09:57 AM dkaelynd Wrote:it was: script: $game_party.summon(19) 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... XP! XP! XP! CTB - A Final Fantasy X-like Battle System, version 3.1 (NEW Jul 4 2010) - dkaelynd - 09-30-2009 08:57 AM 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 11:22 AM 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 05:59 PM 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. |