16
Freeshard specific scripts / Re: Heartwood Fletcher Quest for Bolts
« on: October 07, 2010, 09:36:22 PM »
Yes or it will throw away your heartwood kits
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
onhotkey %bag_to_keep_open_2
gosub open_bag %bag_to_keep_open_2
Something for everyone to consider when using hotkeys. Since onhotkey isn't latched, it's easy to miss the key. People originally reported in the CLAw that it would take quite a bit of time for the script to react to keyboard selections. My solution was to build a function that would just set flags and allow the script to handle a successful keypress later. So I had a function:Code: [Select];-------------------------------------------------------------------------------
sub CheckHotKey
menu get EUOEditKey1
onhotkey #MENURES ALT
set %targetkey #TRUE
menu get EUOEditKey2
onhotkey #MENURES ALT
set %lootarea #TRUE
return
And then I could pepper the code with "gosub CheckHotKey" to scan and capture at a higher rate. Then you just look at the variables %targetkey and %lootarea to make the call that a key has been pressed.
To get onhotkey to be response, I'd just do this:Code: [Select]gosub HandleItemLoggingToHistory
gosub CheckHotKey
gosub VerifyLootCheckmarks
gosub CheckHotKey
gosub ManageIgnoreList
gosub CheckHotKey
gosub HandleExternalInterface
gosub CheckHotKey
No more hotkey lag complaints....
set %hotkey_bag_to_keep_open_1 M
at top of script onhotkey %bag_to_keep_open_1
gosub open_bag %bag_to_keep_open_1
sub open_bag
set #lobjectID %1
event macro 17
wait 10
return
set %bag_to_keep_open_1 VACTRMD
set %bag_to_keep_open_2 BOPVKMD
set #lobjectID %bag_to_keep_open_1
event macro 17
wait 10
set #lobjectID %bag_to_keep_open_2
event macro 17
wait 10
Thank you so much and sorry about my lame newbness
I see from the other site that you have blessed bandage bags on your shard, and that's why you're trying to keep this opened.
You really don't need to keep it opened. You can use an item from a bag/chest/box without it being opened on screen, you just have to know where to use it from.
As a test of that... if you have UOAssist make your disrobe bag and put all your armor/clothes into it. Put that bag inside a secure, or in your bankbox or wherever. DO NOT open that bag with your armor. Now use UOA hotkey to dress. You'll put on all those items without ever opening the bag.
finditem ZJF C_ , %blessed_bag
You'll have to define your blessed bag at the top of CEO medic. Then just put that line wherever CEO Medic looks for bandages.
set %blessed_bag_Bands CKF (or do I use the VACTRMD code?)
sub aids
finditem ZLF C_, %bless_bag_Bands
if #findkind <> -1