emileej Posted August 10, 2004 Report Posted August 10, 2004 For my bot core I would like to use the encryption / decryption routines coded by Snrrrub and used in LogicBot. Pretty please?
Miesco Posted August 10, 2004 Report Posted August 10, 2004 Here take mine: sub encrypt { @data = @_; $encrypted = pack("C*", @data); return $encrypted;} sub decrypt { $data = $_[0]; $i = 0; foreach (unpack("C*", $data)) { $decrypted[$i] = sprintf("%x", $_); $i++; } return @decrypted;}
emileej Posted August 11, 2004 Author Report Posted August 11, 2004 I have no idea what that is Also I'd like to use the checksum functions if I may?
50% Packetloss Posted August 11, 2004 Report Posted August 11, 2004 none of us know what that is, looks like PHP. Grab all that code outta mervbot, www.mervbot.com
Miesco Posted August 11, 2004 Report Posted August 11, 2004 Are you looking for the encyrption to and from 4 byte/2 byte little-endian integers/shorts?
Samapico Posted August 11, 2004 Report Posted August 11, 2004 GAAAAAAH....... TOO.. .MUCH... INFORMA...TION...... AGHHHHH... :syrus: *head blows up in a big flash and leaves electric sparks all over the place*
emileej Posted August 12, 2004 Author Report Posted August 12, 2004 Are you looking for the encyrption to and from 4 byte/2 byte little-endian integers/shorts?I am what?
Samapico Posted August 12, 2004 Report Posted August 12, 2004 ... NOOB! ... He asked if you are looking for the encyrption to and from 4 byte/2 byte little-endian integers/shorts ... COME ON! THAT'S AN EASY QUESTION
Smong Posted August 12, 2004 Report Posted August 12, 2004 If you read the license that comes with logicbot you woudn't need to ask this question in the first place. http://www.metalgearctf.net/kirksbots/sourcedl.php Oh, and for my bot core I would like to use encryption / decryption routines coded by PriitK.
Snrrrub Posted August 13, 2004 Report Posted August 13, 2004 My code can be used freely for whichever app as long as some credit is given in some external location (e.g. readme). -Snrrrub
emileej Posted August 13, 2004 Author Report Posted August 13, 2004 >>SmongIt looked like a standard GPL to me, but I was uncertain anyways since the source I am referring to is written by Snrrrub - not Kirk. >>SamapicoUhh... >>SnrrrubThanks a lot
Recommended Posts