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

Talk all you want about Defense of the Ancients here.
lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

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

Postby lisek_ » Mon Oct 23, 2017 1:26 pm

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!!!
Attachments
Lod Keys v - 0.2.rar
(735.12 KiB) Downloaded 435 times
Lod Keys v - 0.1.rar
Latest version
(734.74 KiB) Downloaded 396 times
Last edited by lisek_ on Mon Dec 10, 2018 5:20 pm, edited 5 times in total.

lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

Re: Dedicated HotKeys for Dota LoD

Postby lisek_ » Thu Oct 26, 2017 4:25 pm

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

lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

Re: Dedicated HotKeys for Dota LoD

Postby lisek_ » Fri Oct 27, 2017 5:03 pm

EDITED. See first post for current version and instructions.
Last edited by lisek_ on Sat Aug 18, 2018 11:46 am, edited 1 time in total.

User avatar
Burnt
Treant Protector
Posts: 672
Joined: Tue Oct 27, 2015 6:59 pm
Location: Toronto, CA
Has thanked: 55 times
Been thanked: 56 times

Re: Dedicated HotKeys for Dota LoD

Postby Burnt » Mon Oct 30, 2017 3:57 pm

Jumong wrote:thumb up!

is it good?
GOTEM

lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

Re: Dedicated HotKeys for Dota LoD

Postby lisek_ » Tue Oct 31, 2017 10:20 pm

Burnt wrote:
Jumong wrote:thumb up!

is it good?

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

User avatar
Burnt
Treant Protector
Posts: 672
Joined: Tue Oct 27, 2015 6:59 pm
Location: Toronto, CA
Has thanked: 55 times
Been thanked: 56 times

Re: Dedicated HotKeys for Dota LoD

Postby Burnt » Sat Nov 04, 2017 4:07 pm

Jumong wrote:true lol/. i just bored
seem complicated so i lazy to try.

mh isn't complicated?
GOTEM

lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

Re: Dedicated HotKeys for Dota LoD

Postby lisek_ » Tue Nov 07, 2017 9:22 am

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

lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

Re: Dedicated HotKeys for Dota LoD

Postby lisek_ » Mon Nov 20, 2017 5:45 pm

So, there is no any feedback from the community for almost a month. In that case, topic could be closed.

lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

Re: Dedicated HotKeys for Dota LoD

Postby lisek_ » Sat Aug 11, 2018 3:02 pm

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.

me_leva_nager
Forest Walker
Posts: 149
Joined: Wed Mar 18, 2015 4:33 pm

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

Postby me_leva_nager » Sun Aug 12, 2018 2:13 pm

@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.

lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

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

Postby lisek_ » Mon Aug 13, 2018 8:26 pm

Bascially it works with 7,8,1 and 2 number keypad keys right now.

lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

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

Postby lisek_ » Sat Aug 18, 2018 10:01 am

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.

lisek_
Aura Tree
Posts: 32
Joined: Sat May 07, 2016 3:34 pm
Been thanked: 1 time

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

Postby lisek_ » Sat Nov 10, 2018 2:24 pm

New version 0.2 released. Changelog in first post.
These users thanked the author lisek_ for the post:
kunkka (Sat Nov 10, 2018 2:48 pm)

User avatar
harooooo
Basic Tree
Posts: 4
Joined: Tue Jan 14, 2014 9:18 pm
Has thanked: 2 times

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

Postby harooooo » Mon Feb 25, 2019 10:48 am

Hello, can you make possibility for us to use also the ZXCV for items?

also for me none of the procedures u said work

UltraKill
Forest Walker
Posts: 231
Joined: Tue Jul 25, 2017 2:43 am
Has thanked: 7 times
Been thanked: 3 times

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

Postby UltraKill » Fri Apr 19, 2019 4:53 am

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
aka furion[k:d] aka thecheekslapper aka thewhooper aka spanker aka bitchmaker aka ultrakill


Return to “Defense of the Ancients”

Who is online

Users browsing this forum: No registered users and 4 guests