[XP] Blizz-ABS

Started by Blizzard, January 09, 2008, 08:21:56 am

Previous topic - Next topic

RoseSkye

Quote from: winkio on January 08, 2011, 10:57:25 am
Quote from: LiTTleDRAgo on January 08, 2011, 07:01:37 am
I notice an error at application

Spoiler: ShowHide


I set it to animation 101 but when I click OK it became animation 102

Spoiler: ShowHide



edit : ah, my bad, I should have posting this at thread bug and suggestion instead of here


It doesn't matter which topic you post it in.  I'll fix it soon.

Quote from: RoseSkye on January 08, 2011, 09:44:28 am
I had to remove the code that caused actors/enemies to be forced back with status changes because of errors and such.


line number/part?  Or is this code that you made?

Quote from: RoseSkye on January 08, 2011, 09:44:28 am
Edit: I also had to change;
skill ? char.use_skill(object, forced) : char.use_item(object, forced)

because it errored out when I used trigger commands to emulate a 'monster catch' event.

'wrong number of arguments(2 for 1)'


Are you using CRLS?  If so, did you download the new CRLS+Blizz-ABS plugin from the CRLS page?


I forgot which line.. one sec. Ah, it was because I didn't set the knockback hehe.
CRLS? I don't know what you're talking about. Speaking of using something... the new blizzabs is incompatible with your uh... the script that adds a delay bar/time cooldown.

Well, now that I put the original unedited script in there is a new error when I use trigger events.
Pt 3, Line 909;       
if skill.plus_state_set.any? {|s| $data_states.slip_damage}
        @battler.last_slip_attackers.push(_battler)
      end

winkio

oops that line should be

if skill.plus_state_set.any? {|s| $data_states[s].slip_damage}


And you're right about the cooldown times script, let me update that.

RoseSkye

Now with that fixed the error is;
skill ? char.use_skill(object, forced) : char.use_item(object, forced)

and it only happens with a trigger comment event.

winkio

is it from the trigger, or from the event code after the trigger?

RoseSkye

Quote from: winkio on January 08, 2011, 11:53:33 am
is it from the trigger, or from the event code after the trigger?


It's from the trigger itself. (I guess) The event code after the trigger worked with the previous installment of B-ABS

winkio

January 08, 2011, 12:25:25 pm #4005 Last Edit: January 08, 2011, 01:02:36 pm by winkio
Alright, I'll look into it.  I updated the recharge times plugin too.

EDIT: hmm, I just tested in my own project, and I have an enemy with a skill trigger that works fine.  What's the error message you get, and are there any force_actions in the rest of the event code?

RoseSkye

Quote from: winkio on January 08, 2011, 12:25:25 pm
Alright, I'll look into it.  I updated the recharge times plugin too.

EDIT: hmm, I just tested in my own project, and I have an enemy with a skill trigger that works fine.  What's the error message you get, and are there any force_actions in the rest of the event code?


Actually, yes... I forgot to remove it.

winkio

so, is there still a problem, or problem solved?

RoseSkye

Quote from: winkio on January 08, 2011, 01:16:50 pm
so, is there still a problem, or problem solved?

No problem... so, I'm guessing I cant use force actions anymore?

winkio

no, force actions work, that's one of the things I just recently updated (and tested, they work for me).  What's the script call you are using?

RoseSkye

Quote from: winkio on January 08, 2011, 01:25:38 pm
no, force actions work, that's one of the things I just recently updated (and tested, they work for me).  What's the script call you are using?

$BlizzABS.actor_force_action(0, 
ENEMIES, TROOP, SKILL, 191)

winkio

Okay, the same exact script call (with the skill id changed, of course), works for me.  So, info I need:

1.  What the error message says
2.  Skill 191 type (One Enemy vs. All enemies, shooting, homing, direct, etc.)
3.  Any add-ons that come below Blizz-ABS

RoseSkye

Quote from: winkio on January 08, 2011, 01:32:50 pm
Okay, the same exact script call (with the skill id changed, of course), works for me.  So, info I need:

1.  What the error message says
2.  Skill 191 type (One Enemy vs. All enemies, shooting, homing, direct, etc.)
3.  Any add-ons that come below Blizz-ABS


I figured that script was causing the error. I just didn't want it to be the one. It was the active action display script which is now incompatible with the B-ABS's force action call. Ah well, no biggie.

