Jump to content

LOTRO - HotKeySet (problem)


Recommended Posts

CODE
HotKeySet("X" , "Miner")

HotKeySet("{ESC}", "Quit") ;So we be able to exit from the loop

Func Miner()

Send("{shiftdown}1{shiftup}{DEL}u{shiftdown}1{shiftup}")

;Do here whatever you need wink.gif

ConsoleWrite("Just a notification from Miner :) " & @LF)

EndFunc

While 1

Sleep(100)

WEnd

Func Quit()

Exit

EndFunc

Realy simple script I don't want to bot or anything just want to hit !U! well X and have it hop off my horse SHIFT 1 target the mine {delete} and actualy mine u & hop back on.. minings boring enough just want it to stop hurting my wrists.

problem is it works everywhere (but) in lotro where I want it to work.. this a D3D/Direct3D/DirectX problem? I to RTFM but only found some obscure stuff about problems (nothing specific) with D3D..

anyways any and all help appreciated.. send yer flames to support@microsoft.com though..

Link to comment
Share on other sites

not really shure what is your problem but the uppercase & lowercase letters are important so try replacing HotKeySet("X" , "Miner") with HotKeySet("x" , "Miner")

My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]
Link to comment
Share on other sites

  • 2 months later...

HotkeySet doesn't work in LOTRO, I've tried. I think LOTRO locks all the keys for itself. You can still do key sends but as far as any hotkey command, it doesn't work

The only way to call functions in LOTRO that I've found is a bit complicated, but since I've already developed my own 5000 line lotro bot I had all the functions ready.

The general gist is:

Use a log parser(I can send you mine if you are interested)

Have the parser continually search for a key phrase. When that key phrase is given, call a function

Then make a hotkey to say the key phrase

I.E. I have a hotkey that sends myself a tell of: "killgroupmob" (SoandSo tells you "killgroupmob")

My parser continually checks for the phrase killgroupmob using a stringinstr function. If its detected it calls a function that automates a bunch of commands.

If you are interested in the log parser (which is just a stripped down version of my bot) I can send it to you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...