Devious Posted August 15, 2017 Share Posted August 15, 2017 This bug happens very rarely but when it does a player loses all his hard effort he put into the ship. It mainly seems to happen in an alliance owned ship and not just on our (modded) server, heard about 2-3 other occasions. I tried to reproduce it by jumping back and forth over 20 times but so far no luck yet. Below you can find what was in the client's log at that time. 2017-08-15 02-11-00| <> Jump route calculated. 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-28| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| Create Entity Message discarded: wrong sector 2017-08-15 02-11-29| <Server> You have entered a PVP Sector, be carefull. 2017-08-15 02-11-47| <> The guardian is starting to channel the black hole's energy! 2017-08-15 02-11-50| error constructing Plan: entity with id 80684e48-0654-4dc9-a667-c107b5f632d1 doesn't exist at [C]:-1: in function Plan 2017-08-15 02-11-50| data/scripts/entity/story/wormholeguardian.lua:352: in function ? 2017-08-15 02-11-50| error constructing Plan: entity with id af11c987-079b-4ff9-910e-5a6f37fe7363 doesn't exist at [C]:-1: in function Plan 2017-08-15 02-11-50| data/scripts/entity/story/wormholeguardian.lua:352: in function ? 2017-08-15 02-11-50| error constructing Plan: entity with id 137f7159-fec1-4b25-92c6-817e4179c613 doesn't exist at [C]:-1: in function Plan 2017-08-15 02-11-50| data/scripts/entity/story/wormholeguardian.lua:352: in function ? 2017-08-15 02-11-50| error constructing Plan: entity with id f9eb5070-7758-4963-adab-81abbadcaa51 doesn't exist at [C]:-1: in function Plan 2017-08-15 02-11-50| data/scripts/entity/story/wormholeguardian.lua:352: in function ? 2017-08-15 02-11-50| error constructing Plan: entity with id 845af681-df91-4561-b1dd-0b7e1d2a4ffb doesn't exist at [C]:-1: in function Plan 2017-08-15 02-11-50| data/scripts/entity/story/wormholeguardian.lua:352: in function ? 2017-08-15 02-11-50| error constructing Plan: entity with id 9c092206-b125-4cf8-9183-465387791bfd doesn't exist at [C]:-1: in function Plan 2017-08-15 02-11-50| data/scripts/entity/story/wormholeguardian.lua:352: in function ? 2017-08-15 02-11-50| error constructing Plan: entity with id 49cb8ad7-b1a9-439d-a3bb-6c09811cda66 doesn't exist at [C]:-1: in function Plan 2017-08-15 02-11-50| data/scripts/entity/story/wormholeguardian.lua:352: in function ? Full client log attached, server log here (In which you can see the server crashed after the affected player logged off): https://mega.nz/#!u0cXRbBY!-osPUtmVYPnJhmZNvTcrI43223OtOKBlbXRNrgUdJhY clientlog_2017-08-15_00-30-06.txt Link to comment Share on other sites More sharing options...
Dirtyredz Posted August 25, 2017 Share Posted August 25, 2017 So ive finally solved this bug. The bug originates in /data/scripts/player/spawngaurdian.lua when the gaurdian is not spawned, and an Alliance vessel jumps in, the vanilla script will delete every Entity that is not a player. thats the issue, Alliances are not seen as players, so the script deletes the Alliance vessel. Here is the commented out vanilla code, and a replacement code to fix the issue. -- clear everything that's not player owned local entities = {sector:getEntities()} --[[for _, entity in pairs(entities) do if not entity.factionIndex or not Player(entity.factionIndex) then sector:deleteEntity(entity) end end]] --Dirtyredz|David McClain --Fix for alliance ships being deleted when entering 0,0 for _, entity in pairs(entities) do if not entity.factionIndex then sector:deleteEntity(entity) goto continue end local faction = Faction(entity.factionIndex) if not faction then sector:deleteEntity(entity) goto continue end if faction.isAIFaction then sector:deleteEntity(entity) end ::continue:: end like I said this snippit includes the vanilla code commented out its located at the bottom of the file mentioned above. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now