RapeScap3
Would you like to react to this message? Create an account in a few clicks or log in to continue.


The Growing Hit 317 Rs Private Server RapeScap3...BEST Customs!!!
 
HomeHomeGalleryLatest imagesSearchLog inRegister

 

 account checker for duped items.

Go down 
AuthorMessage
Pure Kaos




Posts : 438
Points : 2147595307
Rank : 1
Join date : 2009-08-09
Age : 30
Location : England, Bristol

account checker for duped items. Empty
PostSubject: account checker for duped items.   account checker for duped items. Icon_minitimeThu Nov 05, 2009 6:53 pm

import java.io.*;
import java.util.*;

public class AccountScanner {

public static void main(String args[]) {

System.out.print("Enter string to find: ");
Scanner sc = new Scanner(System.in);
find(sc.nextLine());

}

public static void find(String delim) {
File dir = new File("../../Players/Characters");
if(dir.exists()) {
String read;
try {
File files[] = dir.listFiles();
for(int i = 0; i < files.length; i++) {
File loaded = files[i];
if(loaded.getName().endsWith(".txt")) {
http://System.out.println("Searching " + loaded.getName());
BufferedReader in = new BufferedReader(new FileReader(loaded));
StringBuffer load = new StringBuffer();
while((read = in.readLine()) != null) {
load.append(read + "\n");
}
String delimiter[] = new String(load).split(delim);
if(delimiter.length > 1) {
System.out.println("Found " + (delimiter.length - 1) + " time(s) in " + loaded.getName() + "!");
}
}
}
} catch(Exception e) {
e.printStackTrace();
}
} else {
System.out.println("error: dir wasn't found!");
}
}
}
Back to top Go down
http://ownageclan123.getgoo.net/portal.htm
 
account checker for duped items.
Back to top 
Page 1 of 1
 Similar topics
-
» i got band cause they said i duped when i didnt
» my new account name is adam
» Buying Rs Account because Im quitting Rapescap3!
» rs account level 97
» account nulled or something

Permissions in this forum:You cannot reply to topics in this forum
RapeScap3 :: General :: Runescape General-
Jump to: