• [Perp] How to fix these errors?
    7 replies, posted
So i know some of you will hate on me for this but how do i fix these errors. [code] [gamemodes\perp3\gamemode\sv_player.lua:240] attempt to index field '?' (a nil value) [@gamemodes\perp3\gamemode\sv_vehicles.lua:268] Tried to use a NULL entity! [gamemodes\perp3\gamemode\sv_vehicles.lua:814] attempt to call method 'GetFuel' (a nil value) Timer Error: [gamemodes\perp3\gamemode\sv_misc.lua:71] attempt to index global 'gatekeeper' (a nil value) [/code]
[img]http://puu.sh/FDiW[/img] [editline]3rd July 2012[/editline] No seriously, show us the code in those files so we can fix it.
[QUOTE=silenced deat;36600011][code] [gamemodes\perp3\gamemode\sv_player.lua:240] attempt to index field '?' (a nil value) [@gamemodes\perp3\gamemode\sv_vehicles.lua:268] Tried to use a NULL entity! [gamemodes\perp3\gamemode\sv_vehicles.lua:814] attempt to call method 'GetFuel' (a nil value) Timer Error: [gamemodes\perp3\gamemode\sv_misc.lua:71] attempt to index global 'gatekeeper' (a nil value) [/code][/QUOTE] In order: Table doesnt have the index thats searched for. Wrap the entity in ValidEntity there. GetFuel doesnt exist. gatekeeper module. Get it and install it.
I have got Gateskeeper module.
Did you do 'require( "gatekeeper" )'
[QUOTE=InfernalCookie;36612892]Did you do 'require( "gatekeeper" )'[/QUOTE] EDIT: its the gatekeeper module, its outdated and not working but when ever i get the updated one of the svn i get a steamid error.
put this in your server.cfg [code]gk_force_protocol_enable 1 gk_force_protocol 21[/code]
[QUOTE=kragmars102;36616331]put this in your server.cfg [code]gk_force_protocol_enable 1 gk_force_protocol 21[/code][/QUOTE] Thank you :)
Sorry, you need to Log In to post a reply to this thread.