Thread: [Elvarg v3.2] Anti-leech / exploit fix

Results 1 to 8 of 8
  1. #1 [Elvarg v3.2] Anti-leech / exploit fix 
    Registered Member
    Join Date
    Jan 2020
    Posts
    12
    Thanks given
    1
    Thanks received
    2
    Rep Power
    36
    Hello everyone!
    I have been working on an Elvarg-based server and came across an exploit allowing players to receive donator status by using the :: players command. This is extremely simple, but as I have not seen this anywhere else, I figured I'd post this.

    (NOTE: I checked OSRS PK and Elvarg v3.1 and neither have this exploit)

    Original code:
    Spoiler for Original code:
    @Override
    public void execute(Player player, String command, String[] parts) {
    // DialogueManager.sendStatement(player, "There are currently " + World.getPlayers().size() + " players online.");
    player.setDonatorRights(DonatorRights.REGULAR_DONA TOR);

    player.getPacketSender().sendRights();
    }


    Spoiler for In package com.elvarg.game.model.commands.impl;:
    @Override
    public void execute(Player player, String command, String[] parts) {
    player.getPacketSender().sendMessage("There are currently " + World.getPlayers().size() + " players online.");
    }


    I feel 'almost' idiotic posting this as I don't really believe this is post-worthy, but may be useful to developers.
    Reply With Quote  
     

  2. #2  
    Registered Member Mark_'s Avatar
    Join Date
    Jul 2020
    Posts
    16
    Thanks given
    15
    Thanks received
    11
    Rep Power
    29
    Maybe post the server you downloaded it from and edit the title so people don't think its all elvarg servers

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2020
    Posts
    12
    Thanks given
    1
    Thanks received
    2
    Rep Power
    36
    Quote Originally Posted by Mark_ View Post
    Maybe post the server you downloaded it from and edit the title so people don't think its all elvarg servers
    I downloaded it from Professor Oak @ [Only registered and activated users can see links. ]

    As for the title, it says in the title Elvarg v3.2
    Reply With Quote  
     

  4. #4  
    Registered Member Mark_'s Avatar
    Join Date
    Jul 2020
    Posts
    16
    Thanks given
    15
    Thanks received
    11
    Rep Power
    29
    Quote Originally Posted by VoidBox View Post
    I downloaded it from Professor Oak @ [Only registered and activated users can see links. ]

    As for the title, it says in the title Elvarg v3.2
    You said its not in VERSION 3.1 tho ? and on that thread is the version it goes up to

    OT: Im sure this will make some people look good job for telling people

    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2020
    Posts
    12
    Thanks given
    1
    Thanks received
    2
    Rep Power
    36
    Quote Originally Posted by Mark_ View Post
    You said its not in VERSION 3.1 tho ? and on that thread is the version it goes up to

    OT: Im sure this will make some people look good job for telling people
    Not to sound rude, but I don't believe you actually clicked or read the thread. It goes up to v3.2 and the reason it's not in v3.1 is because that version is using OSRS PK structure(which did not have this exploit).
    Thank you though, I felt dumb posting this. Lmao
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2015
    Posts
    7
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Good catch. It was in the copy of Elvarg 3.2 that I had as well.
    Reply With Quote  
     

  7. #7  
    Extreme Donator


    Join Date
    Oct 2010
    Posts
    2,858
    Thanks given
    1,199
    Thanks received
    1,617
    Rep Power
    5000
    Wouldn't call this an anti-leech or an exploit lol it looks like some debug code that was left behind, nice find though.
    [Today 01:29 AM] RSTrials: Nice 0.97 Win/Loss Ratio luke. That's pretty bad.
    [Today 01:30 AM] Luke132: Ok u fucking moron i forgot i could influence misc.random
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jan 2020
    Posts
    12
    Thanks given
    1
    Thanks received
    2
    Rep Power
    36
    Quote Originally Posted by Professor Oak View Post
    Wouldn't call this an anti-leech or an exploit lol it looks like some debug code that was left behind, nice find though.
    Yea I figured if you really wanted it to be an exploit or anti-leech you would have made the command do its function + give donator. Just wasn't really sure what to call it. Ultimately could be an exploit if someone doesn't fix it though. Thank you.
    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. FormationX v3 with fixed anti-leech!
    By xJames in forum Downloads
    Replies: 18
    Last Post: 07-25-2011, 10:11 AM
  2. [delta]null anti leech fix [delta]
    By atrix676 in forum Tutorials
    Replies: 10
    Last Post: 03-12-2011, 01:17 AM
  3. Replies: 19
    Last Post: 04-17-2010, 10:39 AM
  4. {508}Butterscape Fixed Anti-Leech{508}
    By xxhitmekoxx in forum Downloads
    Replies: 10
    Last Post: 05-23-2009, 08:41 AM
  5. Fixing Milk 508 v3 Anti-Leech
    By Enjoi in forum Tutorials
    Replies: 11
    Last Post: 05-08-2009, 03:38 PM
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
  •