Search found 4029 matches

by Administrator
Sun Oct 01, 2017 2:41 pm
Forum: MicroMacro general & support
Topic: Disabling windows hotkeys
Replies: 18
Views: 3569

Re: Disabling windows hotkeys

Hey Admin, Sorry for reviving an old topic! I was just wondering if you could also add a similar hook for mouse keys? I tried transplanting the keyboard hook function into the mouse_lua.cpp file and attempted to change all the necessary stuff... but yeh, obviously I have no idea what I am doing hah...
by Administrator
Fri Sep 08, 2017 12:11 pm
Forum: Runes of Magic
Topic: micromacro eats CPU
Replies: 16
Views: 2378

Re: micromacro eats CPU

My best guess is that it can be blamed on the design of the RoM bot code. I originally just started slapping code together as I was trying to push the limits of what MicroMacro could do, and never expected the script to become what it has today. Years of just tacking things on without forethought ha...
by Administrator
Thu Aug 31, 2017 12:49 pm
Forum: Runes of Magic
Topic: micromacro eats CPU
Replies: 16
Views: 2378

Re: micromacro eats CPU

No, that doesn't sound normal. Unfortunately I don't know what is causing it. As I would not be able to reproduce it, it would be nearly impossible for me to discern what the problem could be. Could you try tracking the CPU usage per client and instance of MicroMacro? Is it normal until you start th...
by Administrator
Fri Aug 25, 2017 8:34 pm
Forum: RoM general
Topic: The adresses Rom uses
Replies: 2
Views: 1321

Re: The adresses Rom uses

Have you tried using something like WireShark to capture some packets being sent to pixelzirkus.gameforge.com? Could help determine what information is being sent to them. Since it's Gameforge, maybe it's to help them with their database. I think that's the company that runs it, anyways. You know, t...
by Administrator
Fri Aug 25, 2017 8:31 pm
Forum: Runes of Magic
Topic: CPU freq.
Replies: 58
Views: 5834

Re: CPU freq.

Took a look at the code you provided. What you've described is strange. I would first try to confirm that the data being read is accurate. That is, ensure that the result of getPing() is actually returning your ping rather than some junk data. Since it is just doing a memory read to get this data, i...
by Administrator
Mon Mar 06, 2017 10:14 pm
Forum: MicroMacro general & support
Topic: memoryChunk.getData() documentation
Replies: 1
Views: 1110

Re: memoryChunk.getData() documentation

I'm still around. I'll admit I haven't been working on MicroMacro so much lately. Largely in part to it not having any real projects to work towards, but also because I've got very little time to work on it. I'm noticing that you used a dot ('.') in place of a semicolon (':') in your example. The di...
by Administrator
Sat Dec 24, 2016 2:20 pm
Forum: Everything else
Topic: Runescape
Replies: 1
Views: 1518

Re: Runescape

Could be one of two things. If they have some sort of anti-cheat, it could be hooking the functions and blocking input at the kernel level. If not, then it just simply has to do with how the game client is accessing input data; it may not be reading it from a location that virtual input is jamming i...
by Administrator
Mon Sep 19, 2016 9:48 am
Forum: Misc tools
Topic: Renderdoc from cryengine
Replies: 1
Views: 716

Re: Renderdoc from cryengine

That's actually a really interesting idea. I'm sure we could find *some* use for it around here. I've been busy with moving lately so haven't even had time to finish documentation for the new MicroMacro changes I've been making, but I'll definitely have to put this on my TODO list to check out.
by Administrator
Sun Aug 28, 2016 1:37 pm
Forum: MicroMacro general & support
Topic: Odd issue with getPixel using 2 different pcs
Replies: 16
Views: 9084

Re: Odd issue with getPixel using 2 different pcs

I don't think it has to do with resolution, as that's not taken into any computation in MicroMacro at all; it's just making raw calls to the Windows API. It certainly could be related to issues with your video card, but that seems a bit odd to me. I mean, I've got an integrated card and 2 dedicated ...
by Administrator
Sun Aug 28, 2016 12:58 pm
Forum: MicroMacro general & support
Topic: Odd issue with getPixel using 2 different pcs
Replies: 16
Views: 9084

Re: Odd issue with getPixel using 2 different pcs

I'm not able to duplicate the issue still. Testing on Windows 10 pro x64, dual 1080p monitors. This is the slightly modified script I'm testing with: local hwnd; local winX, winY, wWidth, wHeight; function macro.init() hwnd = window.find("Untitled"); printf("Targeted %s\n", window.getTitle(hwnd)); w...
by Administrator
Tue Aug 23, 2016 11:44 pm
Forum: MicroMacro general & support
Topic: Odd issue with getPixel using 2 different pcs
Replies: 16
Views: 9084

Re: Odd issue with getPixel using 2 different pcs

Try dropping this executable in your folder, overwriting the original, then run it. It'll dump extra info to the log on a getPixel() call. Post your log here for review.
by Administrator
Sun Aug 21, 2016 11:57 pm
Forum: MicroMacro general & support
Topic: Odd issue with getPixel using 2 different pcs
Replies: 16
Views: 9084

Re: Odd issue with getPixel using 2 different pcs

Is the window you're trying to read from fully visable (ie. on top of all other windows, or at least not covered by another)? Since it uses a screenshot, it will read from whatever is on the screen rather than what is rendered to the window. That is, if I remember how getPixel() works.
by Administrator
Sun Aug 21, 2016 9:05 pm
Forum: MicroMacro general & support
Topic: Odd issue with getPixel using 2 different pcs
Replies: 16
Views: 9084

Re: Odd issue with getPixel using 2 different pcs

I remember fixing some issues with those functions a long time ago, and I doubt that is the cause of this but just to make sure, which version are you using? Can you also specify if it is broken on both of your computers, or only on one or the other?
by Administrator
Sun Aug 21, 2016 11:46 am
Forum: MicroMacro general & support
Topic: Odd issue with getPixel using 2 different pcs
Replies: 16
Views: 9084

Re: Odd issue with getPixel using 2 different pcs

What do you mean by "it doesn't work"? Does it give incorrect results? An error message? Could you provide a copy of a log file to see if maybe it is failing to set the debug mode or something? Do you have any sort of anti-virus or other software that could be interfering with the access of screen d...
by Administrator
Mon Aug 08, 2016 8:25 pm
Forum: MicroMacro general & support
Topic: OpenCV and MicroMacro
Replies: 51
Views: 10203

Re: OpenCV and MicroMacro

Yes that's exactly right. It could be used for any sort of object recognition, though isn't the most efficient way to go about things.
by Administrator
Sun Aug 07, 2016 7:29 pm
Forum: MicroMacro general & support
Topic: how to hold multiple keys at once
Replies: 8
Views: 1583

Re: how to hold multiple keys at once

Well I do have approximate knowledge of many things! For efficiency, what have you tried? Have you considered flipping some memory flags to try and indicate that a certain key is pressed (often there will be a variable for keydown states; might be useful to touch this). Or you could even NOP/JMP som...
by Administrator
Sat Aug 06, 2016 12:29 pm
Forum: MicroMacro general & support
Topic: how to hold multiple keys at once
Replies: 8
Views: 1583

Re: how to hold multiple keys at once

My best guess is it has something to do with how the game is reading the key input. I've seen a ton of games that use GetKeyState() or GetAsyncKeyState() for modifiers (Shift, Control, Alt) and Enter. It is poor form on their part, but it's functional. These functions are built into the win32 librar...
by Administrator
Wed Aug 03, 2016 6:49 pm
Forum: Announcements
Topic: MicroMacro HTTPD mini-server library; adding web-GUI to your scripts
Replies: 6
Views: 9624

Re: MicroMacro HTTPD mini-server library; adding web-GUI to your scripts

Ah, yeah. I failed to rebuild the x64 binary on that package. Because of that it's outdated. But because there's been so many bug fixes and such, I've decided to increment the version number and re-uploaded the 1.94 packages. Try that.
by Administrator
Wed Aug 03, 2016 1:11 pm
Forum: Everything else
Topic: player direction
Replies: 3
Views: 1270

Re: player direction

I think I would probably go with the first option, as it seems to represent a unit vector more easily, which you can then convert to an angle (in radians) using sine & cosine, as we did in RoM.