Raised This Month: $51 Target: $400
 12% 

Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.60


Post New Thread Reply   
 
Thread Tools Display Modes
Schmackbolzen
Junior Member
Join Date: Aug 2007
Location: Germany
Old 08-25-2007 , 10:57   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
Reply With Quote #101

Ok, I had a quick look at PTBs source and from what I saw at round end a task is set to launch 4.5 seconds later and switch players if neccessary. So I guess it is hard to predict when it exactly will happen, it depends on how long the calculations for the balancing last. I originally thought you just would register an event on team joining and check wether he is dead or not, so maybe that's the way to go? You could copy the event registering just from PTB and update the counters in the called function if he is not dead. Or is it not that simple?
Schmackbolzen is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 08-26-2007 , 04:04   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
Reply With Quote #102

No - that is not the good solution to copy that part of code into this plugin. If someone decides to update that plugin and change that timer, I would need to follow that... The only thing I can do is check if there is a new teaminfo message for an alive player - then make all calculations again. Or save somewhere the info about teams, then compare it with the new info. It will make me more time then I supposed...
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 08-26-2007 , 10:38   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
Reply With Quote #103

OK - please use this version. It checks the team switching for alive players. If any alive player had an awp before switching, You should see the info about it in the log (and also the new numbers of again counted awps per team). You my need to make some tests with Your teamnates to see if the calculation works.
Note - the plugin doesn't force the player to drop the awp after switching the team. It disallows only to buy (or pickup) a new one by another player (if limit is exceeded). I decided so to make it more justify/fair.
Attached Files
File Type: sma Get Plugin or Get Source (sniperlimit.sma - 1229 views - 19.8 KB)
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.

Last edited by KWo; 08-26-2007 at 10:43.
KWo is offline
Schmackbolzen
Junior Member
Join Date: Aug 2007
Location: Germany
Old 09-04-2007 , 06:31   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
Reply With Quote #104

Hi!
I didn't have much time this week so I just put it on the server without testing it myself, but from what I see in the logs right now it seems to work good! So I give you +karma for now and say thank you! In case I find still an error I will report it ;)
Schmackbolzen is offline
[email protected]
Member
Join Date: Mar 2005
Location: Hamburg (Germany)
Old 09-04-2007 , 07:33   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
Reply With Quote #105

The Plugin didn't work on my Server.. i have amxmodx 1.76b and all required modules enabled... sometimes i get as T the message that using awp is not allowed when i want to pickup a AWP, but it is not often.... dunno why... can someone help me? sorry for my english, i came from germany ^^
Scrratch@hotmail.com is offline
Send a message via ICQ to Scrratch@hotmail.com Send a message via MSN to Scrratch@hotmail.com
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 09-04-2007 , 14:56   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
Reply With Quote #106

If in Your team there is the max_awps limit reached, You cannot pickup the awp. That's normal. Please read the first page (also the changeleog) to understand how does this plugin work.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
[email protected]
Member
Join Date: Mar 2005
Location: Hamburg (Germany)
Old 09-04-2007 , 17:20   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.5
Reply With Quote #107

the limit for teams is reched but they can buy awp...
Scrratch@hotmail.com is offline
Send a message via ICQ to Scrratch@hotmail.com Send a message via MSN to Scrratch@hotmail.com
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 09-05-2007 , 14:49   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.5
Reply With Quote #108

Please re-download, re-compile and re-install the plugin. Make sure You are using 1.5 version (I have upload it yesterday). Try it and let me know what is not working in this version.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo is offline
yaya
Member
Join Date: Feb 2007
Old 09-28-2007 , 15:46   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.5
Reply With Quote #109

Hello,

here is my problem:

I installed this plugins, I limited it has 1 awp by team.

Concerning the buy of the weapon, it blocks well 1 awp by team, but I the opposing team has also to buy 1 awp and that I kill it, I can take his awp with ground in spite of the message which says that too many people have the awp


Do you have a solution to prevent this?

I have amxx 1.76d

Thx for your intention
yaya is offline
KWo
AMX Mod X Beta Tester
Join Date: Jul 2004
Location: Poland
Old 09-29-2007 , 02:36   Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.5
Reply With Quote #110

Make sure Your teamnate wasn't dead that time You have pickuped an enemy's awp. Or maybe he got balanced to the opposite team by any autobalance plugin. The message You 've got is interresting. Probably You were somewhere in the area of dropped awp, You got the message ("too many awps"), then Your teamnate got killed or autobalanced - so You could take the awp.
__________________
The Fullpack of podbot mm V3B22 - 24 apr 2012!!! is available here.
The All-In-One 3.2a package - 02 jun 2013 (AMX X 1.8.2 [with ATAC 3.0.1b , CSDM2.1.3c beta, CM OE 0.6.5, podbot mm V3B22c and mm 1.20) is available here.
The newest Beta V3B23a (rel. 28 august 2018!!!) is available here.
KWo 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:57.


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