createpath.lua there are no hotkeys (on linux)

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
lancer61187
Posts: 11
Joined: Wed Nov 03, 2010 5:44 am

createpath.lua there are no hotkeys (on linux)

#1 Post 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
Last edited by lancer61187 on Wed Nov 03, 2010 6:59 am, edited 1 time in total.
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: createpath.lua there are no hotkeys

#2 Post by botje »

because your on linux? xd

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

#3 Post by lancer61187 »

Thanks for the very helpful reply (notice the sarcasm). Read up on micromacro, its supposed to work.
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: createpath.lua there are no hotkeys

#4 Post 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?
lancer61187
Posts: 11
Joined: Wed Nov 03, 2010 5:44 am

Re: createpath.lua there are no hotkeys

#5 Post 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.
lancer61187
Posts: 11
Joined: Wed Nov 03, 2010 5:44 am

Re: createpath.lua there are no hotkeys

#6 Post 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.
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: createpath.lua there are no hotkeys

#7 Post 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.
lancer61187
Posts: 11
Joined: Wed Nov 03, 2010 5:44 am

Re: createpath.lua there are no hotkeys

#8 Post 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?
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: createpath.lua there are no hotkeys

#9 Post 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 :)
lancer61187
Posts: 11
Joined: Wed Nov 03, 2010 5:44 am

Re: createpath.lua there are no hotkeys

#10 Post by lancer61187 »

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

#11 Post 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.
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: createpath.lua there are no hotkeys

#12 Post by botje »

hmm, bummer...

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

#13 Post by lancer61187 »

np, thx for the input tho. I'll play around with it after work (I am a programmer :geek: , 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.
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: createpath.lua there are no hotkeys (on linux)

#14 Post 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?
lancer61187
Posts: 11
Joined: Wed Nov 03, 2010 5:44 am

Re: createpath.lua there are no hotkeys (on linux)

#15 Post by lancer61187 »

you mean as an argument to micromacro? no, I didn't. So your saying type

Code: Select all

wine micromacro.exe --wine
into the terminal??
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: createpath.lua there are no hotkeys (on linux)

#16 Post by Administrator »

Yes. If I remember correctly, you should be starting MM like this:

Code: Select all

wine micromacro.exe --wine
You might also need elevated permissions. Try running it as root, just for a test?
lancer61187
Posts: 11
Joined: Wed Nov 03, 2010 5:44 am

Re: createpath.lua there are no hotkeys (on linux)

#17 Post 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.
lancer61187
Posts: 11
Joined: Wed Nov 03, 2010 5:44 am

Re: createpath.lua there are no hotkeys (on linux)

#18 Post by lancer61187 »

Adding --wine as an argument to MM doesn't appear to change anything. All the same problems persist.
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Re: createpath.lua there are no hotkeys (on linux)

#19 Post by Administrator »

Post your log.txt.
Post Reply