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

[CS:S+GO] RAWR : Red's Awp Wide Restriction (2.2=handling warmup)


Post New Thread Reply   
 
Thread Tools Display Modes
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 10-25-2011 , 22:12   Re: [CS:S] RAWR : Red's Awp Wide Restriction
Reply With Quote #11

Quote:
Originally Posted by davidov View Post
Sorry, i get this error at loading: missing file from directory

Code:
L 10/25/2011 - 17:49:11: [SM] Error parsing gameconfig file "E:\Partage\HLServer\css\cstrike\addons\sourcemod\gamedata\wpndrop-cstrike.games.txt":
L 10/25/2011 - 17:49:11: [SM] Error 1 on line 0, col 0: Stream failed to open
L 10/25/2011 - 17:49:11: [SM] Native "LoadGameConfigFile" reported: Unable to open wpndrop-cstrike.games: File could not be opened: Le fichier spÚcifiÚ est introuvable.

L 10/25/2011 - 17:49:11: [SM] Displaying call stack trace for plugin "redsawpwiderestriction.smx":
L 10/25/2011 - 17:49:11: [SM]   [0]  Line 163, /home/groups/alliedmodders/forums/files/1/0/2/1/6/92173.attach::OnPluginStart()
EDIT:

Well i copy-paste an existing file located in the same directory, i renamed it according to the missing one's filename and now it works!
Glad you got it to work.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 11-08-2011 , 23:42   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #12

  • Added missing "wpndrop-cstrike.games.txt" gamedata file. (08-11-2011)

Thanks to TnTSCS for making me realise my missing file.
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
davidov
Member
Join Date: Oct 2011
Old 11-16-2011 , 12:13   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #13

I add a sound played when a player is enforced to drop his AWP, usefull at round_start after reaching the using limit so player hears that he must buy another weapon ; it's the known sound used by most of plugins of restriction and Mani; Everyone knows this sound and every player has already it in his game's directory so the server won't have to upload it.
Realease number is unchanged
Attached Files
File Type: sp Get Plugin or Get Source (redsawpwiderestriction.sp - 491 views - 23.1 KB)
davidov is offline
zapf
New Member
Join Date: Dec 2011
Old 12-24-2011 , 13:10   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #14

this works great on my server, but can you please add support for the autosnipers?

Last edited by zapf; 12-24-2011 at 13:10.
zapf is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 12-26-2011 , 08:26   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #15

Quote:
Originally Posted by zapf View Post
this works great on my server, but can you please add support for the autosnipers?
Glad to read that.

I didn't have any plan to add support for autosniper. However what you cando is make two new plugins, with the same exact code, but change the CVar for the one you make (under OnPluginStart() ) and the following lines :

Code:
#define	AWP_ENT_STR			"weapon_awp"
#define	AWP_WPN_STR			"awp"
for the good ones (in that case you would have to recompile twice, 1 for each autosniper)

I believe the autosnipers' entities' name to be "weapon_g3sg1" and "weapon_sg552". You would have to test; however for the weapons name I believe it would be "g3sg1" and "sg552" respectively.

If you're talking about a single plugin handling all those altogether, it is not my intention, since usually a server either allow autosnipers or restrict them (never seen a quantity restriction I believe).

Have good holidays,
Red
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 12-26-2011 at 08:50.
RedSword is offline
Nolongerinthegame
AlliedModders Donor
Join Date: Sep 2005
Old 12-26-2011 , 09:54   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #16

Quote:
Originally Posted by RedSword View Post
Glad to read that.

I didn't have any plan to add support for autosniper. However what you cando is make two new plugins, with the same exact code, but change the CVar for the one you make (under OnPluginStart() ) and the following lines :

Code:
#define	AWP_ENT_STR			"weapon_awp"
#define	AWP_WPN_STR			"awp"
for the good ones (in that case you would have to recompile twice, 1 for each autosniper)

I believe the autosnipers' entities' name to be "weapon_g3sg1" and "weapon_sg552". You would have to test; however for the weapons name I believe it would be "g3sg1" and "sg552" respectively.

If you're talking about a single plugin handling all those altogether, it is not my intention, since usually a server either allow autosnipers or restrict them (never seen a quantity restriction I believe).

Have good holidays,
Red
The Autosnipers are actually "g3sg1" and "sg550" not sg552!
Nolongerinthegame is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 12-26-2011 , 20:43   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #17

Quote:
The Autosnipers are actually "g3sg1" and "sg550" not sg552!
Thanks for the correction .
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work
RedSword is offline
nikedu45
Senior Member
Join Date: May 2011
Old 01-29-2012 , 05:52   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #18

Hello, I just point out a common problem in my logs:
Quote:
L 01/28/2012 - 193:16: [SM] Native "RemovePlayerItem" reported: NULL not allowed
L 01/28/2012 - 193:16: [SM] Displaying call stack trace for plugin "redsawpwiderestriction.smx":
L 01/28/2012 - 193:16: [SM] [0] Line 639, /home/groups/alliedmodders/forums/files/1/0/2/1/6/92173.attach::stripAwpFromAwper()
L 01/28/2012 - 193:16: [SM] [1] Line 621, /home/groups/alliedmodders/forums/files/1/0/2/1/6/92173.attach::removeAwpFromAwperInBuyzone()
L 01/28/2012 - 193:16: [SM] [2] Line 350, /home/groups/alliedmodders/forums/files/1/0/2/1/6/92173.attach::Event_ItemPickup()
__________________
Bl4ck-And-White.fr
I'm French !!
nikedu45 is offline
RedSword
SourceMod Plugin Approver
Join Date: Mar 2006
Location: Quebec, Canada
Old 01-29-2012 , 14:44   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #19

Quote:
Originally Posted by nikedu45 View Post
Hello, I just point out a common problem in my logs:
Do you have another plugin restricting awps ?

EDIT : Also, do you know how to replicate that problem ?
__________________
My plugins :
Red Maze
Afk Bomb
RAWR (per player/rounds Awp Restrict.)
Kill Assist
Be Medic

You can also Donate if you appreciate my work

Last edited by RedSword; 01-29-2012 at 14:50.
RedSword is offline
nikedu45
Senior Member
Join Date: May 2011
Old 01-29-2012 , 14:54   Re: [CS:S] RAWR : Red's Awp Wide Restriction (Fixed missing file :$ 08-11-2011)
Reply With Quote #20

I use: http://forums.alliedmods.net/showthread.php?t=105219
__________________
Bl4ck-And-White.fr
I'm French !!
nikedu45 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 21:44.


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