Page 1 of 1
createpath.lua there are no hotkeys (on linux)
Posted: Wed Nov 03, 2010 5:51 am
by lancer61187
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
Re: createpath.lua there are no hotkeys
Posted: Wed Nov 03, 2010 5:59 am
by botje
because your on linux? xd
no seriously, its made for windows, what ya expect?
Re: createpath.lua there are no hotkeys
Posted: Wed Nov 03, 2010 6:02 am
by lancer61187
Thanks for the very helpful reply (notice the sarcasm). Read up on micromacro, its supposed to work.
Re: createpath.lua there are no hotkeys
Posted: Wed Nov 03, 2010 6:03 am
by botje
its supposed to work
notice
my sarcasm...
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?
Re: createpath.lua there are no hotkeys
Posted: Wed Nov 03, 2010 6:19 am
by lancer61187
It ran just fine.
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.
Also, I had installed rombot on my windows laptop yesterday, and it wouldn't work..... then I ran update.lua and it worked.
Re: createpath.lua there are no hotkeys
Posted: Wed Nov 03, 2010 6:23 am
by lancer61187
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
Posted: Wed Nov 03, 2010 6:25 am
by botje
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.
Re: createpath.lua there are no hotkeys
Posted: Wed Nov 03, 2010 6:28 am
by lancer61187
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
Posted: Wed Nov 03, 2010 6:31 am
by botje
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

Re: createpath.lua there are no hotkeys
Posted: Wed Nov 03, 2010 6:35 am
by lancer61187
OK, thx. Seems strange that they wouldn't keep putting the newest version on their googlecode downloads page.
Re: createpath.lua there are no hotkeys
Posted: Wed Nov 03, 2010 6:43 am
by lancer61187
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
Posted: Wed Nov 03, 2010 6:49 am
by botje
hmm, bummer...
guess its really a linux problem then, sorry, cant help ya with that.
Botje
Re: createpath.lua there are no hotkeys
Posted: Wed Nov 03, 2010 6:52 am
by lancer61187
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.
Re: createpath.lua there are no hotkeys (on linux)
Posted: Wed Nov 03, 2010 10:41 am
by Administrator
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?
Re: createpath.lua there are no hotkeys (on linux)
Posted: Wed Nov 03, 2010 10:44 am
by lancer61187
you mean as an argument to micromacro? no, I didn't. So your saying type
into the terminal??
Re: createpath.lua there are no hotkeys (on linux)
Posted: Wed Nov 03, 2010 10:47 am
by Administrator
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?
Re: createpath.lua there are no hotkeys (on linux)
Posted: Wed Nov 03, 2010 10:57 am
by lancer61187
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.
Re: createpath.lua there are no hotkeys (on linux)
Posted: Wed Nov 03, 2010 5:14 pm
by lancer61187
Adding --wine as an argument to MM doesn't appear to change anything. All the same problems persist.
Re: createpath.lua there are no hotkeys (on linux)
Posted: Wed Nov 03, 2010 7:08 pm
by Administrator
Post your log.txt.