[Q] Launcher?
#2

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
Reply


Messages In This Thread
[Q] Launcher? - by scott1 - 19.08.2012, 10:18
Re: [Q] Launcher? - by SEnergy - 19.08.2012, 10:23
Re : [Q] Launcher? - by scott1 - 19.08.2012, 10:27
Re: Re : [Q] Launcher? - by SEnergy - 19.08.2012, 10:28
Re : [Q] Launcher? - by scott1 - 19.08.2012, 11:44

Forum Jump:


Users browsing this thread: 1 Guest(s)