createpath.lua there are no hotkeys (on linux)
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
createpath.lua there are no hotkeys (on linux)
First of all, I am running Ubuntu 10.04. I have Wine 1.2 and ran micromacro.exe in a terminal with Wine. update.lua worked just fine. I then types rom/createpath.lua, and everything works as expected except that when it pauses here:
Hotkeys:
() Insert new waypoint (at player position)
() Insert new harvest waypoint (at player position)
() Save waypoints and quit
() Insert merchant (repair and buy) command
() Insert target/dialog NPC command
() Insert 'ChoiceOption()' command.
() Insert 'mouseclickL()' command
() Save waypoints and restart
As you can see, the hotkeys that should be in the parenthesis are not there. I tried pressing numkey 1, but nothing happens. I tried many different keys with no result. My laptop doesn't have a numpad, but there is a function key that you can hold down to get the numkeys on many of the letter keys. This worked on my other laptop (windows xp). Anyone have any idea why the hotkeys aren't working?
Thanks
Hotkeys:
() Insert new waypoint (at player position)
() Insert new harvest waypoint (at player position)
() Save waypoints and quit
() Insert merchant (repair and buy) command
() Insert target/dialog NPC command
() Insert 'ChoiceOption()' command.
() Insert 'mouseclickL()' command
() Save waypoints and restart
As you can see, the hotkeys that should be in the parenthesis are not there. I tried pressing numkey 1, but nothing happens. I tried many different keys with no result. My laptop doesn't have a numpad, but there is a function key that you can hold down to get the numkeys on many of the letter keys. This worked on my other laptop (windows xp). Anyone have any idea why the hotkeys aren't working?
Thanks
Last edited by lancer61187 on Wed Nov 03, 2010 6:59 am, edited 1 time in total.
Re: createpath.lua there are no hotkeys
because your on linux? xd
no seriously, its made for windows, what ya expect?
no seriously, its made for windows, what ya expect?
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys
Thanks for the very helpful reply (notice the sarcasm). Read up on micromacro, its supposed to work.
Re: createpath.lua there are no hotkeys
notice my sarcasm...its supposed to work
but now all fun aside, im sure it should work, but you must not forget wine is trying to emulate a windows enviroment.
somethings can go wrong ya know... also, update.lua doesnt even work on our windows versions, how the hell did you get that to run? maybe its exactly that fact that it fucks up?
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys
It ran just fine.
Also, I had installed rombot on my windows laptop yesterday, and it wouldn't work..... then I ran update.lua and it worked.
Code: Select all
rom/update.lua
Opening update.lua...
Starting script execution - Press CTRL+C to exit.
Press CTRL+L to cancel execution and load a new script.
--------------------------------------------------------------------------------Scanning for updated addresses...
Patched addresses.staticbase_char (value: 0x9B5284, at: 0x63C658)
Patched addresses.staticbase_macro (value: 0xA0AA2C, at: 0x7493FD)
Patched addresses.charPtr_offset (value: 0x598, at: 0x5E3542)
Patched addresses.mousePtr_offset (value: 0x744, at: 0x5FDFB9)
Patched addresses.camPtr_offset (value: 0x46C, at: 0x5E5637)
Patched addresses.camXUVec_offset (value: 0x128, at: 0x442EDB)
Patched addresses.camX_offset (value: 0x104, at: 0x442DFE)
Patched addresses.castbar_offset (value: 0x25C, at: 0x8502F6)
Patched addresses.charAlive_offset (value: 0x224, at: 0x5E530B)
Patched addresses.charBattle_offset (value: 0x732, at: 0x5E5FA2)
Patched addresses.macro1_offset (value: 0x108, at: 0x7BB12F)
Finished.
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys
Hmm, looking deeper through the forums it seems that key bindings has been a problem for a few linux users. I tried to run rom/bot.lua and the script runs fine, but pressing delete to start does nothing. Pressing delete while in the terminal window doesn't work either.
Re: createpath.lua there are no hotkeys
hmm... your update.lua is very short, are you sure you have updated from the svn?
perhaps its due to not running a updated version.
perhaps its due to not running a updated version.
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys
I downloaded it from http://code.google.com/p/rom-bot/downloads/list (did the same thing for my windows laptop, which works fine). I'm assuming that RoM bot 3.20 (r439) is the latest version?
Re: createpath.lua there are no hotkeys
oh no, thats very old xd
try looking on the wiki or the main bot thread to see how to update from the svn, that will proberly help
try looking on the wiki or the main bot thread to see how to update from the svn, that will proberly help
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys
OK, thx. Seems strange that they wouldn't keep putting the newest version on their googlecode downloads page.
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys
Alright, got the latest version and still the same exact problems. No hotkeys for createpath.lua, and pressing delete to start the bot also doesn't work.
Re: createpath.lua there are no hotkeys
hmm, bummer...
guess its really a linux problem then, sorry, cant help ya with that.
Botje
guess its really a linux problem then, sorry, cant help ya with that.
Botje
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys
np, thx for the input tho. I'll play around with it after work (I am a programmer
, so maybe I can work some magic). But if any micromacro or RoMBot coders have input, feel free to point me in the right direction.
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: createpath.lua there are no hotkeys (on linux)
I've been very busy lately and it will still be several weeks before I can get back home. This prevents me from doing a whole lot of work on the project other then occasionally posting on these forums.
Are you using the --wine option when starting MicroMacro?
Are you using the --wine option when starting MicroMacro?
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys (on linux)
you mean as an argument to micromacro? no, I didn't. So your saying type
into the terminal??
Code: Select all
wine micromacro.exe --wine- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: createpath.lua there are no hotkeys (on linux)
Yes. If I remember correctly, you should be starting MM like this:
You might also need elevated permissions. Try running it as root, just for a test?
Code: Select all
wine micromacro.exe --wine
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys (on linux)
I'm at work, and my personal laptop (with ubuntu) is at home. I'll let you know how it works after I get home.
-
lancer61187
- Posts: 11
- Joined: Wed Nov 03, 2010 5:44 am
Re: createpath.lua there are no hotkeys (on linux)
Adding --wine as an argument to MM doesn't appear to change anything. All the same problems persist.
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: createpath.lua there are no hotkeys (on linux)
Post your log.txt.