Skip to content

Commit a237a46

Browse files
author
Matvey
authored
Fix updateGJDesc20.md (#112)
1 parent 1cfcdf7 commit a237a46

File tree

1 file changed

+8
-29
lines changed

1 file changed

+8
-29
lines changed

docs/endpoints/updateGJDesc20.md

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -35,44 +35,23 @@ Updates the description of a level
3535
### **Python**
3636

3737
```py
38-
import requests, base64, random
38+
import requests
3939

4040
data = {
41-
"accountID": 5317656, # PasswordFinders' account ID
42-
"gjp": "********", # This would be PasswordFinders' password encoded with GJP encryption
43-
"userName": "PasswordFinders",
44-
"stars": 6969,
45-
"demons": 69,
46-
"diamonds": 5000,
47-
"icon": 0,
48-
"color1": 21,
49-
"color2": 42,
50-
"iconType": 0,
51-
"coins": 150,
52-
"userCoins": 400,
53-
"special": 2,
54-
"accIcon": 0,
55-
"accShip": 0,
56-
"accBall": 0,
57-
"accBird": 0,
58-
"accDart": 0,
59-
"accRobot": 0,
60-
"accGlow": 0,
61-
"accSpider": 0,
62-
"accExplosion": 1,
41+
"accountID": 18178627, # shikoshib's account ID
42+
"gjp": "********", # This would be shikoshib's password encoded with GJP encryption
43+
"levelID": 85555028,
44+
"levelDesc": "V2l0aCBsb3ZlIGZyb20gR0QgRG9jcyE=", # With love from GD Docs!
6345
"secret": "Wmfd2893gb7",
64-
"seed": ''.join(random.sample("1234567890qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM", 10))
6546
}
66-
items = [add(data, "accountID"), add(data, 'userCoins'), add(data, 'demons'), add(data, 'stars'), add(data, 'coins'), add(data, 'iconType'), add(data, 'icon'), add(data, 'diamonds'), add(data, 'accIcon'), add(data, 'accShip'), add(data, 'accBall'), add(data, 'accBird'), add(data, 'accDart'), add(data, 'accRobot'), add(data, 'accGlow'), add(data, 'accSpider'), add(data, 'accExplosion')]
67-
data['seed2'] = generate_chk(items, "85271", "xI35fsAapCRg")
6847

69-
r = requests.post('http://boomlings.com/database/updateGJUserScore22.php', data=data)
48+
r = requests.post('http://boomlings.com/database/updateGJDesc20.php', data=data)
7049
print(req.text)
7150
```
7251

7352
**Response**
7453
```py
75-
17787971
54+
1
7655
```
7756

78-
<!-- tabs:end -->
57+
<!-- tabs:end -->

0 commit comments

Comments
 (0)