SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: Lock Target (v1.80, Jul/04/2010)

Page 4 of 15 FirstFirst 1234567814 ... LastLast
Results 61 to 80 of 286
  1. #61
    Quote Originally Posted by Creep666 View Post
    even I am not that big of a moron i knew that ofc
    i just misinterpreted this sentence
    thought you'd just have to rebind them ALL once while your mod was still only using the left click...
    my bad

    just fmi : why do you need the right click bind? i mean what do you need it for?
    I didn't mean all hotkeys, just left click, right click, attack, move, patrol, and esc.

    Esc ensures that you will be able to clear the target by pressing escape.

    The reason I need to rebind the other keys is a bit more complicated.
    When a player presses "A" to attack, the mod needs to know about it. Then, the mod will stop trying to reselect an inactive target. Otherwise, it would continue to try to select the inactive target, which would order your hero to attack the inactive target. Same with patrol/move.

    Ok, so now that the reselecting been temporarily disabled, the mod needs to know when the user has finished issuing the attack command, and it is once again safe to start reselecting. It does this by monitoring the mouse clicks. A left mouse click or a right mouse click both indicate that the user is done issuing the attack/move/patrol order, and it is safe to reselect.

  2. #62
    now that's what i wanted to hear. thank you

    so if i got it right you only need to rename/rebind right click in order
    to monitor when a manual attack command gets canceled by a right click.
    or is it targettable spells and items aswell?


    cause if it's only the "A" thing:
    since i almost never use manual attack via "A" anymore icould live with it not resuming to reselect my previous target when i abort via right click

    so could you please hint me to the lines of code i have to alter for the right click thingy to work with deny? plspls ? ^^

    -edit- or is it that right click deny simulates a click on the attack button which you disabled to avoid bugs?
    Last edited by Creep666; 02-28-2010 at 11:38 AM.

  3. #63
    i will stop annoing you now^^ using version 1.1 till the magic happens

  4. #64
    Quote Originally Posted by Creep666 View Post
    so if i got it right you only need to rename/rebind right click in order
    to monitor when a manual attack command gets canceled by a right click.
    Correct.

    Items and spells are monitored separately.

    I'm assuming you know how to compile a mod, so I'll just tell you the lines to change.

    In locktarget_init.cfg, delete this:
    Code:
    Do locktarget_bind_secondary;
    also delete this:
    Code:
    Do locktarget_unbind_secondary;
    In mod.xml, delete this:
    Code:
    <incompatibility name="Right Click Deny"/>
    also delete this:
    Code:
    <find><![CDATA[<instance name="keybind" label="options_label_secondary_keybind" table="game" action="CommanderSecondary" labelx="2.0h" hastip="1" tipheight="5.8h" tipid="co_secondarybtn_tip" tool_tip_content="options_label_secondary_keybind_tooltip" />]]></find>
    		<replace><![CDATA[<!--<instance name="keybind" label="options_label_secondary_keybind" table="game" action="CommanderSecondary" labelx="2.0h" hastip="1" tipheight="5.8h" tipid="co_secondarybtn_tip" tool_tip_content="options_label_secondary_keybind_tooltip" />-->
    						<instance name="keybind_impulse" label="options_label_secondary_keybind" table="game" action="Cmd" param="'#locktarget_cmd_secondary#'" />]]></replace>

  5. #65
    Ok, I fixed the bug that prevented you from controlling wildsoul's bear and ophelia's creeps.

    I also created a version of Right Click Deny that is compatible with this mod.

  6. #66
    ^you sir, are my hero!
    worked flawlessly, everything as i hoped it would be (no clicking sound etc)

  7. #67
    Offline
    Account Icon
    Join Date
    Jul 2009
    Posts
    228
    There seems to be a problem with illusions. I caught an illusion rune with deadwood, and as I was trying to select only one illusion deadwood would be automatically reselected. When I finally selected one illusion, I couldn't reselect deadwood again..

  8. #68
    the mod just has problems with every other controlable unit than the hero..

  9. #69
    All problems with controllable units should have been fixed with the latest version.
    (note, auto-update may not work, so make sure you are using v1.30)

    If you are still having problems, please provide with a specific set of actions (ie, hotkeys pressed, mouse clicks, units selected) that I can use to duplicate the problem.

  10. #70
    you really made some progress there, everything feels smooth. love how it doesn't reselect allied units anymore.

    however i found a recreatable bug:

    when you have multiple selected units
    for example ophelia, a vulture lord and a catman
    and you left click one of that units to select it individually
    it will always switch to one specific creep (vulture lord)
    that creep will have itself as target.
    you'll be unable to click/tab/f1 to any other unit until you press escape

    -edit- i think the circumstance for this to happen is that you convert the creep that is your current target. so it's really no biggie.
    but the first time just f**ked me up when i wanted to click ophelia a hundred times and it reselected the creep^^

    -edit2-
    could you maybe put in some magic code that makes it impossible for a unit to have itself as a locked target??
    that could solve the problem

    -edit3-
    focusing on the use of control groups didn't help either.
    often when you want to switch to another group it just randomly locks one of your units...
    Last edited by Creep666; 03-03-2010 at 09:13 PM.

  11. #71
    Offline
    Account Icon
    Join Date
    Nov 2009
    Posts
    287
    anyone got version of this in miniui??

  12. #72
    Quote Originally Posted by chibi22 View Post
    anyone got version of this in miniui??
    !!!!!!!!!!

  13. #73
    Offline
    Account Icon
    Join Date
    Nov 2009
    Posts
    287
    Quote Originally Posted by zunaguli View Post
    !!!!!!!!!!
    whats with the reply??

  14. #74
    anyone got version of this in miniui??
    Quote Originally Posted by AsiaPingPong View Post
    With regards to MiniUI, if you want an indicator, ask FearParanoia. All he needs to do is add a small panel and label with the target's name.

    Reading is nice
    I am so clever that sometimes I don't understand a single word of what I am saying.
    ~Oscar Wilde

    Formerly Lprsti99

  15. #75
    I see, no more needed an extern script :-)
    Last edited by Herandcosch; 03-14-2010 at 05:15 PM.

  16. #76
    Updated.

    Double select centering now works, but when your target is inactive, it only works for your hero. (Note, it will work all the time when your target is active or nonexistant)

    Fixed another control bug.

  17. #77
    There's an issue with Right Click Deny

  18. #78
    Offline
    Account Icon
    Join Date
    Nov 2009
    Posts
    14
    Yeah Right Click Deny doesn't work. Downloaded from the link on the OP.

  19. #79
    Quote Originally Posted by sc2timeloc View Post
    Yeah Right Click Deny doesn't work. Downloaded from the link on the OP.
    What about them doesn't work? I just downloaded both and tried them, and it worked fine.

    Try this:
    -unapply both mods
    -go into practice mode
    -right click somewhere to move
    -quit HoN
    -reapply mods

    And see if it works.

  20. #80
    Code:
     "Right Click Deny" caused a problem:
    
    Could not find string starting with "<instance name="keybind"
    label="options_label_secondary_keybind"
     table="game" action="CommanderSecondary" 
    labelx="2.0h" hastip="1" tipheight= "5.8h" tipid="co_secondarybtn_tip" 
    tool_tip_content="options_label_secondary_keybind_tooltip" 
    /> "as sought by line 51 of C:\Program Files (x86)\Heroes of Newerth\game
    \mods\Rightclickdeny.honmod\mod.xml

Posting Permissions

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