Examples of readNTString()


Examples of net.bnubot.core.BNetInputStream.readNTString()

            long minTime = 0;
            String maxCharname = null;
           
            for(int i = 0; i < numChars; i++) {
              int secs = is.readDWord();
              String charname = is.readNTString();
              StatString statstr = new StatString("PX2D[Realm]," + charname + "," + is.readNTString());
             
              long time = new Date().getTime();
              time = (((long)secs) * 1000) - time;
             
View Full Code Here

Examples of net.bnubot.core.BNetInputStream.readNTString()

            String maxCharname = null;
           
            for(int i = 0; i < numChars; i++) {
              int secs = is.readDWord();
              String charname = is.readNTString();
              StatString statstr = new StatString("PX2D[Realm]," + charname + "," + is.readNTString());
             
              long time = new Date().getTime();
              time = (((long)secs) * 1000) - time;
             
              recieveRealmInfo(TimeFormatter.formatTime(time) + " - " + charname + " - " + statstr.toString());
View Full Code Here

Examples of net.bnubot.core.BNetInputStream.readNTString()

            nlsRevision = is.readDWord();
            serverToken = is.readDWord();
            is.skip(4)//int udpValue = is.readDWord();
          }
          long MPQFileTime = is.readQWord();
          String MPQFileName = is.readNTString();
          String ValueStr = is.readNTString();
         
          recieveInfo("MPQ: " + MPQFileName);
       
          byte extraData[] = null;
View Full Code Here

Examples of net.bnubot.core.BNetInputStream.readNTString()

            serverToken = is.readDWord();
            is.skip(4)//int udpValue = is.readDWord();
          }
          long MPQFileTime = is.readQWord();
          String MPQFileName = is.readNTString();
          String ValueStr = is.readNTString();
         
          recieveInfo("MPQ: " + MPQFileName);
       
          byte extraData[] = null;
          if(is.available() == 0x80) {
View Full Code Here

Examples of net.bnubot.core.BNetInputStream.readNTString()

                Out.error(this.getClass().getName(), HexDump.hexDump(exeHashBuf.getBuffer()));
                throw new Exception("BNLS failed to complete 0x1A sucessfully");
              }
              exeVersion = exeStream.readDWord();
              exeHash = exeStream.readDWord();
              exeInfo = exeStream.readNTString();
              exeStream.readDWord(); // cookie
              /*int exeVerbyte =*/ exeStream.readDWord();
              assert(exeStream.available() == 0);
                  }
                 
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

          nlsRevision = is.readDWord();
          serverToken = is.readDWord();
          is.skip(4); // int udpValue = is.readDWord();
        }
        long mpqFileTime = is.readQWord();
        String mpqFileName = is.readNTString();
        byte[] valueStr = is.readNTBytes();

        Out.debug(getClass(), "MPQ: " + mpqFileName);

        byte extraData[] = null;
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

      }

      case SID_REPORTVERSION:
      case SID_AUTH_CHECK: {
        int result = is.readDWord();
        String extraInfo = is.readNTString();
        assert (is.available() == 0);

        if (pr.packetId == BNCSPacketId.SID_AUTH_CHECK) {
          if (result != 0) {
            switch (result) {
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

         *
         * 0x01: Ok 0x02: Invalid key 0x03: Bad product 0x04: Banned
         * 0x05: In use
         */
        int result = is.readDWord();
        String keyOwner = is.readNTString();

        if (result != 1) {
          switch (result) {
          case 0x02:
            dispatchRecieveError("Invalid CD key.");
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

        break;
      }

      case SID_CREATEACCOUNT2: {
        int status = is.readDWord();
        /* String suggestion = */is.readNTString();

        switch (status) {
        case 0x00:
          dispatchRecieveInfo("Account created");
          connect.updateProgress("Logging in");
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

        sendSetEmail();
        break;
      }

      case SID_ENTERCHAT: {
        String uniqueUserName = is.readNTString();
        StatString myStatString = new StatString(is.readNTString());
        /* String accountName = */is.readNTString();

        myUser = new BNetUser(this, uniqueUserName, cs.myRealm);
        myUser.setStatString(myStatString);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.