https://spaceinvasion.bitmeup.com/tools/battle-converter/
It returns he same mistake, which is probably easy to fix:
"parsing JSON error: SyntaxError: JSON.parse: unexpected character at line 3 column 1 of the JSON data"
|
loading bits... |
https://spaceinvasion.bitmeup.com/tools/battle-converter/
It returns he same mistake, which is probably easy to fix:
"parsing JSON error: SyntaxError: JSON.parse: unexpected character at line 3 column 1 of the JSON data"
Could you provide your json which you try to import?
The following fleets fought against each other on 2019-01-11 12:45:13 :
ROUND - 1 -
Attacker sitizen [09:196:12]
Weapons:190% Shield:190% Defense:160%
1 |
928 |
522 |
130000 |
Defender Mission6 [09:200:04]
Weapons:0% Shield:0% Defense:0%
DESTROYED
The attacker won the battle!
He won 125 pieces of pig iron, 125 pieces of metal, 125 kryptonite crystals, 125 units of spice
The attacker lost a total of 0 units.
The defender lost a total of 0 units.
There are now 0 metal and 0 kryptonite at these space coordinates
The chance of an asteroid forming is 0%
This mistake is the same with every battle report i have tried
sry - maybe you didn't understand what i mean.
Can you post the string which you copied into the converter from the game?!
I copy-paste the battle report exactly the same way into the converter and here in the forum (making this here in the forum those table lines appear since years) : ctrl+A - copy - paste
this battle converter written by me, is working with the json (export) string from the game.
You can copy this by clicking the Link Icon Top Left corner in your battle report.
Now you can "paste" this somewhere (in my report or here on the board) - you didn't need to use ctrl+a
this is my string:
{
"info": {
"si": "classic",
"v": 1,
"user": {
"userID": 3,
"nickname": "Dschibait"
},
"type": "battle-report",
"universe": {
"id": 901
}
},
"reportID": 148661,
"allianceAttackMember": "",
"startPlanet": {
"id": 12,
"coords": "01:01:12",
"type": "PLANET",
"name": "Kolonie"
},
"destinationPlanet": {
"id": 9,
"coords": "01:01:09",
"type": "PLANET",
"name": null
},
"attacker": {
"userID": 3,
"nickname": "Dschibait",
"researches": {
"damage": 10,
"shield": 10,
"structure": 10
}
},
"defender": {
"userID": 5258,
"nickname": null,
"researches": {
"damage": 0,
"shield": 0,
"structure": 0
}
},
"winner": "1",
"destroyed": {
"attacker": {
"units": 0
},
"defender": {
"units": 0
}
},
"rubblefield": [
0,
0,
0,
0
],
"stolen": {
"resources": [
747,
0,
473,
0
]
},
"firstStrike": false,
"rounds": {
"1": {
"agressor": {
"s1": {
"name": "Small transport",
"level": "1"
}
},
"data": {
"agressor": {
"cnt": 1,
"shield": 20,
"damage": 4
}
}
}
},
"astro": {
"chance": 0,
"created": false
},
"insertDate": "2019-01-01 20:42:14",
"timestamp": 1546371734
}
Thank you, it is really working fine.