Project Hospital
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Romain
medic
Posts : 1
Reputation : 0
Join date : 2018-12-26

[RESOLVED DUPLICATE] Doctors Not Working Empty [RESOLVED DUPLICATE] Doctors Not Working

Wed Dec 26, 2018 4:01 pm
Hello,

Doctors no longer work and stay behind their computers. Sometimes he gets up to go to the dispenser or go to the toilet, but that's it.

Patients arrive, take their tickets and stay in the waiting room without moving once seated.

Everything is done in my hospital (sandbox) for everything to work (rooms, equipment, employees ...)

In the game logs, here's what I get in a loop:


System.NullReferenceException at Lopital.MapScriptInterface.FindClosestDoctorWithQualification (.DatabaseEntryRef`1 [] qualifications, Lopital.Department department, Lopital.Room room, Vector2i position, Int32 floorIndex, Lopital.ProcedureScene scene, Boolean hasToBeFree, GLib.Entity patient, .GameDBEmployeeRole role ) [0x00000] in <filename unknown>: 0
 at Lopital.ProcedureSceneFactory.CreateProcedureScene (.GameDBProcedure procedure, GLib.Entity patient, Lopital.Department department, Lopital.Room patientRoom, AccessRights accessRights, EquipmentListRules equipmentListRules, StaffSelectionRules staffSelectionRulesOverride) [0x00000] in <filename unknown>: 0
 at Lopital.BehaviorPatient.CheckScheduledExamination () [0x00000] in <filename unknown>: 0
 at Lopital.BehaviorPatient.FindDoctorOrLabSpecialist () [0x00000] in <filename unknown>: 0
 at Lopital.BehaviorPatient.UpdateStateWaitingSitting (Single deltaTime) [0x00000] in <filename unknown>: 0
 at Lopital.BehaviorPatient.Update (Single deltaTime) [0x00000] in <filename unknown>: 0
 at GLib.Component.MultiUpdate (Int32 updateCount, Single deltaTime) [0x00000] in <filename unknown>: 0
 at GLib.Entity.Update (Int32 updateCount, Single deltaTime) [0x00000] in <filename unknown>: 0
 at Lopital.Hospital.UpdateCharacters (Int32 updateCount, Single deltaTime) [0x00000] in <filename unknown>: 0

(Filename: C: \ buildslave \ unity \ build \ Runtime / Export / Debug.bindings.h Line: 43)
jan.oxymoron
jan.oxymoron
developer
Posts : 2309
Reputation : 336
Join date : 2018-03-23

[RESOLVED DUPLICATE] Doctors Not Working Empty Re: [RESOLVED DUPLICATE] Doctors Not Working

Wed Jan 02, 2019 1:58 pm
Hi, thanks for the report! We already fixed this for the next patch, in the meantime there's a workaround: make sure all doctors at the department have a workspace assigned (you can check that for example in the staff table, the ones without a workspace can be distinguished by also having no shift.

Here's the second bug for reference: https://projecthospital.forumotion.com/t1648-open-cardiology-does-not-take-patients#6171
Back to top
Permissions in this forum:
You cannot reply to topics in this forum