Garry's Mod

Garry's Mod

Retro TeamPlay (RTP) Gamemode + Content
ZC0M  [developer] 13 Nov, 2013 @ 1:37am
[BUG] (FIXED!) Dropship Passenger Lua-Error (Clientside)
Current Status:
FIXED!

About The Error:
When entering any of the passanger seats on the Dropship, clients experienced the following error:
[Retro TeamPlayer (RTP) Gamemode + Content] gamemodes/noxctf/entities/entities/vehicle_noxdropship/cl_init.lua:220: bad argument #1 to 'Entity' (number expected, got nil) 1. Entity - [C]:-1 2. RecDSD - gamemodes/noxctf/entities/entities/vehicle_noxdropship/cl_init.lua:220 3. unknown - LuaCmd:1

About The Bug:
This was being caused by a small typo in the code which I had previously missed. This typo prevented the Dropship vehicle entity from doing its own "Passenger Check" without failing, as one of the seats it was looking for was 'nil'.

Additional Information:
Although the bug did not affect the functionality of the dropship, the clientside lua-error spam was displeasing to the client, and could potentially 'bring out' other bugs if left unsolved.

If you required additional help regarding this bug, please post your questions/comments below.

ALL UNRELATRED POSTS WILL BE MOVED OR DELETED. THIS DISCUSSION THREAD IS SPECIFICALLY FOR THE BUG STATED IN THE SUBJECT FIELD.

As allways, you can head over to the Google-Code Project: Current Bugs[code.google.com] page to find out more details on each of the currently known bugs, as well as submit your own for review!
Last edited by ZC0M; 13 Nov, 2013 @ 1:43am