Thread: Dueling request help

Results 1 to 4 of 4
  1. #1 Dueling request help 
    Registered Member
    Join Date
    Jul 2008
    Posts
    430
    Thanks given
    6
    Thanks received
    29
    Rep Power
    12
    Hi i recently had this working before but i had to redo the dueling because of 100 errors i couldn't figure out but anways my problem is that when i try to send a request for dueling it doesn't work. Its combined with the case of trading of course but I don't remember exactly how I did it. If you can help me Ill appericate it.

    Code:
    case 39:
            // Trade answer
            //WanneTradeWith = inStream.readSignedWordBigEndian();
            //WanneTrade = 2;
            trade_reqId = inStream.readSignedWordBigEndian();
    	duelingWith = inStream.readSignedWordBigEndian();
    	if (!inDuelArena()) {
            tradeReq(trade_reqId);
             } else if (inDuelArena()) {
    	requestDuel(duelingWith);
    	}
    	break;
          case 128:
            // Trade Request
            int temp = inStream.readUnsignedWord();
            if (!antiHax())
              break;
            if (!inTrade || !inDuelArena()) {
                trade_reqId = temp;
                tradeReq(trade_reqId);
            } else if (!inTrade || inDuelArena()) {
    	duelingWith = temp;
    	requestDuel(duelingWith);
    	}	
            break;
    Reply With Quote  
     

  2. #2  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    You shoulda made backups m8 and sorry cant help i dont see the whoole entire code
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2008
    Posts
    430
    Thanks given
    6
    Thanks received
    29
    Rep Power
    12
    ye i Did and i double checked everything and i transfered all the stuff but then i forgot to do the request case.
    Reply With Quote  
     

  4. #4  
    thenewchance
    Guest
    Quote Originally Posted by solcrystal View Post
    ye i Did and i double checked everything and i transfered all the stuff but then i forgot to do the request case.
    If I'm not mistaken, the case is 135 for duel request.
    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
  •