Search found 19 matches

by kurapicas
Thu Apr 16, 2015 6:36 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

So the way I add it would be like this? local HP = process.read(proc, "int", 0x00A880C4); local MP = process.read(proc, "int", 0x00A880C8); local maxHP = process.read(proc, "int", 0x00A880CC); local maxMP = process.read(proc, "int", 0x00A880D0); local HP_perce...
by kurapicas
Wed Apr 15, 2015 7:37 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

can the max HP and Max MP value just be read from the HP/MP address?. cuz lowest character HP Value is like 400 while my other character have 5k+ hp.
by kurapicas
Wed Apr 15, 2015 8:23 am
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

Sorry for late reply... Was away for a while.

Thanks works completely now..

Is there a way to change the Value of HP and MP to Percent?. I had to keep changing the value everytime i play low level character or high level character. How to make it 50%?

if( HP < 50% ) doesnt seem to work :P
by kurapicas
Mon Apr 13, 2015 12:18 am
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

It seem it only trigger once. The game have feature of auto attack by pressing CapsLock and Holding right click. The Auto Attack last for 3 minutes only (180 seconds).. So in order to auto attack again I must press capslock and Hold right click again... maybe im doing something wrong. But here entir...
by kurapicas
Sun Apr 12, 2015 10:20 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

windows[1]: hwnd: 1573668, class: dknb , name: dknb windows[2]: hwnd: 4982006, class: MSCTFIME UI, name: MSCTFIME UI windows[3]: hwnd: 7734736, class: IME, name: Default IME about the timer. I just want the timer to trigger if i press capslock. But even without pressing capslock the timer still cou...
by kurapicas
Sun Apr 12, 2015 9:58 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

Get Error of 2015-04-12 22:46:33 : Load file error code: 7 (Runtime error) 1test.lua:6: attempt to call a nil value (field 'getWindows') about the timestamp function macro.init() actionTimestamp = Timestamp:now():addSeconds(200); it seems when i run the script, It also start the timer, the moment th...
by kurapicas
Sun Apr 12, 2015 6:27 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

Tried that

Code: Select all

keyboard.virtualPress(win, key.VK_F1);
but it doesnt seem to send F1 key, even i went into the game.. VirtualPress doesnt seem to work.

but keyboard.press works fine. Im using Windows 8.1 maybe virtual keyboards doesnt work..
by kurapicas
Sun Apr 12, 2015 5:19 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

Yep I learned a lot today and yesterday. Now Im learning this. Attach? attach( findWindow(" dnbk ") ); So it would be like this? function macro.init() attach = window.find(" dknb "); end can it work also like attaching process? attach = process.findByExe(exeName); While I was rea...
by kurapicas
Sun Apr 12, 2015 4:38 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

didnt know that require function would be needed. now its fixed. script running great...
by kurapicas
Sun Apr 12, 2015 4:31 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

Sorry for late reply, couldn't test it right away.. put the timestamp.lua inside this folder i created lib C:\Users\teemo\Downloads\micromacro.1.91.41_x64\micromacro\lib run the script and still get error. 2015-04-12 17:28:54 : Failed to run init function, err code: 7 (Runtime error) test.lua:10: at...
by kurapicas
Sun Apr 12, 2015 2:02 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

cant seem to get that actionTimestamp to work. i added it below function macro.init()

Code: Select all

Failed to run init function, err code: 7 (Runtime error)
dnbk.lua:10: attempt to index a nil value (global 'Timestamp')
by kurapicas
Sun Apr 12, 2015 1:33 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

Thanks.. I also been looking at those Module. Went to see Timing Module. but only showed Time/Date format. But cant find an example how to send/press a key button every X seconds. tried this function macro.init() timeLeft = 200; function macro.main(dt) timeSinceLastAction = timeSinceLastAction + dt;...
by kurapicas
Sun Apr 12, 2015 12:59 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

EDIT: Got it fix. turn out to be

Code: Select all

mouse.hold(2)
i was thinking it would be similar format.

Code: Select all

keyboard.press(key.VK_CAPSLOCK)
mouse.hold(number.VK_2)
Is there a way to add pressing caps again after 190 seconds?
by kurapicas
Sat Apr 11, 2015 10:46 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

Thank you for your help. After i follow your CE Guide to get the Pointer. I tried another Memory Software like Art Money. and follow your Guide again. It works like a charmed. local ammo = process.readPtr(proc, "int", darkExeAddress + 0x621668, 80 ); How do i add by pressing Capslock then ...
by kurapicas
Sat Apr 11, 2015 10:07 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

I added those line below local ammo = process.readPtr(proc, "int", darkExeAddress + 0x621668, 50); after adding that. I get this error Please enter the script name to run. Type in 'exit' (without quotes) to exit. Script> 1test Running '1test' ptr: 0xC267A88 Value: 9058332 (0x8A381C) Error ...
by kurapicas
Sat Apr 11, 2015 8:12 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

What happens when you try this: print("exe + offset1, ptr:", darkExeAddress + 0x621668); print("exe + offset1, addr:", process.read(proc, "int", darkExeAddress + 0x621668)); I get a huge dump of this..it just keep going non stop. should it suppose to show the Ammo ADDR...
by kurapicas
Sat Apr 11, 2015 7:09 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

Edited.. Works on HP and MP.

Cant get it to work on Ammo.
by kurapicas
Sat Apr 11, 2015 5:48 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Re: Looking for help

Could not get it to work.. - My UAC is off - Run both files in Admin. - Using Windows 8 dark.exe is running but when i save the code into test.lua inside the Script folder and try to run it. I get this error 2015-04-11 18:27:04 : Failed to run init function, err code: 7 (Runtime error) test.lua:7: a...
by kurapicas
Sat Apr 11, 2015 2:10 pm
Forum: MicroMacro general & support
Topic: Looking for help
Replies: 37
Views: 12505

Looking for help

Is this possible? process name: dark.exe Hotkey F1 - Ammo Hotkey F2 - Hp Potion Hotkey F3 - Mp potion Address of ammo (pointer): "dark.exe"+00621668 offset:50 Address of Hp: 0x00A880C4 address of mp: 0x00A880C8 ammo keep changing address. if i just use normal search address. have to find t...