2Moons
2Moons copied to clipboard
[Bug] Fleet? Error
NOTICE Message: Undefined index: universe File: /includes/classes/class.PlanetRessUpdate.php Line: 96 URL: https://2moons.hexeus.com/game.php PHP-Version: 5.6.30 PHP-API: litespeed MySQL-Client-Version: 5.6.35 2Moons Version: 1.8.git Debug Backtrace: #0 /includes/classes/class.PlanetRessUpdate.php(96): errorHandler(8, 'Undefined index...', 'FILEPATH ...', 96, Array) #1 /includes/classes/missions/MissionCaseDestruction.class.php(84): ResourceUpdate->CalcResource(Array, false, true, '1496354016') #2 /includes/classes/class.FlyingFleetHandler.php(80): MissionCaseDestruction->TargetEvent() #3 /includes/FleetHandler.php(31): FlyingFleetHandler->run() #4 /includes/common.php(140): require('FILEPATH ...') #5 /game.php(24): require('FILEPATH ...') #6 {main}
Hello,
You have to verify if a moon still exist on that spot, before starting the mission
The problem is if 2 players start a destruction mission and the first missions destory the moon, the 2nd mission will hit this error above.
Yes i know, thats why i told him to check if planet still exist., i have the fix since long time, will pr it after rl work
Can you share the fix please ?