• Custom DarkRP
    42 replies, posted
Hey guys I am trying to make a custom DarkRP server, and whenever I load the gamemode up in singeplayer My screen gets spammed with thousands of "HAHAHAHAHA" (Here is a link to my screen [url]http://imgur.com/3Od7H5s[/url]) And i get a giant error code. Also, there are no jobs in the jobs menu. Here is the script error, i looked through it and couldnt find anything, please note that i am a newbie with lua coding. Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\b.t.b playermodels' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\better water effects' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\casual citizens hexed v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen lab coats' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen scientists' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizens suits playermodel [1.0]' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\combine administrators v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrp pro lock pick swep' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrpmodification' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fading doors' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fas_sweps' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fbi playermodels minipack' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\gas can' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hobo playermodel' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hobo swep eeg' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hud_bloodmarks' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\nypd player models' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\realistic blood' Initializing Awesomium.. Failed to load custom font file 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\download\resource\fonts\bebasneue.ttf' No Kinect SDK Lua JIT is DISABLED! Unknown command "cl_thirdperson" JOY_AXIS_X: mapped to Turn (absolute) JOY_AXIS_Y: mapped to Look (absolute) JOY_AXIS_Z: unmapped JOY_AXIS_R: mapped to Forward (absolute) JOY_AXIS_U: mapped to Side (absolute) JOY_AXIS_V: unmapped Advanced Joystick settings initialized Unknown command "hud_showemptyweaponslots" Unknown command "sv_backspeed" Changing gamemode to DarkRP (darkrp) Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\b.t.b playermodels' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\better water effects' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\casual citizens hexed v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen lab coats' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen scientists' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizens suits playermodel [1.0]' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\combine administrators v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrp pro lock pick swep' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrpmodification' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fading doors' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fas_sweps' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fbi playermodels minipack' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\gas can' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hobo playermodel' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hobo swep eeg' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hud_bloodmarks' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\nypd player models' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\realistic blood' Not playing a local game. Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\b.t.b playermodels' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\better water effects' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\casual citizens hexed v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen lab coats' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen scientists' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizens suits playermodel [1.0]' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\combine administrators v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrp pro lock pick swep' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrpmodification' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fading doors' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fas_sweps' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fbi playermodels minipack' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\gas can' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hobo playermodel' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hobo swep eeg' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hud_bloodmarks' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\nypd player models' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\realistic blood' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\b.t.b playermodels' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\better water effects' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\casual citizens hexed v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen lab coats' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen scientists' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizens suits p
Remove the MCBD weapons or whatever they're called. They were removed because they had that malicious code.
[QUOTE=code_gs;43384447]Remove the MCBD weapons or whatever they're called. They were removed because they had that malicious code.[/QUOTE] I actually do have them removed, do i need to reinstall garrysmod? [editline]2nd January 2014[/editline] Great. I went ahead and reinstalled garrys mod, and i forgot to tell you up there, that whenever i play sandbox i dont spawn with hl2 weapons, or the gravgun, I also deleted garrys mod registry in hkey_local_machine, and i still dont spawn with them. And also where did you see something about mcpb weapons? because i looked through and didnt see anything.
sbox_weapons 1 [editline]2nd January 2014[/editline] [QUOTE=overki11;43389779]I actually do have them removed, do i need to reinstall garrysmod? [editline]2nd January 2014[/editline] Great. I went ahead and reinstalled garrys mod, and i forgot to tell you up there, that whenever i play sandbox i dont spawn with hl2 weapons, or the gravgun, I also deleted garrys mod registry in hkey_local_machine, and i still dont spawn with them. And also where did you see something about mcpb weapons? because i looked through and didnt see anything.[/QUOTE] You probably had one of Zoey's addons then. She has malicious code for spamming stuff on your screen if you play a gamemode other than Sandbox.
[QUOTE=code_gs;43392306]sbox_weapons 1 [editline]2nd January 2014[/editline] You probably had one of Zoey's addons then. She has malicious code for spamming stuff on your screen if you play a gamemode other than Sandbox.[/QUOTE] How do I get rid of it then?
[QUOTE=overki11;43394065]How do I get rid of it then?[/QUOTE] List your addons, and the workshop links.
[QUOTE=overki11;43394065]How do I get rid of it then?[/QUOTE] If having no addons doesn't fix it, reinstall.
[QUOTE=code_gs;43394250]If having no addons doesn't fix it, reinstall.[/QUOTE] told you, already did reinstall [editline]2nd January 2014[/editline] [QUOTE=code_gs;43394250]If having no addons doesn't fix it, reinstall.[/QUOTE] Actually, i fixed the HAHAHAHA on the screen fix, but there are no jobs in the jobs menu, here is the script error that comes up when i run it. (with the modification file) Initializing Awesomium.. No Kinect SDK Lua JIT is DISABLED! Unknown command "cl_thirdperson" JOY_AXIS_X: mapped to Turn (absolute) JOY_AXIS_Y: mapped to Look (absolute) JOY_AXIS_Z: unmapped JOY_AXIS_R: mapped to Forward (absolute) JOY_AXIS_U: mapped to Side (absolute) JOY_AXIS_V: unmapped Advanced Joystick settings initialized Unknown command "hud_showemptyweaponslots" Unknown command "sv_backspeed" Not playing a local game. Changing gamemode to DarkRP (darkrp) Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrpmodification' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrpmodification' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrpmodification' PREP OK Error, bad server command lua_error_url '' Lua JIT is DISABLED! [ERROR] addons/darkrpmodification/lua/darkrp_config/settings.lua:299: '}' expected (to close '{' at line 292) near '"weapon_fists"' 1. unknown - addons/darkrpmodification/lua/darkrp_config/settings.lua:0 [ERROR] gamemodes/darkrp/gamemode/libraries/modificationloader.lua:60: attempt to index field 'DisabledCustomModules' (a nil value) 1. loadModules - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:60 2. v - gamemodes/darkrp/gamemode/libraries/modificationloader.lua:119 3. unknown - lua/includes/modules/hook.lua:82 Using map cycle file 'cfg/mapcycle_default.txt'. ('cfg/mapcycle.txt' was not found.) Nav File is wrong or something (1) Unknown command "durgz_witty_sayings" Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrpmodification' Garry's Mod darkrp gm_flatgrass 1 76561198064572023 Attemped to precache unknown particle system "generic_smoke"! Requesting 211 lua files from the server Warning: WorldTwoTextureBlend found on a non-displacement surface (material: gm_construct/flatgrass). This wastes perf for no benefit. clientside lua startup! Lua JIT is DISABLED! Requesting texture value from var "$dummyvar" which is not a texture value (material: NULL material) [ERROR] addons/darkrpmodification/lua/darkrp_config/settings.lua:299: '}' expected (to close '{' at line 292) near '"weapon_fists"' 1. unknown - addons/darkrpmodification/lua/darkrp_config/settings.lua:0 ServerLog: overki11 (STEAM_0:0:0) Spawned for the first time ServerLog: overki11 () is Authed ServerLog: overki11 (STEAM_0:0:0) Spawned [DarkRP] overki11 (STEAM_0:0:0) has joined the game Compact freed 671744 bytes JOY_AXIS_X: mapped to Turn (absolute) JOY_AXIS_Y: mapped to Look (absolute) JOY_AXIS_Z: unmapped JOY_AXIS_R: mapped to Forward (absolute) JOY_AXIS_U: mapped to Side (absolute) JOY_AXIS_V: unmapped Advanced Joystick settings initialized Redownloading all lightmaps --------------------------------------------------------------------------- DarkRP Message of the day! --------------------------------------------------------------------------- December 22nd I've heard that there are some addons that mess with DarkRP's code. This is a bad thing in many, many ways. If you know of any mods that do this, please send a message about it to @FPtje on twitter or create an issue on the github page. I'll get right on it. The kind of mod I'm talking about is the kind you have to install by putting it in garrysmod/gamemodes/darkrp. Ring the alarm bells when an addon says that in the installation instructions. Thank you and merry christmas. --------------------------------------------------------------------------- [editline]2nd January 2014[/editline] [QUOTE=code_gs;43394250]If having no addons doesn't fix it, reinstall.[/QUOTE] Okay, again, i just put my addons that I am using for DarkRP into garrysmod, and when i load up darkrp HAHAHAHAHA, But i am going to take each addon out seperately and see which one is malicious btw, incase you want to see, heres the script error, Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\b.t.b playermodels' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\better water effects' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\casual citizens hexed v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen lab coats' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen scientists' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizens suits playermodel [1.0]' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\combine administrators v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrp pro lock pick swep' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrpmodification' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\drugs mod' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fading doors' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fas_sweps' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\fbi playermodels minipack' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\gas can' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hobo playermodel' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hobo swep eeg' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\hud_bloodmarks' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\nypd player models' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\realistic blood' Initializing Awesomium.. No Kinect SDK Lua JIT is DISABLED! Unknown command "cl_thirdperson" JOY_AXIS_X: mapped to Turn (absolute) JOY_AXIS_Y: mapped to Look (absolute) JOY_AXIS_Z: unmapped JOY_AXIS_R: mapped to Forward (absolute) JOY_AXIS_U: mapped to Side (absolute) JOY_AXIS_V: unmapped Advanced Joystick settings initialized Unknown command "hud_showemptyweaponslots" Unknown command "sv_backspeed" Changing gamemode to DarkRP (darkrp) Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\b.t.b playermodels' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\better water effects' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\casual citizens hexed v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen lab coats' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizen scientists' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\citizens suits playermodel [1.0]' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\combine administrators v2' Adding Filesystem Addon 'c:\program files (x86)\steam\steamapps\common\garrysmod\garrysmod\addons\darkrp pro lock pick swep' Adding Filesystem
Reinstall DarkRP. You're getting errors on default files.
[editline]2nd January 2014[/editline] [QUOTE=code_gs;43394562]Reinstall DarkRP. You're getting errors on default files.[/QUOTE] even my modification file? (BTW i found out the HAHAHA thing, it turns out i didn't read an addons description, it said it only worked in SinglePlayer)
The HAHAHAHAHHA thing is caused by one of addons if you run it outside of sandbox, if you know what addon that is, post it here.
The Addon Is Better HUD Bloodmarks (I think) by magneta. BTW i reinstalled both the DarkRP Gamemode File AND the modification file, and I am copying each file while ingame to see the error, and i am getting this error with my shipments (I am using Firearms: Source Pack BTW) [ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua:325: '}' expected (to close '{' at line 324) near 'SWEP' 1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua:0 After that Gun Dealer Job Disappears And When Im Already In Gun Dealer Only The Default Shipments Show, Any Fix?
Post your shipments.lua in [code] tags.
[QUOTE=code_gs;43395474]Post your shipments.lua in [code] tags.[/QUOTE] How do i do that? (yes i am a nub) BTW can I add you on steam? (so we can settle this matter faster)
[QUOTE=overki11;43395719]How do i do that? (yes i am a nub) BTW can I add you on steam? (so we can settle this matter faster)[/QUOTE] Put your code in [.code] [/.code] tags, without the . in front of code.
[code]DarkRP.createShipment("AK12 Shipment", { model = "models/weapons/world/rifles/ak12.mdl", entity = "fas2_ak12", price = 2000, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("AK47 Shipment", { model = "models/weapons/world/rifles/ak47.mdl", entity = "fas2_ak47", price = 2200, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("AK74 Shipment", { model = "models/weapons/world/rifles/ak74.mdl", entity = "fas2_ak74", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Ammo Box Shipment", { model "models/weapons/v_ammobox.mdl", entity = "fas2_ammobox", price = 6000, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("AN94 Shipment", { model "models/weapons/world/rifles/an94.mdl", entity = "fas2_an94", price = 2300, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Desert Eagle Shipment", { model "models/weapons/w_deserteagle.mdl", entity = "fas2_deagle", price = 1500, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("DV2 Blade Shipment", { model "models/weapons/w_dv2.mdl", entity = "fas2_dv2", price = 1000, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("FAMAS Shipment", { model "models/weapons/w_famas.mdl", entity = "fas2_famas", price = 2250, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("G3A3 Shipment", { model "models/weapons/w_g3a3.mdl", entity = "fas2_g3", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("G36C Shipment", { model "models/weapons/w_g36e.mdl", entity = "fas2_g36c", price = 2220, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Galil Shipment", { model "models/weapons/w_rif_galil.mdl", entity = "fas2_galil", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Glock Shipment", { model "models/weapons/w_pist_glock18.mdl", entity = "fas2_glock20", price = 1400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("KS23 Shipment", { model "models/weapons/world/shotguns/ks23.mdl", entity = "fas2_ks23", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M3 Super 90 Shipment", { model "models/weapons/w_m3.mdl", entity = "fas2_m3s90", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M4A1 Shipment", { model "models/weapons/w_m4.mdl", entity = "fas2_m4a1", price = 2500, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M14 Shipment", { model "models/weapons/w_m14.mdl", entity = "fas2_m14", price = 2450, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M21 Shipment", { model "models/weapons/w_m21.mdl", entity = "fas2_m21", price = 2300, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M24 Shipment", { model "models/weapons/w_m24.mdl", entity = "fas2_m24", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M79 Launcher Shipment", { model "models/weapons/w_m79.mdl", entity = "fas2_m79", price = 3200, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M82 Shipment", { model "models/weapons/w_m82.mdl", entity = "fas2_m82", price = 2950, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M1911 Shipment", { model "models/weapons/w_1911.mdl", entity = "fas2_m1911", price = 1400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M11A1 Shipment", { model "models/weapons/w_mac11.mdl", entity = "fas2_mac11", price = 2150, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Machete Shipment", { model "models/weapons/w_machete.mdl", entity = "fas2_machete", price = 1000, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("MP5A5 Shipment", { model "models/weapons/w_mp5.mdl", entity = "fas2_mp5a5", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("MP5K Shipment", { model "models/weapons/w_mp5k.mdl", entity = "fas2_mp5k", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("OTS33 Pernach Shipment", { model "models/weapons/world/pistols/ots33.mdl", entity = "fas2_ots33", price = 1750, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("P226 Shipment", { model "models/weapons/w_pist_p228.mdl", entity = "fas2_p226", price = 1450, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("PP19 Shipment", { model "models/weapons/w_smg_biz.mdl", entity = "fas2_pp19", price = 2250, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Raging Bull Shipment", { model "models/weapons/w_357.mdl", entity = "fas2_ragingbull", price = 1850, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Remington 870 Shipment", { model SWEP.WM = "models/weapons/w_m3.mdl", entity = "fas2_rem870", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Sako RK-95 Shipment", { model SWEP.WM = "models/weapons/world/rifles/rk95.mdl", entity = "fas2_rk95", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("RPK Shipment", { model SWEP.WM = "models/weapons/w_ak47.mdl", entity = "fas2_rpk", price = 2700, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("SG550 Shipment", { model SWEP.WM = "models/weapons/w_sg550.mdl", entity = "fas2_sg550", price = 2450, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("SG552 Shipment", { model SWEP.WM = "models/weapons/w_sg550.mdl", entity = "fas2_sg552", price = 2300, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("SKS Shipment", { model SWEP.WM = "models/weapons/world/rifles/sks.mdl", entity = "fas2_sks", price = 2450, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("SR-25 Shipment", { model SWEP.WM = "models/weapons/w_sr25.mdl", entity = "fas2_sr25", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("UZI Shipment", { model SWEP.WM = "m
[QUOTE=overki11;43395969][code]--Snip-- [/code][/QUOTE] In your file, at the bottom, change every instance of [code]model SWEP.WM = [/code] to [code]model = [/code] and change every instance of [code]model "[/code] to [code]model = "[/code]
Ohhhh i get it. i backed up copying the model too far and erased the = and i copied every shipment and modified it. im such a noob. hey, i still need help with the jobs file, if theres something wrong (I Did modify default jobs and disabled them in disableddefaults.lua) and i copied SWEP.WM somehow into the model part. you can see how much of a newb lua scripter i am. Okay Fixed My Script How You Said, I load it up and when i change into gun dealer, the shipments and weapons tab dissapears, and i get this script error [code][ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua:424: '}' expected (to close '{' at line 423) near 'SWEP' 1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/shipments.lua:0[/code] And here's my shipments now [code]DarkRP.createShipment("AK12", { model = "models/weapons/world/rifles/ak12.mdl", entity = "fas2_ak12", price = 2000, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("AK47", { model = "models/weapons/world/rifles/ak47.mdl", entity = "fas2_ak47", price = 2200, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("AK74", { model = "models/weapons/world/rifles/ak74.mdl", entity = "fas2_ak74", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Ammo Box", { model = "models/weapons/v_ammobox.mdl", entity = "fas2_ammobox", price = 6000, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("AN94", { model = "models/weapons/world/rifles/an94.mdl", entity = "fas2_an94", price = 2300, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Desert Eagle", { model = "models/weapons/w_deserteagle.mdl", entity = "fas2_deagle", price = 1500, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("DV2 Blade", { model = "models/weapons/w_dv2.mdl", entity = "fas2_dv2", price = 1000, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("FAMAS", { model = "models/weapons/w_famas.mdl", entity = "fas2_famas", price = 2250, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("G3A3", { model = "models/weapons/w_g3a3.mdl", entity = "fas2_g3", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("G36C", { model = "models/weapons/w_g36e.mdl", entity = "fas2_g36c", price = 2220, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Galil", { model = "models/weapons/w_rif_galil.mdl", entity = "fas2_galil", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Glock", { model = "models/weapons/w_pist_glock18.mdl", entity = "fas2_glock20", price = 1400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("KS23", { model = "models/weapons/world/shotguns/ks23.mdl", entity = "fas2_ks23", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M3 Super 90", { model = "models/weapons/w_m3.mdl", entity = "fas2_m3s90", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M4A1", { model = "models/weapons/w_m4.mdl", entity = "fas2_m4a1", price = 2500, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M14", { model = "models/weapons/w_m14.mdl", entity = "fas2_m14", price = 2450, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M21", { model = "models/weapons/w_m21.mdl", entity = "fas2_m21", price = 2300, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M24", { model = "models/weapons/w_m24.mdl", entity = "fas2_m24", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M79 Launcher", { model = "models/weapons/w_m79.mdl", entity = "fas2_m79", price = 3200, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M82", { model = "models/weapons/w_m82.mdl", entity = "fas2_m82", price = 2950, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M1911", { model = "models/weapons/w_1911.mdl", entity = "fas2_m1911", price = 1400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("M11A1", { model = "models/weapons/w_mac11.mdl", entity = "fas2_mac11", price = 2150, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Machete", { model = "models/weapons/w_machete.mdl", entity = "fas2_machete", price = 1000, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("MP5A5", { model = "models/weapons/w_mp5.mdl", entity = "fas2_mp5a5", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("MP5K", { model = "models/weapons/w_mp5k.mdl", entity = "fas2_mp5k", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("OTS33 Pernach", { model = "models/weapons/world/pistols/ots33.mdl", entity = "fas2_ots33", price = 1750, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("P226", { model = "models/weapons/w_pist_p228.mdl", entity = "fas2_p226", price = 1450, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("PP-19", { model = "models/weapons/w_smg_biz.mdl", entity = "fas2_pp19", price = 2250, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Raging Bull", { model = "models/weapons/w_357.mdl", entity = "fas2_ragingbull", price = 1850, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Remington 870", { model = "models/weapons/w_m3.mdl", entity = "fas2_rem870", price = 2400, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("Sako RK-95", { model = "models/weapons/world/rifles/rk95.mdl", entity = "fas2_rk95", price = 2350, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("RPK", { model = "models/weapons/w_ak47.mdl", entity = "fas2_rpk", price = 2700, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("SG550", { model = "models/weapons/w_sg550.mdl", entity = "fas2_sg550", price = 2450, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createShipment("SG552", { model = "models/weapons/w_sg550.mdl", entity = "fas2_sg552", price = 2300, amount = 10, seperate = true, pricesep = 215, noship = false, allowed = {TEAM_GUN} }) DarkRP.createSh
bump
You missed the last one
1. You have two AK47 shipments. 2. You didn't change the last model SWEP.WM to model. 3. The error doesn't match up; there are only 417 lines in your code.
[QUOTE=code_gs;43404385]1. You have two AK47 shipments. 2. You didn't change the last model SWEP.WM to model. 3. The error doesn't match up; there are only 417 lines in your code.[/QUOTE] I dont have two AK47 Shipments. I have An AK47 shipment, and An AK74 Shipment. Okay, My Shipments Tab actually shows now, but when i buy a shipment or a single of a bunch of weapons this error code happens [code] [ERROR] gamemodes/darkrp/entities/entities/spawned_weapon/init.lua:13: Tried to use invalid object (type IPhysicsObject) (Object was NULL or not of the right type) 1. Wake - [C]:-1 2. unknown - gamemodes/darkrp/entities/entities/spawned_weapon/init.lua:13 3. Spawn - [C]:-1 4. SpawnItem - gamemodes/darkrp/entities/entities/spawned_shipment/init.lua:103 5. unknown - gamemodes/darkrp/entities/entities/spawned_shipment/init.lua:66 [/code] And this happens on my screen with the weapon (im just using the famas as an example, this happens with a bunch of weapons) [url]http://imgur.com/RlvbRZU[/url]
Try updating your DarkRP.
[QUOTE=code_gs;43404936]Try updating your DarkRP.[/QUOTE] yea, i figured out what happened (BTW im up to date with darkrp) its that when looking in the lua of the weapons in FA:S its that i copied and pasted SWEP WM = (Whatever) instead of WorldModel = (Whatever) but Spy didn't make fully functioning worldmodels so does anyone know were to get models for all weapons in the FA:S pack? i could use download siminovs and use his models. BTW code_gs can i add you on steam so we can msg in real time so this can be solved faster?
I don't help over Steam. Just use default worldmodels like an AK or Galil.
Hey im moving on to my custom ammo file, and when i try it out in GMod This Is The Error I Get [code][ERROR] addons/darkrpmodification-master/lua/darkrp_customthings/ammo.lua:56: invalid escape sequence near '"models' 1. unknown - addons/darkrpmodification-master/lua/darkrp_customthings/ammo.lua:0 [/code] here is my ammo.lua, plz help [code]DarkRP.createAmmoType("5.45x39MM", { name = "5.45x39MM", model = "models\items\battery.mdl", price = 80, amountGiven = 60, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType("7.62x39MM", { name = "7.62x39MM", model = "models\items\car_battery01.mdl", price = 90, amountGiven = 60, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType(".50 AE", { name = ".50 AE", model = "models\props_lab\box01a.mdl", price = 35, amountGiven = 16, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType("5.56x45MM", { name = "5.56x45MM", model = "models/Items/BoxMRounds.mdl", price = 75, amountGiven = 60, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType("7.62x51MM", { name = "7.62x51MM", model = "models\items\ammocrate_rockets.mdl", price = 80, amountGiven = 60, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType("10x25MM", { name = "10x25MM", model = "models\items\item_item_crate.mdl", price = 40, amountGiven = 30, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType("23x75MMR", { name = "23x75MMR", model = "models\items\flare.mdl", price = 50, amountGiven = 16, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType("12 Gauge", { name = "12 Gauge", model = "models\items\boxbuckshot.mdl", price = 45, amountGiven = 16, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType("40MM HE", { name = "40MM HE", model = "models\items\ar2_grenade.mdl", price = 90, amountGiven = 16, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType(".50 BMG", { name = ".50 BMG", model = "models\items\ammocrate_rockets.mdl", price = 85, amountGiven = 25, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType(".45 ACP", { name = ".45 ACP", model = "models\items\boxflares.mdl", price = 30, amountGiven = 16, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType(".380 ACP", { name = ".380 ACP", model = "models\items\combine_rifle_cartridge01.mdl", price = 40, amountGiven = 50, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType("9x19MM", { name = "9x19MM", model = "models\items\boxsrounds.mdl", price = 55, amountGiven = 60, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType("9x18MM", { name = "9x18MM", model = "models\items\ammocrate_ar2.mdl", price = 45, amountGiven = 60, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType(".357 SIG", { name = ".357 SIG", model = "models\items\357ammobox.mdl", price = 40, amountGiven = 32, customCheck = function(ply) return ply:IsAdmin() }) DarkRP.createAmmoType(".454 Casull", { name = ".454 Casull", model = "models\items\combine_rifle_ammo01.mdl", price = 40, amountGiven = 16, customCheck = function(ply) return ply:IsAdmin() }) [/code]
Bump
[QUOTE=overki11;43407801]Bump[/QUOTE] Change all the \s to /s.
[QUOTE=Ghost_Sailor;43408115]Change all the \s to /s.[/QUOTE] \s in what part?
[QUOTE=overki11;43408140]\s in what part?[/QUOTE] Anywhere you see [code]"models\items\"[/code] Make it [code]"models/items/"[/code]
Sorry, you need to Log In to post a reply to this thread.