Packets/SupTypes

02/20/2011 20:27 { Angelius }#1
PHP Code:
PacketHandler
Case 
1009:
{
byte Action Data[12];
switch (
Action)
{
case 
32:// this suptype is being sent whenever i click the redeem button inside the Redeem Items Box
// case33:this is the To Claim Box 
{
uint ItemID BitConverter.ToUInt32(Data4);

//Action = 32 in this case 
//and lets say the stupid itemID = 1

//when i send a packet from here something like 
this.Send.ItemPacket(ItemID032));//ID // Position // Type
//the packet must look/remove the item where the item id == 1 
//just like when i send the same packet to remove an item from the player inventory 
//cept that i changed the type from 3 to 32 .

//the packet Does do the same thing ?
//i mean is it gonna remove the item ?
}
}
break;

i do understand stuff that comes out of the client but not what should be sent in order to have the client responding
what im trying to do here is to remove the claimed items out of the Prize To claim box depending on the itemID

but whenever i send the packet all im getting is a quick small flashing light around the item like

{YEAH YOU DID POKE ME BUT IM NO MOVING} and thats all i just need a way to remove the item but the way im doing it is not changing any shit :

so i really need to know How to Remove/Update that box or How To Deal With those packets/Suptypes in order to understand what i need to send to the client .
02/21/2011 11:06 12tails#2
did you tried to make a command that send the same packet with different subtypes??
02/21/2011 13:24 { Angelius }#3
uh huh but like i said nothing happens.
i can send the item to the box but i dont know how to clear it .
02/21/2011 14:03 12tails#4
same problem as me.... and i don't have how to sniff that shit... : /
02/21/2011 14:32 Korvacs#5
Create a command that accepts the information that you want to send in the packet, and then populate the packet based on the info you send in the command, and then use trial and error untill you hit the right subtype.

Or record the packets on official CO using a proxy.
02/21/2011 18:58 { Angelius }#6
Quote:
Originally Posted by Korvacs
Or record the packets on official CO using a proxy.
sounds good but if you can point out one of the working proxy's that wold be great .

all i know is the packets that im sending to add the lost/to be claimed item to the redeem/claim boxes is being stored somewhere and once i add the items there is no need to send them again

but How do i delete them thats what i dont understand i can update the items tho

like the days left/cps worth/replacing the item with the cps bag..etc etc but the deleting thing I Have NO idea .
02/21/2011 19:13 Korvacs#7
If you cant find/make a working proxy then use the command, it doesnt take long to find what your looking for, if each subtype takes you 5 seconds to figure out what it does then your looking at less than 3 minutes to check 30 subtypes.
02/21/2011 21:13 pro4never#8
Quote:
Originally Posted by { Angelius } View Post
sounds good but if you can point out one of the working proxy's that wold be great .

all i know is the packets that im sending to add the lost/to be claimed item to the redeem/claim boxes is being stored somewhere and once i add the items there is no need to send them again

but How do i delete them thats what i dont understand i can update the items tho

like the days left/cps worth/replacing the item with the cps bag..etc etc but the deleting thing I Have NO idea .
I released a full C# proxy source code that works on current patch and still contains basically all the packets you'd ever want for botting functionality and a copy of tannels packet sniffing code that dumps packets in a handy format to a text file.

So yahhhh....


Or you could use the sexy hooking code released by hawtness if you wanted to try memory based packet sniffing xD
02/21/2011 22:22 12tails#9
Lol... if you just use the proxy released by pro4ever it works VERY fine... you just need to change some little things and TADAM! ^^
02/21/2011 23:42 _tao4229_#10
suptypes
my new favorite word.
02/23/2011 07:46 { Angelius }#11
Quote:
Originally Posted by 12tails View Post
Lol... if you just use the proxy released by pro4ever it works VERY fine... you just need to change some little things and TADAM! ^^
how the fu$k does it work VERY FINE huh i changed the libeay32, Native, Ports, IP's, etc and TADAM nothing happens everytime i try to connect all im getting is the server meant .

and lmfao sounds like ppl doesnt like to be poked now days . or maybe there looking for the kisses azz ppl to big for shit or whatever .
02/23/2011 22:00 KraHen#12
If for some unknown(:awesome:) reason that doesn`t work, you can always use cooperative to log the packets. And IAmHawtness released a nice library which allows you to do your own in case something is changed by TQ.

So... umm... yeah.