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

[L4D2] Points System v1.6.9 Beta R1


Post New Thread Reply   
 
Thread Tools Display Modes
jking
AlliedModders Donor
Join Date: Jan 2012
Old 05-24-2012 , 12:29   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #331

Sorry if this has been asked or explained previously but why doesn't this work with survival mode?
jking is offline
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 05-24-2012 , 14:58   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #332

PHP Code:
l4d2_points_modes "coop,realism,versus,teamversus" 

Add survival to this comma separated list, this is supposed to go in your l4d2_points_system.cfg file.

__________________

Last edited by McFlurry; 05-24-2012 at 14:59.
McFlurry is offline
Send a message via Skype™ to McFlurry
evilmaniac
SourceMod Donor
Join Date: May 2012
Old 06-12-2012 , 08:05   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #333

Seeing as I found players occasionally exploiting fireworks and molotovs to gain up to 300 buy points in under 20 seconds, I wrote a simple plugin which automatically kicks them to avoid such havoc. I run v1.6.3 of the buy system and am unaware if this counter-measure is needed in the later version of the buy system but I decided to provide it either way in-case anyone is having similar issues.
Attached Files
File Type: sp Get Plugin or Get Source (em_fix.sp - 340 views - 2.0 KB)

Last edited by evilmaniac; 06-12-2012 at 08:07.
evilmaniac is offline
varlamov40
New Member
Join Date: Jun 2012
Old 06-14-2012 , 17:15   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #334

how come the katana doesn't show up in the buy menu?
varlamov40 is offline
evilmaniac
SourceMod Donor
Join Date: May 2012
Old 06-15-2012 , 04:45   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #335

Some maps do not have the katana. The !buy menu should not display the katana unless it is available on the map. The other possible explanation to not having a katana in your buy menu, is that you have set its price to "-1"
evilmaniac is offline
JackieChan
AlliedModders Donor
Join Date: Nov 2009
Old 06-15-2012 , 18:49   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #336

Quote:
Originally Posted by evilmaniac View Post
Seeing as I found players occasionally exploiting fireworks and molotovs to gain up to 300 buy points in under 20 seconds, I wrote a simple plugin which automatically kicks them to avoid such havoc. I run v1.6.3 of the buy system and am unaware if this counter-measure is needed in the later version of the buy system but I decided to provide it either way in-case anyone is having similar issues.
I have a highly modified version of this buy plugin on my server and this is a snippet of what I used to change it. It's simple and works.

PHP Code:
public Action:Event_Hurt(Handle:event, const String:name[], bool:dontBroadcast)
{
     new 
client GetClientOfUserId(GetEventInt(event"userid"))
     new 
attacker GetClientOfUserId(GetEventInt(event"attacker"));
     new 
dmg_type GetEventInt(event"type");
     if(
attacker && client 0)  //I changed this line to this since mine has a IsValidClient bool here since the plugin for this topic doesn't have it
     
{
          if(
GetClientTeam(attacker) == 3)
          {
               if(
dmg_type == || dmg_type == 2056) return; //Block the infected player from earning points while killing stuff with fire

               
if (dmg_type == 263168 || dmg_type == 265216//This is for spitter damage since the same thing can be done with it as well.
               
{
                    
//code here
               
}
          }
     }

This will also compensate for if a player spits on a bunch of incapped survivors, spawns in as a different infected, then will rack up tons of points. In the change above, an infected other than a Spitter will still earn "Spit Points", and Spitters can get the "Multiple Damage" from just scratching...but I also separated Multiple Damage and Spit Damage, so they both don't count as one.
__________________

Last edited by JackieChan; 06-15-2012 at 19:01.
JackieChan is offline
Gen6653
New Member
Join Date: Jul 2012
Old 07-01-2012 , 10:44   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #337

Using v1.6.8 Beta R3 in coop mode, the points were not reseted when the player is disconnect.
Gen6653 is offline
McFlurry
Veteran Member
Join Date: Mar 2010
Location: RemoveEdict(0);
Old 07-02-2012 , 21:12   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #338

I'll look into that, and expect an update soon, I'm looking to implement some of Jackie's fixes as well.
__________________
McFlurry is offline
Send a message via Skype™ to McFlurry
pisdone
Member
Join Date: Sep 2010
Location: Italy
Old 07-04-2012 , 09:10   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #339

Quote:
Originally Posted by McFlurry View Post
I'll look into that, and expect an update soon, I'm looking to implement some of Jackie's fixes as well.
I'm using ur plugin after a very long time and I find it even better than the past, but where are the "!buy kit", "!buy defib" and other cool shortcuts? I remember they were in the ps_bess version, but it gives an error while compiling. So the question is: will the shortcuts ever return? I mean, this was the best feature of this plugin
Thx man.
pisdone is offline
outlaw322
Junior Member
Join Date: Sep 2010
Old 07-09-2012 , 09:41   Re: [L4D2] Points System v1.6.8 Beta R3
Reply With Quote #340

Compiling plugins is new to me and I was hoping to get some quick help because I've seen this plugin in-game and want it on my server.

So as I understand it, the 2 ".sp" files need to be compiled into plugins ".smx"

I was able to compile l42_points_system" with the sourcemod compiler.

The second file, "ps-usepoints.sp" had an error:
Quote:
Your plugin failed to compile! Read the errors below:
SourcePawn Compiler 1.4.0
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

/home/groups/sourcemod/upload_tmp/phpXZ9rky.sp(4) : fatal error 120: cannot read from file: "ps_natives"

Compilation aborted.
1 Error.

306135 successful compiles to date.
218416 failed compiles to date.
I realize you all are working on more important issues with the plugin, but if you could take a second to answer a noobz question it wouldn't go unappreciated.

many thanks!
outlaw322 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:35.


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