Help an old man with his carpal tunnel!

Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Locked
TheWatcher
Elder Scribe
Posts: 164
Joined: Wed Nov 11, 2009 12:15 am

Help an old man with his carpal tunnel!

Post by TheWatcher »

Ok quick background.

I have been trying in vain for months to work out a way to set primary and secondary ability macros with no luck. When I use Razor it will only use certain abilities and if I set it through in game macros via the options tab it works until I log out or am disconnected. I always hit apply then done still doesn't stay when I relog. (all other macros save fine for some reason )

if someone could write an easyuo script where I could set 2 hotkeys for primary ability and secondary ability I would be forever grateful and would be happy to pay you for your time!

Many thanks from a prehistoric man
Velociwatcher
krystol
Elder Scribe
Posts: 133
Joined: Tue Oct 12, 2010 12:07 am

Re: Help an old man with his carpal tunnel!

Post by krystol »

you could set these in the options menu of the game to say f11 f12 and they wont erase, the keys you were trying to use will reset every time, maybe not if you edited the file with notepad.
TheWatcher
Elder Scribe
Posts: 164
Joined: Wed Nov 11, 2009 12:15 am

Re: Help an old man with his carpal tunnel!

Post by TheWatcher »

Like I said I have tried setting up in the options they always erase. I've tried f1 and f2, any differnce between them and f11/f12?

Offer still stands though f11and12 are a bit out of the way for me:)
User avatar
Tael
Elder Scribe
Posts: 166
Joined: Sun May 17, 2009 1:44 am

Re: Help an old man with his carpal tunnel!

Post by Tael »

Did you try setting the keys this way?

Razor->Hot Keys->Misc->Special Moves->Set Primary Ability
Razor->Hot Keys->Misc->Special Moves->Set Secondary Ability

ETA: Hey, why doesn't this work?
Taelwrath - noobus perpetuus
User avatar
Adrias
Legendary Scribe
Posts: 426
Joined: Tue Sep 07, 2010 10:34 pm

Re: Help an old man with his carpal tunnel!

Post by Adrias »

not the best script in the world, just something i whipped together in a few seconds. does not work well if you furiously pound the hotkey.

possible hotkeys:

A-Z, 0-9, F1-F12, ESC, BACK, TAB, ENTER, PAUSE, CAPSLOCK, SPACE, PGDN, PGUP, END, HOME, LEFT, RIGHT, UP, DOWN, PRNSCR, INSERT, DELETE, NUMLOCK and SCROLLLOCK

change %primary or %secondary to suit your needs
example: if you want primary ability to be F1 change: set %primary 1 -> set %primary F1

Code: Select all

set %primary 1
set %secondary 2

mainloop:
onhotkey %primary
{
event macro 35 0
wait 2
}
onhotkey %secondary
{
event macro 36 0
wait 2
}
goto mainloop
TheWatcher
Elder Scribe
Posts: 164
Joined: Wed Nov 11, 2009 12:15 am

Re: Help an old man with his carpal tunnel!

Post by TheWatcher »

Tael wrote:Did you try setting the keys this way?

Razor->Hot Keys->Misc->Special Moves->Set Primary Ability
Razor->Hot Keys->Misc->Special Moves->Set Secondary Ability

ETA: Hey, why doesn't this work?

Only works on pre-aos(i think) specials. Armor pierce doesn't work for example. I am at work ATM so will check the script when I get home. TY all for taking the time to help!

You guys roxer!
User avatar
Tael
Elder Scribe
Posts: 166
Joined: Sun May 17, 2009 1:44 am

Re: Help an old man with his carpal tunnel!

Post by Tael »

TheWatcher wrote:Only works on pre-aos(i think) specials.
Blech, it seems that Razor doesn't even know what weapon I'm holding, so that hotkey setting is useless.

Please report if the script Adrias provided works well enough for your needs. I'm also experienced at euo scripting, and I'm sure that between us we can make things work well enough for you.
Taelwrath - noobus perpetuus
krystol
Elder Scribe
Posts: 133
Joined: Tue Oct 12, 2010 12:07 am

Re: Help an old man with his carpal tunnel!

Post by krystol »

TheWatcher wrote:Like I said I have tried setting up in the options they always erase. I've tried f1 and f2, any differnce between them and f11/f12?

Offer still stands though f11and12 are a bit out of the way for me:)
no there should be no difference, i used to use page up and page down in razor till i learned in game options ones can use armor pierce, set em to those same problem, reset to fkeys no problems. dont know why it didnt save yours at f1 f2 tho. hopefully that script adrias gave you will help.
Locked