• Weapons reload way too fast
    13 replies, posted
When i reload a custom weapon it reloads too fast on my TTT server Is there any line i could add like something like SWEP.ReloadSpeed or something
Your server is missing CS:S content.
[QUOTE=Robotboy655;43355597]Your server is missing CS:S content.[/QUOTE] How do i add it?
Look about here, buddy; [url]http://wiki.garrysmod.com/page/Mounting_Content_on_a_DS[/url]
He means it's either not mounted; or it's missing entirely. Check around your server folder for a cstrike directory. In garrysmod/cfg/mount.cfg you need to add the mount config for each game you wish to mount. Make sure you downloaded the content with srcds [lua] // // Use this file to mount additional paths to the filesystem // DO NOT add a slash to the end of the filename // "mountcfg" { "cstrike" "Z:\dedicated_servers\server_1\cstrike" "tf" "Z:\dedicated_servers\server_1\tf" "dod" "Z:\dedicated_servers\server_1\dod" "hl2" "Z:\dedicated_servers\server_1\hl2" "ep2" "Z:\dedicated_servers\server_1\ep2" "episodic" "Z:\dedicated_servers\server_1\episodic" } [/lua] Here's how to add garry's mod, cs:s, tf2 and dod. I believe these are the 4 here: [lua]steamcmd.exe +login anonymous +force_install_dir Z:\dedicated_servers\server_1\ +app_update 232250 +app_update 232290 +app_update 232330 +app_update 4020 validate +quit[/lua] Half life 2 content, episodic, cs go, etc requires a login. Make sure you login with your steam account; you'll be logged out of steam automatically when you do this, or you'll be kicked out of servers until you restart it. [lua]steamcmd.exe +login my_super_secret_steam_name +force_install_dir Z:\dedicated_servers\server_1\ +app_update 220 +app_update 380 +app_update 420[/lua] Hope this helps.
"Z:\dedicated_servers\server_1\cstrike" Do i have to change something in this?
[QUOTE=rojuslap;43355722]"Z:\dedicated_servers\server_1\cstrike" Do i have to change something in this?[/QUOTE] Yes; this is an example of an "exact path" to the folder. You'll need to copy what you see in the address bar in windows ( copy/paste ) to your cstrike folder. You can remove lines of games which you don't use.
I did this and the weapons still reload too fast [editline]30th December 2013[/editline] Oh wait [editline]30th December 2013[/editline] [QUOTE=Acecool;43355734]Yes; this is an example of an "exact path" to the folder. You'll need to copy what you see in the address bar in windows ( copy/paste ) to your cstrike folder. You can remove lines of games which you don't use.[/QUOTE] What exact path? :D C:\Program files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike [editline]30th December 2013[/editline] Is it right?
[QUOTE=rojuslap;43355738]I did this and the weapons still reload too fast [editline]30th December 2013[/editline] Oh wait [editline]30th December 2013[/editline] What exact path? :D C:\Program files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike [editline]30th December 2013[/editline] Is it right?[/QUOTE] Some-times the cstrike folder you put in, is not the exact cstrike folder you need. You may need to go one deeper. Additionally, mount.cfg has issues mounting from folders with hyphens - in their names such as the default Counter-Strike-Source/cstrike directory. This is why I gave the .bat file code for steamcmd.exe to force a directory in order to download to a directory without hyphens. the cstrike dir you need contains the gameinfo.txt, steam.inf, bin/cfg/custom/download/maps/media/resource folders, and cstrike_pak_000-012.vpk + the cstrike_pak_dir.vpk containers. Update: That folder may be the correct one; double check that the correct files are within; additionally read above regarding hyphens in the name. You may be better off downloading a fresh-copy into a dedicated_server directory to avoid hassles.
ugh getting confused here.. [editline]30th December 2013[/editline] Can you get me some steps? :D Do i need to add this to mount.cfg? C:\Program files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike
[QUOTE=rojuslap;43355787]ugh getting confused here.. [editline]30th December 2013[/editline] Can you get me some steps? :D Do i need to add this to mount.cfg? C:\Program files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike[/QUOTE] [lua]// // Use this file to mount additional paths to the filesystem // DO NOT add a slash to the end of the filename // "mountcfg" { "cstrike" "C:\Program files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike" }[/lua] Again, be sure the correct files/folders are in that directory. Try it out, see if it works; if it does then excellent. If not; it may be the hyphen-name bug. There is an issue with mount.cfg using names that contain hyphenated names. If it doesn't work, download steamcmd, and run the first command. It'll have TF2, DOD:S, CS:S, Garry's Mod. Change the download directory, but ensure no hyphens are in the name. Let us know!
[QUOTE=Acecool;43355799][lua]// // Use this file to mount additional paths to the filesystem // DO NOT add a slash to the end of the filename // "mountcfg" { "cstrike" "C:\Program files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike" }[/lua] Again, be sure the correct files/folders are in that directory. Try it out, see if it works; if it does then excellent. If not; it may be the hyphen-name bug. There is an issue with mount.cfg using names that contain hyphenated names. If it doesn't work, download steamcmd, and run the first command. It'll have TF2, DOD:S, CS:S, Garry's Mod. Change the download directory, but ensure no hyphens are in the name. Let us know![/QUOTE] Do i need to restart the whole server for cfg files? if i only need to change the map then it doesn't work, so the only way is to install a new server?...
As far as I know, you'll need to restart srcds in order for new addons to be mounted unless you have auto-refresh enabled and force cs:s via: [lua]// // Forces the engine to remount certain addons. // concommand.Add("dev_remount", function( ply, cmd, args ) -- engine.SetMounted( 420, true ); // Half Life 2 Episode 2 -- ep2 -- -- engine.SetMounted( 380, true ); // Half Life 2 Episode 1 -- episodic -- engine.SetMounted( 320, true ); // Half Life 2 DM -- engine.SetMounted( 220, true ); // Half Life 2 -- hl2 -- -- engine.SetMounted( 440, true ); // Team Fortress 2 -- tf -- engine.SetMounted( 240, true ); // Counter-Strike -- cstrike -- end );[/lua] The cstrike id may have changed since I put that in my dev code. This may or may not work depending on the ID; in addition to the mount.cfg not being re-read until restart of srcds. Try it, if it doesn't work, then restart srcds; it doesn't take long for it to launch a server :-P
[QUOTE=Acecool;43355898]As far as I know, you'll need to restart srcds in order for new addons to be mounted unless you have auto-refresh enabled and force cs:s via: [lua]// // Forces the engine to remount certain addons. // concommand.Add("dev_remount", function( ply, cmd, args ) -- engine.SetMounted( 420, true ); // Half Life 2 Episode 2 -- ep2 -- -- engine.SetMounted( 380, true ); // Half Life 2 Episode 1 -- episodic -- engine.SetMounted( 320, true ); // Half Life 2 DM -- engine.SetMounted( 220, true ); // Half Life 2 -- hl2 -- -- engine.SetMounted( 440, true ); // Team Fortress 2 -- tf -- engine.SetMounted( 240, true ); // Counter-Strike -- cstrike -- end );[/lua] The cstrike id may have changed since I put that in my dev code. This may or may not work depending on the ID; in addition to the mount.cfg not being re-read until restart of srcds. Try it, if it doesn't work, then restart srcds; it doesn't take long for it to launch a server :-P[/QUOTE] I should add this code in mounted.cfg? [editline]30th December 2013[/editline] [QUOTE=Acecool;43355898]As far as I know, you'll need to restart srcds in order for new addons to be mounted unless you have auto-refresh enabled and force cs:s via: [lua]// // Forces the engine to remount certain addons. // concommand.Add("dev_remount", function( ply, cmd, args ) -- engine.SetMounted( 420, true ); // Half Life 2 Episode 2 -- ep2 -- -- engine.SetMounted( 380, true ); // Half Life 2 Episode 1 -- episodic -- engine.SetMounted( 320, true ); // Half Life 2 DM -- engine.SetMounted( 220, true ); // Half Life 2 -- hl2 -- -- engine.SetMounted( 440, true ); // Team Fortress 2 -- tf -- engine.SetMounted( 240, true ); // Counter-Strike -- cstrike -- end );[/lua] The cstrike id may have changed since I put that in my dev code. This may or may not work depending on the ID; in addition to the mount.cfg not being re-read until restart of srcds. Try it, if it doesn't work, then restart srcds; it doesn't take long for it to launch a server :-P[/QUOTE] OMG IT WORKED THANKS SO MUCH
Sorry, you need to Log In to post a reply to this thread.