Pets and Summons

Problems with the symphony here.
Strong bugs ..

scripts:
- Yami Battle Symphony
- Pets and Summons (Compatibility) v1.4f

I can not explain what happens, but it is very easy to understand (photos + demo)

imagem5.JPG

imagem1.JPG

imagem2.JPG

imagem3.JPG

imagem4.JPG

The Bug.rar
Yeah ^^ i get the same problem 😀 And if you try to summon the same, nothing happens 😀 But just wait for it ^^ I think he has really much to do 😀
Big summon is bugged also, The bug are post battle.

Exemple:
1- You have 3 actors,
2- use the big_summon,
3- win the battle.
4- see the bug.

The Character of the summon is fix in actor, and show only this on map.

Med_Summon work, but, in the end of battle, the character un-transform. but this not sacrifice
I'll be going over this script sometime in the next couple weeks to get it working better alongside other battle scripts (and itself in some cases) so let me know if there is anything else I've missed!
Okay. Updated the compatibility version, it works much nicer with Yanfly Battle Symphony now. Yay. That wasn't fun. 😛
Hey there 😀 I tried out 😀 And it works much better then before. Nice work 😀

But did you try, to summon with the same Actor more than one pet? Again the same pet, or another?

And that is all i think 😀
Updated to avoid multiple pets occupying the same slot (86% of the time, there are moments), and crash when there are more actors and pets on the field then normally allowed in a battle. Script now overrides max_battle_members. (Option to edit amount in customization)
Hello Vlue,

I am using the Comp. script version 1.5a, but i am still having this issue:

mpESctK.jpg


Is there something wrong with my project rsrsrs.
Did you erase the last little snippet patch I gave you for that exact error? 😛

Spoiler
Code:
class Sprite_Battler  alias bes_hb_correct_change_pose2 correct_change_pose  def correct_change_pose    return unless @battler    bes_hb_correct_change_pose2  endend
Ops, sry for the late reply.

Yeah i deleted it before putting your new patch, well thought though. 🙂
I seem to have something weird happening. When I summon an actor, the initial summoning animation, plus any HP or MP regeneration the summoned actor may have are shown partially cut off in the top left corner, as if they are happening off screen.

I have yanfly's battle engine, if that helps
Are actor sprites involved or is it just a front view style battle system?
Hello Vlue,

Thanks for the script! 

I got to say your work is amazing. 

I got a bug for ya.

When I play test with the script (along with all of yanfly scripts and battle symphony). I summon an actor and the enemy sprite disappears after the first turn summon.

If you need anything from me let me know!
Erro.

Scripts Used.

-Battle Symphony 1.16c

- your script

(Only)

Summon = work.

Med e Big summon: Erro

Line 238: NoMethodError Ocurred

Undefined method '<' for nil:Nilclass

ps- BattleSymphony = Dr. Yami

        Ace Battle Engine = YanFly
Someone asked me to look at a compatibility issue between my unison item script and this script so I've just made a fix:

if $imported["DoubleX RMVXA Unison Item"]class Game_Actors  #----------------------------------------------------------------------------|  #  Rewrite method: []                                                        |  #----------------------------------------------------------------------------|  def [](actor_id)    return nil unless $data_actors[actor_id]    # This part is added by this snippet to return game pets instead of game actors    if !@data[actor_id] && SceneManager.scene_is?(Scene_Battle) && $game_party && $game_party.pets      $game_party.pets.each { |pet| return pet if pet.id == actor_id }    end    #    @data[actor_id] ||= Game_Actor.new(actor_id)  end # []end # Game_Actorsend # $imported["DoubleX RMVXA Unison Item"]The root cause of this is that some scripts such as mine assume all members in $game party_members can be referenced by $game_actors. However, it's not the case for those members that are pets summoned by other actors as they're initialized as Game_Pet but not Game_Actors. If an actor with id x is summoned as a pet in battle, it can't be referenced by $game_actors[x] and the latter points to a totally different object which is not even in the battle. As my script uses $game_actors in battles a lot, changing them all to something else would be too tedious for me although it'll still work, therefore I ended up using this lazy and risky fix 😀

I wanted to add this into my compatibility fix, but as it seems to me that I can't detect your script's existence and you did a compatibility fix for displaying actor sprites, I wonder if you'll want to make a second compatibility fix to fix some potential compatibility issues with scripts assuming all members in $game party_members can be referenced by $game_actors. Or you may want to keep it as a standalone snippet or just reject my whole fix altogether 🙂
Hello Vlue,

Thanks for the script! 

I got to say your work is amazing. 

I got a bug for ya.

When I play test with the script (along with all of yanfly scripts and battle symphony). I summon an actor and the enemy sprite disappears after the first turn summon.

If you need anything from me let me know!
If you could find out which script is causing it I can take a look~

Erro.

Scripts Used.

-Battle Symphony 1.16c

- your script

(Only)

Summon = work.

Med e Big summon: Erro

Line 238: NoMethodError Ocurred

Undefined method '<' for nil:Nilclass

ps- BattleSymphony = Dr. Yami

        Ace Battle Engine = YanFly
Updated the pastebin to... hopefully alleviate that error.

Someone asked me to look at a compatibility issue between my unison item script and this script so I've just made a fix:


if $imported["DoubleX RMVXA Unison Item"]class Game_Actors  #----------------------------------------------------------------------------|  #  Rewrite method: []                                                        |  #----------------------------------------------------------------------------|  def [](actor_id)    return nil unless $data_actors[actor_id]    # This part is added by this snippet to return game pets instead of game actors    if !@data[actor_id] && SceneManager.scene_is?(Scene_Battle) && $game_party && $game_party.pets      $game_party.pets.each { |pet| return pet if pet.id == actor_id }    end    #    @data[actor_id] ||= Game_Actor.new(actor_id)  end # []end # Game_Actorsend # $imported["DoubleX RMVXA Unison Item"]The root cause of this is that some scripts such as mine assume all members in $game party_members can be referenced by $game_actors. However, it's not the case for those members that are pets summoned by other actors as they're initialized as Game_Pet but not Game_Actors. If an actor with id x is summoned as a pet in battle, it can't be referenced by $game_actors[x] and the latter points to a totally different object which is not even in the battle. As my script uses $game_actors in battles a lot, changing them all to something else would be too tedious for me although it'll still work, therefore I ended up using this lazy and risky fix 😀
I wanted to add this into my compatibility fix, but as it seems to me that I can't detect your script's existence and you did a compatibility fix for displaying actor sprites, I wonder if you'll want to make a second compatibility fix to fix some potential compatibility issues with scripts assuming all members in $game party_members can be referenced by $game_actors. Or you may want to keep it as a standalone snippet or just reject my whole fix altogether 🙂

I should really put those imported tags on all my scripts... that's smart. >.> (Would've helped with a handful of my other scripts working with each other).

Since I haven't yet though, and I'm lazy (I'll get it done one day I swear), I've added it on to the script, thanks~
Med e Big Summon.

Line 229: NoMethodError Ocurred

Undefined Method '+' for nil:NilClass

Battle Symphony + Your Script (Only)
I must've lost some changes somewhere, try it now.
1.5f compatibily => Same error.
It's still working fine for me so I'm not really sure how to go about this.


It happens when you summon a medium pet? What's the note tag in the skill.


You're just using Battle Symphony (1 script) and Pet and Summons (1 script) right? With Pets below Symphony?

Original thread: https://forums.rpgmakerweb.com/threads/pets-and-summons.27210/