Thread: Attack option first in Duel

Results 1 to 2 of 2
  1. #1 Attack option first in Duel 
    Seven Lions

    Yvne's Avatar
    Join Date
    Sep 2012
    Posts
    1,204
    Thanks given
    164
    Thanks received
    173
    Rep Power
    81
    I don't know how I would change it so the attack option is always first no matter your combat level in the duel arena only.

    Code:
    } else if (inDuelArena()) {
    			getPA().walkableInterface(201);
    			if (duelStatus == 5) {
    				getPA().showOption(3, 0, "Attack", 1);
    			} else {
    				getPA().showOption(3, 0, "Challenge", 1);
    			}
    I don't even know what method deals with it.

    If anyone could help me out with this, it'd be greatly appreciated.

    Reply With Quote  
     

  2. #2  
    Respected Member


    Join Date
    Jan 2009
    Posts
    5,743
    Thanks given
    1,162
    Thanks received
    3,603
    Rep Power
    5000
    Quote Originally Posted by Yvne View Post
    I don't know how I would change it so the attack option is always first no matter your combat level in the duel arena only.

    Code:
    } else if (inDuelArena()) {
    			getPA().walkableInterface(201);
    			if (duelStatus == 5) {
    				getPA().showOption(3, 0, "Attack", 1);
    			} else {
    				getPA().showOption(3, 0, "Challenge", 1);
    			}
    I don't even know what method deals with it.

    If anyone could help me out with this, it'd be greatly appreciated.

    Code:
    			case 104:
    				int j4 = inStream.method427();
    				int i12 = inStream.method426();
    				String s6 = inStream.readString();
    				if (j4 >= 1 && j4 <= 5) {
    					if (s6.equalsIgnoreCase("null"))
    						s6 = null;
    					atPlayerActions[j4 - 1] = s6;
    					atPlayerArray[j4 - 1] = i12 == 0;
    				}
    				pktType = -1;
    				return true;
    First value is the order! Just a quick note though the Walk Here action is done by the client, so you may need to edit the client.
    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. RuneScape Option Bug in Duel Arena
    By Wizzy G in forum Chat
    Replies: 15
    Last Post: 12-22-2010, 10:13 PM
  2. Replies: 5
    Last Post: 04-09-2010, 10:36 PM
  3. Replies: 68
    Last Post: 11-08-2009, 03:30 PM
  4. -Attack option only in wild, Noob tut[DELTA]
    By -The Greatest in forum Tutorials
    Replies: 93
    Last Post: 10-25-2009, 10:36 PM
  5. attack option only in wild[562]
    By Discardedx2 in forum Requests
    Replies: 3
    Last Post: 10-25-2009, 01:49 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
  •