Raised This Month: $32 Target: $400
 8% 

[CSGO] Stripper not removing deagle from some maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Major Erection
AlliedModders Donor
Join Date: Dec 2015
Location: Malaysia
Old 03-23-2017 , 03:25   [CSGO] Stripper not removing deagle from some maps
Reply With Quote #1

I run an awp server. Due to people abusing the deagle, I removed them using stripper. However for a few of these maps, it doesn't work. I'm guessing it's because they aren't using game_player_equip. I don't have enough knowledge about maps to know what they're using to spawn the deags. Anyone knows how to solve this?

The maps I'm currently facing issues in are :
awp_lego_asia
awp_lego_2013
awp_lego_2016
awp_lego_fort

PHP Code:
modify:
{
match:
{    
"classname" "game_player_equip"
}
replace:
{
}
delete:
{
"weapon_deagle" "1"
"weapon_AWP" "1"
}
insert:
{
"weapon_AWP" "1"
}

__________________
Major Gaming
Major Erection is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 03-23-2017 , 03:36   Re: [CSGO] Stripper not removing deagle from some maps
Reply With Quote #2

Can you post the stripper_dump of the map?
__________________
sneaK is offline
Major Erection
AlliedModders Donor
Join Date: Dec 2015
Location: Malaysia
Old 03-23-2017 , 03:47   Re: [CSGO] Stripper not removing deagle from some maps
Reply With Quote #3

Quote:
Originally Posted by blackhawk74 View Post
Can you post the stripper_dump of the map?
forgot to mention, stripper_dump crashes the server.

edit : Accelerator isn't showing any crash reports but this is the line after the server 'crashes'

Wrote minidump to: ../csgo/addons/sourcemod/data/dumps/20565023-2c8b-196a-1a578395-15ceec4f.dmp
Segmentation fault (core dumped)

edit 2 : https://crash.limetech.org/dbzufpfp63qk
__________________
Major Gaming

Last edited by Major Erection; 03-23-2017 at 04:02. Reason: new info
Major Erection is offline
Major Erection
AlliedModders Donor
Join Date: Dec 2015
Location: Malaysia
Old 03-23-2017 , 16:21   Re: [CSGO] Stripper not removing deagle from some maps
Reply With Quote #4

Figured out that I can't use stripper_dump on maps in the workshop folder. Moved it to the maps folder and ran the command. Got the part that spawns the deagles for these maps and added them to the .cfg

Everything seems to be working fine now. Case closed
__________________
Major Gaming
Major Erection is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-23-2017 , 17:04   Re: [CSGO] Stripper not removing deagle from some maps
Reply With Quote #5

i have tryed in CS:S same maps/$2000$.cfg with
PHP Code:
modify

match
{     
"classname" "game_player_equip" 

replace


delete

"weapon_ma41" "1" 
"weapon_ak47" "1" 

insert

"weapon_AWP" "1" 


didn't worked why ?
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Major Erection
AlliedModders Donor
Join Date: Dec 2015
Location: Malaysia
Old 03-23-2017 , 17:22   Re: [CSGO] Stripper not removing deagle from some maps
Reply With Quote #6

Quote:
Originally Posted by CryWolf View Post
....
Here's my cfg now.
PHP Code:
modify:
{
match:
{    
"classname" "game_player_equip"
}
replace:
{
}
delete:
{
"weapon_deagle" "0"
"weapon_deagle" "1"
"weapon_deagle" "12"
"weapon_AWP" "1"
"item_kevlar" "1"
"hammerid" "3766"
"hammerid" "19656"
}
insert:
{
"weapon_AWP" "1"
"item_kevlar" "1"
}

Those are all deagles for different maps that I found using stripper_dump
__________________
Major Gaming

Last edited by Major Erection; 03-23-2017 at 17:23.
Major Erection is offline
Maind
Member
Join Date: Dec 2009
Old 03-23-2017 , 17:57   Re: [CSGO] Stripper not removing deagle from some maps
Reply With Quote #7

Maybe some maps just simply puts a deagle under a spawn - you could filter this useing

Code:
filter:
{    
"classname" "weapon_deagle"
}
However imo it would be better to do it via plugin and delete them after OnEntityCreated is Called
Maind is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-24-2017 , 00:48   Re: [CSGO] Stripper not removing deagle from some maps
Reply With Quote #8

here is my dump file can u create an example for me and what are numbers after weapon classes? those 0, 1, 12 ?

http://crywolf.optimizare-web.com/css_download/dumps/$2000$.0000.cfg
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 03-24-2017 at 00:48.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Major Erection
AlliedModders Donor
Join Date: Dec 2015
Location: Malaysia
Old 03-24-2017 , 05:14   Re: [CSGO] Stripper not removing deagle from some maps
Reply With Quote #9

Quote:
Originally Posted by CryWolf View Post
....
PHP Code:
filter:
{    
"classname" "weapon_m4a1"
"classname" "weapon_ak47"

This should do the trick. Not sure though, I just learned how to use stripper 2 days ago LOL
__________________
Major Gaming
Major Erection is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 03-24-2017 , 12:02   Re: [CSGO] Stripper not removing deagle from some maps
Reply With Quote #10

Quote:
Originally Posted by Major Erection View Post
PHP Code:
filter:
{    
"classname" "weapon_m4a1"
"classname" "weapon_ak47"

This should do the trick. Not sure though, I just learned how to use stripper 2 days ago LOL
It needs to be separate, this would be looking for an M4 & AK-47 at the same time, which more than likely doesn't exist. So the correct way would be like so:

PHP Code:
filter:
{    
"classname" "weapon_m4a1"
}
{
"classname" "weapon_ak47"

__________________
sneaK is offline
Reply


Thread Tools
Display Modes

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 11:49.


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