Limelight Forums
CityRP Photon | GetVehicleClass Error - Printable Version

+- Limelight Forums (https://limelightgaming.net/forums)
+-- Forum: Feedback (https://limelightgaming.net/forums/forum-612.html)
+--- Forum: Bugs (https://limelightgaming.net/forums/forum-243.html)
+---- Forum: Archive (https://limelightgaming.net/forums/forum-244.html)
+---- Thread: CityRP Photon | GetVehicleClass Error (/thread-28790.html)



Photon | GetVehicleClass Error - Dick - Jan 14, 2025

Description:
Generic Photon Error.

Code:
[photon] addons/photon/lua/autorun/photon/sh_photon_vehicles.lua:42: Tried to use a NULL entity!
  1. GetVehicleClass - [C]:-1
   2. unknown - addons/photon/lua/autorun/photon/sh_photon_vehicles.lua:42

Timer Failed! [1745-PHOTON-829.63641357422][@addons/photon/lua/autorun/photon/sh_photon_vehicles.lua (line 34)]

Bug observed since:
Latest Photon Fix

Images/Screenshots:
None

Steps to Reproduce:
Unknown, wasn't directly related to me.


RE: Photon | GetVehicleClass Error - Limelight Gaming - Jan 14, 2025

Thank you for your bug report, Dick!

It will be reviewed as soon as possible by our Developers.


RE: Photon | GetVehicleClass Error - Jen - Jan 14, 2025

I believe one vehicle we didn't check on the beta was the security Prius, EMS vehicles and SSA suburban. Which I imagine are the ones which potentially don't have a vehicle class right now? Unless this error was before the latest server restart as the civ vics were causing this error as well.


RE: Photon | GetVehicleClass Error - Doctor Internet - Jan 20, 2025

This is the timer failing if EntityCreated is called on an entity which doesn't exist in our cache yet.
Resolved in the Limelight build.