Skip to content

updateGJDesc20.php ​

Updates the description of a level

Parameters ​

ParameterExplanation
accountID *The player's account ID (not to be confused with user ID). Used for authorization
gjp2 *The player's account password, encoded with GJP2. Used for authorization
levelID *The ID of the level
levelDesc *The new description of the level, converted to URL-safe base64
secret *Common Secret: Wmfd2893gb7
gameVersion aA number representing the game's version. The current value is 22 for 2.2
binaryVersion aA number representing the game's small version. The current value is 51 for 2.209 on PC and mobile
udid aThe player's UDID (Unique Device Identifier). Used to identify unregistered users
uuid aThe player's user ID. See the previous format here
dvs aA number representing the OS platform the player is using. Corresponds to the Cocos2d CC_TARGET_PLATFORM macro: 1 for iOS, 2 for Android, 3 for Windows, 8 for macOS

Response ​

1 if successful, -1 if not

Example ​

Python ​

py
import requests

data = {
    "accountID": 18178627, # shikoshib's account ID
    "gjp2": "********", # This would be shikoshib's password encoded with GJP2 encryption
    "levelID": 85555028,
    "levelDesc": "V2l0aCBsb3ZlIGZyb20gR0QgRG9jcyE=", # With love from GD Docs!
    "secret": "Wmfd2893gb7",
}

r = requests.post('https://www.boomlings.com/database/updateGJDesc20.php', data=data)
print(req.text)

Response

py
1