Search found 12 matches

by aliex
Wed Aug 21, 2013 6:59 am
Forum: MicroMacro general & support
Topic: Scripts Dir
Replies: 3
Views: 2117

Re: Scripts Dir

Administrator wrote:I've worked something up pretty quick. You can test it for me.
You'll only need to update your micromacro.exe and add this line to your config.lua file:

Code: Select all

	scriptsDirectory = "D:/Bots/Scripts/";
Works perfect. thanks! :geek:
by aliex
Mon Aug 19, 2013 2:37 pm
Forum: MicroMacro general & support
Topic: MM doesn't react on Start-Key
Replies: 10
Views: 3744

Re: MM doesn't react on Start-Key

I think this was disabled when updating to Lua 5.2. I don't remember the exact reasons for it, though. You can edit your lib/lib.lua, line 492 to change this: if fw ~= getHwnd() and ( ah == 0 or fw ~= ah ) then Removing "ah == 0 or" from that line should do the trick. Line 492 reads now: ...
by aliex
Thu Aug 15, 2013 12:31 pm
Forum: MicroMacro general & support
Topic: Scripts Dir
Replies: 3
Views: 2117

Scripts Dir

Hello! Is there a way to define where the Script Dir is? Right now i have to copy all my scripts in "micromacro/scripts", it would be nice if i could tell MM to load the scripts from "D:\Bots\Scripts" or from anywhere else.
by aliex
Wed Aug 14, 2013 11:57 pm
Forum: MicroMacro general & support
Topic: MM doesn't react on Start-Key
Replies: 10
Views: 3744

Re: MM doesn't react on Start-Key

Let me see if I understand you correctly. You are saying that when you are using MicroMacro in attached mode, it doesn't detect start/stop hotkeys when the target window is focused? That is, for the RoM bot, if you have RoM on top and press F5, it doesn't start? When you upgraded, did you copy all ...
by aliex
Wed Aug 14, 2013 2:16 pm
Forum: MicroMacro general & support
Topic: MM doesn't react on Start-Key
Replies: 10
Views: 3744

MM doesn't react on Start-Key

Hello! I got a problem using the latest MM version 1.03. MM doesn't recognize when i press the Start or Stop Button unless i activate the window. This is new, 1.02 did so. I am not able to deactivate the running macro when i use the screen the game is running. I got 2 Monitors, the problem occured a...
by aliex
Thu Jun 07, 2012 8:57 am
Forum: MicroMacro general & support
Topic: Read String from Memory - Help needed!
Replies: 4
Views: 2579

Re: Read String from Memory - Help needed!

Louro wrote:wow
It's that to count the numbers of quest mobs killed in order to do something when task is completed?
yep. thats the plan. :)
by aliex
Sun Jun 03, 2012 7:23 am
Forum: MicroMacro general & support
Topic: Read String from Memory - Help needed!
Replies: 4
Views: 2579

Read String from Memory - Help needed!

Hey Guys, i need some help reading a String from Memory. I'm getting several Errors which i dont know to solve. This is what i got: mobcount_addr = "270A6880"; function main() win = findWindow("FiestaOnline"); hdc = openDC( win ); proc = openProcess( findProcess("FiestaOnlin...
by aliex
Sat Feb 12, 2011 10:13 am
Forum: MicroMacro general & support
Topic: Alternative to keyboardPress( key.VK_1, key.VK_ALT ); ?
Replies: 10
Views: 5661

Re: Alternative to keyboardPress( key.VK_1, key.VK_ALT ); ?

Administrator wrote:Try running it in detached mode to see if it works then.
doesnt work either... what now? :/
by aliex
Fri Feb 11, 2011 1:57 pm
Forum: MicroMacro general & support
Topic: Alternative to keyboardPress( key.VK_1, key.VK_ALT ); ?
Replies: 10
Views: 5661

Re: Alternative to keyboardPress( key.VK_1, key.VK_ALT ); ?

This usually works: keyboardHold(key.VK_SHIFT); keyboardPress(key.VK_1); keyboardRelease(key.VK_SHIFT); But, it may or may not work for specific games in attached mode. Did you call attach() or attachKeyboard()? Have you called keyboardSetDelay() to try increasing the delay to 100ms or so? i called...
by aliex
Fri Feb 11, 2011 12:15 pm
Forum: MicroMacro general & support
Topic: Alternative to keyboardPress( key.VK_1, key.VK_ALT ); ?
Replies: 10
Views: 5661

Alternative to keyboardPress( key.VK_1, key.VK_ALT ); ?

Hey Guys... i get stuck at the point when i want my script to press two keys at the same time. keyboardPress( key.VK_1, key.VK_LSHIFT ); for example doesnt work for me. it seems that he only recognizes the "1". what other possibilities are there to send a two-key-command to the game? i als...
by aliex
Fri Feb 11, 2011 12:52 am
Forum: MicroMacro general & support
Topic: registerTimer has no Function! HELP!
Replies: 8
Views: 3821

Re: registerTimer has no Function! HELP!

Yeah, the timer processing will only be done while yielding. This is intentional (prevents potentially 'long' timer functions from interfering with time-critical tasks). Even a yrest(1) will do the trick (and prevent your script from using 100% of a core on the CPU). guys thank you so much. works p...
by aliex
Thu Feb 10, 2011 7:05 am
Forum: MicroMacro general & support
Topic: registerTimer has no Function! HELP!
Replies: 8
Views: 3821

registerTimer has no Function! HELP!

Im tyring to inclue a timer which calls a funtion every given time. But it returns nothing, this is the code i got so far: needed = true; function toggle() needed = true; end function main() registerTimer("timer", 5000, toggle); printf("Hello World!\n"); printf("Press SPACE ...