Toolbar Addon for Falcao's ABS - v1.6 (30/10/2016)

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
805
First Language
Hungarian
Primarily Uses
RMVXA
- Script:

- Requirements:
The obvious requirement is Falcao's ABS, of course.
The other one is made by Cidiomar, and can be found here:
http://himeworks.com/redirect.php?type=demo&name=image_collision_detection (Thanks Tsukihime for the upload!)

This is used because I did not like the tile based placement for the on-map toolbar, but I still wanted to keep that opacity fading effect when the player is below the toolbar. With this script, I could make that quickly and efficiently.
Simply put the script at the top of your custom script list and copy the dll into your game's System folder, and you are good to go!

- Resources:
The script is set up to use these images, so if you want to test the script quickly without editing, you can get these sample images and hop right to it.

Cooldown mask image:

Toolbar Background:

- Screenshots:
ex1aa.png
Just an example, you can set it up however you like!

- Demo:
Nop, won't happen, sorry!

- Author's Notes:
You should feed your kittens well!
 
Last edited:

Giraffic

caseCantGoogle
Member
Joined
Jan 7, 2015
Messages
13
Reaction score
1
First Language
Anglish
Primarily Uses
Been looking for a script like this, very excited!  :)

However, keep getting this error... 

Happens whenever I close an open menu...

What to do?

 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
805
First Language
Hungarian
Primarily Uses
RMVXA
You did not give any name to a script slot, and for that reason, I can't see which script is causing the error.


But since I don't make/modify any windows in this script, I highly doubt that it is my script's doing.


Which script is causing the error? and what is line 187?
 

Giraffic

caseCantGoogle
Member
Joined
Jan 7, 2015
Messages
13
Reaction score
1
First Language
Anglish
Primarily Uses
Sorry about that, been RPGMakin for a while but new to forums...

Background info:

Scripts Advanced Collision Detection and Toolbar Addon are in a clean project demo of Pearl ABS v3.

Advanced Collision is below all Pearl scripts followed by Toolbar Addon.

Advanced Collision  required .dll is in root of project.

Error occurs when any active menu is closed.

Error emanates from Advanced collision on line 187, posted below

Thanks for any help :D

# Sprite
# Added functions the check if one sprite collide with other
#
class Sprite
#
# Simple verification, without zoom or rotation
# other: Other Sprite
#
def pixel_collide?(other,arg1,arg2,arg3,arg4,arg5,type,mode=1)
#-----
bb1 = Rect.new(
self.x - self.ox, self.y - self.oy,
self.src_rect.width, self.src_rect.height
)
#-----
bb2 = Rect.new(
other.x - other.ox, other.y - other.oy, //Line 187
other.src_rect.width, other.src_rect.height
)
#-----
intersection = bb1.intersection(bb2)

if intersection.width == 0 or intersection.height == 0
return false
else
#return true
#-----
s1bpx = self.x#+self.ox
s1bpy = self.y#+self.oy
s2bpx = other.x#+other.ox
s2bpy = other.y#+other.oy
#-----
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
805
First Language
Hungarian
Primarily Uses
RMVXA
Strange, I made the script in a clean ABS demo to make sure no errors happen...


Try to put the Collision system script above all ABS scripts.


And just in case, did you change the background layout image settings in my script? You will need to change those settings to the name of your layout image you want to use, and the images must be in Graphics\Picture folder of your game project.
 

Giraffic

caseCantGoogle
Member
Joined
Jan 7, 2015
Messages
13
Reaction score
1
First Language
Anglish
Primarily Uses
Moved with no change...

As far as the image layout, I simply renamed the existing skill bar to SkillBarFinal to test the script...

Do I need to change any settings within the ABS?

EDIT: Just cant get it right the first time  >_>
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
805
First Language
Hungarian
Primarily Uses
RMVXA
Nop, no change is needed in any other scripts.


Did you start a new game or loaded a save file?


I run out of ideas... Can you send me that project? I will try to search for the issue directly.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
805
First Language
Hungarian
Primarily Uses
RMVXA
Interesting... I still can't trigger it in my clean project, but at least I fixed it in yours.


I updated the pastebin, so get the fixed version from there.


Now I am kinda curious why won't this error trigger for me. >.>


Ohh, well, it should be fixed.


Btw, the default settings use the vertical layout I have shown on the screenshot, so you will need to edit that part to suit your own background layout image.
 

Giraffic

caseCantGoogle
Member
Joined
Jan 7, 2015
Messages
13
Reaction score
1
First Language
Anglish
Primarily Uses
Woop no problems now!

Thanks!
 

Giraffic

