Bug Report (LUA error when opening dispatch map, the screen also stays blank.)

Status
Not open for further replies.
Messages
1,082
Reaction score
1,572
Points
910
Type of Bug: Lua

Description of the Bug: LUA error when opening dispatch map, the screen also stays blank.

How to reproduce the Bug: Open dispatch map while on-duty as a cop.

Time Stamp: Time of posting this

Errors: [ERROR] gamemodes/darkrp/gamemode/modules/jobs/sh_jobs.lua:595: Tried to use a NULL entity!
1. Team - [C]:-1
2. IsDispatch - gamemodes/darkrp/gamemode/modules/jobs/sh_jobs.lua:595
3. AddEntry - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_radiochat.lua:76
4. Init - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_radiochat.lua:37
5. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:41
6. Add - gamemodes/darkrp/gamemode/modules/guicore/layouts/fill_layout.lua:14
7. Init - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_emergencyoverview.lua:43
8. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:41
9. Add - gamemodes/darkrp/gamemode/modules/guicore/layouts/fill_layout.lua:14
10. Init - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_map.lua:92
11. Create - lua/includes/extensions/client/panel/scriptedpanels.lua:41
12. DoClick - gamemodes/darkrp/gamemode/modules/policedatabase/gui/home.lua:379
13. unknown - lua/vgui/dlabel.lua:237


[ERROR] gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_map.lua:623: attempt to index field 'EmergencyOverview' (a nil value)
1. v - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_map.lua:623
2. Call - lua/includes/modules/hook.lua:96
3. func - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/cl_units.lua:138
4. unknown - lua/includes/extensions/net.lua:38


[ERROR] gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_map.lua:647: attempt to index field 'EmergencyOverview' (a nil value)
1. OnEmergencyEdited - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/map/cl_map.lua:647
2. DoEditedCallback - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/sh_emergencies.lua:54
3. AssignToUnit - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/cl_emergencies.lua:75
4. func - gamemodes/darkrp/gamemode/modules/jobs/police/dispatcher/cl_emergencies.lua:120
5. unknown - lua/includes/extensions/net.lua:38

Media: None
 
Upvote 3
Messages
1,313
Reaction score
1,261
Points
650
Location
Slovenia
A few people mentioned to me that this bug only occurs when a dispatcher is on. I can't confirm, but so far it only happened then for me
 
Messages
1,082
Reaction score
1,572
Points
910
  • Thread starter
  • Staff
  • #4
A few people mentioned to me that this bug only occurs when a dispatcher is on. I can't confirm, but so far it only happened then for me
This happened without a dispatcher i believe, not 100% sure anymore tho
 
Messages
167
Reaction score
394
Points
490
This has been fixed and will take effect when we next update the server.
 
Status
Not open for further replies.
Top