Posts: 434
Threads: 80
Joined: Oct 2008
Reputation:
0
Hi all,
first of all,
excuse me if i post into the wrong section.
I would like to know, how could i do,
to make an launcher for my server.
A launcher who will detect if ****** or another cheat is installed. In the case of there are, the launcher won't be able to to connect to my server. The launcher won't send the server password to samp.exe
and is there aren't, he will send the password to be able to connect
Thank you
Max
Posts: 180
Threads: 21
Joined: Jul 2012
Reputation:
0
you have to create c++ client app (or any other language) that will connect to your server app and check if it is online and gather information, then it will find GTA SA installed in user's computer and try to find some hacks (you have to do it on your own, to check if there are any other files than default GTA files and then compare them with some files u've marked as "hacks"), if it will find any hack user won't be able to press "start" button, otherwise, if it won't detect anything, you should start SAMP with connect parameter to your server IP+port and password (if there is any)
edit:
the client app(launcher) should work like this:
1. start launcher
2. launcher connects to server app
3. can connect to server app?
3a. no: Disable "Launch" button
3b. yes: do we know where is GTA SA Installed?
3ba. no: let's ask the user
3bb. yes: are there any other files than default GTA SA files?
3bba. no: start SAMP and connect to server with password via argument
3bbb. yes: get name of the 'blocked' files from server, do user have at least one of those files?
3bbba. no: goto: 3bba
3bbbb. yes: disable "Launch" button
Posts: 434
Threads: 80
Joined: Oct 2008
Reputation:
0
Ok thank you for you quick andwer, do you know if there is some tuto?
Max
Posts: 434
Threads: 80
Joined: Oct 2008
Reputation:
0
Ok thank you, i may use VB, more easy
Max