Search found 21 matches
- Fri Feb 11, 2011 3:08 am
- Forum: MicroMacro general & support
- Topic: registerTimer has no Function! HELP!
- Replies: 8
- Views: 3749
Re: registerTimer has no Function! HELP!
It's very simple. Yielding is simply allowing something to go first. Imagine two busy lanes in a road merging into one. If the drivers in the right lane never yielded for traffic in the left lane, the left lane would stop moving. Now imagine that every 10nth car in the right lane yielded for a car i...
- Thu Feb 10, 2011 11:30 pm
- Forum: MicroMacro general & support
- Topic: registerTimer has no Function! HELP!
- Replies: 8
- Views: 3749
Re: registerTimer has no Function! HELP!
The document suggest any value less than 100 you might as well call rest. That is what I have been doing in my code.
Would you say then, that regardless of the rest period, always call yrest?
Would you say then, that regardless of the rest period, always call yrest?
- Thu Feb 10, 2011 8:04 pm
- Forum: MicroMacro general & support
- Topic: registerTimer has no Function! HELP!
- Replies: 8
- Views: 3749
Re: registerTimer has no Function! HELP!
I thought I read in the documentation that yrest(<100) is equivalent to rest(<100)
- Thu Feb 10, 2011 11:02 am
- Forum: MicroMacro general & support
- Topic: registerTimer has no Function! HELP!
- Replies: 8
- Views: 3749
Re: registerTimer has no Function! HELP!
Looks like your in a tight loop. While(1) ... End Is not allowing any thread to process. Make it While(1)do yrest(500); end you can remove yrest from your if statement. So it looks like. while(1)do if( needed ) then printf("needed!\n"); needed = false; end yrest(500); end
- Thu Jan 27, 2011 7:13 pm
- Forum: Game cheating & modding
- Topic: Rohan Online
- Replies: 1
- Views: 1884
Re: Rohan Online
a simple pixel scanner can do the job fairly easily. You would want to start with two 1 pixel in width rectangles from the top of the bar to the bottom. One searches up to find the bottom of the green bar, the other starting from the bottom of the green bar. This will give you the Top and bottom coo...
- Thu Jan 27, 2011 12:44 am
- Forum: MicroMacro scripts
- Topic: Dragon Oath Bot
- Replies: 1
- Views: 4528
Dragon Oath Bot
Introducing the Dragon Oath attack bot. Dragon Oath is mostly a Korean Grinder MMORPG with a martial arts influence. This opens up the door to a bot that needs no way-points or pathing abilities. As this bot has none. The bot is limited to tracking things like cursor type, some dialogs(captcha, loot...
- Fri Jan 21, 2011 1:13 am
- Forum: MicroMacro scripts
- Topic: Call me crazy
- Replies: 5
- Views: 4491
Re: Call me crazy
well one of the things I am trying to avoid is adding stuff. I think there is a bit of disconnect in distributing of MicroMacro scripts. When/If I add a script/project or distributable, if I have different resources and such, the user needs to understand the MicroMacro directory structure. I think i...
- Thu Jan 20, 2011 4:09 am
- Forum: MicroMacro scripts
- Topic: Call me crazy
- Replies: 5
- Views: 4491
Call me crazy
Since I've been stuck on my bot I've been toying with different ideas for a lua graphical interface. The thought struck me, HTTP. My ideal scenario would be to have lua open a listening socket on port xxx and provide content dynamically served like the old days but using technologies like HTTP push ...
- Thu Jan 20, 2011 3:51 am
- Forum: MicroMacro general & support
- Topic: micromacro.exe missing in last svn
- Replies: 5
- Views: 3970
Re: micromacro.exe missing in last svn
You need to goto
http://connect.creativelabs.com/openal/ ... Items.aspx
and install oalinst.zip or openal11coresdk.zip.
I don't think oalinst.zip worked for me.
http://connect.creativelabs.com/openal/ ... Items.aspx
and install oalinst.zip or openal11coresdk.zip.
I don't think oalinst.zip worked for me.
- Wed Jan 19, 2011 3:26 am
- Forum: MicroMacro scripts
- Topic: Cheat Engine
- Replies: 8
- Views: 8908
Re: Cheat Engine
Okay. I can't believe this, but I just found out CheatEngine 6.0 has a new table structure. here you go, this will handle the old and the new. Example call: include("CheatEngine.lua"); appName = "Dragon*"; myProc = openProcess( findProcess(appName) ); window = findWindow(appName)...
- Mon Jan 17, 2011 11:50 pm
- Forum: MicroMacro scripts
- Topic: Cheat Engine
- Replies: 8
- Views: 8908
Re: Cheat Engine
Okay, I am honestly a tweeker, without drugs even. Here is a different version that creates a class and handles correctly reading the memory address's without you even needing to know what LUA functions to call. I think this is a bit easier, requires no knowledge of what memory functions are needed ...
- Sun Jan 16, 2011 2:33 pm
- Forum: MicroMacro scripts
- Topic: Cheat Engine
- Replies: 8
- Views: 8908
Re: Cheat Engine
Hang on. Terminology. A table could mean one or more things, even in CheatEngine. I do not mean this will load the Dissect Data Structures function accessed from the memory view. It will load Cheat Engines main window address's that you have selected and are displayed in the bottom portion of the wi...
- Sun Jan 16, 2011 1:57 pm
- Forum: MicroMacro scripts
- Topic: Write your own damn bot. Bot starter kit.
- Replies: 2
- Views: 2903
Re: Write your own damn bot. Bot starter kit.
Aw. Well this code is really pretty raw. Like I said, I imagine that everyone whom started a bot started from similar ideas. And the first part I guess in making any bot is, "Can I get it to intelligently kill a mob" So, the idea behind this code is to create a configuration that tracks co...
- Sun Jan 16, 2011 1:33 pm
- Forum: MicroMacro scripts
- Topic: Cheat Engine
- Replies: 8
- Views: 8908
Re: Cheat Engine
Yup. Just get your address's with Cheat engine, Save it to XML. And the code will parse all the CheatEntries into a LUA table. then just use memLocation like memoryReadIntPtr(myProc, memLocation["PlayerHealth"]["Start"],memLocation["PlayerHealth"]["Offsets"]);...
- Sun Jan 16, 2011 2:37 am
- Forum: MicroMacro scripts
- Topic: Cheat Engine
- Replies: 8
- Views: 8908
Cheat Engine
Here is some code for anyone who wishes to utilize Cheat Engines xml. It simply loads the Cheat Engine XML into a table called memLocation. It then creates a sub table for each CheatEntry by name and creates two fields, Start and Offsets. Example end result: MemLocation={ Name1={ Start=0xffffff, Off...
- Sat Jan 15, 2011 5:19 am
- Forum: MicroMacro scripts
- Topic: Write your own damn bot. Bot starter kit.
- Replies: 2
- Views: 2903
Write your own damn bot. Bot starter kit.
I have been working on a bot for Dragon Oath and as I have written this code I realize that everyone must be starting with something similar. I have provided in the attached zip file a basic Skill configuration tool and the LUA to parse it and cast a skill based off of those configurations. The skil...
- Tue Jan 11, 2011 12:08 am
- Forum: MicroMacro general & support
- Topic: Table_addon.lua must haves?
- Replies: 1
- Views: 2392
Table_addon.lua must haves?
I am not sure if these exists already for MicroMacro. One thing I find useful is to store state from a table. I found this gem but I am not sure who it's credited to. The header file has no author. It allows you to save and load a lua table to a file. --[[ Save Table to File/Stringtable Load Table f...
- Mon Jan 10, 2011 11:56 pm
- Forum: MicroMacro general & support
- Topic: sounds
- Replies: 11
- Views: 6212
Re: sounds
Perfect. Took me a few tries. I guess I don't know when the last time I had to worry about escape sequences in strings. I should have realized faster we are dealing with c strings. LOL. Once I dbl escaped the backslash, it all worked.
Great Job!
Great Job!
- Mon Jan 10, 2011 6:11 pm
- Forum: MicroMacro general & support
- Topic: sounds
- Replies: 11
- Views: 6212
Re: sounds
I am not sure what others may find uses for playing sounds. I know my purpose is for an alarm. My specific case is a captcha is displayed while the bot is playing, I need a sound to indicate the bot needs manual intervention. The only thing I can think of is adjusting the volume. Great Job! Thanks!
- Mon Jan 10, 2011 12:45 pm
- Forum: MicroMacro general & support
- Topic: sounds
- Replies: 11
- Views: 6212
Re: sounds
Thanks for the very fast reply. I see a few projects on the internet for sound integration into Lua. I don't think sound was ever an intention for LUA I guess. My lack of fully understanding of LUA and how MicroMacro, or even any language, Integrates the LUA engine shows my newbness here. But could ...