[XP] Blizz-ABS

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

Previous topic - Next topic

winkio

May 06, 2010, 02:58:58 pm #3340 Last Edit: May 06, 2010, 05:36:52 pm by winkio
Quote from: Sword of Truth on May 05, 2010, 09:43:52 pm
But I am having a problem with events with "Action Button" set as the trigger going off on Player Touch. Is there a way to solve this?


This specific bug does not happen in Blizz-ABS.  I have 3 different projects using it  (one of which is CoSLaL), and none of them have this.

Quote from: Aqua on May 06, 2010, 02:46:42 pm
Actually, that is a bug :P
And I thought it was for Event Touch with events that had a move route... :x

Care to explain in detail so that I can fix it?

Blizzard

That problem was reported before, but nobody made a demo or explained exactly how the problem was caused.
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.

Sword of Truth

I'm not sure if this is what you mean by a demo but this is using the default settings for Blizz-ABS 2.70 and shows what happens with the events.
http://www.mediafire.com/file/z5adniyztzj/Event Problem.exe

Quote from: Aqua on May 06, 2010, 02:46:42 pm
Actually, that is a bug :P
And I thought it was for Event Touch with events that had a move route... :x


You're right that is the problem not player touch.

winkio

May 07, 2010, 09:47:51 pm #3343 Last Edit: May 08, 2010, 11:16:27 am by winkio
Quote from: Sword of Truth on May 07, 2010, 08:18:17 pm
I'm not sure if this is what you mean by a demo but this is using the default settings for Blizz-ABS 2.70 and shows what happens with the events.
http://www.mediafire.com/file/z5adniyztzj/Event Problem.exe

Quote from: Aqua on May 06, 2010, 02:46:42 pm
Actually, that is a bug :P
And I thought it was for Event Touch with events that had a move route... :x


You're right that is the problem not player touch.


Yay!
In the future, whenever you post up a demo, leave it unencrypted, so that we can see the settings and eventing.  
I'll look into it and get back to you soon.

EDIT: found the problem, it was just a small little thing, it will be fixed in the next release (this weekend)

EDIT2:  version 2.71 is up :D  tell me if there are any new problems :X

Blizzard

May 08, 2010, 11:26:24 am #3344 Last Edit: May 08, 2010, 11:42:24 am by Blizzard
Hm... The manual you put together came out a bit bigger than usual. O_o I also noticed some problems so I'm putting a list together. Some of the problems could be leftovers from me as well (most probably the broken links in the version history).
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.

nathmatt

winkio you 4got to add yourself to the credits
Join Dead Frontier
Sorry, I will no longer be scripting for RMXP. I may or may not give support for my scripts. I don't have the will to script in RGSS anymore.
My script


Lethal-Yarn

Congrats on your first version, Winkio!  

Blizzard

May 08, 2010, 11:37:42 am #3347 Last Edit: May 08, 2010, 11:40:31 am by Blizzard
Here's the list.


  • Version history 1.2: Built-in features link is broken.

  • Version history 1.2: Standard Controls link is broken.

  • Version history 1.97: Hotkey Assignment Menu link is broken.

  • Version history 2.0: Compatibility link is broken.

  • Version history 2.3: Respawn Points link is broken.

  • When I open the links using the table of contents, images are not displayed and links usually don't work. I think the table of contents didn't realize that the pages were updated and displays old cached pages or something like that. That could also explain why the manual is suddenly 3 times as big.


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

May 08, 2010, 11:47:54 am #3348 Last Edit: May 08, 2010, 12:07:45 pm by winkio
@Blizzard: Any idea on how to fix the last one?  Because I can't get it to happen.  I'll look into the filesize problem.  Would it have anything to do with including the psd files?  Because that might be what is happening...

@nathmatt: Thanks for the tip.  Blizzard plastered his name over every part of this thing, and I've already had to add myself in at least 5 different places :P

Blizzard

Yes, I have. xD Even the script is named after me. xD Now you'll have to rename it to Win-ABS. :V:

As for the problem, try following. Open the manual. Click on any subtopic in the TOC. Now links shouldn't be working and images should be displayed only as a red X in a white square. That's how I made it happen.
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 did what you said, clicking the subtopic from the table of contents, but it loads fine for me...  Any ideas on what could be wrong?

Blizzard

I'm not sure. As I said, there might be something wrong with the table of contents. Did you use the file you got from me for that or did you make a new one using your CHM compiler?

EDIT: I just remembered what could be wrong. I used relatives paths. Check if you didn't accidentally use absolute file paths somewhere.
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.

Hellfire Dragon

