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

[L4D] Item Buy System


Post New Thread Reply   
 
Thread Tools Display Modes
GrossKopf
Senior Member
Join Date: Jun 2007
Old 07-09-2009 , 20:29   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #81

I've disabled it for now. Until we can disable certian things, like the ability to spawn specific special infected, and until spawning special infected in the safe room is disabled, I really can't run it. Once those are fixed, I can reenable it but I need to make adjustments to the costs of everything.
GrossKopf is offline
chunXray
Member
Join Date: Jul 2009
Old 07-10-2009 , 02:22   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #82

Quote:
Also, there is now an option to remind players how to get their number keys working.
i made some changes to make 3 pages buying page for people who said : "i can't buy these items, damnit."
chunXray is offline
bioderm
Junior Member
Join Date: May 2009
Old 07-10-2009 , 02:44   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #83

thx for fix a problem
and I find a mistake in syntax 

case 14: //boomer
{
cost = GetConVarInt(suisidepoints);
maybe
case 14: //boomer
{
cost = GetConVarInt(boomerpoints);

and I have a proposition. enable to select whether the point can be carried over when the map is changed.

like a cvar sm_carrypoints 0 or 1
0 lost all points when the map is changed
1 carry over points when the map is changed

this is great plugin
with expectation 
bioderm is offline
tokoroten
New Member
Join Date: Jul 2009
Old 07-10-2009 , 03:22   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #84

I wish to express our gratitude to skorpion1976.
Very very thanks!
tokoroten is offline
GrossKopf
Senior Member
Join Date: Jun 2007
Old 07-10-2009 , 03:58   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #85

Quote:
Originally Posted by (-DR-)GrammerNatzi View Post
*facepalm*

Those are in the current version, 1.254. Go check it out for yourself.

Edit:

Gah, convars won't allow for -1. Let me edit the script. Until then, I am taking down the plug-in till it is fixed.
I look forward to an updated version.
GrossKopf is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 07-10-2009 , 09:39   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #86

If you have not solved the negative number yet, then why not use for instance this:

If the value is bigger than 100000 => Value = -1 * (Value - 100000)
Code:
// <summary>
// Calculate ConVar value from parameter.
// Notice! Max value for parameter x = 100000
// </summary>
GetCvarValue(x)
{
  if (x < 0)
    x = -1 * x + 100000;

  return x;
}

// <summary>
// Parse integer value from ConVar value.
// </summary>
ParseCvarValue(x)
{
  if (x > 100000)
    x = -1 * (x - 100000);

  return x;
}
Just a thought...

Last edited by muukis; 07-10-2009 at 12:43. Reason: Simplified
muukis is offline
olj
Veteran Member
Join Date: Jun 2009
Old 07-10-2009 , 09:57   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #87

Is it still viable for 20 players?
olj is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 07-10-2009 , 12:41   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #88

Quote:
Originally Posted by olj View Post
Is it still viable for 20 players?
18 players is the max, isn't it? That's what I designed it for.

Quote:
Originally Posted by muukis View Post
If you have not solved the negative number yet, then why not use for instance this:

If the value is bigger than 100000 => Value = -1 * (Value - 100000)
Code:
// Max value for x = 100000
SetCvarValue(x)
{
  if(x < 0)
    x = -1 * x + 100000;

  return x;
}

ParseCvarValue(x)
{
  if(x > 100000)
    x = -1 * (x - 100000);

  return x;
}
Just a thought...
Thanks! I'll look into that.

Edit:

A bit of a flaw in that function. The thing is, sourcemod automatically resets negative numbers in convars to 0.000000. So something like this wouldn't work, unfortunately.


Unless, of course, I'm missing a bit of information here on how this is used.

Last edited by (-DR-)GrammerNatzi; 07-10-2009 at 16:34.
(-DR-)GrammerNatzi is offline
olj
Veteran Member
Join Date: Jun 2009
Old 07-11-2009 , 02:36   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #89

Quote:
Originally Posted by (-DR-)GrammerNatzi View Post
18 players is the max, isn't it? That's what I designed it for.

I believe 32 is the max slots you can have for ppl. I play with 20 players max usually. Though i saw a 20 vs 20 server. But too much players isn that fun imo. I found that 10 vs 10 provides good (and very FUN) gameplay experience. All you have to do is get proper plugins and tweak cvars. Usually 10 survivors are more powerful than 10 infected, so installing plugins like Cloud Damage, Blind luck and increasing mob sizes + tweaking all other settings will give you needed balance.
olj is offline
(-DR-)GrammerNatzi
Senior Member
Join Date: Jun 2009
Old 07-11-2009 , 12:37   Re: [L4D] Item Buy and Admin Gifting System
Reply With Quote #90

Quote:
Originally Posted by olj View Post
I believe 32 is the max slots you can have for ppl. I play with 20 players max usually. Though i saw a 20 vs 20 server. But too much players isn that fun imo. I found that 10 vs 10 provides good (and very FUN) gameplay experience. All you have to do is get proper plugins and tweak cvars. Usually 10 survivors are more powerful than 10 infected, so installing plugins like Cloud Damage, Blind luck and increasing mob sizes + tweaking all other settings will give you needed balance.
Well, that's good. The player limit was already at 20, just to be safe.
(-DR-)GrammerNatzi 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 00:49.


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