Chaos Project

RPG Maker => RPG Maker Scripts => Script Troubleshooting => Topic started by: Pluslei on February 06, 2009, 12:19:18 am

Title: Script Help
Post by: Pluslei on February 06, 2009, 12:19:18 am
Easy Party Switcher by Blizzard Version 2.11b

Error when i call the party Selector with "$scene = Scene_PartySwitcher.new"


Error

"Script "Easy Party Switcher" line 261: NoMethodError occured.
undefined method `character_name' for 1:Fixnum."

Help please?
Title: Re: Script Help
Post by: Starrodkirby86 on February 06, 2009, 12:41:11 am
First off, straight away I'm noticing something you should take care of. I'm very glad you posted the version number, as you do not have the latest version of Easy Party Switcher!

http://forum.chaos-project.com/index.php?topic=116.0

This is the link to get the latest version. Now, once that's done, make sure your scripts are in the correct order.

http://forum.chaos-project.com/index.php?topic=23.0

Hopefully that'll kill your problems. :)
Title: Re: Script Help
Post by: shdwlink1993 on February 06, 2009, 12:52:56 am
At the risk of sounding rather rude, I must ask if you happen to be using this with RPG Maker VX. Ordinarily I wouldn't ask, but that error is somewhere between difficult and impossible to find in XP, because character_name is handled so completely differently between versions.
Title: Re: Script Help
Post by: Pluslei on February 06, 2009, 10:03:51 am
I deleted the old script and replaced it with the new one you provided (V. 2.43b) and it has come up with a new error "Script "Easy_party_selector" line 701: NameError occurred. undefined method `update_cursor_rect' for class Window_PartyCommand' " (Im using VX yes)
Title: Re: Script Help
Post by: Blizzard on February 06, 2009, 10:19:42 am
It's an XP script and doesn't work with VX as far as I know. Try disabling the BATTLE_SWITCH option, it might just work out, though.