Search found 4475 matches

by Administrator
Tue Jul 15, 2008 7:05 am
Forum: MicroMacro scripts
Topic: World of Kungfu Bot (Updated)
Replies: 71
Views: 49765

Re: World of Kungfu Bot (Updated)

target_monster() seems to just be pressing the TAB button. If you have a target, and press TAB, does it switch to a new target, or keep the same target?
by Administrator
Tue Jul 15, 2008 4:03 am
Forum: MicroMacro scripts
Topic: World of Kungfu Bot (Updated)
Replies: 71
Views: 49765

Re: World of Kungfu Bot (Updated)

You need to define "doesn't work." Does the script run? Does the script exit in error? Does it appear to run fine, just does not switch targets after that 1 minute?
by Administrator
Tue Jul 15, 2008 2:30 am
Forum: MicroMacro scripts
Topic: World of Kungfu Bot (Updated)
Replies: 71
Views: 49765

Re: World of Kungfu Bot (Updated)

Well, the easiest thing to do would be to bot in an area that's wide open and devoid of anything you can get stuck on. If this is not an option, you can try making a timed function to switch targets after 1 minute of not killing the targeted monster. Add this anywhere outside of any function functio...
by Administrator
Mon Jul 14, 2008 11:52 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 145626

Re: Shaiya bot

I've already responded to your other thread here. Get the GameGuard bypass from the very first topic in this thread and install it using those instructions. It will not work without the new game.exe!
by Administrator
Mon Jul 14, 2008 11:51 pm
Forum: Everything else
Topic: Shaiya Fighter Bot
Replies: 221
Views: 73378

Re: Shaiya Fighter Bot

You probably do not have the GameGuard bypass. Download and install it following the instructions here.
by Administrator
Mon Jul 14, 2008 11:48 pm
Forum: MicroMacro general & support
Topic: shaiya - Using multiple window instances, and keyboard input
Replies: 35
Views: 14374

Re: shaiya - Using multiple window instances, and keyboard input

MicroMacro has been designed to attempt to continue working with applications even if they are minimized, however, it does not work with all applications. Shaiya is one of those few for which it does not work. Currently, there is no good, working solution. It may be possible to use injection to trig...
by Administrator
Mon Jul 14, 2008 8:59 pm
Forum: MicroMacro general & support
Topic: shaiya - Using multiple window instances, and keyboard input
Replies: 35
Views: 14374

Re: shaiya - Using multiple window instances, and keyboard input

lol another sorry....i edited my post instead of posting a new one. As you should. Double (or tripple) posting is frowned upon. is there a way to attach micromacro to a process instead of a window?.... or how do i create a macro that changes a windows name? Well, you "attach" MicroMacro t...
by Administrator
Mon Jul 14, 2008 7:02 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 145626

Re: Shaiya bot

Whoever fixed the 'bomber.exe' that is circulating beat me to it. The multi-client that I worked on gave a GameGuard error (although the game was not otherwise effected by GameGuard), and Ploxasaurus/Jewbaca's approach didn't work all together. The bomber.exe should allow you to run two clients, so ...
by Administrator
Mon Jul 14, 2008 6:59 pm
Forum: MicroMacro general & support
Topic: shaiya - Using multiple window instances, and keyboard input
Replies: 35
Views: 14374

Re: shaiya - Using multiple window instances, and keyboard input

I don't know. You'd need to give me the log. It could be caused by a permission error, or different addresses due to a different client, or any number of other things.
by Administrator
Sun Jul 13, 2008 5:12 pm
Forum: MicroMacro scripts
Topic: Shaiya Warrior & oracle Party Script
Replies: 2
Views: 2356

Re: Shaiya Warrior & oracle Party Script

Look at all the other Shaiya scripts in this section. Most of them check if the monster is alive (by checking the color at a certain location) to tell if the monster has any HP. You could also have it automatically switch targets if you are unable to kill the monster within a certain time limit. The...
by Administrator
Sat Jul 12, 2008 6:06 pm
Forum: MicroMacro general & support
Topic: Middle mouse button click?
Replies: 2
Views: 1259

Re: Middle mouse button click?

I've added three functions for dealing with the mouse/wheel clicks. Those are mouseMClick(), mouseMHold(), and mouseMRelease(). These act exactly like their left/right counterparts. If you have a wheel mouse, you can also take advantage of the mouseWheelMove(int) function, which accepts a single int...
by Administrator
Fri Jul 11, 2008 6:03 pm
Forum: MicroMacro general & support
Topic: Is there a built-in lua hashing function?
Replies: 3
Views: 9149

Re: Is there a built-in lua hashing function?

Essentially, you would be converting your bytes back into a 4-byte integer. That can be done pretty simply with math. Typically, the order is RGBA, but since we don't need the Alpha channel, we'll just kind of ignore it. function getPixelInt(hdc, x, y) local r, g, b = getPixel(hdc, x, y); local retv...
by Administrator
Fri Jul 11, 2008 5:37 pm
Forum: Off topic
Topic: Hello I'm new, and a few questions :)
Replies: 3
Views: 2081

Re: Hello I'm new, and a few questions :)

Yeah, we could always use more help around here. I wish we had a few more people to help maintain the scripts so that I can focus more on MicroMacro itself. Currently, I'm still redesigning the new website, so even MicroMacro isn't being properly maintained at the moment.
by Administrator
Fri Jul 11, 2008 5:35 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 145626

Re: Shaiya bot

Start with the logic behind it. Figure out what needs to be done, first. If you are unable to reach your target within, say, 30 seconds, then you should try jumping (press the jump button) and/or an assortment of other buttons. If you still have not reached and killed the monster within, lets say, a...
by Administrator
Fri Jul 11, 2008 5:28 pm
Forum: MicroMacro general & support
Topic: Is there a built-in lua hashing function?
Replies: 3
Views: 9149

Re: Is there a built-in lua hashing function?

No, Lua does not natively have any sort of hashing function. For what purpose do you need it? Typically, there's two types of hashing that are commonly used. One is generating a random hash to be used in place of a password (For, say, a login mechanism. You wouldn't want to store an actual password ...
by Administrator
Wed Jul 09, 2008 7:02 pm
Forum: Off topic
Topic: Hello I'm new, and a few questions :)
Replies: 3
Views: 2081

Re: Hello I'm new, and a few questions :)

Those are some good questions. I'll try to answer them the best I can, however, they are very complex problems. I was wondering in the shaiya bots, why are some things read directly from memory and some read via pixel colors on the screen? For example targets health, were you unable to read it relia...
by Administrator
Wed Jul 09, 2008 6:30 pm
Forum: MicroMacro general & support
Topic: shaiya - Using multiple window instances, and keyboard input
Replies: 35
Views: 14374

Re: shaiya - Using multiple window instances, and keyboard input

The problem is only with certain keystrokes, such as Enter (to open the chat). The game checks it globally rather than locally, so pressing Enter would effect all clients.
by Administrator
Tue Jul 08, 2008 11:04 am
Forum: MicroMacro general & support
Topic: Are there any other ways to select a target?
Replies: 2
Views: 1410

Re: Are there any other ways to select a target?

You could read/write memory. First find the pointer to the currently selected monster. This is typically going to be either a pointer itself (to the monster's class), or a unique ID. Once you find it, you can read the memory to tell if a monster is selected (most games will use 0 or some other reser...
by Administrator
Mon Jul 07, 2008 10:26 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 145626

Re: Shaiya bot

You didn't consider checking http://solarimpact.servegame.com? I'm kind of wondering how you found the forum, but not the main site.
by Administrator
Mon Jul 07, 2008 10:24 pm
Forum: MicroMacro general & support
Topic: memoryWriteString() ?
Replies: 8
Views: 2551

Re: memoryWriteString() ?

If you know it should be 128 bytes max, then you should structure your for loop to do, at most, 128 iterations. function memoryWriteString(proc, addr, msg, len) if( len == nil ) then len = msg:len(); for i=1, len do local l_char = msg:byte(i) memoryWriteByte(proc, address + i, l_char) end memoryWrit...