Thread: Wipe

Results 1 to 5 of 5
  1. #1 Wipe 
    Donator

    Sir Lethal's Avatar
    Join Date
    Mar 2008
    Posts
    2,286
    Thanks given
    9
    Thanks received
    74
    Rep Power
    426
    Base: PI/DSPK

    Problem: Players are abusing a glitch, and i was wondering how I could create a "gold/cash" reset that would wipe everyones gold if they had 1B or above.
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    May 2008
    Posts
    1,234
    Thanks given
    31
    Thanks received
    25
    Rep Power
    279
    I would Say get the fix for it because Making there money reset urd loose players
    Reply With Quote  
     

  3. #3  
    Donator

    Sir Lethal's Avatar
    Join Date
    Mar 2008
    Posts
    2,286
    Thanks given
    9
    Thanks received
    74
    Rep Power
    426
    Quote Originally Posted by Mvp x Kingz View Post
    I would Say get the fix for it because Making there money reset urd loose players
    I already fixed it, hence why I'm asking how to wipe gold higher then 1B

    I'll pay 5$ for someone to make one 4 me
    Reply With Quote  
     

  4. #4  
    I'm President Carter


    Join Date
    Jan 2011
    Posts
    1,204
    Thanks given
    17
    Thanks received
    222
    Rep Power
    144
    Quote Originally Posted by Sir Lethal View Post
    I already fixed it, hence why I'm asking how to wipe gold higher then 1B

    I'll pay 5$ for someone to make one 4 me
    Go on msn I can help you.


    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Sep 2007
    Age
    32
    Posts
    2,396
    Thanks given
    5
    Thanks received
    436
    Rep Power
    902
    create a new Program which loops through all character files, first it loads them using the load method, if the player has more than 1b cash, (dont add to inventory) once you load the player resave them

    this code will loop all character files

    File dir = new File("./characters"):
    for(File playerFile : dir.listFiles()){
    String playerName = playerFile.getName();
    //load code
    //remove if player has 1b
    //save code
    }

    thats the theory its not too hard to implement yourself if you think about it
    Hyperion V2 Martin's Updates.

    Scar says:
    i hate it when it hits your face
    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. Wipe off old un deleted files
    By Colby in forum Application Development
    Replies: 12
    Last Post: 08-29-2009, 08:16 PM
  2. Reputation Wipe
    By Runite in forum Suggestions
    Replies: 8
    Last Post: 10-28-2008, 06:09 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •