Sending Packets

12/22/2010 16:07 alienpw#166
I finally manage to get it work :D
Yeah, the client happen to crashed before.
A bit work looking around for the problem, I found that the problem was the SendFuncAddr.

Anyway, I tried to read what packet the client actually send to SendFuncAddr. Reading the opcode you wrote, I see that the pointer for packet was put in register EDI. So, using Cheat Engine, I make a breakpoint at SendFuncAddr. Read the value in register EDI and see what's in that offset. I tried to select a random npc, but there's nothing started with "0200" at the offset pointed by register EDI. It makes me wonder, do I understand it wrong?

--Edited--
Found the answer on this post

[Only registered and activated users can see links. Click Here To Register...]
12/22/2010 23:01 titties#167
Hello interest07 I love that you've found out how to packet in pw properly with talking to npcs etc. Now your wqbot is in ahk do you think it would be possible to make an auto it script utilizing packets to talk to an npc. The reason I ask is that Prophet bot has everything "bot" wise that it needs EXCEPT looping so if we could simply talk to an npc and utilize the repair function that is all that is missing.

Thanks in advance for your feedback/advise/code
12/23/2010 00:34 PW-Prophets#168
Quote:
Originally Posted by titties View Post
Hello interest07 I love that you've found out how to packet in pw properly with talking to npcs etc. Now your wqbot is in ahk do you think it would be possible to make an auto it script utilizing packets to talk to an npc. The reason I ask is that Prophet bot has everything "bot" wise that it needs EXCEPT looping so if we could simply talk to an npc and utilize the repair function that is all that is missing.

Thanks in advance for your feedback/advise/code
Hello we are currently sending out a Pre-Release copy of "Prophet Bot Unleashed" to the emails of users that have donated. The official release will be some time in the fall.

Features of the Pre-Release are:

ApothocaryRail-Can set up a rail to walk back to npc and it will repair all items then walk back to hunting ground.

SupportsAirMobs-will move to monster/loot correctly(does not support res on die yet)

GathersResorces-Will gather herbs/resorces in the radius you set

MoveBackToHomeXYX- If no monsters moves back to homepointXYandZ.

NewSelectMonsterFunction-Does not use tab anymore to select monster. Faster monster selection.

NewLootFunction- Knows how many items dropped.Does not move to corpse if there is no loot.

We would like to thank Intrest07 for all these packet functions and all the great help. Lolkop for alot of information provided that has made Prophet Bot Unleashed what it is today.

Prophet 2
12/23/2010 09:08 Interest07#169
Quote:
Originally Posted by titties View Post
Hello interest07 I love that you've found out how to packet in pw properly with talking to npcs etc. Now your wqbot is in ahk do you think it would be possible to make an auto it script utilizing packets to talk to an npc. The reason I ask is that Prophet bot has everything "bot" wise that it needs EXCEPT looping so if we could simply talk to an npc and utilize the repair function that is all that is missing.

Thanks in advance for your feedback/advise/code
The first post of this thread contains a lot of AutoIt code for sending packets (including some of the most used NPC actions). You should be able to talk to NPCs and buy/sell/repair/bank using the packets in the first post :)

Then again, you can wait for prophet's new release, I've seen it in action (or at least, a newer version) which does improve a whole lot on the old bot ;)
12/23/2010 14:59 alienpw#170
Interest07,
I've read your post about moving vertical using sendpacket. I wondering if this can be achieved using Action structure. If it can, would you please show me how?
So far, using Action structure, I only able to move my char in horizontal (X, Z), but not the vertical (Y)
12/23/2010 18:15 Interest07#171
Quote:
Originally Posted by alienpw View Post
Interest07,
I've read your post about moving vertical using sendpacket. I wondering if this can be achieved using Action structure. If it can, would you please show me how?
So far, using Action structure, I only able to move my char in horizontal (X, Z), but not the vertical (Y)
You can't use actionstruct for going straight up, besides setting it to slowly climb to bigger heights as far as i know.
12/26/2010 18:33 cherryboy01#172
i how to record packet ??help thx...>no WPe pro another program plz help thx...<
01/05/2011 09:57 series99#173
guys any ways to get the value of chat box in perfect world? The WC etc. i am planning to make an anti G M bot which first need to read the texts in normal chat and pms. Any idea what programs shld i use? Autoit cant read texts in a window
01/05/2011 19:05 Interest07#174
Quote:
Originally Posted by series99 View Post
guys any ways to get the value of chat box in perfect world? The WC etc. i am planning to make an anti G M bot which first need to read the texts in normal chat and pms. Any idea what programs shld i use? Autoit cant read texts in a window
yeah, you can find the chat in memory :) Just do it in whatever program you do your bot in.
01/06/2011 05:39 Harvknight#175
Hi Interest07,

Thanks for this post, I'm new in bot things. For now I'm just doing memory based bot for other game using autoIt. I also know how to program with C#.

Now I can figure out how to send packet to the game function directly. But the hardest part for me is to find the function that use for sending raw packet before encryption. I'm trying to find it using ollydgb and MHS but still couldn't find where the function is.

Do you have any reference or how to make this easier?

Thanks again for your time for this wonderful thread :)
01/06/2011 07:22 Interest07#176
In my WQ bot thread theres an offset finder that should find it for you, also the third post in there is a 'guide' on how to find it. But that's cheating a little as it isn't the normal way you'd find it. If you want to find it the old fashioned way; open elementclient.exe with IDA pro. Look for imports -> __imp_send, then trace your way back up using XREFs.

Quote:
Originally Posted by Harvknight View Post
Hi Interest07,

Thanks for this post, I'm new in bot things. For now I'm just doing memory based bot for other game using autoIt. I also know how to program with C#.

Now I can figure out how to send packet to the game function directly. But the hardest part for me is to find the function that use for sending raw packet before encryption. I'm trying to find it using ollydgb and MHS but still couldn't find where the function is.

Do you have any reference or how to make this easier?

Thanks again for your time for this wonderful thread :)
01/06/2011 07:43 Harvknight#177
@Interest07

Ok.. I will try it. Thanks for your suggestion.
01/11/2011 06:39 akupanda#178
Can we send the package to change the gold that is on our bankers with auto id
01/11/2011 06:51 akupanda#179
Will you give me the source code program that you created, such as bot program that you created
01/11/2011 06:52 akupanda#180
Will you give me the source code program that you created, such as bot program that you created