|
You last visited: Today at 14:46
Advertisement
[Teaching Units] ProxyParadise! A step by step proxy tutorial!
Discussion on [Teaching Units] ProxyParadise! A step by step proxy tutorial! within the CO2 Programming forum part of the Conquer Online 2 category.
07/17/2011, 20:05
|
#91
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
I really hope it doesn't come to anything like that. I have and still do enjoy this site. I'd say not to over-react and see what changes ACTUALLY happen.
Quote:
Originally Posted by [GM]
the progress is good so far i have added the DMap handler, Calculations etc
what is ******* me off is i want to make a button to start hunting/mining but its always saying that event handler doesn't have a definition for Hunting/Mining and a button change its name from start to stop instead of making two buttons for it
i hope u got my point 
|
it should be fairly simple to do.
If you look at how I wrote the latest version of the framework you'll notice that the GUI has a instance of GameUser known as selectedChar. You can use that to control the hunting state via a button on the gui.
here's a simple example...
under GameUser
public bool Hunting = false;
under GUI (after creating a button called btnHunting)
Code:
private void btnHunting_Click(object sender, EventArgs e)
{
selectedChar.Hunting = !selectedChar.Hunting;
btnHunting.Text = selectedChar.Hunting.ToString();
}
Something like that should work just fine.
|
|
|
07/18/2011, 05:55
|
#92
|
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
|
something weird with my code, it doesn't drop the ore
so is there is anything wrong with it? or maybe the packet itself ?
Code:
PHP Code:
public static bool Mining(GameUser G) { if (!G.Mining) { if (G.LastDropped.AddSeconds(15) < DateTime.Now) { foreach (Items.ItemInfo I in G.Inventory.Values) { if (Handler.IsOre(I.ID)) { G.LastDropped = DateTime.Now; Packets.DropItem(G, I.UID); Console.WriteLine("Dropped an ore....."); break; } } } } return true; }
Packet:
PHP Code:
public static void DropItem(GameUser G, uint P) { try { byte[] Pack = new byte[80 + 8]; WriteUInt16(80, 0, Pack); WriteUInt16(1009, 2, Pack); WriteUInt32(P, 4, Pack); WriteUInt32((uint)Program.Rand.Next(0, 9), 8, Pack); WriteUInt32(37, 12, Pack); WriteUInt32(GetStamp(G), 16, Pack); WriteString("TQClient", 80, Pack); G.ToServerQueue.Enqueue(Pack); } catch { } }
|
|
|
07/18/2011, 06:02
|
#93
|
elite*gold: 0
Join Date: Sep 2006
Posts: 774
Received Thanks: 8,580
|
The rand isn't needed, just put 0
|
|
|
07/18/2011, 06:06
|
#94
|
elite*gold: 0
Join Date: Apr 2007
Posts: 223
Received Thanks: 30
|
Quote:
Originally Posted by [GM]
something weird with my code, it doesn't drop the ore
so is there is anything wrong with it? or maybe the packet itself ?
Code:
PHP Code:
public static bool Mining(GameUser G)
{
if (!G.Mining)
{
if (G.LastDropped.AddSeconds(15) < DateTime.Now)
{
foreach (Items.ItemInfo I in G.Inventory.Values)
{
if (Handler.IsOre(I.ID))
{
G.LastDropped = DateTime.Now;
Packets.DropItem(G, I.UID);
Console.WriteLine("Dropped an ore.....");
break;
}
}
}
}
return true;
}
Packet:
PHP Code:
public static void DropItem(GameUser G, uint P)
{
try
{
byte[] Pack = new byte[80 + 8];
WriteUInt16(80, 0, Pack);
WriteUInt16(1009, 2, Pack);
WriteUInt32(P, 4, Pack);
WriteUInt32((uint)Program.Rand.Next(0, 9), 8, Pack);
WriteUInt32(37, 12, Pack);
WriteUInt32(GetStamp(G), 16, Pack);
WriteString("TQClient", 80, Pack);
G.ToServerQueue.Enqueue(Pack);
}
catch { }
}
|
looks like you are moving right along on the bot i am still reading some post on how to do all the packet stuff haha
|
|
|
07/18/2011, 06:09
|
#95
|
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
|
Quote:
Originally Posted by Synsia
The rand isn't needed, just put 0
|
so it should be like this ?
PHP Code:
public static void DropItem(GameUser G, uint P)
{
try
{
byte[] Pack = new byte[80 + 8];
WriteUInt16(80, 0, Pack);
WriteUInt16(1009, 2, Pack);
WriteUInt32(P, 4, Pack);
WriteUInt32((uint)Program.Rand.Next(0, 0), 0, Pack);
WriteUInt32(37, 12, Pack);
WriteUInt32(GetStamp(G), 16, Pack);
WriteString("TQClient", 80, Pack);
G.ToServerQueue.Enqueue(Pack);
}
catch { }
}
|
|
|
07/18/2011, 06:17
|
#96
|
elite*gold: 0
Join Date: Sep 2006
Posts: 774
Received Thanks: 8,580
|
Code:
WriteUInt32(0, 8, Pack);
Don't use rand at all.
|
|
|
07/18/2011, 08:42
|
#97
|
elite*gold: 0
Join Date: Jun 2007
Posts: 1,272
Received Thanks: 246
|
Quote:
Originally Posted by IAmHawtness
Is this a fucking joke or what?
|
Quote:
Originally Posted by pro4never
Nope... I talked to korv for about an hour on msn and the reason for the rule is that they feel it will lead to tq changing the encryption again and therefor any examples or information related to it is banned..... but the kicker is that this rule applies to not only encryption
For example... if people switch to hook based bots instead and they become popular... those will be banned.
I've pm'd an admin and been talking to korv so we'll see where this goes but I'm... not pleased.
|
If they are blocking open source and information exchanges,This site went to hell...
Seriously WTF happened?
Hey Korv does this have anything to do with CoFarmer getting more subscription by killing free bots?I know your A mod there and hope this isnt just A bad business practice.I respect you and everything....but yeah what the hell?
I buy CoF no problem with that but come.NO reason to block information or open source projects.
anyway ...
+1 to you pro4never
|
|
|
07/18/2011, 10:03
|
#98
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by Real~Death
If they are blocking open source and information exchanges,This site went to hell...
Seriously WTF happened?
Hey Korv does this have anything to do with CoFarmer getting more subscription by killing free bots?I know your A mod there and hope this isnt just A bad business practice.I respect you and everything....but yeah what the hell?
I buy CoF no problem with that but come.NO reason to block information or open source projects.
anyway ...
+1 to you pro4never
|
It wont be discussed in public, sorry.
But to answer your question no, since i dont benefit in the slightest from being a moderator on CoFarmer.
|
|
|
07/18/2011, 11:49
|
#99
|
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
|
i have made the hunting/looting code but i just need the packets
ur packet logger doesn't sniff packets, so i used wpe pro to sniff
Code:
1 5.195.192.236:54047 5.195.192.236:5816 45 Send
0000 D3 15 DC 82 03 98 9E 72 35 71 C4 23 B7 2A DC 18 .......r5q.#.*..
0010 16 87 AD D1 99 63 76 4B 49 3D CC DA 30 8E 37 88 .....cvKI=..0.7.
0020 DD 25 FD D0 68 74 6D 45 49 A7 E4 53 6F .%..htmEI..So
how can i turn this packet into something like this ?
Code:
byte[] Jump = new byte[37 + 8];
WriteUInt16(37, 0, Jump);
WriteUInt16(10010, 2, Jump);
WriteUInt32(GameUser.UID, 4, Jump);
WriteUInt16(ToX, 8, Jump);
WriteUInt16(ToY, 10, Jump);
WriteUInt32(GetStamp(GameUser), 16, Jump);
WriteUInt32(137, 20, Jump); ;
WriteUInt16(GameUser.X, 24, Jump);
WriteUInt16(GameUser.Y, 26, Jump);
WriteUInt16(GameUser.Map, 28, Jump);
WriteString("TQClient", 37, Jump);
ToServer(Jump, GameUser);
GameUser.LastJump = DateTime.Now;
i have read a lot of guides including yours, but i can't really
|
|
|
07/18/2011, 13:13
|
#100
|
elite*gold: 0
Join Date: Apr 2007
Posts: 223
Received Thanks: 30
|
how do you change the "no name" to the actual character name ? or do i gotta write up some code for it to actual do that
|
|
|
07/18/2011, 14:40
|
#101
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
|
Quote:
Originally Posted by [GM]
i have made the hunting/looting code but i just need the packets
ur packet logger doesn't sniff packets, so i used wpe pro to sniff
Code:
1 5.195.192.236:54047 5.195.192.236:5816 45 Send
0000 D3 15 DC 82 03 98 9E 72 35 71 C4 23 B7 2A DC 18 .......r5q.#.*..
0010 16 87 AD D1 99 63 76 4B 49 3D CC DA 30 8E 37 88 .....cvKI=..0.7.
0020 DD 25 FD D0 68 74 6D 45 49 A7 E4 53 6F .%..htmEI..So
how can i turn this packet into something like this ?
Code:
byte[] Jump = new byte[37 + 8];
WriteUInt16(37, 0, Jump);
WriteUInt16(10010, 2, Jump);
WriteUInt32(GameUser.UID, 4, Jump);
WriteUInt16(ToX, 8, Jump);
WriteUInt16(ToY, 10, Jump);
WriteUInt32(GetStamp(GameUser), 16, Jump);
WriteUInt32(137, 20, Jump); ;
WriteUInt16(GameUser.X, 24, Jump);
WriteUInt16(GameUser.Y, 26, Jump);
WriteUInt16(GameUser.Map, 28, Jump);
WriteString("TQClient", 37, Jump);
ToServer(Jump, GameUser);
GameUser.LastJump = DateTime.Now;
i have read a lot of guides including yours, but i can't really
|
My packet sniffer DOES dump the packet...
WPE pro does NOT because it is still encrypted when you try to log with a tool like that... why do people keep thinking they can use wpe to log packets with?
It logs the full packets to file when you set the logging options.
Quote:
Originally Posted by PKDemon
how do you change the "no name" to the actual character name ? or do i gotta write up some code for it to actual do that
|
You need to read the character name from the hero information packet. If you ask around I did give someone the updated source (post video). I made some changes that make it work much better with handling multiple characters and packet logging.
Example, it now logs to file using characterName_MonthofYear_DayOfMonth_HourOfDay_Min uteOfHour
It also displays dropdown using character name and some other fun stuff. Just wasn't thinking it all the way through when I did the video.
Hint: you can read the character name using something like....
role.Name = Encoding.ASCII.GetString(ReadWrite.ReadBytes(data, 112, data[111]));
<edit>
Seems moderators/admins have changed their mind on the policy... it would have been nice if they sent me a heads up confirming if I'm allowed to re-add my files but I'm going to go ahead and do it due to the cryptography threads being un-deleted.
Most recent framework that contains updated code since unit 2 part 2. Namely support for character selection and names
|
|
|
07/18/2011, 21:17
|
#102
|
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
|
Quote:
Originally Posted by pro4never
My packet sniffer DOES dump the packet...
WPE pro does NOT because it is still encrypted when you try to log with a tool like that... why do people keep thinking they can use wpe to log packets with?
It logs the full packets to file when you set the logging options.
|
ok, sorry about that, i got it working now but the packets are pretty confusing
i have 3 packets here:
Code:
Packet Nr 0. Client -> Server, Length : 36, PacketType: 1052
1C 00 1C 04 E2 16 50 01 46 06 C7 1B 7C 00 45 6E ; âPFÇ| En
00 21 97 AA 97 6D 00 00 0A 00 00 00 54 51 43 6C ; !—ª—m
TQCl
69 65 6E 74 ;ient
Code:
Packet Nr 1. Client -> Server, Length : 976, PacketType: 1134
C8 03 6E 04 03 00 50 00 58 02 00 00 00 00 00 00 ;Èn P X
00 00 00 00 59 02 00 00 00 00 00 00 00 00 00 00 ; Y
5A 02 00 00 00 00 00 00 00 00 00 00 5B 02 00 00 ;Z [
00 00 00 00 00 00 00 00 5C 02 00 00 00 00 00 00 ; \
00 00 00 00 5D 02 00 00 00 00 00 00 00 00 00 00 ; ]
5E 02 00 00 00 00 00 00 00 00 00 00 5F 02 00 00 ;^ _
00 00 00 00 00 00 00 00 60 02 00 00 00 00 00 00 ; `
00 00 00 00 62 02 00 00 00 00 00 00 00 00 00 00 ; b
63 02 00 00 00 00 00 00 00 00 00 00 64 02 00 00 ;c d
00 00 00 00 00 00 00 00 8A 02 00 00 00 00 00 00 ; Š
00 00 00 00 8B 02 00 00 00 00 00 00 00 00 00 00 ; ‹
8C 02 00 00 00 00 00 00 00 00 00 00 8D 02 00 00 ;Œ
00 00 00 00 00 00 00 00 8E 02 00 00 00 00 00 00 ; Ž
00 00 00 00 8F 02 00 00 00 00 00 00 00 00 00 00 ;
90 02 00 00 00 00 00 00 00 00 00 00 91 02 00 00 ; ‘
00 00 00 00 00 00 00 00 92 02 00 00 00 00 00 00 ; ’
00 00 00 00 93 02 00 00 00 00 00 00 00 00 00 00 ; “
94 02 00 00 00 00 00 00 00 00 00 00 96 02 00 00 ;” –
00 00 00 00 00 00 00 00 97 02 00 00 00 00 00 00 ; —
00 00 00 00 98 02 00 00 00 00 00 00 00 00 00 00 ; ˜
99 02 00 00 00 00 00 00 00 00 00 00 9D 02 00 00 ;™
00 00 00 00 00 00 00 00 BD 02 00 00 00 00 00 00 ; ½
00 00 00 00 BE 02 00 00 00 00 00 00 00 00 00 00 ; ¾
BF 02 00 00 00 00 00 00 00 00 00 00 C0 02 00 00 ;¿ À
00 00 00 00 00 00 00 00 C2 02 00 00 00 00 00 00 ; Â
00 00 00 00 C3 02 00 00 00 00 00 00 00 00 00 00 ; Ã
C5 02 00 00 00 00 00 00 00 00 00 00 C6 02 00 00 ;Å Æ
00 00 00 00 00 00 00 00 20 03 00 00 00 00 00 00 ;
00 00 00 00 22 03 00 00 00 00 00 00 00 00 00 00 ; "
24 03 00 00 00 00 00 00 00 00 00 00 27 03 00 00 ;$ '
00 00 00 00 00 00 00 00 28 03 00 00 00 00 00 00 ; (
00 00 00 00 29 03 00 00 00 00 00 00 00 00 00 00 ; )
2A 03 00 00 00 00 00 00 00 00 00 00 2B 03 00 00 ;* +
00 00 00 00 00 00 00 00 2C 03 00 00 00 00 00 00 ; ,
00 00 00 00 2D 03 00 00 00 00 00 00 00 00 00 00 ; -
2E 03 00 00 00 00 00 00 00 00 00 00 2F 03 00 00 ;. /
00 00 00 00 00 00 00 00 30 03 00 00 00 00 00 00 ; 0
00 00 00 00 31 03 00 00 00 00 00 00 00 00 00 00 ; 1
32 03 00 00 00 00 00 00 00 00 00 00 33 03 00 00 ;2 3
00 00 00 00 00 00 00 00 34 03 00 00 00 00 00 00 ; 4
00 00 00 00 35 03 00 00 00 00 00 00 00 00 00 00 ; 5
36 03 00 00 00 00 00 00 00 00 00 00 37 03 00 00 ;6 7
00 00 00 00 00 00 00 00 38 03 00 00 00 00 00 00 ; 8
00 00 00 00 39 03 00 00 00 00 00 00 00 00 00 00 ; 9
3A 03 00 00 00 00 00 00 00 00 00 00 3B 03 00 00 ;: ;
00 00 00 00 00 00 00 00 3C 03 00 00 00 00 00 00 ; <
00 00 00 00 3D 03 00 00 00 00 00 00 00 00 00 00 ; =
3E 03 00 00 00 00 00 00 00 00 00 00 3F 03 00 00 ;> ?
00 00 00 00 00 00 00 00 40 03 00 00 00 00 00 00 ; @
00 00 00 00 41 03 00 00 00 00 00 00 00 00 00 00 ; A
42 03 00 00 00 00 00 00 00 00 00 00 43 03 00 00 ;B C
00 00 00 00 00 00 00 00 44 03 00 00 00 00 00 00 ; D
00 00 00 00 98 03 00 00 00 00 00 00 00 00 00 00 ; ˜
99 03 00 00 00 00 00 00 00 00 00 00 9D 03 00 00 ;™
00 00 00 00 00 00 00 00 9E 03 00 00 00 00 00 00 ; ž
00 00 00 00 9F 03 00 00 00 00 00 00 00 00 00 00 ; Ÿ
A0 03 00 00 00 00 00 00 00 00 00 00 A1 03 00 00 ;* ¡
00 00 00 00 00 00 00 00 A2 03 00 00 00 00 00 00 ; ¢
00 00 00 00 A5 03 00 00 00 00 00 00 00 00 00 00 ; ¥
A6 03 00 00 00 00 00 00 00 00 00 00 AA 03 00 00 ;¦ ª
00 00 00 00 00 00 00 00 54 51 43 6C 69 65 6E 74 ; TQClient
Code:
Packet Nr 3. Client -> Server, Length : 772, PacketType: 1134
FC 02 6E 04 03 00 3F 00 76 04 00 00 00 00 00 00 ;ün ? v
00 00 00 00 77 04 00 00 00 00 00 00 00 00 00 00 ; w
78 04 00 00 00 00 00 00 00 00 00 00 79 04 00 00 ;x y
00 00 00 00 00 00 00 00 7A 04 00 00 00 00 00 00 ; z
00 00 00 00 B0 04 00 00 00 00 00 00 00 00 00 00 ; °
B1 04 00 00 00 00 00 00 00 00 00 00 78 05 00 00 ;± x
00 00 00 00 00 00 00 00 18 06 00 00 00 00 00 00 ;
00 00 00 00 19 06 00 00 00 00 00 00 00 00 00 00 ;
1A 06 00 00 00 00 00 00 00 00 00 00 29 06 00 00 ; )
00 00 00 00 00 00 00 00 2A 06 00 00 00 00 00 00 ; *
00 00 00 00 2B 06 00 00 00 00 00 00 00 00 00 00 ; +
2C 06 00 00 00 00 00 00 00 00 00 00 2D 06 00 00 ;, -
00 00 00 00 00 00 00 00 2E 06 00 00 00 00 00 00 ; .
00 00 00 00 2F 06 00 00 00 00 00 00 00 00 00 00 ; /
30 06 00 00 00 00 00 00 00 00 00 00 31 06 00 00 ;0 1
00 00 00 00 00 00 00 00 32 06 00 00 00 00 00 00 ; 2
00 00 00 00 33 06 00 00 00 00 00 00 00 00 00 00 ; 3
34 06 00 00 00 00 00 00 00 00 00 00 35 06 00 00 ;4 5
00 00 00 00 00 00 00 00 A5 06 00 00 00 00 00 00 ; ¥
00 00 00 00 E1 06 00 00 00 00 00 00 00 00 00 00 ; á
E2 06 00 00 00 00 00 00 00 00 00 00 E3 06 00 00 ;â ã
00 00 00 00 00 00 00 00 88 07 00 00 00 00 00 00 ; ˆ
00 00 00 00 89 07 00 00 00 00 00 00 00 00 00 00 ; ‰
8A 07 00 00 00 00 00 00 00 00 00 00 A4 07 00 00 ;Š ¤
00 00 00 00 00 00 00 00 B0 07 00 00 00 00 00 00 ; °
00 00 00 00 B1 07 00 00 00 00 00 00 00 00 00 00 ; ±
B2 07 00 00 00 00 00 00 00 00 00 00 B4 07 00 00 ;² ´
00 00 00 00 00 00 00 00 34 08 00 00 00 00 00 00 ; 4
00 00 00 00 71 17 00 00 00 00 00 00 00 00 00 00 ; q
84 17 00 00 00 00 00 00 00 00 00 00 85 17 00 00 ;„ …
00 00 00 00 00 00 00 00 86 17 00 00 00 00 00 00 ; †
00 00 00 00 87 17 00 00 00 00 00 00 00 00 00 00 ; ‡
88 17 00 00 00 00 00 00 00 00 00 00 89 17 00 00 ;ˆ ‰
00 00 00 00 00 00 00 00 9F 17 00 00 00 00 00 00 ; Ÿ
00 00 00 00 A1 17 00 00 00 00 00 00 00 00 00 00 ; ¡
A2 17 00 00 00 00 00 00 00 00 00 00 A3 17 00 00 ;¢ £
00 00 00 00 00 00 00 00 B5 17 00 00 00 00 00 00 ; µ
00 00 00 00 B6 17 00 00 00 00 00 00 00 00 00 00 ; ¶
B7 17 00 00 00 00 00 00 00 00 00 00 B8 17 00 00 ;· ¸
00 00 00 00 00 00 00 00 B9 17 00 00 00 00 00 00 ; ¹
00 00 00 00 BA 17 00 00 00 00 00 00 00 00 00 00 ; º
BB 17 00 00 00 00 00 00 00 00 00 00 BC 17 00 00 ;» ¼
00 00 00 00 00 00 00 00 BD 17 00 00 00 00 00 00 ; ½
00 00 00 00 BE 17 00 00 00 00 00 00 00 00 00 00 ; ¾
BF 17 00 00 00 00 00 00 00 00 00 00 C0 17 00 00 ;¿ À
00 00 00 00 00 00 00 00 EE 17 00 00 00 00 00 00 ; î
00 00 00 00 28 18 00 00 00 00 00 00 00 00 00 00 ; (
21 4E 00 00 00 00 00 00 00 00 00 00 54 51 43 6C ;!N TQCl
69 65 6E 74 ;ient
how can i figure out what are they used for? attack/jumping etc
and i also want to convert them into a working packet for the proxy
sorry, iam asking too many questions
|
|
|
07/18/2011, 22:52
|
#103
|
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
|
Quote:
Originally Posted by [GM]
ok, sorry about that, i got it working now but the packets are pretty confusing
i have 3 packets here:
Code:
Packet Nr 0. Client -> Server, Length : 36, PacketType: 1052
1C 00 1C 04 E2 16 50 01 46 06 C7 1B 7C 00 45 6E ; âPFÇ| En
00 21 97 AA 97 6D 00 00 0A 00 00 00 54 51 43 6C ; !—ª—m
TQCl
69 65 6E 74 ;ient
Code:
Packet Nr 1. Client -> Server, Length : 976, PacketType: 1134
C8 03 6E 04 03 00 50 00 58 02 00 00 00 00 00 00 ;Èn P X
00 00 00 00 59 02 00 00 00 00 00 00 00 00 00 00 ; Y
5A 02 00 00 00 00 00 00 00 00 00 00 5B 02 00 00 ;Z [
00 00 00 00 00 00 00 00 5C 02 00 00 00 00 00 00 ; \
00 00 00 00 5D 02 00 00 00 00 00 00 00 00 00 00 ; ]
5E 02 00 00 00 00 00 00 00 00 00 00 5F 02 00 00 ;^ _
00 00 00 00 00 00 00 00 60 02 00 00 00 00 00 00 ; `
00 00 00 00 62 02 00 00 00 00 00 00 00 00 00 00 ; b
63 02 00 00 00 00 00 00 00 00 00 00 64 02 00 00 ;c d
00 00 00 00 00 00 00 00 8A 02 00 00 00 00 00 00 ; Š
00 00 00 00 8B 02 00 00 00 00 00 00 00 00 00 00 ; ‹
8C 02 00 00 00 00 00 00 00 00 00 00 8D 02 00 00 ;Œ
00 00 00 00 00 00 00 00 8E 02 00 00 00 00 00 00 ; Ž
00 00 00 00 8F 02 00 00 00 00 00 00 00 00 00 00 ;
90 02 00 00 00 00 00 00 00 00 00 00 91 02 00 00 ; ‘
00 00 00 00 00 00 00 00 92 02 00 00 00 00 00 00 ; ’
00 00 00 00 93 02 00 00 00 00 00 00 00 00 00 00 ; “
94 02 00 00 00 00 00 00 00 00 00 00 96 02 00 00 ;” –
00 00 00 00 00 00 00 00 97 02 00 00 00 00 00 00 ; —
00 00 00 00 98 02 00 00 00 00 00 00 00 00 00 00 ; ˜
99 02 00 00 00 00 00 00 00 00 00 00 9D 02 00 00 ;™
00 00 00 00 00 00 00 00 BD 02 00 00 00 00 00 00 ; ½
00 00 00 00 BE 02 00 00 00 00 00 00 00 00 00 00 ; ¾
BF 02 00 00 00 00 00 00 00 00 00 00 C0 02 00 00 ;¿ À
00 00 00 00 00 00 00 00 C2 02 00 00 00 00 00 00 ; Â
00 00 00 00 C3 02 00 00 00 00 00 00 00 00 00 00 ; Ã
C5 02 00 00 00 00 00 00 00 00 00 00 C6 02 00 00 ;Å Æ
00 00 00 00 00 00 00 00 20 03 00 00 00 00 00 00 ;
00 00 00 00 22 03 00 00 00 00 00 00 00 00 00 00 ; "
24 03 00 00 00 00 00 00 00 00 00 00 27 03 00 00 ;$ '
00 00 00 00 00 00 00 00 28 03 00 00 00 00 00 00 ; (
00 00 00 00 29 03 00 00 00 00 00 00 00 00 00 00 ; )
2A 03 00 00 00 00 00 00 00 00 00 00 2B 03 00 00 ;* +
00 00 00 00 00 00 00 00 2C 03 00 00 00 00 00 00 ; ,
00 00 00 00 2D 03 00 00 00 00 00 00 00 00 00 00 ; -
2E 03 00 00 00 00 00 00 00 00 00 00 2F 03 00 00 ;. /
00 00 00 00 00 00 00 00 30 03 00 00 00 00 00 00 ; 0
00 00 00 00 31 03 00 00 00 00 00 00 00 00 00 00 ; 1
32 03 00 00 00 00 00 00 00 00 00 00 33 03 00 00 ;2 3
00 00 00 00 00 00 00 00 34 03 00 00 00 00 00 00 ; 4
00 00 00 00 35 03 00 00 00 00 00 00 00 00 00 00 ; 5
36 03 00 00 00 00 00 00 00 00 00 00 37 03 00 00 ;6 7
00 00 00 00 00 00 00 00 38 03 00 00 00 00 00 00 ; 8
00 00 00 00 39 03 00 00 00 00 00 00 00 00 00 00 ; 9
3A 03 00 00 00 00 00 00 00 00 00 00 3B 03 00 00 ;: ;
00 00 00 00 00 00 00 00 3C 03 00 00 00 00 00 00 ; <
00 00 00 00 3D 03 00 00 00 00 00 00 00 00 00 00 ; =
3E 03 00 00 00 00 00 00 00 00 00 00 3F 03 00 00 ;> ?
00 00 00 00 00 00 00 00 40 03 00 00 00 00 00 00 ; @
00 00 00 00 41 03 00 00 00 00 00 00 00 00 00 00 ; A
42 03 00 00 00 00 00 00 00 00 00 00 43 03 00 00 ;B C
00 00 00 00 00 00 00 00 44 03 00 00 00 00 00 00 ; D
00 00 00 00 98 03 00 00 00 00 00 00 00 00 00 00 ; ˜
99 03 00 00 00 00 00 00 00 00 00 00 9D 03 00 00 ;™
00 00 00 00 00 00 00 00 9E 03 00 00 00 00 00 00 ; ž
00 00 00 00 9F 03 00 00 00 00 00 00 00 00 00 00 ; Ÿ
A0 03 00 00 00 00 00 00 00 00 00 00 A1 03 00 00 ;* ¡
00 00 00 00 00 00 00 00 A2 03 00 00 00 00 00 00 ; ¢
00 00 00 00 A5 03 00 00 00 00 00 00 00 00 00 00 ; ¥
A6 03 00 00 00 00 00 00 00 00 00 00 AA 03 00 00 ;¦ ª
00 00 00 00 00 00 00 00 54 51 43 6C 69 65 6E 74 ; TQClient
Code:
Packet Nr 3. Client -> Server, Length : 772, PacketType: 1134
FC 02 6E 04 03 00 3F 00 76 04 00 00 00 00 00 00 ;ün ? v
00 00 00 00 77 04 00 00 00 00 00 00 00 00 00 00 ; w
78 04 00 00 00 00 00 00 00 00 00 00 79 04 00 00 ;x y
00 00 00 00 00 00 00 00 7A 04 00 00 00 00 00 00 ; z
00 00 00 00 B0 04 00 00 00 00 00 00 00 00 00 00 ; °
B1 04 00 00 00 00 00 00 00 00 00 00 78 05 00 00 ;± x
00 00 00 00 00 00 00 00 18 06 00 00 00 00 00 00 ;
00 00 00 00 19 06 00 00 00 00 00 00 00 00 00 00 ;
1A 06 00 00 00 00 00 00 00 00 00 00 29 06 00 00 ; )
00 00 00 00 00 00 00 00 2A 06 00 00 00 00 00 00 ; *
00 00 00 00 2B 06 00 00 00 00 00 00 00 00 00 00 ; +
2C 06 00 00 00 00 00 00 00 00 00 00 2D 06 00 00 ;, -
00 00 00 00 00 00 00 00 2E 06 00 00 00 00 00 00 ; .
00 00 00 00 2F 06 00 00 00 00 00 00 00 00 00 00 ; /
30 06 00 00 00 00 00 00 00 00 00 00 31 06 00 00 ;0 1
00 00 00 00 00 00 00 00 32 06 00 00 00 00 00 00 ; 2
00 00 00 00 33 06 00 00 00 00 00 00 00 00 00 00 ; 3
34 06 00 00 00 00 00 00 00 00 00 00 35 06 00 00 ;4 5
00 00 00 00 00 00 00 00 A5 06 00 00 00 00 00 00 ; ¥
00 00 00 00 E1 06 00 00 00 00 00 00 00 00 00 00 ; á
E2 06 00 00 00 00 00 00 00 00 00 00 E3 06 00 00 ;â ã
00 00 00 00 00 00 00 00 88 07 00 00 00 00 00 00 ; ˆ
00 00 00 00 89 07 00 00 00 00 00 00 00 00 00 00 ; ‰
8A 07 00 00 00 00 00 00 00 00 00 00 A4 07 00 00 ;Š ¤
00 00 00 00 00 00 00 00 B0 07 00 00 00 00 00 00 ; °
00 00 00 00 B1 07 00 00 00 00 00 00 00 00 00 00 ; ±
B2 07 00 00 00 00 00 00 00 00 00 00 B4 07 00 00 ;² ´
00 00 00 00 00 00 00 00 34 08 00 00 00 00 00 00 ; 4
00 00 00 00 71 17 00 00 00 00 00 00 00 00 00 00 ; q
84 17 00 00 00 00 00 00 00 00 00 00 85 17 00 00 ;„ …
00 00 00 00 00 00 00 00 86 17 00 00 00 00 00 00 ; †
00 00 00 00 87 17 00 00 00 00 00 00 00 00 00 00 ; ‡
88 17 00 00 00 00 00 00 00 00 00 00 89 17 00 00 ;ˆ ‰
00 00 00 00 00 00 00 00 9F 17 00 00 00 00 00 00 ; Ÿ
00 00 00 00 A1 17 00 00 00 00 00 00 00 00 00 00 ; ¡
A2 17 00 00 00 00 00 00 00 00 00 00 A3 17 00 00 ;¢ £
00 00 00 00 00 00 00 00 B5 17 00 00 00 00 00 00 ; µ
00 00 00 00 B6 17 00 00 00 00 00 00 00 00 00 00 ; ¶
B7 17 00 00 00 00 00 00 00 00 00 00 B8 17 00 00 ;· ¸
00 00 00 00 00 00 00 00 B9 17 00 00 00 00 00 00 ; ¹
00 00 00 00 BA 17 00 00 00 00 00 00 00 00 00 00 ; º
BB 17 00 00 00 00 00 00 00 00 00 00 BC 17 00 00 ;» ¼
00 00 00 00 00 00 00 00 BD 17 00 00 00 00 00 00 ; ½
00 00 00 00 BE 17 00 00 00 00 00 00 00 00 00 00 ; ¾
BF 17 00 00 00 00 00 00 00 00 00 00 C0 17 00 00 ;¿ À
00 00 00 00 00 00 00 00 EE 17 00 00 00 00 00 00 ; î
00 00 00 00 28 18 00 00 00 00 00 00 00 00 00 00 ; (
21 4E 00 00 00 00 00 00 00 00 00 00 54 51 43 6C ;!N TQCl
69 65 6E 74 ;ient
how can i figure out what are they used for? attack/jumping etc
and i also want to convert them into a working packet for the proxy
sorry, iam asking too many questions 
|
Well 1052 is the auth message packet. and I'm not sure what the 1134 packet are used for. If you want more info on packet structures go here
As for jumping the packet type is 10010(general data). The structure would like the following for a server side jump. Ill let you figure out the client side jump but it basically the same, and remember you can't use the regular jump action(133) for the making the client jump.
Code:
public static void ServerJump(UInt16 x, UInt16 y,TQClient client)
{
byte[] JumpPacket = new byte[45];
PacketWriter writer = new PacketWriter(JumpPacket, 0);
writer.writeUint16(37);
writer.writeUint16(10010);
writer.writeUint32(client.UID);
writer.writeUint16(x);
writer.writeUint16(y);
writer.writeUint32(0);
writer.writeUint32(TimeStamp.getTimeStamp());
writer.writeUint32(137);
writer.writeUint16((UInt16)client.X);
writer.writeUint16((UInt16)client.Y);
writer.writeUint16(client.Map);
writer.position = JumpPacket.Length - 8;
writer.writeString(Encoding.ASCII.GetBytes("TQClient"));
Console.WriteLine(client.Map);
Program.MyGui.addLine(writer.Buffer, "ServJUMP");
client.gameHandler.sendPacketServer(writer.Buffer);
client.X = x;
client.Y = y;
}
|
|
|
07/19/2011, 09:10
|
#104
|
elite*gold: 0
Join Date: Dec 2007
Posts: 1,326
Received Thanks: 539
|
Edit : nvm fixed, but still even when the hunting == true the char dones't make anything
p4n if u get online again just, let me know
iam tired of this proxy i implemented everything, but not working at all
i can send u the source and test it yourself
iam having troubles mostly with packets
|
|
|
07/19/2011, 22:31
|
#105
|
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
|
Quote:
Originally Posted by pro4never
Nope... I talked to korv for about an hour on msn and the reason for the rule is that they feel it will lead to tq changing the encryption again and therefor any examples or information related to it is banned..... but the kicker is that this rule applies to not only encryption
For example... if people switch to hook based bots instead and they become popular... those will be banned.
I've pm'd an admin and been talking to korv so we'll see where this goes but I'm... not pleased.
|
Who's decision was it? I feel like thats a ****** *** excuse to "protect" CoAI. How dare you say its because you feel that TQ will change the crypto again? It only took them how many years this time?
|
|
|
All times are GMT +1. The time now is 14:47.
|
|