Raised This Month: $ Target: $400
 0% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
VJScope
Senior Member
Join Date: Jul 2012
Location: Finland
Old 09-10-2012 , 05:14   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1231

Quote:
Originally Posted by ordimans View Post
It worked.
I placed in csgo/addons/sourcemod/configs/restrict
and in
csgo/maps/cfg
and in
/csgo/cfg/sourcemod

So you confirm the first folder is sufficient ?

And in gameserver_mode.txt i added "exec" "de_westwood.cfg"
It's useless too ?
All I needed to do was place de_westwood.cfg in csgo/addons/sourcemod/configs/restrict.
__________________
Strange women lying in ponds distributing swords is no basis for a system of government. Supreme executive power derives from a mandate from the masses, not from some farcical aquatic ceremony.
VJScope is offline
WouterDS
Junior Member
Join Date: Aug 2012
Old 09-10-2012 , 16:53   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1232

Anyone who can send me SDKHooks 2.2?
This url has been down for the past couple of hours..
http://users.alliedmods.net/~psychon.../sdkhooks/2.2/


Edit: I've got it. In case it would go down again, here's SDKHooks 2.2 for Linux!
__________________

Last edited by WouterDS; 09-10-2012 at 18:06.
WouterDS is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 09-11-2012 , 20:28   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1233

Gamedata Update for CS:S:

Code:
    "cstrike"
    {    
        "Signatures"
        {
            "RoundRespawn"
            {
                "library"    "server"
                "windows"    "\x55\x8B\xEC\x51\x89\x2A\x2A\x8B\x2A\x2A\x8B\x10\x8B"
                "linux"        "@_ZN9CCSPlayer12RoundRespawnEv"
            }
            "CSWeaponDrop"
            {
                "library"    "server"
                "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x89\x8D\x2A\x2A\x2A\x2A\xC6\x2A\x2A\x00\x8B\x8D\x2A\x2A\x2A\x2A\xE8"
                "linux"        "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
            }
        }
    }
^Just copy paste this to fix^
__________________

Last edited by Fearts; 09-12-2012 at 23:09.
Fearts is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 09-11-2012 , 20:35   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1234

Quote:
Originally Posted by Fearts View Post
Gamedata Update for CS:S:

Code:
    "cstrike"
    {    
        "Signatures"
        {
            "RoundRespawn"
            {
                "library"    "server"
                "windows"    ""\x55\x8B\xEC\x51\x89\x2A\x2A\x8B\x2A\x2A\x8B\x10\x8B"
                "linux"        "@_ZN9CCSPlayer12RoundRespawnEv"
            }
            "CSWeaponDrop"
            {
                "library"    "server"
                "windows"    ""\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x89\x8D\x2A\x2A\x2A\x2A\xC6\x2A\x2A\x00\x8B\x8D\x2A\x2A\x2A\x2A\xE8"
                "linux"        "@_ZN9CCSPlayer12CSWeaponDropEP17CBaseCombatWeaponbb"
            }
        }
    }
^Just copy paste this to fix^
k, too bad this doesn't use gamedata anymore huh. You should probably learn to upgrade . Also, thanks for testing my sigs . Oh btw that gamedata wouldnt work, you have two quotes at the start.

Last edited by Dr!fter; 09-11-2012 at 20:38.
Dr!fter is offline
waltercl
Member
Join Date: Jun 2011
Old 09-12-2012 , 00:55   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1235

I tried pasting in the changes to the gamedata, but I still go this error:

[SM] Error parsing gameconfig file "C:\servers\tgc\orangebox\cstrike\addons\sour cemod\gamedata\weapon_restrict.games.txt": too many invalid tokens

Edit: Saw that there is an update that doesn't use GameData. I can upgrade, but for a quickfix it would be nice to have a corrected gamedata file. The one two posts above doesn't appear to work.

Last edited by waltercl; 09-12-2012 at 01:21.
waltercl is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 09-12-2012 , 09:16   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1236

Quote:
Originally Posted by waltercl View Post
I tried pasting in the changes to the gamedata, ... it would be nice to have a corrected gamedata file. The one two posts above doesn't appear to work.
Quote:
Originally Posted by Dr!fter View Post
Oh btw that gamedata wouldnt work, you have two quotes at the start.
Update to the latest version that does not use gamedata (which is always best anyways) - unless Dr!fter said he would support older version, he won't... update to the latest OR fix the posted gamedata before saving your file by removing the double quotes ("")
__________________
View my Plugins | Donate

Last edited by TnTSCS; 09-12-2012 at 09:17.
TnTSCS is offline
AdminAbuse
Junior Member
Join Date: Sep 2012
Old 09-12-2012 , 21:45   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1237

After about 2 days of messing around with this i got it to 100% work expect it wont load the weapon_restrict.cfg in my config file. Any help?
AdminAbuse is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 09-14-2012 , 13:11   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1238

For the per players. E.g. After 18 players, 2 can have awp. Is it just 2 for the whole server or 2 per team?

Im looking for 1 awp per team after 18 players.

Last edited by Nolongerinthegame; 09-14-2012 at 13:18.
Nolongerinthegame is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-14-2012 , 13:30   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1239

Quote:
Originally Posted by nelioneil View Post
For the per players. E.g. After 18 players, 2 can have awp. Is it just 2 for the whole server or 2 per team?

Im looking for 1 awp per team after 18 players.
X per team
__________________
Do not Private Message @me
Bacardi is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 09-15-2012 , 07:10   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1240

Quote:
Originally Posted by Bacardi View Post
X per team
So here is my perplayer config:

Quote:

"PerPlayer"
{
"awp"
{
"default" "0"
"14" "1"
}
}
And in the normal config files, would i change the awp values to -1 or 0?

E.g.

sm_restrict_awp_t "0"
sm_restrict_awp_ct "0"

Last edited by Nolongerinthegame; 09-15-2012 at 07:41.
Nolongerinthegame is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode