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

God d-

I deleted all the email's and the double stuff, but now it's gotten weirder. Whenever I try to enter a battle, it tells me there's something wrong with line 40 of

WINDOW_COMMAND

Which is.

  #--------------------------------------------------------------------------
  # * Draw Item
  #    index : item number
  #    color : text color
  #--------------------------------------------------------------------------
  def draw_item(index, color)
    self.contents.font.color = color
    rect = Rect.new(4, 32 * index, self.contents.width - 8, 32)
    self.contents.fill_rect(rect, Color.new(0, 0, 0, 0))
    self.contents.draw_text(rect, @commands[index])
  end
 
Hey, Dargor, since RMXPUniverse's server went down, I'm not sure if you got my message, but just wondering, how goes it on your multiple-parties add-on to this script?
 
Looking back to my last bug report, I found it seemed to differ from what I'm getting this time:

Script 'Party_Changer' line 546: NoMethodError occurred.
undefined method `members_all_dead?' for #<Game_Party:0x167df68>

I wish I could understand this.  When my party of 2 members is defeated (only two actors are available for switching, no others have yet been added), I get this stop error message. 
 
Ok I finally found a way to post here while I'm at work. But I can edit posts.

@Regimos
I didn't received your message but I'm still working on that feature. Everything is working fine except the party switching thing, it's extremely buggy.
I modified a lot the party changer structure to allow multiple parties but it does not change the way you use arguments when calling the scene.
I think I'll be able to post a demo this weekend.

@GreenBanana and to all others who had reported bugs in the last 2 weeks
I made a list containing all known bugs, thanks to all of you.
As you know, I cannot edit the first post right now 'cause I'm at work but I will try to update it as soon as possible.

Jeronimus has reported a weird bug a few days ago which in fact isn't a bug.
The thing popped up at a couple of places in the script when the forum changed last week.
So don't use the version currently available in the first post.
As I said, you can expect a big update this weekend.

That's all for now.
Thanks to all of you and take care!
-Dargor
 
Yeah, figured they were something wrong; seems they popped up between some places and then randomly copied the phrase that was between them. Deleting that makes everything run allright, the party switching menu works. I'd like to change some of it to my own preferences, but anyway it works like it should.

But really, the thing that happens when I'm trying to enter battle is so weird. Might have triggered it by deleting something in the script that I shouldn't have. Is there anything in there that does anything to "self.contents.draw_text(rect, @commands[index])" in the Draw Item bit of Window Command? Wouldn't see why, though, but yeah.


EDIT: Apparently, the thing is in the Commands Manager, because I tried to see if it still bugged without this script, so I deleted it, but it still did. Then I got rid of the Commands Manager and there was no error in Window_Command anymore.
 
@Jeronimus
Thanks, I will update the Commands Manager as soon as possible.

@BellGoRiiing
Sorry, I didn't have time to read my PMs this week. As I said before, it's probably because of the Commands Manager. I'll fix it as soon as possible.

As promised, here's a new demo!

Here's a Beta Demo of Party Changer 3.0
This is a preview of the multiple parties features. As I said, it's a beta version and it's still buggy.
I will not offer support for this version since it's not an official full release.

Party Changer 3.0 BETA
http://rapidshare.com/files/77066341/Party_Changer_3.0.zip.html

Take care!
-Dargor
 
Among the assorted "Unknown compression type" errors for every single rxdata file, "Game.exe" is found to be "not a valid Win32 application".  Or something like that. 

In regards to that "unknown method" error on the line:
      if $game_party.members_all_dead?

If I add " == true" on the end of that the problem seems to go away. 
 
Copy the text of the script you wish to implement.  Open up a project in RMXP, then click on the icon that's two icons left of the "Play" button.  This icon should look like a sheet of paper with a pen. 

This will open up a window called "Script Editor", which will be divided into two sections.  The left section is a list of the scripts that are implemented into the game already.  RIGHT-CLICK on the script entitled "Main", and then click on "Insert".  This will insert a new, blank script for you.  Click on this new blank script, and give it a title in the "Name:" text bar located in the bottom left corner of the Script Editor window. 

Next, paste the script you wish to use into the section of this window on the right.  Click "Apply". 

I hope that was an adequate description of how to add a script to your game.  It's definitely not any more complicated than signing up for a forums, seeking out the "Submitted Scripts" subforum, and making a post in a thread about a "Party Changer" script, then asking about how to insert a script.  So do try not to feel overwhelmed.  This is already half the battle. 

Thank you for enjoying RPG Maker XP. 
 
@To Everybody
I'll try to fix the RAR glitch as soon as possible. Please, stop PMing me about it.
Like everybody else, I have other obligations in life and that means I don't have a lot of time to spend on RMXP.
Please, be patient. I will have all the time I need to fix all bugs in my christmas vacations.

@arquillius
I got your PM, but I don't know what contest entry you're talking about.
As I said before, I know about the RAR error and I will fix it as soon as possible.

This script is not the only one I need to keep updated so please, stop sending me PMs about how buggy my script is.
If it's a constructive criticism or a pertinent bug report, then your PM will be greatly appreciated.

-Dargor
 

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