|
Luigi Auriemmaaluigi.org (ARCHIVE-ONLY FORUM!) |
|
It is currently 19 Jul 2012 11:37
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 8 posts ] |
|
Author |
Message |
felhasznalo93
|
Post subject: COD2 Udp Sending Line example "connect " Posted: 28 Nov 2010 20:07 |
|
Joined: 28 Nov 2010 19:58 Posts: 5
|
Luigi can you tell me an example sending message? ... "connect " and i don't know how it ends. Thanks!
EDIT: and how it connects? only an udp sending?
|
|
Top |
|
|
aluigi
|
Post subject: Re: COD2 Udp Sending Line example "connect " Posted: 28 Nov 2010 20:40 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
in short "connect" is followed by the informations of the user compressed with huffman. and in such information there is also the "challenge" key that the client must request requst with the "getchallenge" packet.
the rest depends by the programming language you use. if you know C you can take a look to my q3fill tool.
|
|
Top |
|
|
felhasznalo93
|
Post subject: Re: COD2 Udp Sending Line example "connect " Posted: 29 Nov 2010 14:34 |
|
Joined: 28 Nov 2010 19:58 Posts: 5
|
I using C# and I saw an example connecting line for quake3 but it doesn't work says: EXE_DIFFERENT_VERSION 1.3 My line in C Sharp: string command = @"connect \challenge\" + chl + @"\qport\0\protocol\0\cl_guid\0\cl_punkbuster\1\snaps\40\rate\25000\name\007\model\none\password\\g_password\\bdTicket\0\bdTicketTime\0";
chl is getChallange response number something is needed to this line?
|
|
Top |
|
|
felhasznalo93
|
Post subject: Re: COD2 Udp Sending Line example "connect " Posted: 29 Nov 2010 17:40 |
|
Joined: 28 Nov 2010 19:58 Posts: 5
|
I tried with this: command = @"????????connect \cg_predictItems\1\cl_punkbuster\1\cl_anonymous\0\color\4\head\default\model\multi\snaps\20\rate\25000\name\teeeeest111\protocol\118\challenge\"+chl+@"\qport\0"; But it Recv.:????disconnect
|
|
Top |
|
|
aluigi
|
Post subject: Re: COD2 Udp Sending Line example "connect " Posted: 30 Nov 2010 12:54 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
have you compressed the part after "yyyyconnect "?
|
|
Top |
|
|
felhasznalo93
|
Post subject: Re: COD2 Udp Sending Line example "connect " Posted: 30 Nov 2010 14:43 |
|
Joined: 28 Nov 2010 19:58 Posts: 5
|
i only send this string on UDP. i think i haven't compressed.
|
|
Top |
|
|
felhasznalo93
|
Post subject: Re: COD2 Udp Sending Line example "connect " Posted: 03 Dec 2010 21:25 |
|
Joined: 28 Nov 2010 19:58 Posts: 5
|
how to compress it? help pls!
|
|
Top |
|
|
aluigi
|
Post subject: Re: COD2 Udp Sending Line example "connect " Posted: 04 Dec 2010 01:19 |
|
Joined: 13 Aug 2007 21:44 Posts: 4068 Location: http://aluigi.org
|
|
Top |
|
|
|
Page 1 of 1
|
[ 8 posts ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|