Anyone?
|
|
How would I make it so people can only connect using my client?
Like if I want to update it, they can't connect with the old client they used before. I know in RichScape they had something like this:
But I don't understand it at all.Code:if (UID != 59145243) { Send("You aren't on the official client, please download it off the website."); }
So help
I'll rep+ to anyone who helps.
---------- Post added at 10:20 PM ---------- Previous post was at 09:55 PM ----------
...Anyone?
Anyone?

If im correct the UID is the number the client uses to corrispond with the server.
not sure how it works tho.

if (UID != 59145243) {
Send("You aren't on the official client, please download it off the website.");
return = 3;
}
something like that i dont remember
Does anyone else know?
---------- Post added at 02:41 AM ---------- Previous post was at 02:21 AM ----------
o_o?

1) don't give out ip
2) don't give out port
3) in client - client.java find "uid" change to like 59843
4) in server - client.java add "if (uid 1= 59843) { disconnected = true }(or w/e)"
and you should pretty much only allow your client. if your client gets decompiled the person will be able to find the uid and make their own client use it allowing themself to use their own client to obfusticate your client
| « Prayer | adding orbs to sigex 500+ » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |