Page 1 of 1

Dedicated HotKeys for Dota LoD / Dota (works in 1.30 patch) v 0.2

Posted: Mon Oct 23, 2017 1:26 pm
by lisek_
Hello every1.I play LoD on ent bots. I start playing Dota like +/- 10 years ago. I have tested few types of hotkeys for dota (warkeys, garena tool, and maybe few more, doesn't matter). Since I start plying LoD I always missed good hotkeys, so I started developing my own.


HotKeys for Dota LoD / Dota (last update 10.11.2018, v 0.2)

Keys works with Warcraft III 1.30+ patches. It's simply map one keys to others.

What does keys have

  • Works with Warcraft III 1.30+ patches
  • Turning On / Off
  • All 6 inventory keys mapping (other keys, mouse Whell Up / Down)
  • Skills mapping (up to 6 skills)
  • Voice info about "Start recording" process and "On / Off"
  • Prints mapping after recording
  • "F1" on Mouse Wheel click
  • Save inventory settings automatically (previously set keys loads on start)
  • Don't switch letters while writing in the game

How does it works?

  • Mouse Wheel Click: F1
  • NumPad 6: On / Off
  • NumPad 9: Start recording keys
  • Enter: On /Off (I suggest not to use it manually, since it's for chat writing so it turns On / Off keys when you end / start writing)
  • Skill 1: Z
  • Skill 2: X
  • Skill 3: C
  • Skill 4 (ult): V
  • Skill 5: D
  • Skill 6 (ult2): F

How to record keys

When you press NumPad 9 record process is starting. You need to click 6 correspoding buttons (it's your set up) that later on will be mapped to ZXCVDF. After all buttons are recorded you will be noticed by In Game message with current mapping set up. Example

1. Click NumPad 6 to turn Off warkeys
2. Click NumPad 9 (start recording)
3. Click one by one: FBEWDG
4. Right now you will get message Mapping: FBEWDG -> ZXCVDF
5. Click NumPad 6 to turn On warkeys
6. Now you can use your skills. Every time you click Z it will use skill under F, click X to use skill under B and so on.

How to use inventory

1. Turn on warkeys by using NumPad 6.

Yea, that's simple :D

Issues you may occur

1. Warkesy works only when they are turn On. NumPad 6 turns it on / off. NumPad 9 automatically turns warkeys Off. If you start writing in the game, and close to input message not by clicking Enter you need to do this again (since clicking enter ones turns warkeys Off and when you send message you click enter and it turns it back On) or turn warkeys On by NumPad 6.
2. Sometime it crashes (didn't crashed for me for couple of days) - you need to start it again o_O
3. It's annying if you don't play War3 and they are still turned On (you can turn On / Off anywhere, not in game only)
4. Couple of antyviruses may treat it as a virus, probably because warkeys hooks the buttons you click (keylogger like issue). I can send whole code in private message if someone want to use it, but is afraid of what is under the hood of this application (code looks bad, but I don't care right now :P ).
5. While recording you always to record 6 buttons. For instance, I have only wrath and blink. They are always on second and forth skill slot. In that case I usually map my keys like this: KBKWKK). I type K for every empty skill slot (first, third, fifth and sixt) since I only have 2 skills. If I have more skills and they change order, I always remap keys so they suit ZXCVDF in good order (how they displays in the game)
6. Virus Total: https://www.virustotal.com/#/file/60cbe ... /detection

Changelog
v. 0.2

HotKeys for Dota LoD / Dota Linux Version (last update 10.12.2018)
Here are some scripts for linux users. Guess if someone using linux to play War3 he will understand what is going on and how to use it. If not, just ping me PM and I will add some explaintion. Both "*.sh" file are required and they needs to be placed next to each other. It's annoying to write, but basically it's better than have your skills spread all over the keyboard 8-)
Main file to be run:

Code: Select all

close() {
   source  normal.sh
   echo "Revert original mapping"
   exit
}

reset() {
   source normal.sh
   echo "Revert orignal mapping"
}

mapKeys(){
   declare tmp=$1
   xmodmap -e "keycode 65 = KP_7"
        xmodmap -e "keycode 39 = KP_8"
        xmodmap -e "keycode 40 = ${tmp:6:1}"
        xmodmap -e "keycode 41 = ${tmp:7:1}"
        xmodmap -e "keycode 52 = ${tmp:2:1}"
        xmodmap -e "keycode 53 = ${tmp:3:1}"
        xmodmap -e "keycode 54 = ${tmp:4:1}"
        xmodmap -e "keycode 55 = ${tmp:5:1}"
}

declare prevCmd=""

while true
do
        read -r cmd
        if [ "$cmd" = "\\" ] ;then
      close
        fi
   if [ "$cmd" = "n" ] ; then
      source normal.sh
   fi
   if [ "$cmd" = "]" ] ; then
      reset
   fi
   if [ "${cmd:0:1}" = "r" ] ;then
      prevCmd=$cmd
      mapKeys "$cmd"
      #xmodmap -e "keycode 65 = KP_7"
      #xmodmap -e "keycode 39 = KP_8"
      #xmodmap -e "keycode 40 = ${cmd:6:1}"
      #xmodmap -e "keycode 41 = ${cmd:7:1}"
      #xmodmap -e "keycode 52 = ${cmd:2:1}"
      #xmodmap -e "keycode 53 = ${cmd:3:1}"
      #xmodmap -e "keycode 54 = ${cmd:4:1}"
      #xmodmap -e "keycode 55 = ${cmd:5:1}"
   fi
   if [ "${cmd:0:1}" = "p" ] ;then
      mapKeys "$prevCmd"
   fi
done


Helper file. Needs to be named "normal.sh". Change the name in the main script if you want to.

Code: Select all

close() {
   source  normal.sh
   echo "Revert original mapping"
   exit
}

reset() {
   source normal.sh
   echo "Revert orignal mapping"
}

mapKeys(){
   declare tmp=$1
   xmodmap -e "keycode 65 = KP_7"
        xmodmap -e "keycode 39 = KP_8"
        xmodmap -e "keycode 40 = ${tmp:6:1}"
        xmodmap -e "keycode 41 = ${tmp:7:1}"
        xmodmap -e "keycode 52 = ${tmp:2:1}"
        xmodmap -e "keycode 53 = ${tmp:3:1}"
        xmodmap -e "keycode 54 = ${tmp:4:1}"
        xmodmap -e "keycode 55 = ${tmp:5:1}"
}

declare prevCmd=""

while true
do
        read -r cmd
        if [ "$cmd" = "\\" ] ;then
      close
        fi
   if [ "$cmd" = "n" ] ; then
      source normal.sh
   fi
   if [ "$cmd" = "]" ] ; then
      reset
   fi
   if [ "${cmd:0:1}" = "r" ] ;then
      prevCmd=$cmd
      mapKeys "$cmd"
      #xmodmap -e "keycode 65 = KP_7"
      #xmodmap -e "keycode 39 = KP_8"
      #xmodmap -e "keycode 40 = ${cmd:6:1}"
      #xmodmap -e "keycode 41 = ${cmd:7:1}"
      #xmodmap -e "keycode 52 = ${cmd:2:1}"
      #xmodmap -e "keycode 53 = ${cmd:3:1}"
      #xmodmap -e "keycode 54 = ${cmd:4:1}"
      #xmodmap -e "keycode 55 = ${cmd:5:1}"
   fi
   if [ "${cmd:0:1}" = "p" ] ;then
      mapKeys "$prevCmd"
   fi
done


For the moderators, if the topic have community feedback maybe it will be good to make it sticky?
Cheers!!!

Re: Dedicated HotKeys for Dota LoD

Posted: Thu Oct 26, 2017 4:25 pm
by lisek_
Few changes:

1. Replace text messages from in game chat to on/off sounds.
2. Automatically turn off mapping while writing in chat (kinda, enter turns it on/off)
3. Less in game messages

Re: Dedicated HotKeys for Dota LoD

Posted: Fri Oct 27, 2017 5:03 pm
by lisek_
EDITED. See first post for current version and instructions.

Re: Dedicated HotKeys for Dota LoD

Posted: Mon Oct 30, 2017 3:57 pm
by Burnt
Jumong wrote:thumb up!

is it good?

Re: Dedicated HotKeys for Dota LoD

Posted: Tue Oct 31, 2017 10:20 pm
by lisek_
Burnt wrote:
Jumong wrote:thumb up!

is it good?

The best :ugeek: he didn't download it yet

Re: Dedicated HotKeys for Dota LoD

Posted: Sat Nov 04, 2017 4:07 pm
by Burnt
Jumong wrote:true lol/. i just bored
seem complicated so i lazy to try.

mh isn't complicated?

Re: Dedicated HotKeys for Dota LoD

Posted: Tue Nov 07, 2017 9:22 am
by lisek_
Jumong wrote:true lol/. i just bored
seem complicated so i lazy to try.


Easiest case is:
1. Press NumPad 9
2. Select your skills (by clicking on keyboard) in order they will be mapped to ZXCVDF (if you want to skip any of those keys, press for example K).
3. Message with mapped skills will be displayed.
4. Press NumPad 6
5. Enjoy the game :) It's easier than making a cup of tee

Re: Dedicated HotKeys for Dota LoD

Posted: Mon Nov 20, 2017 5:45 pm
by lisek_
So, there is no any feedback from the community for almost a month. In that case, topic could be closed.

Re: Dedicated HotKeys for Dota LoD

Posted: Sat Aug 11, 2018 3:02 pm
by lisek_
Hey community. I know that since 1.30 patch was released there are issues with custom hotkeys (warkeys++, garena tool etc). I have fixed mine so they works as supposed. The only change is that you should turn them off when not in war3 because I needed to remove restriction to work only when war3 was active (it was blocked by blizzard in last patch). If there is a need, I can upload new version.

Re: Dedicated HotKeys for Dota LoD (works in 1.30 patch)

Posted: Sun Aug 12, 2018 2:13 pm
by me_leva_nager
@lisek_ can you make an inventory hotkey list for dota 1? all i wanna do is be able to hotkey my items in the inventory i dont need the other warkey options.

Re: Dedicated HotKeys for Dota LoD (works in 1.30 patch)

Posted: Mon Aug 13, 2018 8:26 pm
by lisek_
Bascially it works with 7,8,1 and 2 number keypad keys right now.

Re: Dedicated HotKeys for Dota LoD (works in 1.30 patch)

Posted: Sat Aug 18, 2018 10:01 am
by lisek_
me_leva_nager wrote:@lisek_ can you make an inventory hotkey list for dota 1? all i wanna do is be able to hotkey my items in the inventory i dont need the other warkey options.


Later today I'm gonna release fixed version of my keys. It will include configurable inventory keys, possibility to map skills to ZXCVDF keys and center hero using Mouse Wheel click.

Re: Dedicated HotKeys for Dota LoD / Dota (works in 1.30 patch) v 0.2

Posted: Sat Nov 10, 2018 2:24 pm
by lisek_
New version 0.2 released. Changelog in first post.

Re: Dedicated HotKeys for Dota LoD / Dota (works in 1.30 patch) v 0.2

Posted: Mon Feb 25, 2019 10:48 am
by harooooo
Hello, can you make possibility for us to use also the ZXCV for items?

also for me none of the procedures u said work

Re: Dedicated HotKeys for Dota LoD / Dota (works in 1.30 patch) v 0.2

Posted: Fri Apr 19, 2019 4:53 am
by UltraKill
Lol I just got a keyboard which has custom keys integrated. All I need to do is press FN+2 and furion[k:d] mode is on xD