- Joined
- Dec 12, 2011
- Messages
- 86
- Reaction score
- 1
how to make a launcher with this script here help me see
LPL - Launcher programming language. (VB, C, C++, C#, ...)
WSL - Web Server Language. (PHP, ASP, ...)
1. Enter Username/Password to Launcher. Launcher asks, for User/Pass ...
2. Send them to your web server: [LPL -> WSL]
"http://localhost/GetToken.php?username="+username+"&password="+password
... and sends it to Web server, ...
3. Web Server checks are they valid? [WSL]
($result = "SELECT [nEMID], [sUserpass] FROM [tAccounts]
WHERE [sUsername] = $username" ) == $password
... which then validates it ...
4. Generate a token: [WSL]
"$token = GenerateRandomToken();"
... and generates the token ...
5. Save it to Database: [WSL]
"INSERT INTO [tTokens]([nEMID],[sToken])
VALUES ($result[0],$token)"
... then saves it to DB, ...
6. Return it Launcher: [WSL -> LPL]
"echo $token."
... after that it sends token back to the launcher ...
7. And start the Client with correct parameters: [LPL]
Process.Start("Client.exe", "-osk_server 127.0.0.1 -osk_token "+tokenfromhttppage+" -osk_store YourGameStore")
... and it starts the Client with it.
8. Wait for Client Load.
9. Client sends data to LoginService. When Client is started up it connects to the Login server ...
10. LoginService sends data to Web Server: [C++ -> WSL]
"http://stubedore.t/user/v1/getInfo?realm=fiesta&token="+tokenfromlauncher+"&sig=LongHexString"
Remap "stubedore.t" in hosts file.
... which validates the token by asking the Web server (REST Server acts like it as default) ...
11. Web Server validates token: [WSL]
($result = "SELECT [tAccounts].[nEMID], [tAccounts].[sUsername] FROM [tAccounts], [tTokens] WHERE [tAccounts].[nEMID] = [tTokens].[nEMID] and [tTokens].[sToken] = '$token' == true
... which validates the token by asking the Web server (REST Server acts like it as default) ...
12. And sends result back: [WSL -> C++]
"echo '{"token_age":0,"user_id":'.$result[0].',"login":"'.$result[1].'","user_role":"user","blocked":false}';"
... and when its valid/notExpired it sends correct response back.
13. LoginService does whats necessary to get Client in game.
if someone can help me to make a launcher add as friend in skype valmor157 im looking for staff
for real work
and i have already installed visual basic 2008 here on mine computer so help me plz:*::*:
LPL - Launcher programming language. (VB, C, C++, C#, ...)
WSL - Web Server Language. (PHP, ASP, ...)
1. Enter Username/Password to Launcher. Launcher asks, for User/Pass ...
2. Send them to your web server: [LPL -> WSL]
"http://localhost/GetToken.php?username="+username+"&password="+password
... and sends it to Web server, ...
3. Web Server checks are they valid? [WSL]
($result = "SELECT [nEMID], [sUserpass] FROM [tAccounts]
WHERE [sUsername] = $username" ) == $password
... which then validates it ...
4. Generate a token: [WSL]
"$token = GenerateRandomToken();"
... and generates the token ...
5. Save it to Database: [WSL]
"INSERT INTO [tTokens]([nEMID],[sToken])
VALUES ($result[0],$token)"
... then saves it to DB, ...
6. Return it Launcher: [WSL -> LPL]
"echo $token."
... after that it sends token back to the launcher ...
7. And start the Client with correct parameters: [LPL]
Process.Start("Client.exe", "-osk_server 127.0.0.1 -osk_token "+tokenfromhttppage+" -osk_store YourGameStore")
... and it starts the Client with it.
8. Wait for Client Load.
9. Client sends data to LoginService. When Client is started up it connects to the Login server ...
10. LoginService sends data to Web Server: [C++ -> WSL]
"http://stubedore.t/user/v1/getInfo?realm=fiesta&token="+tokenfromlauncher+"&sig=LongHexString"
Remap "stubedore.t" in hosts file.
... which validates the token by asking the Web server (REST Server acts like it as default) ...
11. Web Server validates token: [WSL]
($result = "SELECT [tAccounts].[nEMID], [tAccounts].[sUsername] FROM [tAccounts], [tTokens] WHERE [tAccounts].[nEMID] = [tTokens].[nEMID] and [tTokens].[sToken] = '$token' == true
... which validates the token by asking the Web server (REST Server acts like it as default) ...
12. And sends result back: [WSL -> C++]
"echo '{"token_age":0,"user_id":'.$result[0].',"login":"'.$result[1].'","user_role":"user","blocked":false}';"
... and when its valid/notExpired it sends correct response back.
13. LoginService does whats necessary to get Client in game.
if someone can help me to make a launcher add as friend in skype valmor157 im looking for staff
for real work
and i have already installed visual basic 2008 here on mine computer so help me plz:*::*: