Thread: [Kronos] How to disable CRC Check (JAGGRAB)

Results 1 to 3 of 3
  1. #1 [Kronos] How to disable CRC Check (JAGGRAB) 
    Donator

    Join Date
    Jun 2010
    Posts
    670
    Thanks given
    86
    Thanks received
    25
    Discord
    View profile
    Rep Power
    54
    Hey guys,

    Since somehow the jaggrab consumes a big amount of bandwith traffic I would like to disable it and go for the old way, downloading the cache through a launcher... Because somehow I faced another issue (sometime the Client gets stuck at "Connecting to update server" while it works on another computer... and the update server needs ram that could be saved

    There is the Method, of the CRC but I have no clue how to rewrite it so the client just ignores the CRC check and goes on loading the client:

    Code:
    void method1890() {
          if(false && NetCache.NetCache_crcMismatches >= 4) {
             this.method984("js5crc");
             gameState = 1000;
             gameStateChanged(-1);
          } else {
             if(NetCache.NetCache_ioExceptions >= 4) {
                if(gameState <= 5) {
                   this.method984("js5io");
                   gameState = 1000;
                   gameStateChanged(-1);
                   return;
                }
    
                field872 = 3000;
                NetCache.NetCache_ioExceptions = 3;
             }
    
             if(--field872 + 1 <= 0) {
                try {
                   if(js5ConnectState == 0) {
                      //TODO: Modified OLD:[NPC.myWorldPort]
                      Login.js5SocketTask = GameShell.taskHandler.method3418(CustomMain.worldType.getFileServerAddress(), 7304);
                      ++js5ConnectState;
                   }
    
                   if(js5ConnectState == 1) {
                      if(Login.js5SocketTask.status == 2) {
                         this.method1652(-1);
                         return;
                      }
    
                      if(Login.js5SocketTask.status == 1) {
                         ++js5ConnectState;
                      }
                   }
    
                   if(js5ConnectState == 2) {
                      if(useBufferedSocket) {
                         Socket var2 = (Socket)Login.js5SocketTask.result;
                         BufferedNetSocket var1 = new BufferedNetSocket(var2, 40000, 5000);
                         class22.js5Socket = var1;
                      } else {
                         class22.js5Socket = new NetSocket((Socket)Login.js5SocketTask.result, GameShell.taskHandler, 5000);
                      }
    
                      Buffer var5 = new Buffer(5);
                      var5.writeByte(15);
                      var5.writeInt(184);
                      class22.js5Socket.vmethod5817(var5.array, 0, 5);
                      ++js5ConnectState;
                      VerticalAlignment.field3264 = class33.method680();
                   }
    
                   if(js5ConnectState == 3) {
                      if(class22.js5Socket.vmethod5838() <= 0 && (useBufferedSocket || gameState > 5)) {
                         if(class33.method680() - VerticalAlignment.field3264 > 30000L) {
                            this.method1652(-2);
                            return;
                         }
                      } else {
                         int var3 = class22.js5Socket.vmethod5815();
                         if(var3 != 0) {
                            this.method1652(var3);
                            return;
                         }
    
                         ++js5ConnectState;
                      }
                   }
    
                   if(js5ConnectState == 4) {
                      MenuAction.method2160(class22.js5Socket, gameState > 20);
                      Login.js5SocketTask = null;
                      class22.js5Socket = null;
                      js5ConnectState = 0;
                      js5Errors = 0;
                   }
    
                } catch (IOException var4) {
                   this.method1652(-3);
                }
             }
          }
       }

    I will rep++ and thank for a solution

    All regards,

    MarkQ
    Reply With Quote  
     

  2. #2  
    Forum Moderator


    Join Date
    Jan 2009
    Posts
    5,706
    Thanks given
    1,128
    Thanks received
    3,556
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by MarkQ View Post
    Since somehow the jaggrab consumes a big amount of bandwith traffic I would like to disable it and go for the old way
    Your way of doing things would consume more bandwidth than how its meant to be done, each cache change requiring the user to download a new cache? PS: Suggest coming on Discord its way more active than the forums.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Donator

    Join Date
    Jun 2010
    Posts
    670
    Thanks given
    86
    Thanks received
    25
    Discord
    View profile
    Rep Power
    54
    Quote Originally Posted by Spooky View Post
    Your way of doing things would consume more bandwidth than how its meant to be done, each cache change requiring the user to download a new cache? PS: Suggest coming on Discord its way more active than the forums.
    I know but the Update Server how it works right now somehow consumes unrealistic much bandwith traffic... (me as the only Client, 2 weeks of developing) consumed somehow 150GB traffic xd

    Oh I never thought about that! I will join when I come home
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Enabling/Disabling CRC Checking (JAGGRAB)
    By Wiffles in forum Tutorials
    Replies: 6
    Last Post: 05-20-2012, 10:11 AM
  2. [REQ] How to Disable CRC [REQ]
    By OSLegacy in forum Requests
    Replies: 1
    Last Post: 09-25-2011, 03:00 PM
  3. How To Disable Trade For Admins
    By IL burn u in forum Requests
    Replies: 0
    Last Post: 07-10-2009, 05:52 AM
  4. Replies: 6
    Last Post: 06-04-2009, 03:59 AM
  5. How To Disable User Account Control In Vista
    By Vegeta in forum Software
    Replies: 1
    Last Post: 06-23-2008, 10:16 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •