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

[L4D & L4D2] Custom Player Stats v1.3B53 (MOVED)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
harmgsn
Member
Join Date: Nov 2009
Old 12-10-2009 , 03:37   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#101

Correct, which is where the problem lies. Titan and I were on a versus server. I was a jockey and I walked him off of a ledge... it reported the AttackerID was 0, even though it was me that caused the "grab". This is why the ledge grab thing is failing currently
harmgsn is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 12-10-2009 , 03:39   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#102

This TEST version will tell you what award ID was given from any awarded action you do in game. It also should fix the Give pills bug plus the two problems that harmgsn found.

EDIT: It also adds functionality for collecting stats from given adrenalines. You must run updatetable.php or createtable.php for it to work!

A question: What is Adrenaline in L4D2? Is it something like Pills but with different effects? How would one rate the effects of it - meaningless / ok / good / very good / godlike? I can add stats for it, but I need to know how much worth it's for a player.

EDIT: The pills fix does not work properly yet on L4D2. In L4D2, giving the same pills will give points even though it shouldn't. I have to find a way to detect the ID of the pills in L4D2.
EDIT: If all things work well, the LATEST BUILD fixes the problem with the pills. Use this version only when finding award ids!
EDIT: Removed attachments. Read first post!

Last edited by muukis; 12-14-2009 at 09:05.
muukis is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 12-10-2009 , 03:45   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#103

Quote:
Originally Posted by harmgsn View Post
Correct, which is where the problem lies. Titan and I were on a versus server. I was a jockey and I walked him off of a ledge... it reported the AttackerID was 0, even though it was me that caused the "grab". This is why the ledge grab thing is failing currently
Ok... I already had a hunch that this is what might happen.

The Jockey... what happens to it, after the player falls and grabs a ledge? I need to find how to detect a jockey at a survivors piggyback ride. When I can do that, I can add a similar feature as when a survivor gets blinded by boomer vomit or a smoker tongue.

I have no knowledge how the new special infected operate, so there is little I can do to create or include them to the stats.
muukis is offline
harmgsn
Member
Join Date: Nov 2009
Old 12-10-2009 , 03:50   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#104

Problem with your test version:

Code:
home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1495) : error 017: undefined symbol "Recepient"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1498) : error 017: undefined symbol "event"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1506) : error 017: undefined symbol "Recepient"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1508) : error 017: undefined symbol "Recepient"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1517) : error 017: undefined symbol "event"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1489) : warning 203: symbol is never used: "Recipient"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(2695) : error 017: undefined symbol "User"
harmgsn is offline
harmgsn
Member
Join Date: Nov 2009
Old 12-10-2009 , 03:51   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#105

Adrenaline is the same as pain pills in my opinion. It's the same "item slot".

Generally when a jockey runs someone off of a ledge, the jockey just falls to the ground under the ledge. This may or may not kill them.


EDIT: Adrenaline also gives you "Speed Boost" where you run quicker, revive people quicker, defib people quicker... etc.

Last edited by harmgsn; 12-10-2009 at 04:23. Reason: Edit note above.
harmgsn is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 12-10-2009 , 04:01   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#106

Quote:
Originally Posted by harmgsn View Post
Problem with your test version:

Code:
home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1495) : error 017: undefined symbol "Recepient"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1498) : error 017: undefined symbol "event"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1506) : error 017: undefined symbol "Recepient"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1508) : error 017: undefined symbol "Recepient"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1517) : error 017: undefined symbol "event"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(1489) : warning 203: symbol is never used: "Recipient"
/home/groups/sourcemod/upload_tmp/phphDjEUP.sp(2695) : error 017: undefined symbol "User"
Sorry... uploaded it again.
muukis is offline
harmgsn
Member
Join Date: Nov 2009
Old 12-10-2009 , 04:16   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#107

0 - End of Campaign (Not 100% Sure)
7 - End of Level (Not 100% Sure)
8 - End of Level (Not 100% Sure)
17 - Kill Tank
22 - Random Director Mob
23 - End of Level (Not 100% Sure)
40 - End of Campaign (Not 100% Sure)
67 - Protect Friendly
68 - Give Pain Pills
69 - Give Adrenaline
70 - Give Heatlh (Heal using Med Pack)
71 - End of Level (Not 100% Sure)
72 - End of Campaign (Not 100% Sure)
75 - Save Friendly from Ledge Grasp
76 - Save Friendly from Special Infected
80 - Hero Closet Rescue Survivor
85 - Incap Friendly
86 - Left Friendly for Dead
87 - Friendly Fire

Last edited by harmgsn; 12-10-2009 at 04:40. Reason: Adding.
harmgsn is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 12-10-2009 , 04:24   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#108

Uploaded yet another update above! This time it should be able to collect stats from given adrenalines.
muukis is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 12-10-2009 , 06:22   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#109

What award is this:
80 - Hero Closet Rescue Survivor

Open a closet door and rescue dead coop players?
muukis is offline
muukis
Veteran Member
Join Date: Apr 2009
Old 12-10-2009 , 07:21   Re: [L4D & L4D2] Player Stats (Co-op and Versus) v1.2B87
#110

Posted another update hopefully fixing Giving Pills or Adrenaline to give points correctly in L4D2. Also added Icapacitated Friendlies counter.

Get the update here.
muukis is offline
Closed Thread



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 19:13.


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