EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 04-13-2007, 03:33 PM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default Hacking your hotkey files for fun and profit!

Or at least, some fun.

I was looking into the hotkey files as a way to grab icons for macros that you might not otherwise be able to use and here's what I found.

Save a hotkey file with the command:
/savehotkeys hotkeys.txt

and load them with:
/loadhotkeys hotkeys.txt

The file name can be anything but it's going to be in txt format. This will create the hotkeys.txt file in your EverQuest II folder.

Open the file with your favorite text editor.

The first line should say:
Code:
HOTKEYS 2
unless you made this file a while back it would say:
Code:
HOTKEYS 1
Those older files don't seem to be compatible anymore so I'd stay away from them.

Next you have a bunch of lines that look something like:
Code:
0 0 spell 3972280100 20775428 2817723036
0 1 spell 1168997002 20644351 286394793
0 2 spell 4257751881 20644073 2978363936
0 3 spell 3252301068 20644209 926130519
0 4 spell 1579077278 20709523 1830454406
0 5 spell 197890867 20709526 2741453651
0 6 spell 177910159 20709524 3947483197
0 7 spell 1711396203 20709525 2373778986
0 8 spell 1790945610 20709534 3158197706
0 9 spell 3150960155 20709567 3725109982
0 10 spell 2796412562 20709534 292432170
0 11 spell 880694377 20709844 738348626
1 0 command attack
1 1 spell 817383112 -65384 1362867163
1 2 spell 1828867650 20644148 4192575752
1 3 spell 2061037839 20644006 4099084925
1 4 spell 4123409629 20644081 885156777
1 5 spell 3442480681 20644311 1958302229
1 6 inventory_hotkey 111645115
1 7 spell 3822430871 20709532 323374037
1 8 spell 2169778560 20709532 3075105932
1 9 spell 2544409968 20578493 1096105693
1 10 spell 874599824 20578597 4072721918
1 11 spell 1615517329 20709563 871621883
2 0 spell 533018687 20709587 2445197857
2 1 spell 3706115619 20709702 3382785886
2 2 spell 1549013162 20709564 3074417129
2 3 spell 4278308521 20578449 680054060
2 4 equipped primary
The first number is the hotkey bank number with 0-9 corresponding to banks 1-10.

The second number is the slot number with 0-11 corresponding to slots 1,2,3 ... 9,0,-,=.

Your normal spells are shown with the three numbers.

Some abilities are written out like autoattack:
Code:
1 0 command attack
My Manastone clicky is:
Code:
1 6 inventory_hotkey 111645115
and 111645115 happens to be the item ID for the Manastone in the item database.

The clicky for my primary weapon slot is:
Code:
2 4 equipped primary
The interesting lines come when you see your macros like:
Code:
6 8 macro 20512925 1 4 EMERGENCY!
: ; pet backoff ; autoattack 0 ; target_self ; yell
/useability 554779222
: ; target_previous
/useability 1571882540
6 9 macro -65524 2 2 Call For Help
: ; pet backoff ; autoattack 0
: ; target_self ; yell ; target_previous
6 10 macro -65536 2 1 browser
/browser
6 11 macro -64899 0 1 Gratz!
/gu Rrawr! Gratz!
For a macro the code is:
(bank number) (slot number) macro (icon number) (icon type) (number of macro lines) (macro title)
[macro line 1]
[macro line 2]
etc.

The icon types I have seen are 0, 1, and 2.
  • 0 is an item icon-- any icon that you could drag from an item
  • 1 is a spell icon-- any icon that you could drag from a spell
  • 2 is an old style macro icon-- the ones you get from clicking the arrows in the macro window

The first macro line that has a command like:
Code:
/useability 554779222
gives you the spell that will determine the shading of the macro for the recast timer, out of range, etc.

The fun part comes where you can grab icons from spells and items that you wouldn't have otherwise. Just make sure to grab the (icon number) and the (icon type) right after it.
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:10 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI