[XP] Blizz-ABS

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

Previous topic - Next topic

megaman30796

i got that problem as well with an enemy that doesn't do anything(dummy) and i used multi body.
"You know the world is going crazy," Chris Rock declared in 2003, "when the best rapper [Eminem] is a white guy, the best golfer [Tiger Woods] is a black guy, the tallest guy in the NBA [Yao Ming] is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named 'Bush,' 'Dick,' and 'Colon.' Need I say more?"

Blizzard

@G_G: Make sure the option LiTTleDRAgo is set right and your plugin works properly first. As for the skill, do you get a buzzer sound? Did you set the scope and occasion in the database? Did you set the type in the config? Do you have enough SP to use the skill? Are all other conditions met that you can use the skill? If it's a healing skill, you should be at least able to heal yourself so maybe your scope or occasion isn't right.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

G_G

January 25, 2011, 08:29:14 am #4102 Last Edit: January 25, 2011, 08:31:48 am by game_guy
@Drago: Well the plugin was neccessary mostly for the menu. All I had to do was change one line in game_party for it to allow more then 4 actors. And the option for MAX_PARTY is for the caterpillar. That doesn't control the actual Game_Party mod that you need to allow adding of more than 4 actors.
@Blizz: The default heal skill has occasion set to always, has scope set to one ally. SP is set to 80. Heres my skills config.
  module Skills
   
   def self.type(id)
     return [DIRECT, EXPLNone]
   end
   
   def self.combo(id)
     return 0
   end
   
   def self.projectile_speed(id)
     return 5
   end
   
   def self.knockback(id)
     return 1
   end
   
   def self.range(id)
     case id
     when 1 then return 5.0 # Heal
     end
     return 1.0
   end
   
   def self.penalty(id)
     case id
     when 1 then return 10 # Heal
     end
     return 24
   end
   
   def self.frames(id)
     return [3, 3, 3, 3]
   end
   
   def self.charge(id)
     return [CHARGENone, 0]
   end
   
   def self.charge_frames(id)
     return [3, 3, 3, 3]
   end
   
   def self.trap(id)
     return 10
   end
   
   def self.summon(id)
     return [SUMMONPet, 0, 0]
   end
   
 end


Character I'm using it with has 570 SP and less then their max HP.  Maybe it has something to do with this.
    def update_skill
     # continue input update if skill should be used
     return false if !self.check_skill_condition?
     # if skill not usable or skill use process not executed and no selection
     if $game_player.battler.skill == 0 ||
         !$game_player.use_skill($data_skills[$game_player.battler.skill]) &&
         $game_temp.select_data == nil
       # play buzzer, can't use
       $game_system.se_play($data_system.buzzer_se)
     end
     # stop input update
     return true
   end


Whats this game temp data thing?

Blizzard

