Page 1 of 1

Hot keys

Posted: 15.05.2015 23:17
by Millsyboy
Hello

Please can some one show how i use the hot keys function. what do i type in for myself to cast spells etc etc? Im trying but just not getting it right! Im wanting to pvp using stealth as i get terrible packet loss on casting with steam and razor! some one please give me an example.

Re: Hot keys

Posted: 16.05.2015 11:52
by Vizit0r
show WHAT?
attach to hotkey bind "exec test_method", on Script tab - load need script, like in example - and thats all.

Code: Select all

program New;

procedure test_method();
begin
Cast('Heal');
WaitTargetObject(Self);
end;

begin

end;

Re: Hot keys

Posted: 16.05.2015 18:40
by Millsyboy
Thank you, i have never tried to script before so this is all new to me. what would i write in the hot keys section in the client dll? please excuse my noob questions, ill get the hang of it!

Re: Hot keys

Posted: 16.05.2015 18:44
by Millsyboy
what i don't understand is how to bind it to a key. i copied your example and played it, it worked but im not catching how to make a hot key for it. ??
I obviously have to create a long script for all of my Margery spells, some target self and some last target but ye like i say im stumped on how to make key bindings. do i make the script then load it and leave it, then make hot keys. what will the hot key look like with your example>?

Re: Hot keys

Posted: 17.05.2015 9:22
by Vizit0r
oh.
"Hotkeys" tab.
click on edit near "Hotkey:" label.
Press keys on keyboard, which you want to bind
Press "Add"
Click on item in the list.
In Command edit write "exec test_method", where test_method - name of method inside the script. Or you can press button "..." and select needed command.
Press "Change Sel Command".
Go to "Script" tab.
press load.
Select script, where needed script metthod written.
...
in client window press hotkey
....
PROFIT!

Re: Hot keys

Posted: 17.05.2015 15:23
by Millsyboy
Im not sure if i dont undrstand you or you dont understand me. i want to make commands for hot keys to, cast spells eg magic arrow, flame strike, poison, cure etc etc etc. also last target, bandage self, dink mana potion. i dont see what u are saying in this screen.

Re: Hot keys

Posted: 17.05.2015 15:26
by Millsyboy
Is it not close to the same as injection? if i need a script to be loaded then can some one post a script with all the detail's in so i can past it in?

Re: Hot keys

Posted: 17.05.2015 18:21
by Vizit0r
i'm tired to explain the simplest things.

Just try to think a bit yourself.

Re: Hot keys

Posted: 24.05.2015 2:22
by Sonick071
Vizit0r wrote:show WHAT?

Code: Select all

program New;

procedure test_method();
begin
Cast('Heal');
WaitTargetObject(Self);
end;

begin

end;
It took me half an hour to understand that there should be period on the end of the script instead of semicolon.

Re: Hot keys

Posted: 24.05.2015 2:25
by Sonick071
I believe that dll window doesnt work with python? That is not good, I got used to python it is so concise and handy.

Re: Hot keys

Posted: 28.05.2015 11:07
by Vizit0r
yap.
i have no idea how to take functions names from py script, exec them, and make some other things.

Re: Hot keys

Posted: 19.03.2017 6:51
by bounds
It's been a few years. Just wondering, have hotkeys have been updated to support Python functions?

Re: Hot keys

Posted: 19.03.2017 11:58
by nah nah
bounds wrote:It's been a few years. Just wondering, have hotkeys have been updated to support Python functions?
No. But you can have fun from this google translate :wink:

Re: Hot keys

Posted: 20.03.2017 0:29
by bounds
Wow, you're awesome nah nah! It works great. Thank you!