Stacktrace during docking event forecasting #39

Open
opened 2016-02-20 09:33:45 +00:00 by bryceharrington · 3 comments
bryceharrington commented 2016-02-20 09:33:45 +00:00 (Migrated from gitlab.com)
weight for	friendlyDerelictEvents	is	10
weight for	hostileImmigrationEvents	is	15
weight for	immigrationEvents	is	50
weight for	hostileDockingEvents	is	5
weight for	friendlyDockingEvents	is	5
weight for	hostileDerelictEvents	is	10
weight for	breachingEvents	is	10
weight for	CompoundEvent	is	0
weight for	meteorEvents	is	10
weight for	friendlyDerelictEvents	is	10
weight for	hostileImmigrationEvents	is	15
weight for	immigrationEvents	is	50
weight for	hostileDockingEvents	is	5
weight for	friendlyDockingEvents	is	5
weight for	hostileDerelictEvents	is	10
weight for	breachingEvents	is	10
weight for	CompoundEvent	is	0
weight for	meteorEvents	is	10
weight for	friendlyDerelictEvents	is	10
weight for	hostileImmigrationEvents	is	15
stack traceback:
	Data/Common/DFCommon/Util.lua:59: in function 'Print'
	Data/Scripts/Docking.lua:278: in function '_testModuleFit'
	Data/Scripts/Docking.lua:660: in function '_testCandidateRoom'
	Data/Scripts/Docking.lua:555: in function 'attemptQueueEvent'
	Data/Scripts/GameEvents/Event.lua:196: in function '_attemptDock'
	Data/Scripts/GameEvents/DockingEvent.lua:42: in function 'onQueue'
	Data/Scripts/EventController.lua:643: in function 'generateEventForecast'
	Data/Scripts/EventController.lua:411: in function '_eventCompleted'
	Data/Scripts/EventController.lua:498: in function 'onTick'
	Data/Scripts/GameRules.lua:359: in function 'onTick'
	Data/Scripts/main.lua:232: in function <Data/Scripts/main.lua:220>
ERROR Shouldn't create a docking event without a docking port. Data error	donutFriendlies
weight for	immigrationEvents	is	50
weight for	hostileDockingEvents	is	5
weight for	friendlyDockingEvents	is	5
weight for	hostileDerelictEvents	is	10
weight for	breachingEvents	is	10
weight for	CompoundEvent	is	0
weight for	meteorEvents	is	10
weight for	friendlyDerelictEvents	is	10
weight for	hostileImmigrationEvents	is	15
EVENTCONTROLLER.LUA: Next Event | CurTime: 21:38 | Use ^ to force event
-------------------------------------------------
``` weight for friendlyDerelictEvents is 10 weight for hostileImmigrationEvents is 15 weight for immigrationEvents is 50 weight for hostileDockingEvents is 5 weight for friendlyDockingEvents is 5 weight for hostileDerelictEvents is 10 weight for breachingEvents is 10 weight for CompoundEvent is 0 weight for meteorEvents is 10 weight for friendlyDerelictEvents is 10 weight for hostileImmigrationEvents is 15 weight for immigrationEvents is 50 weight for hostileDockingEvents is 5 weight for friendlyDockingEvents is 5 weight for hostileDerelictEvents is 10 weight for breachingEvents is 10 weight for CompoundEvent is 0 weight for meteorEvents is 10 weight for friendlyDerelictEvents is 10 weight for hostileImmigrationEvents is 15 stack traceback: Data/Common/DFCommon/Util.lua:59: in function 'Print' Data/Scripts/Docking.lua:278: in function '_testModuleFit' Data/Scripts/Docking.lua:660: in function '_testCandidateRoom' Data/Scripts/Docking.lua:555: in function 'attemptQueueEvent' Data/Scripts/GameEvents/Event.lua:196: in function '_attemptDock' Data/Scripts/GameEvents/DockingEvent.lua:42: in function 'onQueue' Data/Scripts/EventController.lua:643: in function 'generateEventForecast' Data/Scripts/EventController.lua:411: in function '_eventCompleted' Data/Scripts/EventController.lua:498: in function 'onTick' Data/Scripts/GameRules.lua:359: in function 'onTick' Data/Scripts/main.lua:232: in function <Data/Scripts/main.lua:220> ERROR Shouldn't create a docking event without a docking port. Data error donutFriendlies weight for immigrationEvents is 50 weight for hostileDockingEvents is 5 weight for friendlyDockingEvents is 5 weight for hostileDerelictEvents is 10 weight for breachingEvents is 10 weight for CompoundEvent is 0 weight for meteorEvents is 10 weight for friendlyDerelictEvents is 10 weight for hostileImmigrationEvents is 15 EVENTCONTROLLER.LUA: Next Event | CurTime: 21:38 | Use ^ to force event ------------------------------------------------- ```
bryceharrington commented 2016-02-28 06:59:29 +00:00 (Migrated from gitlab.com)

Added ~154859 label

Added ~154859 label
bryceharrington commented 2016-02-28 07:06:40 +00:00 (Migrated from gitlab.com)

Added ~160466 label

Added ~160466 label
bryceharrington commented 2016-02-28 07:11:49 +00:00 (Migrated from gitlab.com)

This error is caused because the docking event used one of the ship designs that lacked a docking port: "donutFriendlies"

Unfortunately, all the ship designs are in encoded files that DoubleFine did not provide access to, so I don't think we have a way to edit the data to fix the problem.

However, the error is non-fatal so I think we can mostly just ignore it.

One way to fix it would be to replace all the ship designs with our own, but that will be a fair bit of work.

This error is caused because the docking event used one of the ship designs that lacked a docking port: "donutFriendlies" Unfortunately, all the ship designs are in encoded files that DoubleFine did not provide access to, so I don't think we have a way to edit the data to fix the problem. However, the error is non-fatal so I think we can mostly just ignore it. One way to fix it would be to replace all the ship designs with our own, but that will be a fair bit of work.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ald_productions/spacebase-v2-updated-code#39
No description provided.