May 08, 2010, 02:35:36 pm #3352 Last Edit: May 08, 2010, 02:55:27 pm by Hellfire Dragon
I got this error when trying to generate the script using the 2.7 config
Spoiler: ShowHide



It generates fine if I make a new config with 2.71 though.

Is there a way to force the player to use a certain hotkey? In the manual there's this
Quote
$BlizzABS.actor_force_action(party_position, target_type, target, action_type, data)

data is the skill id. At the start of my game I give a choice of summons then set that skill to hotkey 1, so is there a way to do this?

Oh, I thought I seen somewhere that the force actions for the actors didn't work but I can't find it so maybe it wasn't else :roll:

EDIT:
When I updated to 2.71 I got this error when I ran the game

Quote
Script 'ABS 2' line 3581: TypeError occured.

no implict conversion from nil to integer

Blizzard

That's because Blizz-ABS Config Legacy is not supported anymore.
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

Quote from: Hellfire Dragon on May 08, 2010, 02:35:36 pm
I got this error when trying to generate the script using the 2.7 config
Spoiler: ShowHide



It generates fine if I make a new config with 2.71 though.

Is there a way to force the player to use a certain hotkey? In the manual there's this
Quote
$BlizzABS.actor_force_action(party_position, target_type, target, action_type, data)

data is the skill id. At the start of my game I give a choice of summons then set that skill to hotkey 1, so is there a way to do this?

Oh, I thought I seen somewhere that the force actions for the actors didn't work but I can't find it so maybe it wasn't else :roll:

EDIT:
When I updated to 2.71 I got this error when I ran the game

Quote
Script 'ABS 2' line 3581: TypeError occured.

no implict conversion from nil to integer



1. config stuff, I forgot to handle for the old configurations, but you can make it work by going through all your skills and items and setting the explode type box to 'None' in every place it's blank.  It'll be fixed in the next release.

2.  the error, I looked through the script, and line 3581 is an 'end' on the one I released.  Make sure you updated the parts correctly.  If it still happens, post up the line.

3.  yeah, force action doesn't work on player (although it does work on allies).  I'll get around to fixing that at some point.

Hellfire Dragon

For me line 3581 is
$game_player.battler.item = $game_player.item_hotkeys[triggered[0]]

I copied the scripts from the download and tried a second time with the same result.

Blizzard

Quote from: winkio on May 08, 2010, 03:41:01 pm
1. config stuff, I forgot to handle for the old configurations, but you can make it work by going through all your skills and items and setting the explode type box to 'None' in every place it's blank.  It'll be fixed in the next release.


Actually when loading from an older file, the deserialization should automatically set that attribute to the default value.

Quote from: winkio on May 08, 2010, 03:41:01 pm
3.  yeah, force action doesn't work on player (although it does work on allies).  I'll get around to fixing that at some point.


I tried fixing that once and I figured that it will not be easy. There are quite some things messing with it and the code has to be restructured. It's not as simple as a bug fix.
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

Quote from: Hellfire Dragon on May 08, 2010, 04:02:44 pm
For me line 3581 is
$game_player.battler.item = $game_player.item_hotkeys[triggered[0]]

I copied the scripts from the download and tried a second time with the same result.



-_- that is line 3851, not 3581.  I assume that the error is related to 3851 then.  I didn't change any of that part of the script, but I'll look into it.  Is everyone else getting the same error?

elmangakac

Hello guys a new question about this great system...

Sometimes...when i create a new map for replace a old one.... and when i change the teleport destiny of all the map that will be linked with the new one... my character can teleport to the new map, but when i move the directional keys ....

i get this error in BLIZZ ABS PART 2 in this line

#----------------------------------------------------------------------------
  # tile_check
  #  x - x-coordinate
  #  y - y-coordinate
  #  d - direction
  #  Checks if passable tile. (pixel movement)
  #----------------------------------------------------------------------------
  def tile_check(x, y, d)
    # get pixel movement rate and set bit
    pix, bit = $BlizzABS.pixel, (1 << (d / 2 - 1)) & 0x0F
    # passable if virtual passability works
  THIS LINE  -------return true if ($game_map.virtual_passability[x/pix, y/pix] & bit != 0x00)
    # get x and y of next tile
    case d
    when 2 then nx, ny = x/pix, (y+1)/pix
    when 4 then nx, ny = (x-1)/pix, y/pix
    when 6 then nx, ny = (x+1)/pix, y/pix
    when 8 then nx, ny = x/pix, (y-1)/pix
    else
      nx = ny = nil
    end
    # passable if still on the same tile
    return (x/pix == nx && y/pix == ny)
  end

How can i resolve this???  :huh:


winkio

1.  what's the error message.
2.  are you using virtual passability?