deleteGJEditorSound.php
Deletes a sound pack from the server.
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 | Level Secret: Wmfv2898gc9 | Yes |
soundID | The ID of the pack being deleted | Yes |
udid | The player's UDID (Unique Device Identifier). Used to identify unregistered users | |
uuid | The player's user ID. See the previous format here | |
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 | |
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 1 if deleted, -1 if it failed or the pack does not exist.
Example
Python
py
import requests
# With this code, DevExit is deleting the sound pack with ID 53820
headers = {
"User-Agent": ""
}
data = {
"accountID": 173831, # DevExit's account ID
"gjp2": "********", # This would be DevExit's password encoded with GJP2 encryption
"listID": 53820,
"secret": "Wmfv2898gc9"
}
req = requests.post("https://www.boomlings.com/database/deleteGJEditorSound.php", data=data, headers=headers)
print(req.text)Response
py
1