Removed.
Removed.
Removed
Tut been posted several times.. but yeah whatever it's good, you still shouldn't double post.
Protecting against UID is horrible in the sense that any client's UID can be changed to match the UID accepted to connect thus resulting in your problem once again.
Been posted many times before, but I guess you explained it ok gj
If you release a new client with a certain UID.Quote:
Originally Posted by Roger [Only registered and activated users can see links. Click Here To Register...]
U can Save, Compile that UID.
Then go change it in signlink and save but not Compile SO whoever goes to check the UID , they will see a false one...
They can decompile the signlink.class.Quote:
Originally Posted by kill4realz7 [Only registered and activated users can see links. Click Here To Register...]
Only idiots would include the java files in the client.Quote:
Originally Posted by kill4realz7 [Only registered and activated users can see links. Click Here To Register...]
A smart person would obfuscate it.
A smarter person would obfuscate and create a second method of authentication, a backup UID if you will, and since everything is obfuscated, it would take someone with a lot of determination to crack.
for delta your gonna have to change this too then. btw thats in server.java
or else not gonna let u log in.Code:public static void main(java.lang.String args[])
throws NullPointerException {
try {
File f = new File("server.ini");
if (!f.exists()) {
misc.println("server.ini doesn't exist!");
}
Properties p = new Properties();
p.load(new FileInputStream("./server.ini"));
int client = Integer.parseInt(p.getProperty("ClientRequired")
.trim());
world = Integer.parseInt(p.getProperty("WorldId"));
serverlistenerPort = Integer.parseInt(p.getProperty("ServerPort")
.trim());
if (client > 0) {
misc.println("Enforcing Devolution client requirement");
enforceClient = true;
}
} catch (Exception e) {
misc.println("Error loading settings");
e.printStackTrace();
}
Quote:
Originally Posted by b a l l a [Only registered and activated users can see links. Click Here To Register...]
You don't need to Edit that,
It will let you log in because you set that official client already in client.java and in the server.ini
:| Works for me.