GMDprivateServer
GMDprivateServer copied to clipboard
SubmitGJUserInfo/restoreGJItems.php
1.7 features
Someone actually bothered to fix the Restore functionality for GDPS? Nice.
I don't know how to provoke the game to send a request to submitGJUserInfo.php, so maybe the code will change a bit if I find more info
I don't know how to provoke the game to send a request to submitGJUserInfo.php, so maybe the code will change a bit if I find more info
it sends a req to that when updateGJUserScore returns -6
sorry, but updateGJUserScore must return -9 to provoke game send req to submitGJUserInfo
btw, it sends empty data :/
it works!
have you tested restoring with this? the currently documented format for restoreGJItems is as follows:
//restoreGJItems.php response
//tested up to 1.9
1 = official level
1:beatenNormalMode,beatenPractice,coins; //main levels are split with ; for example 1,1,3;1,0,2;0,1,0;
2:stars
3:demons
4:jumps
5:attempts
6:onlineLevels
The problem is that the client only sends data about online levels via submitGJUserInfo.php
have you tested restoring with this? the currently documented format for restoreGJItems is as follows:
//restoreGJItems.php response //tested up to 1.9 1 = official level 1:beatenNormalMode,beatenPractice,coins; //main levels are split with ; for example 1,1,3;1,0,2;0,1,0; 2:stars 3:demons 4:jumps 5:attempts 6:onlineLevels
Restore works if you follow this format. But maybe there is another option for mappacks