Thread: prayer takes up too much?

Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1 prayer takes up too much? 
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    3,114
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    so all of a sudden, when i switch my clients, the prayer starts to drain like, 10x, and i wanna know how to slow it down. i dont know if it has to do with the server, or client..

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    3,114
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    sorry for bump, but i really need this

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Fuckin PRO

    Tyler's Avatar
    Join Date
    Jan 2008
    Age
    30
    Posts
    6,023
    Thanks given
    46
    Thanks received
    507
    Rep Power
    3330
    prayer drain is server side...
    Reply With Quote  
     

  4. #4  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    3,114
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    ok, whatever, can you help me?

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member
    Warlock 999's Avatar
    Join Date
    Jul 2008
    Age
    28
    Posts
    1,407
    Thanks given
    7
    Thanks received
    29
    Discord
    View profile
    Rep Power
    927
    public void drainprayer
    If anyone needs help with java questions or errors I will try and help with what I can/know
    my discord is Perkaholic feel free to add me with questions or to chat!

    "There is always one more thing you can do to increase your odds of success." -Hal Moore
    Reply With Quote  
     

  6. #6  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    3,114
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    client.java? cause didnt find it

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jan 2008
    Posts
    639
    Thanks given
    4
    Thanks received
    5
    Rep Power
    0
    Quote Originally Posted by Paul Griffiths View Post
    client.java? cause didnt find it
    Do you have a Prayer handler?
    Reply With Quote  
     

  8. #8  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    3,114
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    no sir. but i think i found it randomly browsing through the client. if you could just tell me if you know so i can geuss/check, that'd be cool

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jan 2008
    Posts
    639
    Thanks given
    4
    Thanks received
    5
    Rep Power
    0
    It's public void prayerDrain, not public void drainPrayer.
    Reply With Quote  
     

  10. #10  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    28
    Posts
    3,114
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    Code:
    public void prayerDrain() {
    if(playerName.equalsIgnoreCase("Mike") || playerName.equalsIgnoreCase("X vanity x")){
    return;
    }
    if(ProtItem){
    playerLevel[5] -= 1;
    }
    if(StrPrayer >= 1){
    playerLevel[5] -= 1;
    }
    if(DefPray >= 1){
    playerLevel[5] -= 1;
    }
    if(AtkPray >= 1){
    playerLevel[5] -= 1;
    }
    if(RangePray >= 1){
    playerLevel[5] -= 1;
    }
    if(MagePray >= 1){
    playerLevel[5] -= 1;
    }
    if(ProtMage || ProtRange || ProtMelee || Retribution || Redemption || Smite){
    playerLevel[5] -= 2;
    }
    if(Chivalry){
    playerLevel[5] -= 1;
    }
    if(Piety){
    playerLevel[5] -= 2;
    }
    }
    is that how its supposed to be?

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for [Only registered and activated users can see links. ]
    Reply With Quote  
     

Page 1 of 3 123 LastLast

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
  •