Thank you. This worked.
Looks like the C++ write callback is not called regarding the “empty” responses. See attached my log extract:
In short:
Andreass-MBP-2:Downloads andreas$ grep -RIn “WRITE CALLBACK” PR-iOS-Bug.txt | wc -l
24251
Andreass-MBP-2:Downloads andreas$ grep -RIn “Database.hx:128” PR-iOS-Bug.txt | wc -l
24252
Please see attached the log file:
WRITE CALLBACK - 697
URLLoader.hx:420: yyy: 697 / 697
Database.hx:128: com.slipshift.rds90.models.database.Database: -> Getting the following JSON: openfl.events.Event/openfl.net.URLLoader: 0 / 0: {"fights":[],"noxAquamarines":[],"response":"ok","resourcesv2":{"lastUpdateAgo":46,"tickDuration":60,"entities":[{"type":"junk","current":34572,"consumption":0},{"type":"stone","current":34556,"consumption":0},{"type":"food","current":34590,"consumption":261},{"type":"energy","current":34508,"consumption":0},{"type":"population","current":750,"consumption":0}]},"units":[{"unitId":1,"amount":45},{"unitId":2,"amount":93},{"unitId":3,"amount":123}],"ships":[{"shipId":5,"amount":5}],"ogFightId":0,"incomingSquads":[],"squads":[],"unreadMessages":4,"finishedQuests":0,"activeQuest":{"activeQuestId":353,"activeQuestState":1,"progress":null},"timePassed":0.078804969787598,"serverUnderPressure":0}
WRITE CALLBACK - 697
URLLoader.hx:420: yyy: 697 / 697
URLLoader.hx:315: xxx: {"fights":[],"noxAquamarines":[],"response":"ok","resourcesv2":{"lastUpdateAgo":46,"tickDuration":60,"entities":[{"type":"junk","current":34572,"consumption":0},{"type":"stone","current":34556,"consumption":0},{"type":"food","current":34590,"consumption":261},{"type":"energy","current":34508,"consumption":0},{"type":"population","current":750,"consumption":0}]},"units":[{"unitId":1,"amount":45},{"unitId":2,"amount":93},{"unitId":3,"amount":123}],"ships":[{"shipId":5,"amount":5}],"ogFightId":0,"incomingSquads":[],"squads":[],"unreadMessages":4,"finishedQuests":0,"activeQuest":{"activeQuestId":353,"activeQuestState":1,"progress":null},"timePassed":0.078804969787598,"serverUnderPressure":0}
Database.hx:128: com.slipshift.rds90.models.database.Database: -> Getting the following JSON: openfl.events.Event/openfl.net.URLLoader: 0 / 0: {"fights":[],"noxAquamarines":[],"response":"ok","resourcesv2":{"lastUpdateAgo":46,"tickDuration":60,"entities":[{"type":"junk","current":34572,"consumption":0},{"type":"stone","current":34556,"consumption":0},{"type":"food","current":34590,"consumption":261},{"type":"energy","current":34508,"consumption":0},{"type":"population","current":750,"consumption":0}]},"units":[{"unitId":1,"amount":45},{"unitId":2,"amount":93},{"unitId":3,"amount":123}],"ships":[{"shipId":5,"amount":5}],"ogFightId":0,"incomingSquads":[],"squads":[],"unreadMessages":4,"finishedQuests":0,"activeQuest":{"activeQuestId":353,"activeQuestState":1,"progress":null},"timePassed":0.078804969787598,"serverUnderPressure":0}
Main.hx:34: onRequestResponseHandler(): response == ok
Main.hx:19: doRequest(): response == ok
URLLoader.hx:420: yyy: 14 / 14
WRITE CALLBACK - 697
URLLoader.hx:420: yyy: 697 / 697
URLLoader.hx:315: xxx: {"fights":[],"noxAquamarines":[],"response":"ok","resourcesv2":{"lastUpdateAgo":46,"tickDuration":60,"entities":[{"type":"junk","current":34572,"consumption":0},{"type":"stone","current":34556,"consumption":0},{"type":"food","current":34590,"consumption":261},{"type":"energy","current":34508,"consumption":0},{"type":"population","current":750,"consumption":0}]},"units":[{"unitId":1,"amount":45},{"unitId":2,"amount":93},{"unitId":3,"amount":123}],"ships":[{"shipId":5,"amount":5}],"ogFightId":0,"incomingSquads":[],"squads":[],"unreadMessages":4,"finishedQuests":0,"activeQuest":{"activeQuestId":353,"activeQuestState":1,"progress":null},"timePassed":0.078804969787598,"serverUnderPressure":0}
Database.hx:128: com.slipshift.rds90.models.database.Database: -> Getting the following JSON: openfl.events.Event/openfl.net.URLLoader: 0 / 0: {"fights":[],"noxAquamarines":[],"response":"ok","resourcesv2":{"lastUpdateAgo":46,"tickDuration":60,"entities":[{"type":"junk","current":34572,"consumption":0},{"type":"stone","current":34556,"consumption":0},{"type":"food","current":34590,"consumption":261},{"type":"energy","current":34508,"consumption":0},{"type":"population","current":750,"consumption":0}]},"units":[{"unitId":1,"amount":45},{"unitId":2,"amount":93},{"unitId":3,"amount":123}],"ships":[{"shipId":5,"amount":5}],"ogFightId":0,"incomingSquads":[],"squads":[],"unreadMessages":4,"finishedQuests":0,"activeQuest":{"activeQuestId":353,"activeQuestState":1,"progress":null},"timePassed":0.078804969787598,"serverUnderPressure":0}
Main.hx:34: onRequestResponseHandler(): response == ok
Main.hx:19: doRequest(): response == ok
WRITE CALLBACK - 697
URLLoader.hx:420: yyy: 697 / 697
URLLoader.hx:315: xxx: {"fights":[],"noxAquamarines":[],"response":"ok","resourcesv2":{"lastUpdateAgo":46,"tickDuration":60,"entities":[{"type":"junk","current":34572,"consumption":0},{"type":"stone","current":34556,"consumption":0},{"type":"food","current":34590,"consumption":261},{"type":"energy","current":34508,"consumption":0},{"type":"population","current":750,"consumption":0}]},"units":[{"unitId":1,"amount":45},{"unitId":2,"amount":93},{"unitId":3,"amount":123}],"ships":[{"shipId":5,"amount":5}],"ogFightId":0,"incomingSquads":[],"squads":[],"unreadMessages":4,"finishedQuests":0,"activeQuest":{"activeQuestId":353,"activeQuestState":1,"progress":null},"timePassed":0.078804969787598,"serverUnderPressure":0}
Database.hx:128: com.slipshift.rds90.models.database.Database: -> Getting the following JSON: openfl.events.Event/openfl.net.URLLoader: 0 / 0: {"fights":[],"noxAquamarines":[],"response":"ok","resourcesv2":{"lastUpdateAgo":46,"tickDuration":60,"entities":[{"type":"junk","current":34572,"consumption":0},{"type":"stone","current":34556,"consumption":0},{"type":"food","current":34590,"consumption":261},{"type":"energy","current":34508,"consumption":0},{"type":"population","current":750,"consumption":0}]},"units":[{"unitId":1,"amount":45},{"unitId":2,"amount":93},{"unitId":3,"amount":123}],"ships":[{"shipId":5,"amount":5}],"ogFightId":0,"incomingSquads":[],"squads":[],"unreadMessages":4,"finishedQuests":0,"activeQuest":{"activeQuestId":353,"activeQuestState":1,"progress":null},"timePassed":0.078804969787598,"serverUnderPressure":0}
Main.hx:34: onRequestResponseHandler(): response == ok
Main.hx:19: doRequest(): response == ok
URLLoader.hx:420: yyy: 14 / 14
URLLoader.hx:315: xxx:
Database.hx:128: com.slipshift.rds90.models.database.Database: -> Getting the following JSON: openfl.events.Event/openfl.net.URLLoader: 0 / 0:
libc++abi.dylib: terminating with uncaught exception of type Dynamic
(lldb)
Any ideas?
Best regards
Andreas