-
Posts
44 -
Joined
-
Last visited
-
Days Won
2
Rales99 last won the day on October 3 2022
Rales99 had the most liked content!
Recent Profile Visitors
3755 profile views
Rales99's Achievements
-
Hello, I am currently undergoing VKPlay moderation. I was asked to change the authorization in the game to the API of the site. That is, the player creates an account on VKPlay and is already authorized to enter the game. How can I do this? Here is a guide from VKPlay To begin playing a client-based game, the user must create or register an existing account on the game site, log into the VK Play GameCenter with this account, download the game, and click Play. VK Play GameCenter will launch the game client with the following command line parameters: game_client.exe --sz_pers_id=[uid] --sz_token=[OTP hash] The names of the parameters --sz_pers_id= and --sz_token= can be modified at the game developers' request. The game client is responsible for transferring the parameters received from VK Play GameCenter to the game's server. The game server must then verify the parameters via the server-to-server protocol described below. Game server protocol description The game server and GAS communicate via HTTP. Calling a method to verify authorization must be done only once by the game server. The second and subsequent calls with the same hash parameter will cause an error. GET, https://vkplay.ru/app/[GMRID]/gas?uid=[int uid]&hash=[string hash]&ip=[string ip]&sign=[md5 sign] Main parameters: https:/vkplay.ru/app/[GMRID] - the URL to which requests are sent [GMRID] - the unique game identifier (which can be found in the developer dashboard in the "System Properties" tab.) <uid> - the ID of the user, received from "VK Play Game Center"; <uid> - the OTP hash received from "VK Play Game Center"; <ip> - the user's IPv4 address, in the format 'xxx.xxx.xxx.xxx'; sign - a unique digital signature. Calculation of the signature must include all POST parameters passed by the request as well as the appid=[GMRID] parameter. More about calculating signatures. Help calculating signatures is available from the signature calculator. The server sends a response in JSON format with utf-8 encoding. If the request is processed successfully, the following response will be returned: { "status": "ok" } Possible errors include: // Incorrect signature {"status": "error", "errcode": 0, "errmsg": "gas_invalid_sign"} // User not found {"status": "error", "errcode": 0, "errmsg": "gas_invalid_user"} // Invalid hash parameter {"status": "error", "errcode": 10, "errmsg": "gas_otp_error"} // Access is restricted to whitelist {"status": "error", "errcode": 20, "errmsg": "gas_whitelist_error"} // Access is restricted to whitelist {"status": "error", "errcode": 30, "errmsg": "gas_whitelist_uid_error"} // User is banned {"status": "error", "errcode": 40, "errmsg": "Time of ban from '' to ''"} // User has not paid for this game (for P2P games) {"status": "error", "errcode": 50, "errmsg": "gas_no_payment"} Interaction Scheme Objects: "GameCenter" - the VK Play Game Center client, which the user uses to download the game; "GAS" - Game Authorization Service - the Platform's authorization system. 1. The user sign in to the "GameCenter". 2. "GameCenter" obtains a one-time token (OTP hash) for the user's ID from VK Play. 3. "GameCenter" sends the ID/OTP hash to the game client. 4. The game client sends the ID/OTP hash to the game server. 5. The game server sends the ID/OTP hash to the system (GAS). 6. GAS verifies the OTP hash, checks the user's status (whether banned or not), registers the user's login, and returns a response containing the user's ID and authentication status. Depending on the response code received, the game server instructs the game client to either let the user into the game or to inform the user of the error that has occurred. An example game client and game server implementation authorization via VK Play GameCenter can be found in this archive.
-
Smoot reacted to a post in a topic:
Today I did this on my project...
-
Story Today I did this on my project...
Rales99 replied to SkywardRiver's topic in Design & Creativity
Thank you very much! However, now everything is completely different. -
George reacted to a post in a topic:
Today I did this on my project...
-
Artheios reacted to a post in a topic:
Today I did this on my project...
-
Xiphoid reacted to a post in a topic:
Today I did this on my project...
-
Story Today I did this on my project...
Rales99 replied to SkywardRiver's topic in Design & Creativity
A little bit about the schedule in Sealed Gate. There is nothing public yet. -
Alexoune001 reacted to a post in a topic:
Today I did this on my project...
-
Tron reacted to a post in a topic:
Today I did this on my project...
-
George reacted to a post in a topic:
Today I did this on my project...
-
Khaikaa reacted to a post in a topic:
Today I did this on my project...
-
Story Today I did this on my project...
Rales99 replied to SkywardRiver's topic in Design & Creativity
-
Xeno reacted to a post in a topic:
Today I did this on my project...
-
George reacted to a post in a topic:
Today I did this on my project...
-
Rales99 reacted to a post in a topic:
Today I did this on my project...
-
Story Today I did this on my project...
Rales99 replied to SkywardRiver's topic in Design & Creativity
Workbenches -
I don't understand what it says. The translator refuses to translate.
-
I want to bring the camera closer to the character at x3 Sorry for bad English. I translate from Russian
-
Which open source file is responsible for the camera range?
-
After closing putty, the server is closed. How do I fix this problem?
-
Всё отлично работает!
-
Why the character creation tab does not work
Rales99 replied to Rales99's question in Questions & Answers
Thank you so much, I completely forgot about it. -
