Thread: login in message thing..

Results 1 to 6 of 6
  1. #1 login in message thing.. 
    hommiemm
    Guest
    okay so yeah idk how to delete this, help please .

    idk.jpg
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    Respected Member


    kLeptO's Avatar
    Join Date
    Dec 2006
    Age
    28
    Posts
    2,955
    Thanks given
    1,183
    Thanks received
    754
    Rep Power
    3084
    Open up your client.java
    Search for
    Code:
    Initialize() {
    Post whole function here, ill fix it for you.
    Reply With Quote  
     

  4. #3  
    Registered Member

    Join Date
    Oct 2009
    Posts
    203
    Thanks given
    1
    Thanks received
    1
    Rep Power
    90
    hes using same source as me:
    Code:
    	public void initialize() {
    
    		// first packet sent
    		server.setConfig.initializeClientConfiguration(playerId);
    		if(splitChat == 1){
    		setClientConfig(287, 1);
    		}
    		if(autoRetaliate == 0){
    		setClientConfig(172, 1);
    		}
    		setClientConfig(43, FightType-1);
    		setClientConfig(166, brightness);
    		outStream.createFrame(249);
    		outStream.writeByteA(playerIsMember); // 1 for members, zero for free
    		outStream.writeWordBigEndianA(playerId);
    		// here is the place for seting up the UI, stats, etc...
    		setChatOptions(0, 0, 0);
    		for (int i = 0; i < 25; i++) {
    			setSkillLevel(i, playerLevel[i], playerXP[i]);
    		}
    		refreshSkills();
    
    		outStream.createFrame(107); // resets something in the client
    
    		setSidebarInterface(0, 2423); // attack tab
    		setSidebarInterface(1, 3917); // skills tab
    		setSidebarInterface(2, 638); // quest tab
    		setSidebarInterface(3, 3213); // backpack tab
    		setSidebarInterface(13, 3209); //Music tab
    		setSidebarInterface(4, 1644); // items wearing tab
    		setSidebarInterface(5, 5608); // pray tab
    					if (playerAncientMagics == 0) {
    						 setSidebarInterface(6, 1151);
    						 playerAncientMagics = 0;
    					}
    					if (playerAncientMagics == 1 && q3 == 15) {
    						setSidebarInterface(6, 12855);
    						 playerAncientMagics = 1;
    					}
    					if (playerAncientMagics == 2 && q10 == 15) {
    						setSidebarInterface(6, 18787);
    						 playerAncientMagics = 2;
    					}
    		setSidebarInterface(7, 18500); // clan chat
    		setSidebarInterface(8, 5065); // friend
    		setSidebarInterface(9, 5715); // ignore
    		setSidebarInterface(10, 2449); // logout tab
    		setSidebarInterface(11, 4445); // wrench tab
    		setSidebarInterface(12, 147); // run tab
    		setSidebarInterface(13, -1); // harp tab
        // add player commands...
    
    
    outStream.createFrameVarSize(104);
    outStream.writeByteC(4); // command slot (does it matter which one?)
    outStream.writeByteA(0); // 0 or 1; 0 if command should be placed on top in context menu
    outStream.writeString("Follow");
    outStream.endFrameVarSize();
    
    outStream.createFrameVarSize(104);
    outStream.writeByteC(5); // command slot (does it matter which one?)
    outStream.writeByteA(0); // 0 or 1; 0 if command should be placed on top in context menu
    outStream.writeString("Trade with");
    outStream.endFrameVarSize();
    
    
    		int dots = 0;
    		int start[] = { 0, 0, 0, 0 };
    		int IPPart1 = 127;
    		int IPPart2 = 0;
    		int IPPart3 = 0;
    		int IPPart4 = 1;
    
    		if (playerLastConnect.length() < 7) {
    			playerLastConnect = connectedFrom;
    		}
    		if (playerLastConnect.length() <= 15) {
    			for (int j = 0; j <= playerLastConnect.length(); j++) {
    				if ((j + 1) <= playerLastConnect.length()) {
    					if (playerLastConnect.substring(j, (j + 1)).equals(".")) {
    						start[dots] = j;
    						dots++;
    					}
    					if (dots == 3) {
    						break;
    					}
    				}
    			}
    			if (dots == 3) {
    				IPPart1 = Integer.parseInt(playerLastConnect.substring(0,
    						start[0]));
    				IPPart2 = Integer.parseInt(playerLastConnect.substring(
    						(start[0] + 1), start[1]));
    				IPPart3 = Integer.parseInt(playerLastConnect.substring(
    						(start[1] + 1), start[2]));
    				IPPart4 = Integer.parseInt(playerLastConnect
    						.substring((start[2] + 1)));
    			}
    		} else {
    			for (int j = 0; j <= playerLastConnect.length(); j++) {
    				if ((j + 1) <= playerLastConnect.length()) {
    					if (playerLastConnect.substring(j, (j + 1)).equals("-")) {
    						start[dots] = j;
    						dots++;
    					}
    					if (dots == 4) {
    						break;
    					}
    				}
    			}
    			if (dots == 4) {
    				try {
    					IPPart1 = Integer.parseInt(playerLastConnect.substring(0,
    							start[0]));
    					IPPart2 = Integer.parseInt(playerLastConnect.substring(
    							(start[0] + 1), start[1]));
    					IPPart3 = Integer.parseInt(playerLastConnect.substring(
    							(start[1] + 1), start[2]));
    					IPPart4 = Integer.parseInt(playerLastConnect.substring(
    							(start[2] + 1), (start[3])));
    				} catch (NumberFormatException e) {
    				}
    			}
    }
    btw im not sure if that was the whole void.
    Reply With Quote  
     

  5. #4  
    Respected Member


    kLeptO's Avatar
    Join Date
    Dec 2006
    Age
    28
    Posts
    2,955
    Thanks given
    1,183
    Thanks received
    754
    Rep Power
    3084
    In client.java search and delete
    Code:
    newmenu();
    Thats it.
    Reply With Quote  
     

  6. #5  
    hommiemm
    Guest
    omg thanks man you rule.
    Reply With Quote  
     

  7. #6  
    hommiemm
    Guest
    hey can you help me fix my whip too?
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •