Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[XP] Party Changer

I'll take a look at both errors. The party leader problem is probably because I forgot to update the party under a specific condition. It should be fixed by tomorrow.

Take care!
-Dargor
 
Hey Dargor, I finally got around to buying RMXP (again...>_>) and got the English version this time, but the menu still vanishes the second I open it...do I need to change anything?
 
@BellGoRiiing
It's probably because you're still using the japanese version of Scripts.rxdata.
Make sure your project is using RGSS102E.dll (you can find this in Game.ini).

If you want, you can send me the Scripts.rxdata and I'll try to solve this problem.
 
Hold up for a second and let me play around with it...good things happen when I mess around with stuff, lol.
EDIT: What was the exact order of the three scripts again?
 
Alright...oh this is just great...>_>
Once I open up the menu in the game - "Script 'Commands Manager' line 96: TypeError coccured. no implict conversion from nil to integer"

The errors just won't go will they?! lol
EDIT: Oh and yea, I have the three in order now, thanks.
 
Ok, go into the commands manager script and go to line 95. You should find this:
Code:
self.contents.font.name = $defaultfontname
self.contents.font.size = $defaultfontsize
Delete these lines.

It should work now.
 
Yep, its working now, thanks. The Switch command will pop up once I add the fifth character in right? (If not how do I add it in?)
EDIT: One last question then I'm shutting up, lol. How do you temporarily disable the ability of switching out a character? There is a part (and possibly more) where in battle you play as one person on one part of the battle and then it goes back to the main fight and stuff...(confusing, I know, lol)

EDIT 2: Hey, Dargor....GUESS WHAAAAAAAAAAAAAT!?!?!?!?! *attempts to yell out so loudly that he annoys everyone on the forum*

....Error. >_> (lol)
Anyways this happened randomly when I get a Game Over. "Script 'Party Changer' line 627: NoMethodError occured.
undefined method 'members_all_dead?' for #<Game_Party:0x1411a20>"
 
LOL

Go at line 240 in the party changer script. You should find this part of code:

#--------------------------------------------------------------------------
  # * Add a Member
  #    actor_id : actor ID
  #--------------------------------------------------------------------------
  def add_member(actor_id)
    # Get actor
    actor = $game_actors[actor_id]
    # If this actor is not in the party
    if not @members.include?(actor)
      # Add member
      @members.push(actor)
      # Refresh player
      $game_player.refresh
    end
  end
  #--------------------------------------------------------------------------
  # * Determine Every Members are Dead
  #--------------------------------------------------------------------------
  def members_all_dead?
    available_members = []
    for i in 0...@members.size
      next if @members.locked
      available_members << @members
    end
    # If number of party members is 0
    if $game_party.members.size == 0
      return false
    end
    # If an actor is in the party with 0 or more HP
    for member in available_members
      if member.hp > 0
        return false
      end
    end
    # All members dead
    return true
  end
  end


You must delete the 'end' in red and add the 'end' in blue.

I really need to edit the first post >.<
 
Hi all.
I really like this party changer, but I seem to be experiencing some odd behavior.
Forgive me if this has been explained already but after a battle I see that my characters earned 'X' amounts of experience but when I enter the party changer, the character in the first slot of the active party is the only one who has learned the experience?  :crazy:

Any ideas what could be wrong?
 
@megansunfire
That's odd, indeed. This error should have been fixed in the early versions of the script.
I will post an updated version of the script this week.

In the next weeks, I'll work on an RMVX version of my scripts, including this one.

Take care!
-Dargor
 
Yeah. I just tried again today.
Now what happens is that 3 of the 4 characters in my active party gain experience but the other didn't.
That's so weird.
 
Is this script SDK compatible?  I'm getting the following error in battle:

Code:
Script 'SDK 2.3' line 92: NoMethodError occured.

undefined method 'command' for
#<Window_PartyCommand:0x5a75eb0>
 
Err... SDK 2.3, line 92 as far as I can tell.  Which is weird, because that line is a comment.

Edit: Sorry, for some reason I can't post the script properly.  Maybe it's just too large, because it's all 4 parts merged into a single script.
 
Please don't post the script like this. Put it in a code tag: [ code] your code here [ /code].
Comments are not conssidered by the script interpreter so it's not the problem, but yes, that's odd.
The Window_PartyCommand class does not have a command method neither in the SDK nor in my script. However, It has a @commands variable.

Are you using any other scripts?
 
I did try using both the code tag and the spoiler tag, but it didn't work for some reason.

Yes, I'm using 8 other scripts.  If the error is a result of interference with one of them, I have no idea which one it is.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top