[XP] Blizz-ABS

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

Previous topic - Next topic

StorocnekXx

oh my gosh, i'm so sorry!
i thought i read the whole manual carefully, but ... i somehow missed that part! my apologies.

And yeah, i forgot i was the one .....'inventing' a button to press for that questlog. stupid me.

however, it - of course - works now.
Thanks a lot! :)
I may have a lot of ideas to use, but I have no idea how to use them.

DarK_Camper

Hello, I am a beginner scripter and I would like to know how to change the hotkey assignment via scripts in order for me to use them in a custom scene I am creating(and not publishing... probably).

I have found the update_skill method and I see the conditional for the Input. The comments explain what each thing does but I am still a bit clueless. D:
I am quite sure that $game_player.skill_hotkeys is probably the method to change the hotkey, and the (@index+1)%10 thing inside it is which hotkey(though I still have no idea what this means) and it's setting it to the skill where the cursor is pointed at(?)(@skill_window.skill.id)

I have no idea how to work with this. Could I get some advice..? Thank you very much.

Chaos project is awesome!

winkio

if you wanted to set the skill with id 5 to hotkey 3, it would look like:

$game_player.skill_hotkeys[3] = 5


but you should make sure you are clearing any item that was previously assigned to hotkey 3 as well

$game_player.item_hotkeys[3] = 0

DarK_Camper

Thank you very much! :D This should enable me to program what I need. :)


Chaos project is awesome!

drei7717

Hey there, I'm trying to use the blizz abs script for the first time and I'm getting this error when I am trying to use a run sprite. What am I doing wrong?



P.s I apologize if someone already solved this issue somewhere in this topic. There's too many posts to see if someone had the same issue.

KK20

Quote from: KK20 on December 25, 2013, 12:39:33 am
I think something got bugged in the transitioning of character frames from 2.84 to 2.85.
Namely this method:
Spoiler: ShowHide

Code: BABS 2.84

  #----------------------------------------------------------------------------
  # sprite_movement_animation_setup
  #  Sets up movement sprite handling.
  #----------------------------------------------------------------------------
  def sprite_movement_animation_setup
    # if jumping and turned on JUMPING_SPRTES
    if jumping_sprites? && self.jumping?
      # set spriteset name
      @character_name = @character_name_org + BlizzABS::SPRJumping
    # if running and turned on RUNNING_SPRTES
    elsif running_sprites? && (self.moving? || Input.dir8 != 0) &&
        self.running? && self.attacked <= 0
      # set spriteset name
      @character_name = @character_name_org + BlizzABS::SPRRunning
    # if sneaking and turned on SNEAKING_SPRTES
    elsif sneaking_sprites? && (self.moving? || Input.dir8 != 0) &&
        self.sneaking? && self.attacked <= 0
      # set spriteset name
      @character_name = @character_name_org + BlizzABS::SPRSneaking
    # if idle and using idle sprites
    elsif self.idle? && idle_sprites?
      # set spriteset name
      @character_name = @character_name_org + BlizzABS::SPRIdle
    # if charging
    elsif self.charging? && charge_sprites?
      # setup charge sprites
      setup_charge_sprites
    end
  end

Code: BABS 2.85

 #----------------------------------------------------------------------------
 # sprite_movement_animation_setup
 #  Sets up movement sprite handling.
 #----------------------------------------------------------------------------
 def sprite_movement_animation_setup
   # if jumping and turned on JUMPING_SPRTES
   if jumping_sprites? && self.jumping?
     # set spriteset name
     @current_sprite = BlizzABS::SPRJumping #<========================== These have been added now
     @character_name = @character_name_org + @current_sprite
   # if running and turned on RUNNING_SPRTES
   elsif running_sprites? && self.moving? &&
       self.running? && self.attacked <= 0
     # set spriteset name
     @current_sprite = BlizzABS::SPRRunning #<========================== which is causing an error
     @character_name = @character_name_org + @current_sprite
   # if sneaking and turned on SNEAKING_SPRTES
   elsif sneaking_sprites? && (self.moving? || Input.dir8 != 0) &&
       self.sneaking? && self.attacked <= 0
     # set spriteset name
     @current_sprite = BlizzABS::SPRSneaking #<========================== in 2.85 now
     @character_name = @character_name_org + @current_sprite
   # if idle and using idle sprites
   elsif self.idle? && idle_sprites?
     # set spriteset name
     @current_sprite = BlizzABS::SPRIdle #<========================== Not just for idle sprites, but all these
     @character_name = @character_name_org + @current_sprite
   # if charging
   elsif self.charging? && charge_sprites?
     # setup charge sprites
     setup_charge_sprites
   end
 end


Replacing 2.85's method with 2.84's method should do the trick I believe.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Blizzard

