uploadGJEditorSound.php
Uploads a sound pack to the servers.
Parameters
| Parameter | Explanation | Required |
|---|---|---|
accountID | The player's account ID (not to be confused with user ID). Used for authorization | Yes |
gjp2 | The player's account password, encoded with GJP2. Used for authorization | Yes |
secret | Common Secret: Wmfd2893gb7 | Yes |
soundName | The name of the pack, in plain text | Yes |
soundData | The sound pack's data | Yes |
soundDesc | The description of the pack, in URL-safe base64 | |
actionCount | Sent as the amount of actions with a sound attached to them, but doesn't seem to do anything | |
soundCount | Send as the amount of sounds used, but doesn't seem to do anything | |
emote | The emote to be used as the icon of the pack | |
soundID | The ID of the list if updating to a newer version, otherwise 0 | |
unlisted | Set to 4 if the pack should be unlisted, and to 3 if the pack should be unlisted and only viewable by friends | |
gameVersion | A number representing the game's version. The current value is 22 for 2.2 | |
binaryVersion | A number representing the game's small version. The current value is 51 for 2.209 on PC and mobile | |
udid | The player's UDID (Unique Device Identifier). Used to identify unregistered users | |
uuid | The player's user ID. See the previous format here | |
dvs | A 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
Returns the ID of the uploaded pack, -100 if the wrong secret is provided, -17 if the name contains a swear word, or a Custom Error Message for other errors.
Example
Python
py
import requests
data = {
"accountID": 173831, # This is DevExit's account ID
"gjp2": "*******", # This would be DevExit's password encoded with GJP2 encryption
"soundName": "Aqua Pack", # This is the pack name
"soundData": "H4sIAAAAAAAACl2P2w3EIAwEG7JO2IAfpP--gpdATvlaGNnLwBcTayMhzpM3ibHSn7TkpTwTIq55Lj-lSixjo89FqU2Ayr3K4X0gdAWanU-zrgItiB4Jzf7UtlKFkpze6PhFvECh2HyaYGmOgPQE2D7PGqxmVEi8XO26ARRIq7ceAQAA",
"soundDesc": "VHJpZWQgdG8gbWFrZSBhbiBhY3R1YWwgZWRpdG9yIHNvdW5kIHBhY2s=",
"emote": "blob",
"secret": "Wmfd2893gb7"
}
headers = {
"User-Agent": ""
}
url = "https://www.boomlings.com/database/uploadGJEditorSound.php"
req = requests.post(url=url, data=data, headers=headers)
print(req.text)Response
plain
53819