caseCantGoogle
Member
Joined
Jan 7, 2015
Messages
13
Reaction score
1
First Language
Anglish
Primarily Uses
Hello again!

Is there a show/hide feature in this script?

Also, I noticed in the release notes it used to use a number counter instead of the

gradient. Is it possible to restore this function? If not that, can I rotate the gradient 

to display as a diamond instead of a square?
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
805
First Language
Hungarian
Primarily Uses
RMVXA
Yes, it's possible to display a diamond shaped mask with the use of a picture.


I made the option to use pictures for masks after seeing your game screenshot you sent me actually. :p


Just make your diamond shaped mask image and position it on your toolbar background, and it should work.


I am not planning to restore the number countdown. :p


I also added a show/hide switch option, so yes, you can show/hide it whenever you want.


These are new options added in v1.2.


I don't usually bump my topics if I make an update, but I try to update my signature and topic titles whenever I update a script of mine, so you can check my signature for updated scripts.
 

DangerSushi

Villager
Member
Joined
Sep 18, 2012
Messages
29
Reaction score
32
First Language
italian
Primarily Uses
I love you so much for this script <3
 

jumadelux

Villager
Member
Joined
Nov 2, 2016
Messages
23
Reaction score
1
First Language
English
Primarily Uses
Could someone help me please?


This is the error line saying:

       sp2.pixel_collide?(sp1)
      return true
    end
    return false
  end
  
end
 


Screenshot_5.png
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
805
First Language
Hungarian
Primarily Uses
RMVXA
As mentioned in my signature, I don't update my topics anymore due to not enough time/laziness. 


But I will update this one, because I made major changes here.


The requirement scripts are changed as well as the required DLL, so delete the old ones and get the new ones. Once you do that, it will work.
 

jumadelux

Villager
Member
Joined
Nov 2, 2016
Messages
23
Reaction score
1
First Language
English
Primarily Uses
Thankyou for responding, I have used the script you've uploaded on pastebin and the required .dll that recompiled by estorian.


Seems still not work for me ._.


EDIT: I'm using falcao abs demo to test your toolbar addon.
 
Last edited by a moderator:

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
805
First Language
Hungarian
Primarily Uses
RMVXA
Thankyou for responding, I have used the script you've uploaded on pastebin and the required .dll that recompiled by estorian.


Seems still not work for me ._.


EDIT: I'm using falcao abs demo to test your toolbar addon.


That is NOT the DLL you should use with my script.


I changed the collision script used for my toolbar addon script in version 1.5.


Same for the required collision script, that is changed as well.


The new required script and the new DLL can be found in the demo I linked under the "Requirements" section of my opening post.


Download that demo, copy the scripts and DLL from it, and it will work. Follow the install instructions from my toolbar addon script to install everything properly.
 

jumadelux

Villager
Member
Joined
Nov 2, 2016
Messages
23
Reaction score
1
First Language
English
Primarily Uses
Oh ya thankyou for helping me sixth, and i'm sorry that i didn't read it carefully x_x
 

cavemanK

Villager
Member
Joined
May 17, 2016
Messages
28
Reaction score
9
First Language
English
Primarily Uses
Hey Sixth,

When the player accesses the "Status" scene from the menu, they get a weird error with the exist? call in the "battle_members" method within the Game_Party class. I'm only getting this error when players access "Status" from the menu while the toolbar is ENABLED.

My guess is that it has something to do with not setting a toolbar for the Status scene?

The error is pictured below:


toolbarXstatus.png


Thanks for your help! I appreciate any assistance you can provide me with!
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,136
Reaction score
805
First Language
Hungarian
Primarily Uses
RMVXA
There is no toolbar on the Status menu, there never was, so my addon didn't change this in any way.
Also the toolbar doesn't even use that method anywhere, so I doubt that it is from this script.

You should install an error backtrace script, trigger the error again, and post the full error report, because without that, I can't really do anything.
There are multiple backtrace scripts out there, use whichever you want for it.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Pretend you were telling, reading, or listening to a very serious, slightly scary story about witches. Would a witch doing the stereotypical flying on a broomstick thing ruin the mood?
Yeseylon wrote on CrowStorm's profile.
All Hail Storm Crow, the Blue Eyes White Dragon of MtG!
I love these real life Oblivion videos:
I'm playing DQ:XI DE in 2d mode with the synthesized soundtrack, the only way a RPGMAKER creator should play it. :D
:/ it really get on my nerves reading stuff about how to write a resume and they say things like "turn your failures into wins!!!" ... no interview Ive ever had cared to hear anything about my failures, and why would they :( ?

Forum statistics

Threads
93,646
Messages
914,241
Members
123,234
Latest member
magicmicycle
Top