Search found 4499 matches

by Administrator
Fri Oct 17, 2008 2:14 am
Forum: MicroMacro general & support
Topic: ControlClick
Replies: 10
Views: 3262

Re: ControlClick

I have just recently added this, but it needs some testing. In my tests, it was able to send mouse input to Metin 2 without stealing focus. Should work, but it's best to make sure. It will not try to use SendInput when the application has focus, so make sure the program will allow for attached input...
by Administrator
Fri Oct 17, 2008 12:31 am
Forum: MicroMacro scripts
Topic: Holic bot
Replies: 35
Views: 14808

Re: Holic bot

Holic bot FAQ How do I setup my skills? Open options.lua in notepad. You will need to add the skill to a usable skill list using the addSkill() function. The first parameter is the skill itself, and the second is the hotkey of the skill. There should already be a few skills listed as an example (fo...
by Administrator
Fri Oct 17, 2008 12:06 am
Forum: MicroMacro scripts
Topic: Holic bot
Replies: 35
Views: 14808

Holic bot

Holic Online - http://holic.netgame.com/ Requirements: MicroMacro 0.98, Oct. 16, 2008 Not sure if your version of MicroMacro will work? Check the changelog to see if your version has the binary operator substitutes AND() and OR(). Features: Can use potions Can use skills/buffs Can unstuck itself on ...
by Administrator
Mon Oct 13, 2008 11:15 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 224467

Re: Shaiya bot

You're sitting because you have less than 150% HP. The variables you are supposed to set are by percent, not absolute values.
by Administrator
Mon Oct 13, 2008 6:18 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 224467

Re: Shaiya bot

For how long does it sit? How much health (in percent) do you have? What have you configured the bot to sit at?
by Administrator
Mon Oct 13, 2008 2:16 am
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 224467

Re: Shaiya bot

Did you follow the instructions and set up your hotkeys correctly?
by Administrator
Sun Oct 12, 2008 8:07 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 224467

Re: Shaiya bot

No, I mean modify that function to remove the readtype like I showed in my example. And if you removed that, it could not have given the same error.
by Administrator
Sun Oct 12, 2008 7:23 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 224467

Re: Shaiya bot

Wrong script. This thread is not for Shaiya bot v2. I believe you did not include some addresses that that script needed. Or, at least, had them wrongly named. The error is coming from this line: local readtype = memoryReadByte(proc, targettype_addr); You should be able to work around this just by r...
by Administrator
Sun Oct 12, 2008 5:45 pm
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 224467

Re: Shaiya bot

Offsets changed. Try these: ------------------------------------------------ -- Memory addresses ------------------------------------------------ playerptr_addr = 0x0081CBEC; HP_offset = 0x12C; MaxHP_offset = 0x130; MP_offset = 0x134; MaxMP_offset = 0x138; SP_offset = 0x13C; MaxSP_offset = 0x140; ta...
by Administrator
Sun Oct 12, 2008 5:26 pm
Forum: MicroMacro scripts
Topic: Perfect World bot & multi-client
Replies: 53
Views: 28811

Re: Perfect World bot & multi-client

Is there any protection on the client? Is the window name changed? Do you have any other windows opened with a similar name?

Code: Select all

win = select_window("Element Client");
by Administrator
Sun Oct 12, 2008 3:17 am
Forum: MicroMacro scripts
Topic: Perfect World bot & multi-client
Replies: 53
Views: 28811

Re: Perfect World bot & multi-client

I would assume that the target offset has changed. Try adding some debug information, like so: if( keyPressed(key.VK_INSERT) ) then -- add this. if( have_target() ) then printf("Have target\n"); else printf("Do not have target\n"); end if( lastinsertpress == false and have_target...
by Administrator
Sun Oct 12, 2008 3:12 am
Forum: MicroMacro general & support
Topic: Shaiya - WayPoint System
Replies: 28
Views: 10501

Re: Shaiya - WayPoint System

One thing I did was to constantly check your X,Y coordinates against previous (say, half a second ago) coordinates. If they do not differ by some amount, then assume the character is stuck. Depending on the situation, it would construct a set of temporary waypoints around the obstruction. Pretty muc...
by Administrator
Sun Oct 12, 2008 12:08 am
Forum: MicroMacro scripts
Topic: Perfect World bot & multi-client
Replies: 53
Views: 28811

Re: Perfect World bot & multi-client

Are you sure it's the exact same monster (ie. is the respawn of the exact monster you killed, and not just the same type)? Target ID probably changed, then.
by Administrator
Sat Oct 11, 2008 9:41 pm
Forum: MicroMacro scripts
Topic: Perfect World bot & multi-client
Replies: 53
Views: 28811

Re: Perfect World bot & multi-client

Find your HP. Then check what accesses the pointer. You'll see the offset(1104) and the probable pointer (see my tutorial for screenshots on this). Search for that pointer (and make sure you're searching for hex, 4 bytes). This may turn up many results, but just about any of them should do. Now use ...
by Administrator
Sat Oct 11, 2008 8:29 pm
Forum: MicroMacro scripts
Topic: Perfect World bot & multi-client
Replies: 53
Views: 28811

Re: Perfect World bot & multi-client

You just need to find the static base pointer. Start by finding your HP. Then find the pointer to it (this will be a pointer to the character class + HP offset). Now find the pointer to that, and this will be the static base. Unless there was some big changes, the offsets should all be the same. So ...
by Administrator
Fri Oct 10, 2008 11:06 pm
Forum: MicroMacro general & support
Topic: Shaiya - WayPoint System
Replies: 28
Views: 10501

Re: Shaiya - WayPoint System

Could you provide a link to these maps? They might be of some assistance here (depending on how detailed zero plans to make his waypoint system).
by Administrator
Fri Oct 10, 2008 4:31 pm
Forum: MicroMacro scripts
Topic: Shaiya - ZS Shaiya Bot
Replies: 77
Views: 35533

Re: Shaiya - ZS Shaiya Bot

It looks like zerosignal is still working with Shaiya, so hopefully he'll be willing to share the new addresses/pointers/offsets. Or maybe his bot is a whole new rewrite.
by Administrator
Fri Oct 10, 2008 5:11 am
Forum: MicroMacro general & support
Topic: Shaiya - WayPoint System
Replies: 28
Views: 10501

Re: Shaiya - WayPoint System

Wow. This is incredibly similar to my Holic code. Though, mine has quite a bit more advanced AI built into it (ie. constructing detour paths around obstructions) (which is not necessarily a good thing; as it just seems to keep giving me more bugs to work out). Well, you already solved it, but here's...
by Administrator
Fri Oct 10, 2008 5:07 am
Forum: Everything else
Topic: Shaiya bot
Replies: 432
Views: 224467

Re: Shaiya bot

Are you guys certain that you have got the latest GameGuard patch (installed correctly), and that you are using the latest version of the script that I posted? I guess I'll probably have to look at it myself when I get some free time.
by Administrator
Thu Oct 09, 2008 10:06 pm
Forum: MicroMacro general & support
Topic: Include enquiry...
Replies: 1
Views: 1438

Re: Include enquiry...

Yes. Lua can be strange when it comes to prototyping functions, so I would suggest NOT creating a default mainloop() and to do exactly like in your own example.