Quote from: drei7717 on February 28, 2014, 01:26:06 am
Hey there, I'm trying to use the blizz abs script for the first time and I'm getting this error when I am trying to use a run sprite. What am I doing wrong?



P.s I apologize if someone already solved this issue somewhere in this topic. There's too many posts to see if someone had the same issue.


Quote from: Blizzard on January 09, 2008, 08:21:56 am
Compatibility

90% compatible with SDK 1.x. 80% compatible with SDK 2.x. Compatible with any CMS. Mostly is not compatible with any battle add-ons for the normal turn based battle system. WILL corrupt your old save games. Incompatible with the RGSS100J.dll. This script goes below any other script that modifies the Sprite_Character class.
Blizz-ABS Config requires Microsoft .NET Framework 2.0 to be installed.


Basically make sure to start a new game after installing, because old save files from before when you added the script won't work.
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.

whitespirits

February 28, 2014, 06:30:48 am #5127 Last Edit: February 28, 2014, 01:17:03 pm by whitespirits
Hi all i ran into an error today with the new rmx-os and blizz abs, Winiko talking to blizz he asked me to forward this info alignment group configurations shouldn't return nil but an empty array []


the error message

http://s804.photobucket.com/user/richadam111/media/error_zps81837077.png.html

winkio

February 28, 2014, 02:17:18 pm #5128 Last Edit: February 28, 2014, 02:50:53 pm by winkio
Quote from: drei7717 on February 28, 2014, 01:26:06 am
Hey there, I'm trying to use the blizz abs script for the first time and I'm getting this error when I am trying to use a run sprite. What am I doing wrong?



P.s I apologize if someone already solved this issue somewhere in this topic. There's too many posts to see if someone had the same issue.


This is actually from a more complicated bug that I just found out relating to the custom frame timing.  I'll be fixing it and releasing a new version shortly, along with a fix for RMX-OS.


EDIT: Aha, I found out what was happening here:
Quote from: whitespirits on February 28, 2014, 06:30:48 am
Hi all i ran into an error today with the new rmx-os and blizz abs, Winiko talking to blizz he asked me to forward this info alignment group configurations shouldn't return nil but an empty array []


the error message

http://s804.photobucket.com/user/richadam111/media/error_zps81837077.png.html


The processor is getting initialized before game_system.  This is causing a problem because the processor has an instance of AI which needs to set up an alignment group, but the groups are not created in memory until game_system is initialized.  The easy fix is just to wait to initialize the AI until after game_system creates the alignment groups.

winkio

February 28, 2014, 05:18:02 pm #5129 Last Edit: February 28, 2014, 07:00:31 pm by winkio
Version 2.86 is up.

Features


  • Fixed multiple errors with running, jumping, sneaking, and idle sprites

  • Fixed error with alignment groups being used before they were properly initialized

  • Fixed a bug where enemies would continually execute code on death instead of just executing once

  • Fixed a bug in where battlers could attack themselves even when they weren't confused

  • Fixed a bug with corpses showing up on top of the player



EDIT: had to do a small re-upload because of a misunderstanding, just a tiny change related to the 4th bug.

Zexion

I'm glad to see that both blizzard and yourself fixed rmx-os and the abs (respectively). Seeing as how so many people still use these systems. Great job!

whitespirits

thanks for the updates both, im still getting this error?


Spoiler: ShowHide

winkio

@whitespirits: can you send me your config?

whitespirits

I will message it to you :)

Blizzard

I'll take a look at this as well. The rest of the bug might be in my code in the controller for RMX-OS.
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.

winkio

I noticed that this most recent error message appeared after loading a game, but the one you posted before occured after using a transfer player command, both of which go through RMX-OS.  Perhaps Blizz, you can look for what is happening before Game_System is loaded in both of these RMX-OS methods.  Because I'm pretty sure everything makes sense from the Blizz-ABS side.

Also, I just wanted to check if it was a save data problem.  Does the error occur when you start a new game whitespirits?  If everything works on a new game, I can send you a script that will patch your savegames so you don't have to lose any progress.

Blizzard

I did remove the exchange of alignments between clients, because it was causing bugs. Maybe because of this no update is sent over network and the groups remain nil. This would make the most sense to me. As I said, I'll take a look at 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.

whitespirits

Hi guys, I tried new games and it still bugs, pvp works great! its just entering a map with monsters causes error.

winkio

I figured it out, it's just a small bug in the Blizz-ABS controller for RMX-OS.

@whitespirits: you can look here for how to fix the bug.

whitespirits

Thanks a million! worked perfect im running into an error now when using comment events attached to spells or items

http://s804.photobucket.com/user/richadam111/media/newerror_zps07794698.png.html