HelpHello packet has changed

Posts 1–5 of 5 · Page 1 of 1
Hello packet has changed
Any hints? Kthxbai
Look at hello packet in client?
Quote Originally Posted by Alde. View Post
Any hints? Kthxbai
Code:
package _-1pu
{
   import flash.utils.ByteArray;
   import flash.utils.IDataOutput;
   
   public class _-1q6 extends _-1jR
   {
      
      public function _-1q6(param1:uint, param2:Function) {
         var _loc3_:* = false;
         var _loc4_:* = true;
         this.buildVersion_ = new String();
         this.guid_ = new String();
         this.password_ = new String();
         this.secret_ = new String();
         this.key_ = new ByteArray();
         if(!(_loc3_ && (_loc3_)))
         {
            this._-Q = new String();
            super(param1,param2);
         }
      }
      
      public var buildVersion_:String;
      
      public var gameId_:int = 0;
      
      public var guid_:String;
      
      public var password_:String;
      
      public var secret_:String;
      
      public var keyTime_:int = 0;
      
      public var key_:ByteArray;
      
      public var _-Q:String;
      
      public var _-7W:String = "";
      
      public var _-1L9:String = "";
      
      public var _-17M:String = "";
      
      public var _-1N:String = "";
      
      public var _-0N4:String = "";
      
      override public function writeToOutput(param1:IDataOutput) : void {
         var _loc2_:* = false;
         var _loc3_:* = true;
         param1.writeUTF(this.buildVersion_);
         param1.writeInt(this.gameId_);
         param1.writeUTF(this.guid_);
         if(_loc3_)
         {
            param1.writeUTF(this.password_);
            param1.writeUTF(this.secret_);
         }
         param1.writeInt(int(Math.floor(Math.random() * 1000000000)));
         if(!_loc2_)
         {
            param1.writeInt(this.keyTime_);
            param1.writeShort(this.key_.length);
            param1.writeBytes(this.key_);
            param1.writeInt(this._-Q.length);
            param1.writeUTFBytes(this._-Q);
            param1.writeUTF(this._-7W);
            param1.writeUTF(this._-1L9);
            param1.writeUTF(this._-17M);
            if(!(_loc2_ && (_loc2_)))
            {
               param1.writeUTF(this._-1N);
            }
            return;
         }
         param1.writeUTF(this._-0N4);
      }
      
      override public function toString() : String {
         return formatToString("HELLO","buildVersion_","gameId_","guid_","password_","secret_");
      }
   }
}
Quote Originally Posted by nilly View Post
Look at hello packet in client?
Quote Originally Posted by IziLife View Post
Code:
package _-1pu
{
   import flash.utils.ByteArray;
   import flash.utils.IDataOutput;
   
   public class _-1q6 extends _-1jR
   {
      
      public function _-1q6(param1:uint, param2:Function) {
         var _loc3_:* = false;
         var _loc4_:* = true;
         this.buildVersion_ = new String();
         this.guid_ = new String();
         this.password_ = new String();
         this.secret_ = new String();
         this.key_ = new ByteArray();
         if(!(_loc3_ && (_loc3_)))
         {
            this._-Q = new String();
            super(param1,param2);
         }
      }
      
      public var buildVersion_:String;
      
      public var gameId_:int = 0;
      
      public var guid_:String;
      
      public var password_:String;
      
      public var secret_:String;
      
      public var keyTime_:int = 0;
      
      public var key_:ByteArray;
      
      public var _-Q:String;
      
      public var _-7W:String = "";
      
      public var _-1L9:String = "";
      
      public var _-17M:String = "";
      
      public var _-1N:String = "";
      
      public var _-0N4:String = "";
      
      override public function writeToOutput(param1:IDataOutput) : void {
         var _loc2_:* = false;
         var _loc3_:* = true;
         param1.writeUTF(this.buildVersion_);
         param1.writeInt(this.gameId_);
         param1.writeUTF(this.guid_);
         if(_loc3_)
         {
            param1.writeUTF(this.password_);
            param1.writeUTF(this.secret_);
         }
         param1.writeInt(int(Math.floor(Math.random() * 1000000000)));
         if(!_loc2_)
         {
            param1.writeInt(this.keyTime_);
            param1.writeShort(this.key_.length);
            param1.writeBytes(this.key_);
            param1.writeInt(this._-Q.length);
            param1.writeUTFBytes(this._-Q);
            param1.writeUTF(this._-7W);
            param1.writeUTF(this._-1L9);
            param1.writeUTF(this._-17M);
            if(!(_loc2_ && (_loc2_)))
            {
               param1.writeUTF(this._-1N);
            }
            return;
         }
         param1.writeUTF(this._-0N4);
      }
      
      override public function toString() : String {
         return formatToString("HELLO","buildVersion_","gameId_","guid_","password_","secret_");
      }
   }
}
Thanks babes but I already took a look at the hello packet in the client! The thing is that I don't really understand how to convert it to Java.
Here is my progress :

Code:
	public String buildVersion;
	public int gameId;
	public String guid;
	public String password;
	public String secret;
	public int kablem = (int) Math.floor(Math.random() * 1000000000);
	public int keyTime;
	public byte[] key = new byte[0];
	public byte[] obf0;
	public String obf1 = "";
	public String obf2 = "";
	public String obf3 = "";
	public String obf4 = "";
	public String obf5 = "";
Quote Originally Posted by Alde. View Post
public int kablem = (int) Math.floor(Math.random() * 1000000000);
Why are you setting this one already?
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us