• Qestion about error with adding guns to gundealer on Darkrp?
    12 replies, posted
So I added a sniper to the gun dealer, but in the menu where then gun dealer buys the gun it shows a error. However once the shipment is spawned the gun apperres. So does anyone now what i could be doing wrong and if it helps heres the code i used for the gun shipment AddCustomShipment("SNIPER", "models/weapons/w_snip_wa200.mdl", "kermite_snip_wa200", 40000, 10, false, 185, false, {TEAM_GUN})
Any console errors? Are other weapons working?
eamMountFilesystem(8680,442,0x1e5afd28=,0x1e5afc18) failed with error 116: Cache needs repair OK Mounting episodic.. No permission Mounting hl2mp.. OK Mounting portal.. No permission Mounting lostcoast.. OK Mounting hl1.. No permission Mounting hl1mp.. No permission Mounting zeno_clash.. No permission Mounting left4dead2.. No permission Mounting left4dead.. No permission Mounting diprip.. Disabled Mounting zps.. Disabled Mounting pvkii.. Disabled Mounting dystopia.. Disabled Mounting ageofchivalry.. Disabled Garry's Mod server.dll Build #126 [Aug 17 2011 12:28:28] maxplayers set to 128 Unknown command "sv_allow_wait_command" Steam config directory: c:\program files (x86)\steam\steamapps\adamadamthegreat\garrysmod\platform\config CClientSteamContext logged on = 1 Both ConVars must be marked FCVAR_REPLICATED for linkage to work (v_ipitch_level) Both ConVars must be marked FCVAR_REPLICATED for linkage to work (v_iroll_level) Both ConVars must be marked FCVAR_REPLICATED for linkage to work (v_iyaw_level) Both ConVars must be marked FCVAR_REPLICATED for linkage to work (v_ipitch_cycle) Both ConVars must be marked FCVAR_REPLICATED for linkage to work (v_iroll_cycle) Both ConVars must be marked FCVAR_REPLICATED for linkage to work (v_iyaw_cycle) Both ConVars must be marked FCVAR_REPLICATED for linkage to work (cl_bobup) Both ConVars must be marked FCVAR_REPLICATED for linkage to work (cl_bob) Both ConVars must be marked FCVAR_REPLICATED for linkage to work (cl_bobcycle) Hud element 'CHudVote' doesn't have an entry 'CHudVote' in scripts/HudLayout.res Garry's Mod client.dll Build #126 [Aug 17 2011 12:28:31] maxplayers set to 1 Unknown command "cl_thirdperson" Unknown command "hud_showemptyweaponslots" Unknown command "sv_backspeed" Not playing a local game. GetAllManifestFiles: Unable to load maplist.txt Got toybox authentication Network: IP 192.168.1.68, mode MP, dedicated No, ports 27015 SV / 27005 CL Browser Message: Uncaught ReferenceError: SetStatusChanged is not defined - :0Connecting to 74.63.210.41:27015... Connected to 74.63.210.41:27015 DarkRP 2.4.2 Map: rp_downtown_v6 Players: 1 / 50 Build: 4687 Server Number: 1 ConVarRef licenseweapon_cse_m4 doesn't point to an existing ConVar SetConVar: No such cvar ( licenseweapon_cse_m4 set to 1), skipping ConVarRef licenseweapon_weapon_tmp doesn't point to an existing ConVar SetConVar: No such cvar ( licenseweapon_weapon_tmp set to 1), skipping ConVarRef maxcps doesn't point to an existing ConVar SetConVar: No such cvar ( maxcps set to 7), skipping ConVarRef durgz_witty_sayings doesn't point to an existing ConVar SetConVar: No such cvar ( durgz_witty_sayings set to 0), skipping ConVarRef _FPP_BLOCKMODELSETTINGS_iswhitelist doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_BLOCKMODELSETTINGS_iswhitelist set to 0), skipping ConVarRef _FPP_BLOCKMODELSETTINGS_toggle doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_BLOCKMODELSETTINGS_toggle set to 1), skipping ConVarRef _FPP_PLAYERUSE_iswhitelist doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_PLAYERUSE_iswhitelist set to 0), skipping ConVarRef _FPP_PLAYERUSE_checkconstrained doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_PLAYERUSE_checkconstrained set to 0), skipping ConVarRef _FPP_PLAYERUSE_toggle doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_PLAYERUSE_toggle set to 0), skipping ConVarRef _FPP_PLAYERUSE_worldprops doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_PLAYERUSE_worldprops set to 1), skipping ConVarRef _FPP_PLAYERUSE_adminall doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_PLAYERUSE_adminall set to 1), skipping ConVarRef _FPP_PLAYERUSE_shownocross doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_PLAYERUSE_shownocross set to 1), skipping ConVarRef _FPP_PLAYERUSE_admincanblocked doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_PLAYERUSE_admincanblocked set to 1), skipping ConVarRef _FPP_PLAYERUSE_adminworldprops doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_PLAYERUSE_adminworldprops set to 1), skipping ConVarRef _FPP_PLAYERUSE_canblocked doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_PLAYERUSE_canblocked set to 0), skipping ConVarRef _FPP_ENTITYDAMAGE_adminall doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_adminall set to 1), skipping ConVarRef _FPP_ENTITYDAMAGE_checkconstrained doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_checkconstrained set to 0), skipping ConVarRef _FPP_ENTITYDAMAGE_iswhitelist doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_iswhitelist set to 0), skipping ConVarRef _FPP_ENTITYDAMAGE_toggle doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_toggle set to 1), skipping ConVarRef _FPP_ENTITYDAMAGE_worldprops doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_worldprops set to 1), skipping ConVarRef _FPP_ENTITYDAMAGE_protectpropdamage doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_protectpropdamage set to 1), skipping ConVarRef _FPP_ENTITYDAMAGE_shownocross doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_shownocross set to 1), skipping ConVarRef _FPP_ENTITYDAMAGE_admincanblocked doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_admincanblocked set to 0), skipping ConVarRef _FPP_ENTITYDAMAGE_adminworldprops doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_adminworldprops set to 1), skipping ConVarRef _FPP_ENTITYDAMAGE_canblocked doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ENTITYDAMAGE_canblocked set to 0), skipping ConVarRef _FPP_GRAVGUN_noshooting doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_noshooting set to 1), skipping ConVarRef _FPP_GRAVGUN_checkconstrained doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_checkconstrained set to 1), skipping ConVarRef _FPP_GRAVGUN_iswhitelist doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_iswhitelist set to 0), skipping ConVarRef _FPP_GRAVGUN_toggle doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_toggle set to 1), skipping ConVarRef _FPP_GRAVGUN_worldprops doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_worldprops set to 1), skipping ConVarRef _FPP_GRAVGUN_adminall doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_adminall set to 1), skipping ConVarRef _FPP_GRAVGUN_shownocross doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_shownocross set to 1), skipping ConVarRef _FPP_GRAVGUN_admincanblocked doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_admincanblocked set to 0), skipping ConVarRef _FPP_GRAVGUN_adminworldprops doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_adminworldprops set to 1), skipping ConVarRef _FPP_GRAVGUN_canblocked doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_GRAVGUN_canblocked set to 0), skipping ConVarRef _FPP_ANTISPAM_smallpropghostlimit doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ANTISPAM_smallpropghostlimit set to 2), skipping ConVarRef _FPP_ANTISPAM_smallpropdowngradecount doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ANTISPAM_smallpropdowngradecount set to 3), skipping ConVarRef _FPP_ANTISPAM_toggle doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ANTISPAM_toggle set to 1), skipping ConVarRef _FPP_ANTISPAM_antispawninprop doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ANTISPAM_antispawninprop set to 0), skipping ConVarRef _FPP_ANTISPAM_bigpropwait doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ANTISPAM_bigpropwait set to 1.5), skipping ConVarRef _FPP_ANTISPAM_smallpropdenylimit doesn't point to an existing ConVar SetConVar: No such cvar ( _FPP_ANTISPAM_smallpropdenylimit set to 6), skipping ConVa
Can you please post the server console log?
That is
Go into your console (as the client) and post the YELLOW errors. And can you seriously just use one thread please, all you are doing by making more threads is spreading out the information.
[weapons\weapon_mad_base\shared.lua:144] attempt to index global 'ENT' (a nil value) ERROR: Trying to derive entity 4.6x30mm from non existant entity base_point! ERROR: Trying to derive entity 9x18mm from non existant entity base_point! ERROR: Trying to derive entity demo from non existant entity base_point! ERROR: Trying to derive entity sent_rg_bullet from non existant entity base_point! ERROR: Trying to derive entity gauge_ball from non existant entity base_point! ERROR: Trying to derive entity 45_acp from non existant entity base_point! ERROR: Trying to derive entity 9x39mm from non existant entity base_point! ERROR: Trying to derive entity 50_bmg from non existant entity base_point! ERROR: Trying to derive entity 9x19mm from non existant entity base_point! ERROR: Trying to derive entity 5.56x45mm from non existant entity base_point! ERROR: Trying to derive entity 5.45x39mm from non existant entity base_point! ERROR: Trying to derive entity 44_magnum from non existant entity base_point! ERROR: Trying to derive entity 50_ae from non existant entity base_point! ERROR: Trying to derive entity example_caliber from non existant entity base_point! ERROR: Trying to derive entity 7.62x25mm_tokarev from non existant entity base_point! ERROR: Trying to derive entity 7.62x39mm from non existant entity base_point! ERROR: Trying to derive entity 7.62x51mm from non existant entity base_point! S
Your entity is trying to derive from a weapon or entity base that is not installed. Make sure you set ENT.base or SWEP.base to a valid entity.
[QUOTE=_NewBee;32763527]Your entity is trying to derive from a weapon or entity base that is not installed. Make sure you set ENT.base or SWEP.base to a valid entity.[/QUOTE] Yes, but this is currently not important because he wants to add a kermite weapon and not a mad cows weapon. BTW: We still need the serverside lua errors.
Where do i get the server side errors i copied all the yellow stuff like zack said to
Serverside errors are blue errors
There was no blue errors
You can only see serverside errors on the server. Run your gamemode on a listen server or in singleplayer to see serverside errors in your console. [editline]15th October 2011[/editline] [QUOTE=pennerlord;32764176]Yes, but this is currently not important because he wants to add a kermite weapon and not a mad cows weapon. BTW: We still need the serverside lua errors.[/QUOTE] I have no idea what you mean by a mad cows or a kermite weapon. but you probrably mean some kind of weapon framework or base. the base variable must be a valid entity. Else your entity will simply not work.
Sorry, you need to Log In to post a reply to this thread.