Galv Character effect crashes when I remove all party members but one.

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA

I've moved this thread to RGSsx Script Support. Please be sure to post your threads in the correct forum next time. Thank you.

 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
2,660
Reaction score
563
First Language
English
Primarily Uses
RMVXA
What method are you using to remove the characters, If I try with Galv's demo and yanfly's party system, there is no problem.
Perhaps there is a script causing a problem?
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
If you are already using the backtracer, you should give us a Screenshot of its console output like said in the error message...

That said, this error is most likely because there is something left of the removed actors in the data. How and where die you remove the actors? If you simply delete them in the database, that is not enough...
 

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
I'm not using yanfly party system. I think this is what you mean console.PNG
And I'm using this to remove characters. I'm just trying to make a solo mission. And have them regroup afterward. I'm not using the database. remove characters.PNG
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Does that error happen if you start a new game and go to that event, or only if you load an old saved game and then activate the event?

Nil-errors like that means that the script is missing data declarations, and that usually only happens if either several scripts are incompatible to each other (unlikely here because the other scripts would have been listed on the console) or if a script was added to an older (and now incompatible) savefiles.
 

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
When I load a old game. But it still crashes when I start a new game as well.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
This error pointed in this line
Code:
@reflect = actor.reflect
This error may happen when there is no party member left as "actor" would be nil. Besides, if you remove all party members, it will go to gameover screen in the first place, so removing all party member should not be done. Are you trying to switch into a different party?
 

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
I do keep one actor in the party. I'm not trying to switch party. I only have 4 members in my party. I know about the 'Galv crashes when there are no members in the party bug.' So I avoid doing that.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
Hmm... I can't think of other possibilities. There're some things need to test like the formation of your actors, what if you remove only one, two, removing the leader first, etc. Will it yield the error? Or it would only happen if you remove the actors in a certain pattern. But even with that, I don't think it will help.

Anyway, while I don't think it will help nor identifying what was the cause, but maybe try to apply this patch?
Code:
class Game_Player
  def refresh
    galv_reflect_gp_refresh
    unless actor
      @reflect = false
      if SceneManager.scene_is?(Scene_Map)
        SceneManager.scene.spriteset.refresh_effects
      end
      return
    end
    @reflect = actor.reflect
    @reflect_sprite = actor.reflect_sprite
    @icon = actor.icon
    if SceneManager.scene_is?(Scene_Map)
      SceneManager.scene.spriteset.refresh_effects
    end
  end
end
 

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
Nope.Didn't work. Think I'll just delete it altogether.Too much trouble. The patch just shows all party members are missing.
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Then most probably that is the cause - either because the actor you believe to be left in the party is removed by something else, or because that actor is not correctly initialised and causes the engine problems due to that.
 

TheoAllen

Self-proclaimed jack of all trades
Veteran
Joined
Mar 16, 2012
Messages
5,592
Reaction score
6,522
First Language
Indonesian
Primarily Uses
RMVXA
The patch just shows all party members are missing.
Maybe, they ARE missing in the first place. How can you be sure if there is one left?
Regardless, I'm curious if you remove the script, there won't be further issues. Let me know
 

Tanarex

Scrub
Veteran
Joined
Sep 14, 2014
Messages
468
Reaction score
306
First Language
English
Primarily Uses
RMVXA
Nevermind. I'm so dumb. I found an event that I completely forgot about that removed all the members of the party but one. And with the other one I used it removed them all. It works fine now. It was not where I usually placed the events. So I didn't notice it.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,863
Messages
1,017,053
Members
137,571
Latest member
grr
Top