Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 13:30

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Show hex packets/save packets to file in Sudppipe.exe
PostPosted: 11 Mar 2009 16:18 

Joined: 11 Mar 2009 15:46
Posts: 20
Hello all, im wondering if the packets you see with the -x option are read in compressed form or uncompressed form if compression = 1;

and if they are not, could i make a plugin that sounds like

int sudp_vis( *data, len );
{
int returnlen = 0;

returnlen = SomeMagicalDecompressionFunction(*data, sizeof(data));

return returnlen;
}

im trying to get an understanding of jedi academy. my big dream for the moment is to make a bot thet gets all the names of the players and starts being rude to them, very rude.


Top
 Profile  
 
 
 Post subject: Re: Show hex packets/save packets to file in Sudppipe.exe
PostPosted: 11 Mar 2009 17:40 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
if you use something like "returnlen = SomeMagicalDecompressionFunction(data, len);" yes it will work.

but JA is based on the Quake 3 engine which uses a more complex way to handle the in-game data so forget a so simple solution :)
that quick decompression can work only with the "connect" packet which is simply compressed with huffman.


Top
 Profile  
 
 Post subject: Re: Show hex packets/save packets to file in Sudppipe.exe
PostPosted: 11 Mar 2009 18:34 

Joined: 11 Mar 2009 15:46
Posts: 20
Ok, thank you very much for all your help


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC [ DST ]


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

Search for:
cron