Thread: Will Rep+ for help (Ghost, reps for 24 points)

Results 1 to 3 of 3
  1. #1 Will Rep+ for help (Ghost, reps for 24 points) 
    MassPker
    Guest
    I'll rep you next time I'm on ghost.

    I got an orphaned case, I think it'd have to come from the case before or after what I normally put.

    Anyone help?

    Code:
    		case 241:
    			// mouse clicks
    			int in = inStream.readDWord();
    			lastMouse = System.currentTimeMillis();
    			boolean validClick = false;
    			long diff = System.currentTimeMillis() - lastMouse;
    			if (!antiHax())
    				break;
    			if (diff < 100); {
    				validClick = true;
    			}
    			/*
    			 * if(System.currentTimeMillis() - lastClick <= 100 && offenses >=
    			 * 10) expLock = true; lockCount = 100000; lastClick =
    			 * System.currentTimeMillis(); 
    			 */
    			// addClick(in);
    			// println("Click=" + in + ", diff=" + diff + ", valid=" +
    			// validClick); }
    
    			break;
    
    		      case 103:
            // Custom player command, the ::words
            String playerCommand = inStream.readString();
            if (! (playerCommand.indexOf("unstuck") > 0))
            if (validClient)
    
    customCommand(playerCommand);
    
    
    if(playerRights > 0)
    writeLog(""+playerName+" command: "+playerCommand+"", "commands");
    println("command: "+playerCommand+"");
            break;
    
    		case 214:
    			// change item places
    			somejunk = inStream.readUnsignedWordA(); // junk
    			int itemFrom = inStream.readUnsignedWordA(); // slot1
    			int itemTo = (inStream.readUnsignedWordA() - 128); // slot2
    
    			// println_debug(somejunk+" moveitems: From:"+itemFrom+"
    			// To:"+itemTo);
    			moveItems(itemFrom, itemTo, somejunk);
    
    			break;
    Reply With Quote  
     

  2. #2  
    Registered Member
    Anfernio's Avatar
    Join Date
    Jul 2008
    Age
    23
    Posts
    414
    Thanks given
    23
    Thanks received
    39
    Rep Power
    221
    Orphaned case means that the case was already created, so you'd need to change case ###: to something different.
    Reply With Quote  
     

  3. #3  
    DeltaScape is Pro!!

    Join Date
    Feb 2008
    Age
    26
    Posts
    743
    Thanks given
    4
    Thanks received
    5
    Rep Power
    77
    There you go, rep+.
    [Only registered and activated users can see links. ]
    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
  •