Re: [hlds_linux] Weapon buying limit per user

2006-11-26 Thread Graham Robinson

I certainly think this cannot be done with evenscripts as there is no
way of stopping a client from dropping their gun

(well there is you can alias the command for dropping a gun but as we
know we admins aren't allowed to do things like that to valves paying
clients since the last update no matter how hard they try to break our
servrers)

You could do an eventscript to monitor the amount of drops per player
and then take away their cash stopping them from buying again, or just
blow them up / kick / ban etc

On 26/11/06, John Sheu [EMAIL PROTECTED] wrote:

On Sunday 26 November 2006 1:25 am, milchworld wrote:
 not only 4. you should be able to buy a weapon for every of your teammates.
 lets say you play 7on7, and only you made frags in the first round. you
 should be able to buy weapons for all 7 in your team...

I have no experience with server plugins, and I'm not even sure how plugins
hook into the mod.  But here's my two cents:


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Weapon buying limit per user

2006-11-26 Thread Wim Barelds
--
[ Picked text/plain from multipart/alternative ]
 You could do an eventscript to monitor the amount of drops per player
 and then take away their cash stopping them from buying again, or just
 blow them up / kick / ban etc

That wouldnt be fast enough for a scripted buy, in fact, mostly any solution
not hardcoded into SrcDS would be too slow.


On 11/26/06, Graham Robinson [EMAIL PROTECTED] wrote:

 I certainly think this cannot be done with evenscripts as there is no
 way of stopping a client from dropping their gun

 (well there is you can alias the command for dropping a gun but as we
 know we admins aren't allowed to do things like that to valves paying
 clients since the last update no matter how hard they try to break our
 servrers)

 You could do an eventscript to monitor the amount of drops per player
 and then take away their cash stopping them from buying again, or just
 blow them up / kick / ban etc

 On 26/11/06, John Sheu [EMAIL PROTECTED] wrote:
  On Sunday 26 November 2006 1:25 am, milchworld wrote:
   not only 4. you should be able to buy a weapon for every of your
 teammates.
   lets say you play 7on7, and only you made frags in the first round.
 you
   should be able to buy weapons for all 7 in your team...
 
  I have no experience with server plugins, and I'm not even sure how
 plugins
  hook into the mod.  But here's my two cents:

 ___
 To unsubscribe, edit your list preferences, or view the list archives,
 please visit:
 http://list.valvesoftware.com/mailman/listinfo/hlds_linux




--
___
Wim 'TheUnknownFactor' Barelds
[EMAIL PROTECTED]
--

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Weapon buying limit per user

2006-11-25 Thread john @ GamersCoalition

indeed, our server was exploited by the glock fountain. it crashed
our hosted dual opteron, 2gb, 1000fps hyper server. it's a
buy-toss-buy (repeat until cashweapon price) script readily available
on the intraweb. it's becoming the latest fad in the anti-dwp fanboy
club, and it's a challenge to beat.

On 11/25/06, ics [EMAIL PROTECTED] wrote:

Can we have somekind of limiter on buying guns, for example 10 same
weapons max per player? Reason why i am requesting this is that i
recently played on a server which used dynamicpricing. 3 guys  after few
rounds bought glocks (costs 38$ each) with all the money they had and
there was large piles of those at spawn. They used somekind of automated
script so it happened in instant. The buying isnt problem but everyones
fps really went down and playing because impossible. Any of you server
admins who have used mani-admin to give pile of weapons know that the
fps really goes down after that. Since according to stats, glock will
cost around 1$ in the future, i sadly expect that we see more of this
happening in the future and admins cant be around 24/7.

-ics

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux




--
[Mmmm]stuttering.john .gc
Together we spawn.
[EMAIL PROTECTED]
http://www.gamerscoalition.com

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Weapon buying limit per user

2006-11-25 Thread Richard Fennell

The answer to this would be to stop weapon spamming. IE stop any players
buying more than 4 weapons per round. This will enable Weapons drops
in matches but would stop more than 4 weapons every being dropped in
Public Games, Possibly set it to a variable but default it at 4. 

Isn't this more than a mani-mod or even EventScripts thing? The more
checks done in the main server code the more performance will degrade.
Maybe post this on the mani-mod forums, that mod is fantastic and seems
to cover almost everything related to public servers. Looking at the
activity on the Mani forums i'm sure Mani would look at it if he gets
the time.

ma_restrictweaponsbuy 4 or similar.

Richy




john @ GamersCoalition wrote:

indeed, our server was exploited by the glock fountain. it crashed
our hosted dual opteron, 2gb, 1000fps hyper server. it's a
buy-toss-buy (repeat until cashweapon price) script readily available
on the intraweb. it's becoming the latest fad in the anti-dwp fanboy
club, and it's a challenge to beat.





___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux


Re: [hlds_linux] Weapon buying limit per user

2006-11-25 Thread John Sheu
On Sunday 26 November 2006 1:25 am, milchworld wrote:
 not only 4. you should be able to buy a weapon for every of your teammates.
 lets say you play 7on7, and only you made frags in the first round. you
 should be able to buy weapons for all 7 in your team...

I have no experience with server plugins, and I'm not even sure how plugins
hook into the mod.  But here's my two cents:

Keep an counter on each player, initialized to zero.  Keep a field on each
dropped weapon, indicating the player which dropped it.  Every time a player
drops a weapon, tag the weapon and increment the player's counter.  Every
time another player picks up a weapon, untag the weapon and decrement
the dropper player's counter.  Limit the player's counter, to, say, 8.
After 8 dropped weapons, the player cannot drop any more until another player
picks up one of them.

This should have the benefit of:
1.  Only running code on weapon drop/pickup, which is (relatively speaking)
 a rare event, thus not overloading the server.
2.  Allowing the player, if for some reason he wants to, drop all his weapons
and more.
3.  Allow the player to buy weapons for his teammates, unlimited.
4.  Stopping the weapon-spamming fuckers cold.

-John Sheu

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux