[XP] Blizz-ABS

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

Previous topic - Next topic

Blizzard

January 30, 2008, 08:45:43 pm #60 Last Edit: January 30, 2008, 08:47:04 pm by Blizzard
Oh, THAT bug. Simply find that line in the script. It will say something like @lead.sight. Well, it should be @lead.AI_data.sight. Same goes for the two methods below with a similar pattern. Simply add that bit and all except for the first error will stop occuring for the time being until I release 1.9. I'll check what's wrong with direction-fixed enemies.
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.

Memor-X

January 31, 2008, 12:15:04 am #61 Last Edit: January 31, 2008, 12:49:15 am by Memor-X
i also have an error to report, when i was attacked with a skill, just after i recived the damage i got an error

in Blizz-ABS Part 2 on line 1005 there's a NoMethodError
undefined method "+" for nill:NilClass

i don't think i have to say what's on that line cause as far as i can tell, there's no modification in part 2

also Blizzard, i've got this error while testing my Megaman game, i was fighting Bass (first boss) and i got to hand it to you, 1.8 i made Bass had but easy but now, he's like a cafine adicted chipmunk on crack, very smart, and to think with 1.8 i made the seocnd boss Agile really had, not to mention him being invisible unless you switch the switches, can't wait till i face him to see just how your AI works, oh, and a final note, which my number 2 suggestion, i wasn't talking about the enemies range, i was talking about when you target the enemy, the target gets a circle on the minimap aswell

EDIT: i got rid of the skill so i could continue to attack but when i got hit by bass's normal attack it came up with the same error, yet when a drone hits me, i don't get an error, the diffence between the 2 is a drone is attack close while bass is projectile

Blizzard

I think the bug with the projectile was already reported, but I'll look into it anyway.
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, 2008, 08:45:43 pm
Oh, THAT bug. Simply find that line in the script. It will say something like @lead.sight. Well, it should be @lead.AI_data.sight. Same goes for the two methods below with a similar pattern. Simply add that bit and all except for the first error will stop occuring for the time being until I release 1.9. I'll check what's wrong with direction-fixed enemies.

Many thanks Blizzard. :3

I'll be anxiously and joyously waiting for Version 1.9 . I'll also want to know what bugs would be corrected, but that's inevitable, and you're going to put that on the front anyway, so that's a given. :P

Thanks once more. ^^

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?).




daalaff

Hi, i have a new problem. If i use a item, then comes this error

Blizz ABS Part1 mod' line 2829: NoMethodError occurred
undefined method 'battler' for #<Game_Event 0x1694960>

and if i use a skill

Blizz ABS Part1 mod' line 2829: NoMethodError occurred
undefined method 'battler' for #<Game_Event 0x3db12e0>



Blizzard

February 01, 2008, 01:00:08 pm #65 Last Edit: February 01, 2008, 01:01:06 pm by Blizzard
Hm, that's pretty unusual. For some reason an event is trying to execute an attack. I'm sorry, but I can't find out what the problem is at this time being. Does it happen every time you try using an item or a skill?
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.

daalaff

Yes, at all items and skills

Blizzard

Hm... Try an older version, maybe it works out. Also try the version from the example game.
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.

Hi

Hi I know it sounds stupid but ive just got rpgmaker xp and someone told me about this script, but im relly stuck i cant seem to change the controls this is what i've changed them to:

#==============================================================================
# Enhanced module Input
#------------------------------------------------------------------------------
#  This module handles Blizz-ABS input.
#==============================================================================

module Input
  #----------------------------------------------------------------------------
  # Setup of Controls (ASCII)
  #----------------------------------------------------------------------------
  LMB, RMB, MMB, Backspace, Tab, Enter, Shift, Ctrl, Alt, Esc, D_Down, D_Left,
  D_Right, D_Up, Space = 1, 2, 4, 8, 9, 13, 16, 17, 18, 27, 40, 37, 39, 38, 32
  NumKeys = [48, 49, 50, 51, 52, 53, 54, 55, 56, 57]
  NumPad = [45, 35, 40, 34, 37, 12, 39, 36, 38, 33]
  Let = {'A' => 65, 'B' => 66, 'C' => 67, 'D' => 68, 'E' => 69, 'F' => 70,
         'G' => 71, 'H' => 72, 'I' => 73, 'J' => 74, 'K' => 75, 'L' => 76,
         'M' => 77, 'N' => 78, 'O' => 79, 'P' => 80, 'Q' => 81, 'R' => 82,
         'S' => 83, 'T' => 84, 'U' => 85, 'V' => 86, 'W' => 87, 'X' => 88,
         'Y' => 89, 'Z' => 90}
  Fkeys = [-1, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123]
  Collon, Equal, Comma, Underscore, Dot, Backslash, Lb, Rb, Quote = 186, 187,
  188, 189, 190, 191, 219, 221, 222
  # dll call
  State = Win32API.new('user32', 'GetKeyState', ['i'], 'i')
  Key = Win32API.new('user32', 'GetAsyncKeyState', ['i'], 'i')
  # All ASCII keys
  All_keys = 0..255
  @repeating = []
  256.times{@repeating.push(-1)}
   # Blizz-ABS control setup
  if BlizzABS::Control::CUSTOM_CONTROLS = false
    eval("Up       = #{BlizzABS::Control::UP}")
    eval("Left     = #{BlizzABS::Control::LEFT}")
    eval("Down     = #{BlizzABS::Control::DOWN}")
    eval("Right    = #{BlizzABS::Control::RIGHT}")
    eval("Prevpage = #{BlizzABS::Control::PREVPAGE}")
    eval("Nextpage = #{BlizzABS::Control::NEXTPAGE}")
    eval("Confirm  = #{BlizzABS::Control::CONFIRM}")
    eval("Cancel   = #{BlizzABS::Control::CANCEL}")
    eval("Attack   = #{BlizzABS::Control::ATTACK}")
    eval("Defend   = #{BlizzABS::Control::DEFEND}")
    eval("Skill    = #{BlizzABS::Control::SKILL}")
    eval("Item     = #{BlizzABS::Control::ITEM}")
    eval("Select   = #{BlizzABS::Control::SELECT}")
    eval("Hud      = #{BlizzABS::Control::HUD}")
    eval("Hotkey   = #{BlizzABS::Control::HOTKEY}")
    eval("Minimap  = #{BlizzABS::Control::MINIMAP}")
    eval("Run      = #{BlizzABS::Control::RUN}")
    eval("Sneak    = #{BlizzABS::Control::SNEAK}")
    eval("Jump     = #{BlizzABS::Control::JUMP}")
    eval("Turn     = #{BlizzABS::Control::TURN}")
  # default controls
  else
    Up       = [D_Up]
    Left     = [D_Left]
    Down     = [D_Down]
    Right    = [D_Right]
    Prevpage = [Let['-']]
    Nextpage = [Let['=']]
    Confirm  = [Enter]
    Cancel   = [Backspace]
    Attack   = [Space]
    Defend   = [Ctrl]
    Skill    = [Alt]
    Item     = [Shift]
    Select   = [Let['*']]
    Hud      = [Let['1']]
    Hotkey   = [Let['2']]
    Minimap  = [Let['3']]
    Run      = [Let['€']]
    Sneak    = [Let['$']]
    Jump     = [Let['/']]
    Turn     = [Let['Tab']]
  end
 
And then it said that something was worng with line 146 so i got rid of that line and i just have completly lost myself (Im editing this from the Demo if thats the problem!

Blizzard

February 01, 2008, 02:09:11 pm #69 Last Edit: February 01, 2008, 02:11:59 pm by Blizzard
This here is for control management. (-_-')
  #============================================================================
  # BlizzABS::Control
  #----------------------------------------------------------------------------
  #  This module provides in-game control configurations.
  #============================================================================
 
  module Control
   
    # using other controls instead of arrow keys
    CUSTOM_CONTROLS = false
    # RMXP default controls will be replaced completely with Blizz-ABS controls
    DISABLE_DEFAULT = true
    # you can skip this if you have set CUSTOM_CONTROLS to false
    # setup the controls as array, but with prefix and suffix "
    # i.e.: Let T and R be for cancel => CANCEL = "[Let['T'], Let['R']]"
    # for more info about read 1.1.1. of the manual
    UP       = "[Let['W']]" # move up
    LEFT     = "[Let['A']]" # move left
    DOWN     = "[Let['S']]" # move down
    RIGHT    = "[Let['D']]" # move right
    PREVPAGE = "[Let['Q']]" # previous page
    NEXTPAGE = "[Let['E']]" # next page
    CONFIRM  = "[Let['H']]" # confirm selections / pick up items
    CANCEL   = "[Let['F']]" # cancel selections
    ATTACK   = "[Let['K']]" # attacking
    DEFEND   = "[Let['L']]" # defending (hold)
    SKILL    = "[Let['J']]" # use skill
    ITEM     = "[Let['I']]" # use item
    SELECT   = "[Let['O']]" # change leader
    HUD      = "[Let['Z']]" # HUD on/off if enabled
    HOTKEY   = "[Let['X']]" # hotkey display on/off if enabled
    MINIMAP  = "[Let['C']]" # toggle minimap mode if enabled
    RUN      = "[Let['M']]" # running (hold)
    SNEAK    = "[Dot]"      # sneaking (hold)
    JUMP     = "[Comma]"    # jumping
    TURN     = "[Let['U']]" # turning around without moving (hold)
  end


And Let['SOMETHING'] is only for letters. For numberkeys it's Num[NUMBER], for special characters it's direct like Dot or Comma and so on. There's a chapter (3.2.4.) in the manual with the collection of all possible keys.
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.

daalaff

Ok, if i use the scripts from the example game, no errors.

diablosbud

February 01, 2008, 11:21:42 pm #71 Last Edit: February 01, 2008, 11:23:09 pm by diablosbud
Hey blizzard i'm setting up CTRL as my sneaking button but it will not sneak when I hold the CTRL key ingame. Here is my sneak control line:
    SNEAK    = "[Ctrl]"      # sneaking (hold)


I have Version 1.0.9.3 of Blizz-ABS because it was the easiest to setup and I have an example (Chronicles of Sir-Lags-Alot). I'd be happy if you or someone else could help :).

Starrodkirby86

Quote from: diablosbud on February 01, 2008, 11:21:42 pm
Hey blizzard i'm setting up CTRL as my sneaking button but it will not sneak when I hold the CTRL key ingame. Here is my sneak control line:
    SNEAK    = "[Ctrl]"      # sneaking (hold)


I have Version 1.0.9.3 of Blizz-ABS because it was the easiest to setup and I have an example (Chronicles of Sir-Lags-Alot). I'd be happy if you or someone else could help :).
There is a possibility Ctrl will not work when playing because in Test Play, Ctrl means you can walk through walls. Try playing it regularly, as in going to the game folder and playing the Stand Alone exe rather than the Test Play version.

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?).




diablosbud

Nope I tried it quickly because I have a desktop shortcut to my stand-alone exe. But it did not work. It's not the rest of the script though, because it works with '[Dot]'.

Memor-X

does your Ctrl key even work, could be that, otherwise, if you defult controls on true cause if i remember correctly, Ctrl is used by defult by RPG Maker XP as the cancle button

diablosbud

February 02, 2008, 10:22:18 pm #75 Last Edit: February 02, 2008, 10:22:50 pm by diablosbud
Yes my CTRL key works  ::)! Just joking  ;D, but yes it works. Also i've tried to setup the ALT key as sneak too but neither will work.

Hey Blizzard could you please help me out here...

Blizzard

I wasn't on too long yesterday. -_-
It should actually work if you use Ctrl, but now I remember that I've been having problems myself. I'll look into that as soon as I can.
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.

diablosbud


winkio

Now that I have recovered my game, I just started getting another error:

Script "Blizz-ABS v1.73" line 3065: IndexError occurred.
Rehash occurred during iteration.

It happens when I kill an enemy.  I used to get it a lot but now it barely happens.
It seems to happen when I kill an enemy as soon as it starts moving in range.  Any ideas what this is? ???

Blizzard

That's a weird error. It has something to do with the event setup on the maps. I don't know what the problem is. It coule have something to do with the recovered data, maybe some data is still damaged. I'd suggest you upgrade to v1.89, though.
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.