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

Discussion in 'RGSS3 Scripts (RMVX Ace)' started by Sixth, Sep 27, 2015.

  1. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    798
    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:
    [​IMG]
    Toolbar Background:
    [​IMG]

    - 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: Feb 16, 2019
    #1
    lottesong, JiM83 and Dymdez like this.
  2. Giraffic

    Giraffic caseCantGoogle Member

    Messages:
    13
    Likes Received:
    1
    Location:
    US WEST
    First Language:
    Anglish
    Been looking for a script like this, very excited!  :)

    However, keep getting this error... 

    Happens whenever I close an open menu...

    What to do?

    [​IMG]
     
    Last edited by a moderator: Sep 29, 2015
    #2
  3. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    798
    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?
     
    #3
  4. Giraffic

    Giraffic caseCantGoogle Member

    Messages:
    13
    Likes Received:
    1
    Location:
    US WEST
    First Language:
    Anglish
    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: Sep 29, 2015
    #4
  5. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    798
    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.
     
    #5
  6. Giraffic

    Giraffic caseCantGoogle Member

    Messages:
    13
    Likes Received:
    1
    Location:
    US WEST
    First Language:
    Anglish
    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: Sep 29, 2015
    #6
  7. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    798
    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.
     
    #7
  8. Giraffic

    Giraffic caseCantGoogle Member

    Messages:
    13
    Likes Received:
    1
    Location:
    US WEST
    First Language:
    Anglish
  9. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    798
    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.
     
    #9
  10. Giraffic

    Giraffic caseCantGoogle Member

    Messages:
    13
    Likes Received:
    1
    Location:
    US WEST
    First Language:
    Anglish
    Woop no problems now!

    Thanks!
     
    #10
  11. Giraffic

    Giraffic caseCantGoogle Member

    Messages:
    13
    Likes Received:
    1
    Location:
    US WEST
    First Language:
    Anglish
    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?
     
    #11
  12. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    798
    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.
     
    #12
    Giraffic likes this.
  13. DangerSushi

    DangerSushi Villager Member

    Messages:
    29
    Likes Received:
    32
    Location:
    Italy
    First Language:
    italian
    I love you so much for this script <3
     
    #13
    Sixth likes this.
  14. jumadelux

    jumadelux Villager Member

    Messages:
    23
    Likes Received:
    1
    Location:
    Bermuda
    First Language:
    English
    Could someone help me please?


    This is the error line saying:


    Screenshot_5.png
     
    #14
  15. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    798
    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.
     
    #15
  16. jumadelux

    jumadelux Villager Member

    Messages:
    23
    Likes Received:
    1
    Location:
    Bermuda
    First Language:
    English
    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: Nov 7, 2016
    #16
  17. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    798
    First Language:
    Hungarian
    Primarily Uses:
    RMVXA


    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.
     
    #17
  18. jumadelux

    jumadelux Villager Member

    Messages:
    23
    Likes Received:
    1
    Location:
    Bermuda
    First Language:
    English
    Oh ya thankyou for helping me sixth, and i'm sorry that i didn't read it carefully x_x
     
    #18
  19. cavemanK

    cavemanK Villager Member

    Messages:
    28
    Likes Received:
    9
    First Language:
    English
    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!
     
    #19
  20. Sixth

    Sixth Veteran Veteran

    Messages:
    2,130
    Likes Received:
    798
    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.
     
    #20

Share This Page