Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2
You last visited: Today at 15:36

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



packets VB sacob could use some help^^

Discussion on packets VB sacob could use some help^^ within the Conquer Online 2 forum part of the MMORPGs category.

Reply
 
Old 10/09/2007, 18:51   #16
 
elite*gold: 0
Join Date: Aug 2007
Posts: 49
Received Thanks: 12
Yes.
flowerpot! is offline  
Thanks
1 User
Old 10/09/2007, 18:53   #17
 
elite*gold: 0
Join Date: Aug 2007
Posts: 295
Received Thanks: 89
Quote:
Originally Posted by Real~Death View Post
when acepting trades or team invite or team join,do you have to use the targets accid?
I think so, I've not needed to look into these packets yet as I'm not adding a bot to my proxy, however it's easy to test...log on using a proxy (crack/venom) and find your accid, write it down and log in the proxy with another character, then send a trade request/team invite from the character whos packet you just logged to your other character, log that packet and compare (look for the other accounts id in the packet).
Some-Guy is offline  
Thanks
1 User
Old 10/09/2007, 19:10   #18
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
Quote:
Originally Posted by Some-Guy View Post
I think so, I've not needed to look into these packets yet as I'm not adding a bot to my proxy, however it's easy to test...log on using a proxy (crack/venom) and find your accid, write it down and log in the proxy with another character, then send a trade request/team invite from the character whos packet you just logged to your other character, log that packet and compare (look for the other accounts id in the packet).
yeah i know.The part that i need to figure out is the command in vb to use(to use my acount its accid,i havent found out what to use for player acounts)lol i need to quit being lazy and see what i can do,before i start complaining here-my own fault
Real~Death is offline  
Old 10/09/2007, 23:09   #19
 
elite*gold: 0
Join Date: Aug 2007
Posts: 295
Received Thanks: 89
Quote:
Originally Posted by Real~Death View Post
yeah i know.The part that i need to figure out is the command in vb to use(to use my acount its accid,i havent found out what to use for player acounts)lol i need to quit being lazy and see what i can do,before i start complaining here-my own fault
Other players account IDs are included in any movement/appear/attack packets that involve them (when they are close enough to see, you receive an information packet containing their name, equipment, pk points and any other information the client needs) and also you could do something like:

'Under the received packet analysis function

case "Whatever the trade packet id is" 'Upon receiving a trade request
If AcceptTrades = True then
'ID = mid(packet, "Whatever byte the players id is", 4)
Call AcceptTrade(ID)
End If


Where accept trade would send the packet with the player tradings ID.

Function AcceptTrade(ID as string)
GSend makehex2("Put relevent packet here")
'Not sure how the packet is formed but it's likely something like:
' "0C 00 20 04 " & txa & accid & ID & " 01 00 00 00"
'But ID could be somewhere else in the packet
End Function

To find out where in the packet the ID of the player trading you is, use the method I mentioned before and check with your own characters.
Some-Guy is offline  
Thanks
1 User
Old 10/10/2007, 09:50   #20
 
