AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.60 (https://forums.alliedmods.net/showthread.php?t=51732)

Schmackbolzen 08-25-2007 10:57

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
 
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?

KWo 08-26-2007 04:04

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
 
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... :(

KWo 08-26-2007 10:38

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
 
1 Attachment(s)
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.

Schmackbolzen 09-04-2007 06:31

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
 
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 ;)

[email protected] 09-04-2007 07:33

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
 
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 ^^

KWo 09-04-2007 14:56

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.4
 
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.

[email protected] 09-04-2007 17:20

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.5
 
the limit for teams is reched but they can buy awp...

KWo 09-05-2007 14:49

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.5
 
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.

yaya 09-28-2007 15:46

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.5
 
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

KWo 09-29-2007 02:36

Re: Limit AWP/G3SG1/SG550 with Team Limit and Win limit (CS 1.6) v1.5
 
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.


All times are GMT -4. The time now is 10:28.

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