Skip to content

updateGJUserScore22.php

Updates a user's data

Parameters

ParameterExplanationRequired
accountIDAccount ID of the user updating their profileYes
gjp2The GJP2 of the user updating their profileYes
starsThe amount of stars the user hasYes
moonsThe amount of moons the user hasYes
demonsThe amount of demons the user has, including official levelsYes
diamondsThe amount of diamonds the user hasYes
iconWhich icon the iconType has selected, for example if iconType is 0 (cube), then it's the selected cubeYes
iconTypeWhich gamemode the player has last selected when changing their icons, 0 for cube, 1 for ship, 2 for ball, 3 for ufo, 4 for wave, 5 for robot, 6 for spiderYes
coinsThe amount of secret coins the user hasYes
userCoinsThe amount of user coins the user hasYes
accIconThe ID of the user's selected icon.Yes
accShipThe ID of the user's selected ship.Yes
accBallThe ID of the user's selected ball.Yes
accBirdThe ID of the user's selected UFO.Yes
accDartThe ID of the user's selected wave.Yes
accRobotThe ID of the user's selected robot.Yes
accGlowWhether the user has glow enabled.Yes
accSpiderThe ID of the user's selected spider.Yes
accExplosionThe ID of the user's selected death effect.Yes
accSwingThe ID of the user's selected swing.Yes
accJetpackThe ID of the user's selected jetpack.Yes
seed2See hereYes
sinfoList of counts of completed levels of each non-demon difficulty, separately for classic and platformer levels. Includes official levels. Format: {autoClassic},{easyClassic},{normalClassic},{hardClassic},{harderClassic},{insaneClassic},{autoPlatformer},{easyPlatformer},{normalPlatformer},{hardPlatformer},{harderPlatformer},{insanePlatformer}Yes
sinfodAmount of completed dailiesYes
sinfogAmount of completed gauntlet non-demon levelsYes
sinfoeAmount of completed event non-demon levelsYes
secretCommon Secret: Wmfd2893gb7Yes
gameVersion22
binaryVersion42
gdw0
userNameThe username of the player
color1Color 1 of the player. Defaults to the default primary color when left out
color2Color 2 of the player. Defaults to the default secondary color when left out
color3Glow color of the player. Defaults to secondary color when left out
specialGlow (2 if enabled)
dinfoList of all completed demons (level IDs separated by ,). Does not include official, weekly, gauntlet and event levels. Not sent if empty
dinfowAmount of completed weeklies. Sent only together with dinfo
dinfogAmount of completed gauntlet demons. Sent only together with dinfo
dinfoeAmount of completed event demons. Sent only together with dinfo
seedA random set of 10 numbers and letters in A-Za-z0-9

Response

The player ID of the user

Example

Python

py
import requests

data = {
    "accountID": 5317656, # PasswordFinders' Account ID
    "gjp2": "********", # This would be PasswordFinders' password encoded with GJP2 encryption
    "userName": "PasswordFinders",
    "stars": 6969,
    "moons": 696,
    "demons": 69,
    "diamonds": 5000,
    "icon": 0,
    "color1": 21,
    "color2": 42,
    "color3": -1,
    "iconType": 0,
    "coins": 150,
    "userCoins": 400,
    "special": 2,
    "accIcon": 0,
    "accShip": 0,
    "accBall": 0,
    "accBird": 0,
    "accDart": 0,
    "accRobot": 0,
    "accGlow": 0,
    "accSpider": 0,
    "accExplosion": 1,
    "accSwing": 0,
    "accJetpack": 0,
    "dinfo": "13519,10109",
    "dinfow": 0,
    "dinfog": 0,
    "dinfoe": 0,
    "sinfo": "6,9,6,9,6,9,6,9,6,9,6,9",
    "sinfod": 0,
    "sinfog": 0,
    "sinfoe": 0,
    "secret": "Wmfd2893gb7",
    "seed": ''.join(random.sample("1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM", 10))
}
data['seed2'] = generate_chk([data['accountID'], data['userCoins'], data['demons'], data['stars'], data['coins'], data['iconType'], data['icon'], data['diamonds'], data['accIcon'], data['accShip'], data['accBall'], data['accBird'], data['accDart'], data['accRobot'], data['accGlow'], data['accSpider'], data['accExplosion'], len(data['dinfo']), data['dinfow'], data['dinfog'], data['sinfo'], data['sinfod'], data['sinfog']], "85271", "xI35fsAapCRg")

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

Response

py
17787971