Server crashes upon 2nd sector visit, apparently due to 1st sector visit's failure to record entity into DB.
Attempts to remove entity by destory_uid results in "OBJECT TO DESTROY NOT FOUND", until AFTER forced server restart, AND AFTER player visits sector a 3rd time.
/sector_info -392 3 69 RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468943214353_-392_3_69_3, sectorPos=(-392, 3, 69), type=3, seed=-8097711312136570795, lastModifier=, spawner=, realName=Asteroid (rich in Varat, Zercaner), touched=false, faction=0, pos=(307.0, -338.50726, 79.0), minPos=(-3, -6, -5), maxPos=(2, 5, 4), creatorID=0], 0] RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468941085974_-392_3_69_1, sectorPos=(-392, 3, 69), type=3, seed=-7932960015185630433, lastModifier=, spawner=, realName=Asteroid (rich in Nocx, Macet), touched=false, faction=0, pos=(-55.455883, 281.70706, -68.15782), minPos=(-7, -6, -6), maxPos=(6, 5, 5), creatorID=3], 0] RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468943214348_-392_3_69_2, sectorPos=(-392, 3, 69), type=3, seed=7442305738022783140, lastModifier=, spawner=, realName=Asteroid (rich in Nocx, Macet), touched=false, faction=0, pos=(-82.54341, -333.19836, 257.1466), minPos=(-3, -4, -5), maxPos=(2, 3, 4), creatorID=3], 0] RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468943214347_-392_3_69_1, sectorPos=(-392, 3, 69), type=3, seed=-7932960015185630433, lastModifier=, spawner=, realName=Asteroid (rich in Nocx, Macet), touched=false, faction=0, pos=(-62.211407, 285.248, -67.71605), minPos=(-7, -6, -6), maxPos=(6, 5, 5), creatorID=3], 0] RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468941085975_-392_3_69_4, sectorPos=(-392, 3, 69), type=3, seed=8686575271910221427, lastModifier=, spawner=, realName=Asteroid (rich in Hattel, Hylat), touched=false, faction=0, pos=(300.48257, -296.84, -349.32947), minPos=(-3, -5, -6), maxPos=(2, 4, 5), creatorID=1], 0] RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468941085975_-392_3_69_2, sectorPos=(-392, 3, 69), type=3, seed=7442305738022783140, lastModifier=, spawner=, realName=Asteroid (rich in Nocx, Macet), touched=false, faction=0, pos=(-104.264915, -332.40897, 256.20657), minPos=(-3, -4, -5), maxPos=(2, 3, 4), creatorID=3], 0] RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468941085975_-392_3_69_3, sectorPos=(-392, 3, 69), type=3, seed=-8097711312136570795, lastModifier=, spawner=, realName=Asteroid (rich in Varat, Zercaner), touched=false, faction=0, pos=(307.0, -338.50726, 79.0), minPos=(-3, -6, -5), maxPos=(2, 5, 4), creatorID=0], 0] RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468943214346_-392_3_69_0, sectorPos=(-392, 3, 69), type=3, seed=-4009346414116374076, lastModifier=, spawner=, realName=Asteroid (rich in Bastyn, Fertikeen), touched=false, faction=0, pos=(-75.993065, -153.9429, -269.7506), minPos=(-5, -4, -3), maxPos=(4, 3, 2), creatorID=4], 0] RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468943214354_-392_3_69_4, sectorPos=(-392, 3, 69), type=3, seed=8686575271910221427, lastModifier=, spawner=, realName=Asteroid (rich in Hattel, Hylat), touched=false, faction=0, pos=(320.5602, -297.69254, -351.59955), minPos=(-3, -5, -6), maxPos=(2, 4, 5), creatorID=1], 0] RETURN: [SERVER, DatabaseEntry [uid=ENTITY_FLOATINGROCK_1468941085974_-392_3_69_0, sectorPos=(-392, 3, 69), type=3, seed=-4009346414116374076, lastModifier=, spawner=, realName=Asteroid (rich in Bastyn, Fertikeen), touched=true, faction=0, pos=(-65.48674, -164.27686, -268.26535), minPos=(-5, -4, -3), maxPos=(4, 3, 2), creatorID=4], 0] RETURN: [SERVER, SECTOR INFO: Sector[225](-392, 3, 69); Protected: false; Peace: false; Seed: 0; Type: ASTEROID;, 0] RETURN: [SERVER, END; Admin command execution ended, 0] ... /destroy_uid ENTITY_FLOATINGROCK_1468941085974_-392_3_69_1 RETURN: [SERVER, [ERROR][ADMIN COMMAND] OBJECT TO DESTROY NOT FOUND, 0] RETURN: [SERVER, END; Admin command execution ended, 0]
Player visits sector for 3rd time, and then this works:
/destroy_uid ENTITY_FLOATINGROCK_1468941085974_-392_3_69_1 RETURN: [SERVER, [ADMIN COMMAND] DESTROY: Asteroid(599)sec[598], 0] RETURN: [SERVER, END; Admin command execution ended, 0]