winkio

January 08, 2011, 01:50:04 pm #4013 Last Edit: January 08, 2011, 01:53:15 pm by winkio
If you are talking about the script by littledrago, here's how to fix it:

delete the lines 91-145 and replace with this:

  alias use_skill_activeinfo_earlier use_skill
 def use_skill(skill, forced = false)
   result = use_skill_activeinfo_earlier(skill, forced)
   if result && @battler.is_a?(Game_Actor) &&
       $game_switches[ACT_SWITCH]
     draw_skl(skill.name)
   end
   return result
 end
 
 alias use_item_activeinfo_earlier use_item
 def use_item(item, forced = false)
   result = use_item_activeinfo_earlier(item, forced)
   if result && @battler.is_a?(Game_Actor) &&
       $game_switches[ACT_SWITCH]
     draw_item(item.name)
   end
   return result
 end


If it's a different script, send it to me and I'll do a quick edit.

RoseSkye

now there is another error
line 95: NameError
uninitialized constant Map_Battler::ACT_SWITCH

the line;        $game_switches[ACT_SWITCH]

ForeverZer0

Either ACT_SWITCH is not yet defined, or you are not using the proper scope operator for it.
For instance, if ACT_SWITCH is in the BlizzCFG module, it would have to BlizzCFG::ACT_SWITCH. You may need more than one operator, depending on where it is at, such as BlizzCFG::Options::ACT_SWITCH.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

winkio

make sure line 89 is

include ZetsuDrago


Perhaps you deleted it when you copy/pasted the fix?

lines 88-91 should look like this after the fix is applied
class Map_Battler
  include ZetsuDrago
 
  alias use_skill_activeinfo_earlier use_skill

LiTTleDRAgo

Quote from: winkio on January 08, 2011, 01:50:04 pm
If you are talking about the script by littledrago, here's how to fix it:

delete the lines 91-145 and replace with this:

  alias use_skill_activeinfo_earlier use_skill
 def use_skill(skill, forced = false)
   result = use_skill_activeinfo_earlier(skill, forced)
   if result && @battler.is_a?(Game_Actor) &&
       $game_switches[ACT_SWITCH]
     draw_skl(skill.name)
   end
   return result
 end
 
 alias use_item_activeinfo_earlier use_item
 def use_item(item, forced = false)
   result = use_item_activeinfo_earlier(item, forced)
   if result && @battler.is_a?(Game_Actor) &&
       $game_switches[ACT_SWITCH]
     draw_item(item.name)
   end
   return result
 end


If it's a different script, send it to me and I'll do a quick edit.



the result was this..




------------------
and, when I using an Item I get this error (without the active action script, just RTP and Blizz ABS)





ah, one more thing, I noticed that I get this error :
http://forum.chaos-project.com/index.php/topic,111.msg129782.html#msg129782
after I upgrading to 2.82

winkio

I think you copy/pasted the script wrong, because the lines aren't matching up.  Also, STCMS works fine, I tested it.

LiTTleDRAgo

January 09, 2011, 03:24:13 am #4019 Last Edit: January 09, 2011, 03:40:52 am by LiTTleDRAgo
Quote from: winkio on January 08, 2011, 11:26:02 pm
I think you copy/pasted the script wrong, because the lines aren't matching up.  Also, STCMS works fine, I tested it.


nope, well I remove some of header script, like licenses, version history, etc
(but that's not important to the script, right?)

probably because I use hermes? since the error is usually appears when message cutscene
if so I'll post hermes here (I'll delete that later)

edit : it seems that the script is too large

edit2 : I tested it in empty project with v2.82 and worked smoothly

also I'm just reminding you
Quote from: LiTTleDRAgo on January 08, 2011, 07:36:49 pm
and, when I using an Item I get this error (without the active action script, just RTP and Blizz ABS)




When I use potion in empty project I get that error


ah, one more thing before I forget
when you release updated Blizz abs could you change this too?

Quote#==============================================================================
# BlizzABS
#------------------------------------------------------------------------------
#  This is the master control, configuration, utility and battle process
#  module for Blizz-ABS.
#==============================================================================

module BlizzABS
 
 # version of Blizz-ABS
 VERSION = 2.7
 # edition of Blizz-ABS
 EDITION = 'Normal'
 # constants to help the user when using the special commands
 PARTY = false
 TROOP = false
 INCREASE = 0