I store the selection data in $game_temp.select_data. I forgot what I put in there, but if I remember right, it holds the sprites of possible target and the object (skill or item from the database) that will be used in the action and something else (can't remember anymore from memory right now). If it is nil, it means that the current action (skill and item only actually) have not triggered the selection sequence and need to be executed immediately. Basically use_skill calls BlizzABS::Processor#skillitem_process which sets $game_temp.select_data if the skill/item has a scope that calls the selection screen.
You should check what's going on inside Map_Battler#use_skill and BlizzABS::Processor#skillitem_process by using a few debug prints. I'm pretty sure that your Battler#skill_can_use? returns false and that's why you can't use it.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

G_G

I printed skill_can_use? result and effect.
skill return trues
result and effect both return false

Blizzard

Then check BlizzABS#skillitem_process. Add a couple of prints to see which way the code goes.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Kagutsuchi

There is a huge increase in lag when I upgraded from v2.79 to v2.84 (The latest) Happens in in maps with 60x60 size, and roughly 20-30 events. Had no lag in maps of that size before.
(Stricly speaking the fps fell from average 39 to average 30, but the game goes notably slower)

megaman30796

i dont know why but my game shows that it have only 19 fps but it runs at normal speed.
"You know the world is going crazy," Chris Rock declared in 2003, "when the best rapper [Eminem] is a white guy, the best golfer [Tiger Woods] is a black guy, the tallest guy in the NBA [Yao Ming] is Chinese, the Swiss hold the America's Cup, France is accusing the U.S. of arrogance, Germany doesn't want to go to war, and the three most powerful men in America are named 'Bush,' 'Dick,' and 'Colon.' Need I say more?"

winkio

Quote from: Kagutsuchi on January 29, 2011, 08:09:18 am
There is a huge increase in lag when I upgraded from v2.79 to v2.84 (The latest) Happens in in maps with 60x60 size, and roughly 20-30 events. Had no lag in maps of that size before.
(Stricly speaking the fps fell from average 39 to average 30, but the game goes notably slower)


Hm, I have a test map that's 80x60 with 30 events, and I get a solid 39-40 fps when I load it and walk around, but while engaging enemies, I do notice a slowdown to around 33 fps.  I'll look into it when I get the time.

Kagutsuchi

January 29, 2011, 02:34:36 pm #4109 Last Edit: January 29, 2011, 02:35:38 pm by Kagutsuchi
I do notice a bit of lag when not fighting enemies too, but it is most notable when fighting. Thanks for looking into it ^^
(Eternal Saga is progressing nicely, wouldn't surprise me if I get something to upload around the end of February)

Noob

I'm using RMX-OS with Blizz-ABS, and the minimap works, character switching works, and when i go to an enemy I can even see the lifebar but it doesn't move and doesn't attack me and i can't attack it. Also I can't attack other player even though pvp=true. Help please.

Blizzard

Quote from: Blizzard on January 22, 2011, 04:41:34 pm
the controller is not fully functional yet and a few functionality problems still remain. I will see if I can find some time in the next few days to test and fix those remaining problems.

Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Noob

Sorry. I got it to work perfectly locally so I thought i might be able to accomplish that globally as well. sorry.

Sin86

January 30, 2011, 09:48:50 am #4113 Last Edit: January 30, 2011, 10:02:04 am by Sin86
I get this error message for some of the condtion commands, here it is.


Script 'Blizz ABS Part 2' line (number here, see below): NoMethodError occurred.
Undefined method `(command here, see below)' for true:TrueClass

Next to undefined method, the commands would be >, >=, <, <=.

As for numbers, it's a different line for a different command. Here they are.

1254 for >
1257 for >=
1260 for <
1263 for <=

Also, 1258 and 1261 say <= but 1258 is suppose to be < because it says less than. Also if both of those 2 lines say <= I don't get the 1260 error, in fact no message is shown at all but the condition still isn't being met. When I change it to <, I do get the error. If the commands are == or !=. I get no error either.

This is all in Blizz ABS version 2.84. Also, the latest version of Tons is installed too.

winkio

you can't use <, <=, >, or >= with true/false values.  Besides that, you are right that I made a mistake on line 1258, thanks for pointing that out.

Blizzard

What is X < true? Almost true? Barely true? Less than true? :V
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

Starrodkirby86

Quote from: Blizzard on January 30, 2011, 12:30:47 pm
What is X < true? Almost true? Barely true? Less than true? :V

Obviously, it means the truth is greater than X, and since 'x' represents one of the game's variables, it looks like it couldn't handle the truth! :V:

What's osu!? It's a rhythm game. Thought I should have a signature with a working rank. ;P It's now clickable!
Still Aqua's biggest fan (Or am I?).




EZ Destroyer

why cant the opponents summon monsters and cant use guided attacks?

Kagutsuchi

February 04, 2011, 06:28:04 pm #4118 Last Edit: February 04, 2011, 06:29:09 pm by Kagutsuchi
Quote from: Starrodkirby86 on January 30, 2011, 01:37:55 pm
Quote from: Blizzard on January 30, 2011, 12:30:47 pm
What is X < true? Almost true? Barely true? Less than true? :V

Obviously, it means the truth is greater than X, and since 'x' represents one of the game's variables, it looks like it couldn't handle the truth! :V:

You know ruby got a very sophisticated way of handling ethical questions.

Also, got a problem with custom event triggers :\

When I am standing still in the rock's path of the rock nothing happens :( It is only if I am moving towards the rock and I touch the rock that the event runs.
Spoiler: ShowHide


Blizzard

That's why you use event touch only.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.