Thread: [PI] Two Pi isssues

Results 1 to 6 of 6
  1. #1 [PI] Two Pi isssues 
    Registered Member
    Join Date
    Nov 2011
    Posts
    134
    Thanks given
    6
    Thanks received
    1
    Rep Power
    11
    Okay, my first issue is staking, I fixed nearly all of it, except for when you have weapons disabled, if one player equips a weapon, it will end the duel and neither of them will get kicked out, but the one who wielded it will get there item's back :/

    Also,


    In client.java server side i have this

    Code:
    public void initialize() {
    		getPA().sendFrame126("@or1@Welcome to Insanepkz", 663);
    		getPA().sendFrame126("@or1@Players Online: @gre@"+PlayerHandler.getPlayerCount(), 640);
    		getPA().sendFrame126("@or1@Server Owner: @gre@Mentos.", 7332);
    but after compiling and restarting server, still shows this

    Reply With Quote  
     

  2. #2  
    Spoonfeed Me Bitch
    AddictivePkz's Avatar
    Join Date
    Jun 2012
    Age
    28
    Posts
    733
    Thanks given
    79
    Thanks received
    51
    Rep Power
    0
    Not sure about the first problem but try searching for those key words in another file
    Quote Originally Posted by Fakeblitz View Post
    What does [PI] mean? (sorry i am used to 503+)
    And what base is this?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2011
    Posts
    134
    Thanks given
    6
    Thanks received
    1
    Rep Power
    11
    Searched every file in client and source, for "vex" and "dan" got nothing :/
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Dec 2011
    Posts
    139
    Thanks given
    15
    Thanks received
    2
    Rep Power
    8
    client sided, RSInterface (i think)
    Reply With Quote  
     

  5. #5  
    強い者は生き残る
    Ashpire's Avatar
    Join Date
    Mar 2012
    Age
    27
    Posts
    2,721
    Thanks given
    914
    Thanks received
    1,897
    Rep Power
    2231
    Go to - ItemAssistant.java

    Search for public boolean wearItem(

    Then add

    if(c.duelRule[14] && targetSlot == 3) {
    c.sendMessage("Wielding weapons has been disabled in this duel!");
    return false;
    }
    Where you think it should go
    Attached image
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Nov 2011
    Posts
    134
    Thanks given
    6
    Thanks received
    1
    Rep Power
    11
    Edit: now when you're in a duel and try to equip something that is turned off, it will say "Wearing ____ has been disabled in this duel" then if you click it again, you can wield it and it will mess up the duel...
    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

Tags for this Thread

View Tag Cloud

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