elite*gold: 0
Join Date: Jan 2007
Posts: 246
Received Thanks: 40
The bot already joins in team so the "team join" packet is in the code. Just go to the form options press twice at the little auto team button, then search for the name that comes up and you should see the code.
MrGenious is offline  
Thanks
1 User
Old 10/10/2007, 10:56   #21
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
do i use this or am i way off? asc2hex(pid)
Real~Death is offline  
Old 10/10/2007, 15:01   #22
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
i still have some stuff to learn so i skiping trade/team stuff for now.
now how do i send 2 packets one after another(TG NPC for example-10 00 EF 07 5D 99 01 00 00 00 00 00 00 00 00 00 -to talk to him -10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00 -to enter i tryed
Private Sub TG_Click()
'10 00 EF 07 5D 99 01 00 00 00 00 00 00 00 00 00
'10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00
gsend (MakeHex2("10 00 EF 07 5D 99 01 00 00 00 00 00 00 00 00 00"))
gsend (MakeHex2("10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00"))
End Sub
and i dont belive it worked

and most npc's have the same 2nd packet except for the 9th byte(9th or 10th 0.o)so being able to snd 1 then the other would be nice cus im using 2 button atm
Real~Death is offline  
Old 10/10/2007, 15:43   #23
 
elite*gold: 0
Join Date: Jan 2007
Posts: 246
Received Thanks: 40
for the playername itself if u want, not the unique id it is "name1", just search for it in the project to get some exampels. for trade stuff it is "pid"
If you are talking about unique id it's the accid. Acctually there are many of them anyway.
And about TG NPC 0x7EF packet for clicking him, the bytes 4,5,6,7 are the bytes for the npcid. Let me test it on proxy. Okeey how did u get a weird packet like that??? ur 0x7f0 packet is waaay off.

try 1d 00 f0 07 00 00 00 00 00 00 00 02 01 0c 59 65 73 2c 7e 70 6c 65 61 73 65 2e 00 00 00

where byte 10 is 00 for accepting and ff for not accepting. Byte 13 for the length/string of the text and byte 14 + b[13] for the text. Just incase you wanted to know lol. And I hope u know b[13] is in java, you could type
text_len = Asc(Mid(str, 14, 1))
Text = Mid(str, 15 , text_len)
where 14 tells where it is located, it is string 14 and byte 13 byte always 1 less since byte starts at 0

and for the 1 it is how many strings/bytes it is written on, and since it is the byte that says the length it is only 1 while for the text you need to add the number from byte 13 in order for it to count the whole text. Hope it helps
MrGenious is offline  
Thanks
1 User
Old 10/10/2007, 15:55   #24
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
Quote:
Originally Posted by MrGenious View Post
And about TG NPC 0x7EF packet for clicking him, the bytes 4,5,6,7 are the bytes for the npcid. Let me test it on proxy. Okeey how did u get a weird packet like that??? ur 0x7f0 packet is waaay off.
Private Sub TG1_Click()
'10 00 EF 07 5D 99 01 00 00 00 00 00 00 00 00 00
gsend (MakeHex2("10 00 EF 07 5D 99 01 00 00 00 00 00 00 00 00 00"))
End Sub
-------------------------------------------------------------
Private Sub tg2_Click()
'10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00
gsend (MakeHex2("10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00"))
End Sub

i used crack and it works but i only want to have 1 button and not 2(the first talks to him the second lets him in to TG)
i have to do the same thing for most npc(1 to talk ,1 to pick what i want to do )

thanks
Real~Death is offline  
Old 10/10/2007, 17:03   #25
 
elite*gold: 0
Join Date: Jan 2007
Posts: 246
Received Thanks: 40
actually u can make it 1 button like this

Private Sub TG1_Click()
'10 00 EF 07 5D 99 01 00 00 00 00 00 00 00 00 00
gsend (MakeHex2("10 00 EF 07 5D 99 01 00 00 00 00 00 00 00 00 00"))

'10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00
gsend (MakeHex2("10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00"))

'10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00
gsend (MakeHex2("10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00"))
End Sub

and uhm u gotta put 3 of thoose option 1s for a lvl <20 person.

Cause 10 00 F0 07 00 00 00 00 00 00 00 65 00 00 00 00 means option 1 and 10 00 F0 07 00 00 00 00 00 00 ff 65 00 00 00 00 means option 2 to the right and then 10 00 F0 07 00 00 00 00 00 00 01 65 00 00 00 00 means option 3 to the left bottom, this is in a npc talk window that is, and since you have to press twice on option 1 to get in tg well you get it.
MrGenious is offline  
Thanks
1 User
Old 10/10/2007, 20:38   #26
 
elite*gold: 0
Join Date: Jan 2006
Posts: 424
Received Thanks: 73
After reading all this I see myself as the little noob I am (in Programing I mean). I need Pointers on where to start. I already started studying C++ (as hinted by some programers in this forus) but I am still starting, what else would I need so I start getting the material. I don't know anything about packets, what are the materials or courses that I need to study.
So to be able to examine, Modify or even better create packet Based Bots I need to study C++ & ?? what exactly. Please Don't ignore This I am smart and If I got my feet in this I will be a strong helper here indeed.
raptordin is offline  
Old 10/10/2007, 20:47   #27
 
elite*gold: 0
Join Date: Jan 2007
Posts: 246
Received Thanks: 40
why did you add xjx & xjy twice? Copy paste the packet structure cant go in now and logg packets.
and you sure g_accid is working? maybe you should use accid, same the you used for walk/run.

I think your packet is wronh not sure though.
Isn't it supposed to be for bytes 12,13 for x and 14,15 for y, that are the bytes you are jumping TO and then 16,17 x2 and 18,19 y2 which are the cords you are jumping FROM.

but yours might work I haven't logged any packets or checked anything.

logg 0x3f2 when you jump once and copy paste the packet structure here and I will have a look.
MrGenious is offline  
Thanks
1 User
Old 10/10/2007, 20:54   #28
 
elite*gold: 0
Join Date: Jan 2007
Posts: 246
Received Thanks: 40
Quote:
Originally Posted by raptordin View Post
After reading all this I see myself as the little noob I am (in Programing I mean). I need Pointers on where to start. I already started studying C++ (as hinted by some programers in this forus) but I am still starting, what else would I need so I start getting the material. I don't know anything about packets, what are the materials or courses that I need to study.
So to be able to examine, Modify or even better create packet Based Bots I need to study C++ & ?? what exactly. Please Don't ignore This I am smart and If I got my feet in this I will be a strong helper here indeed.
Don't learn C++ learn C#, but you should probabley start with java since QOProxy is written in it. Just get a source of the QOProxy, old new whatever and learn using the filter function or any other program that has the filter function and read the packets. Also learn how bytes are in a packet structure and read trough the whole QOProxy source, I would start reading the PacketTypes. And don't try VisualBasic :P it sucks you don't want to program in this ****. I just did it for fun to fix the program and now ive fixed it and done everything to it and I say, screw it. But you know what? You could start out with VB aswell it's totaly a beginner language, but I myself as a person wouldn't waste time on it anyway, that is my 2 cents.
MrGenious is offline  
Thanks
2 Users
Old 10/10/2007, 21:53   #29
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
Quote:
Originally Posted by raptordin View Post
After reading all this I see myself as the little noob I am (in Programing I mean). I need Pointers on where to start. I already started studying C++ (as hinted by some programers in this forus) but I am still starting, what else would I need so I start getting the material. I don't know anything about packets, what are the materials or courses that I need to study.
So to be able to examine, Modify or even better create packet Based Bots I need to study C++ & ?? what exactly. Please Don't ignore This I am smart and If I got my feet in this I will be a strong helper here indeed.
this is my first attempt at VB,or realy any programing(i screwed with java a little bit but nothing like this)its not as hard as it looked at first and the ppl here are helpful,and making it easy to learn and understand what's going on jump on in and give it a try
Real~Death is offline  
Old 10/10/2007, 21:59   #30
 
Real~Death's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
Quote:
Originally Posted by MrGenious View Post
why did you add xjx & xjy twice? Copy paste the packet structure cant go in now and logg packets.
and you sure g_accid is working? maybe you should use accid, same the you used for walk/run.

I think your packet is wronh not sure though.
Isn't it supposed to be for bytes 12,13 for x and 14,15 for y, that are the bytes you are jumping TO and then 16,17 x2 and 18,19 y2 which are the cords you are jumping FROM.

but yours might work I haven't logged any packets or checked anything.

logg 0x3f2 when you jump once and copy paste the packet structure here and I will have a look.
Wow i had it up for a 3 minutes before i seen the mistake,and deleted my post,thanks for seeing it anyway.well that was just a copy and past from crack(thats where the g_accid came in).my guess,it was old and dident work cus it wouldent work even using it in crack,but it is a cool feture and walking through portals dont work for me so far(so jumping is needed i guess),im planing on figuring it out soon thanks
Real~Death is offline  
Reply


Similar Threads Similar Threads
All Packets
08/21/2009 - CO2 Private Server - 7 Replies
Well people have been asking me on MSN alot what packets represent what well heres all of them in my lotf source public enum GuildType : int { Join = 1, Invite = 2, Quit = 3, Info = 6, Allied = 7, Neutral = 8,
Packets.
07/28/2009 - CO2 Private Server - 14 Replies
Im wondering if anyone would be so kind as to teach me how to Update a server, such as hybrids, to a Newer patch, or to an older one(if possible). If you could help it would be great.:handsdown:
sacob
04/07/2008 - CO2 Exploits, Hacks & Tools - 59 Replies
SACOB - stand alone conquer online bot http://img112.imageshack.us/img112/3424/sacobsmal lif1.jpg ------- sacob source (filefactory) this is a no feature version of the stand alone bot
packets
09/14/2007 - Dekaron - 6 Replies
By the way if anyone wants to play with packets here is a good site to get started with. http://sectools.org/packet-crafters.html and look around the site good stuff. please note I'm not advertising since I don't own or belong to that site, but it is filled with useful tools that I'm sure many can use and appreciate. Enjoy =D



All times are GMT +1. The time now is 15:36.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.