SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: Shop Panel 1.09 (10/04/2010)

Page 1 of 11 12345 ... LastLast
Results 1 to 20 of 201
  1. #1
    Offline
    Account Icon
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    442

    Shop Panel 1.09 (10/04/2010)

    Shop Panel 1.09
    ____________________________________

    A movable panel where you can add buttons to buy items without having to open the shop and navigating through all the menus.

    How it works:
    The panel starts empty, to add an item to it, you open your shop and right-click on the item you want to add. You can only add simple items and recipes to it. You can add as many items as you want.

    To remove an item from the panel just right-click on the item in the panel that you want to remove.
    To buy the item just left-click on it and it will try to buy like if you were buying it on the shop. It won't cheat and buy items from the secret shop for example if you can't normally do so.

    You can lock items by ctrl + clicking them, same for unlocking. Locked items are represented by a red border. If an item is locked it will not be auto bought or auto removed if any of those options are enabled.

    The purpose of it is so you can make a list of items that you are gonna be buying on the match and just click on it on the list when you want to buy it, instead of having to open all the menus on the normal shop everytime you want to buy something.

    Code:
    changelog:
    1.09
    - added an option to hide the save/load/reset buttons
    - remade the locking system
    * to lock/unlock an item just ctrl + click it
    * its the items now that are locked instead of the slots
    - fixed errors in console
    - some other tweaks
    
    1.08
    - you can now lock from 0 to 10 slots, these slots will have a red border
    around them and they will not be auto removed or auto bought
    
    1.07
    - fixed the items not being removed from the list if the panel is hidden
    
    1.06.1
    - fixed bugs with saving and buying items
    
    1.06
    - updated to latest mod options framework
    - added an option to auto buy items on the list
    
    1.05.2
    - updated the honmod to 0.3.2 
    
    1.05.1
    - fixed a bug with the button positioning
    
    1.05
    - you can now resize the panel (thanks AsiaPingPong)
    - removed the option to choose how many items per line (resizing takes care of that now)
    - added keybindings to buy the first 5 items of the list
    - fixed the list reloading when you open the menu (again)
    - should now work on any client language
    
    1.04.1
    - fixed the list reloading when you open the menu
    
    1.04
    - added a button to save/load the list, its a different list for each hero
    - added a button to clear the list
    
    1.03
    - fixed removing bug
    
    1.02
    - now requires the mod options framework
    - you can change how many items to show up on each line, from 1 to 15
    - added an option to auto remove the item from the list after you buy it, off by default
    - added a hotkey to show/hide the shop panel
    
    1.01
    - fixed incompatibility with stash indicator
    
    1.00
    - released



    Links:

    honmod (Dropbox)

    Required:
    Mod Options Framework
    Movable Frames

    For instructions on how to install go to:
    http://forums.heroesofnewerth.com/sh...ad.php?t=25883
    Last edited by Barter; 04-10-2010 at 08:27 PM.

  2. #2
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Ottawa, Canada, Earth, Sol Sector, Alpha Quadrant, Milky Way, Local Group, Universe
    Posts
    5,408
    Hawt.

    Now make it better and let us make it vertical. I have no idea where I would place that right now if it's horizontal.

  3. #3
    Great idea.

    My suggestion is to make it so that when the buttons reach the left edge of the frame, they spill over into the next line. (Then, when you have enough buttons to fill both the first and the second lines, it stills over into the third, etc.)

    This would allow users to make it vertical by making the frame only one button wide.


    Also, quick question: If you assign homecoming stone to a button, will that button work for both the main shop and the side shop?
    Last edited by AsiaPingPong; 03-15-2010 at 10:49 PM.

  4. #4
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Ottawa, Canada, Earth, Sol Sector, Alpha Quadrant, Milky Way, Local Group, Universe
    Posts
    5,408
    That's exactly what I meant by vertical

  5. #5
    Offline
    Account Icon
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    442
    Quote Originally Posted by AsiaPingPong View Post
    Also, quick question: If you assign homecoming stone to a button, will that button work for both the main shop and the side shop?
    Haven't really tested that, but I think it will.

  6. #6
    Offline
    Account Icon
    Join Date
    Sep 2009
    Posts
    229
    Incompatible with tisser's stash indicator..i don't suppose there are any workarounds?

  7. #7
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Ottawa, Canada, Earth, Sol Sector, Alpha Quadrant, Milky Way, Local Group, Universe
    Posts
    5,408
    Quote Originally Posted by Harmonium View Post
    Incompatible with tisser's stash indicator..i don't suppose there are any workarounds?
    There's always a workaround.

    <editfile condition="Stash Indicator">

  8. #8
    Offline
    Account Icon
    Join Date
    Aug 2009
    Posts
    11
    incompatible with stash indicator...that's it so far

  9. #9
    Offline
    Account Icon
    Join Date
    Sep 2009
    Posts
    229
    awesome.

  10. #10

  11. #11
    Offline
    Account Icon
    Join Date
    Nov 2009
    Location
    Costa Rica
    Posts
    551
    Ok.. seriously I love this.. omg..!!!

    I just would like that you can make it vertical
    or like:

    [ ] [ ] [ ] [ ] [ ]
    [ ] [ ] [ ] [ ] [ ]

  12. #12
    Quote Originally Posted by MaxGhost View Post
    There's always a workaround.

    <editfile condition="Stash Indicator">

    How do you use <editfile condition="Stash Indicator"> to make the mod compatible?
    Last edited by HickorySmoke; 03-16-2010 at 02:34 AM.

  13. #13
    Offline
    Account Icon
    Join Date
    Jul 2009
    Location
    Brazil
    Posts
    442
    Code:
    1.01
    - fixed incompatibility with stash indicator

  14. #14
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Aug 2009
    Location
    Malaysia
    Posts
    4
    Awesome addon as usual will give it a try later.

  15. #15
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    The vertical panel would be much more convenient!
    Last edited by Jet_Shark; 03-17-2010 at 02:48 AM.
    Sorry for my bad English.


  16. #16
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Ottawa, Canada, Earth, Sol Sector, Alpha Quadrant, Milky Way, Local Group, Universe
    Posts
    5,408
    Quote Originally Posted by HickorySmoke View Post
    How do you use <editfile condition="Stash Indicator"> to make the mod compatible?
    Modman can use conditional edits. My syntax wasn't exactly right, the mod's name is probably wrong (it needs to be the exact same as it shows in the list of mods in modman), but this is how you would use it:

    <editfile file="ui/game.interface" condition="Stash Indicator">
    <find><![CDATA[Some code from Stash Indicator]]></find>
    <replace><![CDATA[Someedits to make it work with Stash Indicator]]></replace>
    </editfile>

    Basically modman can check if another mod is enabled, and if and only if that mod is enabled, do some code changes. Sometimes, mods conflict with eachother, so this stuff needs to be done.

  17. #17
    Offline
    Account Icon
    Join Date
    Jul 2009
    Location
    A magical land with singing dancing monkeys.
    Posts
    655
    Like the sound of this - won't be using it till it has separate lists for different heroes though. 2 suggestions:

    1) Make it show on mouse over - just seems that it would clutter up screen if not
    2) Add key-bindings functions too it.

  18. #18
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    668
    would be nice to add an appear disappear button using showwidget hidewidget

  19. #19
    Quote Originally Posted by kevs926 View Post
    would be nice to add an appear disappear button using showwidget hidewidget
    Or a hotkey that toggles the display.

  20. #20
    Offline
    Account Icon
    Join Date
    Nov 2009
    Location
    Belgrade
    Posts
    38
    Uffff what a nice mod man,i'll give a try when i come home...No more B A S etc Not to mantion that u need to buy smth that is not recomended for that hero

    10+ man

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •