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

[L4D] PounceRecord 1.1


Post New Thread Reply   
 
Thread Tools Display Modes
eric0279
AlliedModders Donor
Join Date: May 2007
Old 01-06-2013 , 16:03   Re: [L4D] PounceRecord 1.1
Reply With Quote #111

how to display only and not pounce damage ?


replace Damage per Pounce by example, on my server is limited to 45. I hope to be understood ...

and how to fix special characters :

http://blablabla.olympe.in/index.php

add <meta http-equiv="Content-type" content="text/html; charset=UTF-8"/> for fix.

Last edited by eric0279; 01-06-2013 at 17:51.
eric0279 is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 01-09-2013 , 23:56   Re: [L4D] PounceRecord 1.1
Reply With Quote #112

just thought of something, why not take account steamid back several times because the same players with different pounces, I find it a bit pointless ... It would be well to take into account the best pounce realized ...

What do you think?
eric0279 is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 02-14-2013 , 17:10   Re: [L4D] PounceRecord 1.1
Reply With Quote #113

Hello,

how to reproduce this code in the file. sp?

This is to indicate the end of each map, the number of realized pounce

PHP Code:
$total mysql_query("SELECT * FROM pounces"); 

PHP Code:
public OnMapEnd()
{
    
ConnectToDB("PounceDB");
    if(
hDb == INVALID_HANDLE)
        return; 
//Don't setup the system if the DB is non responsive.
    
    
ShowPlayerCount();
}

public 
ShowPlayerCount()
{
    new 
String:squery[125];
    
Format(squerysizeof(squery), "SELECT COUNT(*) FROM pounces");
    
SQL_TQuery(hDbStatsPouncesquery);
    
}

public 
StatsPounce(Handle:ownerHandle:hndl, const String:error[], any:client)
{
    if (
hndl == INVALID_HANDLE && (client GetClientOfUserId(client)) == 0)
    {
        
PrintToConsole(client"Query failed! (%s)"error);
        return;
    }
    
    new 
String:test[32]
    
PrintToServer("TEST : %i."test);
    
LogMessage("TEST : %i."test);


I don't manage any of the SQL, it is the example of the plugin l4d_stats ...

It returns no error and no data ...

cordially
eric0279 is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 07-22-2013 , 15:28   Re: [L4D] PounceRecord 1.1
Reply With Quote #114

After update :
Quote:
L 07/22/2013 - 21:02:14: SourceMod error session started
L 07/22/2013 - 21:02:14: Info (map "c5m1_waterfront") (file "errors_20130722.log")
L 07/22/2013 - 21:02:14: [SM] Native "GetClientUserId" reported: Client 3 is not connected
L 07/22/2013 - 21:02:14: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:02:14: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 21:02:28: [SM] Native "GetClientUserId" reported: Client 3 is not connected
L 07/22/2013 - 21:02:28: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:02:28: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 21:021: [SM] Native "GetClientUserId" reported: Client 3 is not connected
L 07/22/2013 - 21:021: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:021: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 21:15:48: Error log file session closed.
L 07/22/2013 - 21:17:59: SourceMod error session started
L 07/22/2013 - 21:17:59: Info (map "c1m1_hotel") (file "errors_20130722.log")
L 07/22/2013 - 21:17:59: [SM] Native "GetClientUserId" reported: Client index 1160896726 is invalid
L 07/22/2013 - 21:17:59: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:17:59: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 21:18:14: [SM] Native "GetClientUserId" reported: Client index 1160896726 is invalid
L 07/22/2013 - 21:18:14: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:18:14: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 21:18:15: [SM] Native "GetClientUserId" reported: Client index 1160896726 is invalid
L 07/22/2013 - 21:18:15: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:18:15: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 21:18:18: [SM] Native "GetClientUserId" reported: Client index 1160896726 is invalid
L 07/22/2013 - 21:18:18: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:18:18: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 21:21:21: [SM] Native "GetClientUserId" reported: Client index 1160896726 is invalid
L 07/22/2013 - 21:21:21: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:21:21: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 21:22:58: Error log file session closed.
L 07/22/2013 - 21:24:57: SourceMod error session started
L 07/22/2013 - 21:24:57: Info (map "c8m1_apartment") (file "errors_20130722.log")
L 07/22/2013 - 21:24:57: [SM] Native "GetClientUserId" reported: Client 7 is not connected
L 07/22/2013 - 21:24:57: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:24:57: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 21:25:13: Error log file session closed.
L 07/22/2013 - 21:27:21: SourceMod error session started
L 07/22/2013 - 21:27:21: Info (map "c2m1_highway") (file "errors_20130722.log")
L 07/22/2013 - 21:27:21: [SM] Native "GetClientUserId" reported: Client 7 is not connected
L 07/22/2013 - 21:27:21: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 21:27:21: [SM] [0] Line 54, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()

3 - 22:00:19: SourceMod error session started
L 07/22/2013 - 22:00:19: Info (map "c1m1_hotel") (file "errors_20130722.log")
L 07/22/2013 - 22:00:19: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/22/2013 - 22:00:19: [SM] Native "Format" reported: String formatted incorrectly - parameter 4 (total 3)
L 07/22/2013 - 22:00:19: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 22:00:19: [SM] [0] Line 56, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 22:004: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/22/2013 - 22:004: [SM] Native "Format" reported: String formatted incorrectly - parameter 4 (total 3)
L 07/22/2013 - 22:004: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 22:004: [SM] [0] Line 56, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 22:05:48: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/22/2013 - 22:05:48: [SM] Native "Format" reported: String formatted incorrectly - parameter 4 (total 3)
L 07/22/2013 - 22:05:48: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 22:05:48: [SM] [0] Line 56, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 22:06:03: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 07/22/2013 - 22:06:03: [SM] Native "Format" reported: String formatted incorrectly - parameter 4 (total 3)
L 07/22/2013 - 22:06:03: [SM] Displaying call stack trace for plugin "pouncerecord.smx":
L 07/22/2013 - 22:06:03: [SM] [0] Line 56, F:\L4D2\Backup_Myriapulse\Server\addons\sourc emod\scripting\pouncerecord.sp::Event_RoundEn d()
L 07/22/2013 - 22:06:08: Error log file session closed.
plugins:
Quote:
01 "Simple Chat Colors" (2.0.0) by Simple Plugins
02 "SMAC KAC Global Banlist" (0.8.4.0) by SMAC Development Team
03 "RCON Lock" (0.6.7) by devicenull
04 "Godclip" (1.1) by -MCG-retsam
05 "Sourcebans Checker" (1.0.0) by psychonic & Ca$h Munny
06 "L4D Kick Load Stuckers" (1.0.9) by AtomicStryker modified by Let's Go !
07 "[L4D2] Charger Invisible Wall Grab FIX" (1.0) by Spumer
08 "Block Trolls" (2.0.0.0) by ProdigySim, CanadaRox
09 "Flashversion Example" (1.0) by Jannik "Peace-Maker" Hartung
10 "Ignore list" (0.96) by FaTony
11 "SMAC Anti-Wallhack" (0.8.4.0) by SMAC Development Team
12 "L4D2 Fix Death Spit" (1.0) by Jahze
13 "SMAC AutoTrigger Detector" (0.8.4.0) by SMAC Development Team
14 "SMAC ConVar Checker" (0.8.4.1) by SMAC Development Team
15 "Anti-Flood" (1.5.0-dev+3857) by AlliedModders LLC
16 "Votekick Escape Ban" (1.3) by Die Teetasse
17 "Jockey Deadstop Fixer" (2) by CanadaRox
18 "VIP" (1.2) by Let's Go !
19 "Ghost Tank Lite" (0.91a) by Mr. Zero
20 "[L4D2] Knife Unlock" (1.0) by SilverShot, Dr!fter
21 "L4D2 Boss Flow Announce (Back to roots edition)" (1.6-btr) by ProdigySim, Jahze, Stabby, CircleSquared, CanadaRox
22 "Fun Votes" (1.5.0-dev+3857) by AlliedModders LLC
23 "Quiet ConVar Changer" (1.0.0) by bl4nk
24 "SourceBans" (1.4.10) by SourceBans Development Team
25 "current.smx"
26 "sv_consistency fixes" (1.1) by step
27 "RateChecker" (0.4) by pRED*, mod. by BehaartesEtwas and PlayBoy31.fr
28 "[L4D & L4D2] Gear Transfer" (1.5.10) by SilverShot
29 "Reserved Slots" (1.5.0-dev+3857) by AlliedModders LLC
30 "Admin Menu" (1.5.0-dev+3857) by AlliedModders LLC
31 "Basic Commands" (1.5.0-dev+3857) by AlliedModders LLC
32 "Basic Info Triggers" (1.5.0-dev+3857) by AlliedModders LLC
33 "[L4D2] Add HP to player or Team" (0.3.1) by The Danner
34 "Advertisements" (0.6) by Tsunami
35 "[L4D2] Infected Release" (1.3a) by Thraka
36 "SMAC Command Monitor" (0.8.4.0) by SMAC Development Team
37 "[L4D2] Custom admin commands" (1.0.9) by honorcode23
38 "SMAC Aimbot Detector" (0.8.4.0) by SMAC Development Team
39 "NativeVotes" (0.6.1) by Powerlord
40 "Basic Chat" (1.5.0-dev+3857) by AlliedModders LLC
41 "No Mercy Elevator Fix" (1.0) by Mr. Zero
42 "L4D2 Ghost Charger Fix" (1.0.1) by AtomicStryker
43 "[Any] Paranoia IP Tracker" (1.0.1) by DarthNinja
44 "Ban disconnected players" (1.04) by mad_hamster
45 "Round Start Bot Stop" (1. by EHG
46 "Tank Damage Announce L4D2" (0.6.5d) by Griffin and Blade
47 "test.smx"
48 "L4D Black and White Notifier" (1.31) by DarkNoghri, madcap
49 "[L4D2] Anti Boulet" (1.1) by Let's Go !
50 "Witch crown statistic" (1.0.2) by Die Teetasse
51 "Simple Anti-Bunnyhop" (0.1) by CanadaRox, ProdigySim, blodia
52 "[L4D & L4D2] Vote Poll Fix" (1.1) by raziEiL [disawar1]
53 "SMAC Anti-Speedhack" (0.8.4.0) by SMAC Development Team
54 "SMAC L4D2 Exploit Fixes" (0.8.4.0) by SMAC Development Team
55 "SMAC EAC Global Banlist" (0.8.4.0) by SMAC Development Team
56 "SMAC Rcon Locker" (0.8.4.0) by SMAC Development Team
57 "Anti-Ping Mask" (1.6.0) by atom0s
58 "l4d2_ghost_tank.smx"
59 "L4D SM Respawn" (1.9.3) by AtomicStryker & Ivailosp
60 "Fun Commands" (1.5.0-dev+3857) by AlliedModders LLC
61 "L4D2 Get-Up Fix" (1.7) by Blade, ProdigySim, DieTeetasse, Stabby, Jahze
62 "VAC Status Checker" (1.3.5) by Stevo.TVR
63 "[Any] Command Dumper" (1.1.0) by DarthNinja
64 "Anti Rate Hack" (1.1) by Luki
65 "[L4D2] Restart Map" (1.0) by blablabla
66 "Survivor Bot Takeover" (0. by Mikko Andersson (muukis)
67 "SourceSleuth" (1.2.0) by ecca
68 "Admin loggin" (1.0) by vIr-Dan
69 "GeoIP Language Selection" (1.3.0) by GoD-Tony
70 "Simple Chat Processor (Redux)" (1.1.5) by Simple Plugins, Mini
71 "Admin Help" (1.5.0-dev+3857) by AlliedModders LLC
72 "Server Backup" (1.1.0) by Popoklopsi
73 "SaveChat" (SaveChat_1.2.1) by citkabuto
74 "L4D2 Limit Magnum" (1.1) by Jahze
75 "Basic Votes" (1.5.0-dev+3857) by AlliedModders LLC
76 "Engine Fix" (1.0) by raziEiL [disawar1]
77 "Detect Flash Version" (1.0) by Jannik "Peace-Maker" Hartung
78 "[L4D2] Vote Manager" (1.3.5) by McFlurry
79 "[L4D & L4D2] Target Filters" (1.1) by SilverShot
80 "Tank Health Panel" (c.) by [email protected]
81 "AutoExecConfig Testsuite" (0.0.1-dev) by Impact
82 "Updater" (1.1.5) by GoD-Tony
83 "SMAC Eye Angle Test" (0.8.4.0) by SMAC Development Team
84 "Basic Comm Control" (1.5.0-dev+3857) by AlliedModders LLC
85 "Plugin Autoupdater" (1.5) by MikeJS
86 "[L4D2] Weapon/Zombie Spawner" (1.0a) by Zuko & McFlurry
87 "Jesters Players Panel and Switch Menu by -=BwA=- Jester
88 "Player Report" (1.0) by MasterOfTheXP
89 "Tank Punch Ceiling Stuck Fix" (0.2.1) by Tabun
90 "Anti Color Abuse" (1.0.0) by 11530
91 "Admin File Reader" (1.5.0-dev+3857) by AlliedModders LLC
92 "SMAC Spinhack Detector" (0.8.4.0) by SMAC Development Team
93 "simplebhop.smx"
94 "Distance Meter" (1.3) by Olj | Mods & Consolidation by Dragonshadow
95 "Very Basic High Ping Kicker" (1.4) by msleeper
96 "Bot SI skeet/level damage fix" (1.0.9) by Tabun, dcx2
97 "Thirdpersonshoulder Block" (1.5) by Don
98 "IP Block" (1.0.0) by Experto
99 "LerpTracker" (0. by ProdigySim
100 "Player Commands" (1.5.0-dev+3857) by AlliedModders LLC
101 "L4D2 Door Lock" (2.6a) by Glide Loading
102 "SMAC Client Protection" (0.8.4.0) by SMAC Development Team
103 "SourceMod Anti-Cheat" (0.8.4.0) by SMAC Development Team
104 "Vocalize Fatigue 2" (2.1.0) by Mr. Zero
105 "L4D2 Pin Protection" (0.9) by dcx2
106 "SMAC ESEA Global Banlist" (0.8.4.0) by SMAC Development Team
107 "[L4D2] Model Precacher" (1.666.1) by satannuts
108 "Client Preferences" (1.5.0-dev+3857) by AlliedModders LLC
109 "Automatic Campaign Switcher (ACS)" (v1.2.2) by Chris Pringle
110 "PermaMute" (0.1) by Ryan "FLOOR_MASTER" Mannion
111 "Free For All" (1.0) by Let's Go !
112 "StopTrolls" (1.1b) by raziEiL [disawar1]
113 "L4D2 Utilities" (1.0) by Confogl Team
114 "toppounce.smx"
115 "L4D2Lib" (1.0) by Confogl Team
116 "Witch and Tankifier!" (1) by CanadaRox
117 "PounceUncap" (2.0) by n0limit, ProdigySim
118 "MOTDgd Ads" (1.6.3) by MOTDgd
Thanks

Last edited by eric0279; 07-24-2013 at 08:08.
eric0279 is offline
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 04-24-2016 , 23:23   Re: [L4D] PounceRecord 1.1
Reply With Quote #115

It looks like you forgot to add a check if the pounce distance was less than the given value and if the damage was greater than the minimum value. Something like this:
PHP Code:
 if(distance >= min && dmg 12
Without it, the database will be overloaded with bot hunter pounces because of their near-ranged pounces. (i.e this is an example from my database)
PHP Code:
HUNTER VICTIM DAMAGE DISTANCE MAP
(2Hunter | (1Bill 785 2679 c1m2_streets 
The values in both the damage and distance fields are wrong. Why? Because bot hunters only pounce when survivors are in sight. By adding the check above, this is what happened after (still taken from my database):
PHP Code:
HUNTER VICTIM DAMAGE DISTANCE MAP
(1Hunter Zoey 150 c4m4_milltown_b 
The values are now correct. And also if you want to exclude bot hunter and bot victims, that's easy. You just add this:
PHP Code:
if(IsFakeClient(attackerClient) || IsFakeClient(victimClient))
{
      return;

Wonder how I managed to make this one work in L4D2? It's a simple secret..
cravenge is offline
Den_Marko
Junior Member
Join Date: Jul 2013
Old 07-11-2020 , 16:44   Re: [L4D] PounceRecord 1.1
Reply With Quote #116

all who do not display nicknames correctly on the site update this file
Attached Files
File Type: zip Nova_papka (1).zip (43.3 KB, 42 views)
File Type: sp Get Plugin or Get Source (pouncerecord (1).sp - 132 views - 5.5 KB)
__________________

Last edited by Den_Marko; 07-13-2020 at 16:30.
Den_Marko is offline
Darkwob
BANNED
Join Date: Oct 2018
Old 08-16-2020 , 23:14   Re: [L4D] PounceRecord 1.1
Reply With Quote #117

What is the main purpose of this plugin? Is it recording the distance of the hunter's pouncs on the server?
Darkwob is offline
ZBzibing
Senior Member
Join Date: Dec 2012
Old 12-09-2021 , 08:09   Re: [L4D] PounceRecord 1.1
Reply With Quote #118

Can you add hunter skeet statistics
__________________
Please forgive, If I'm not describing it accurately. I use google translate
Functional tests are all from L4D1, and are only keen to solve and fix various bugs of L4D1:
ZBzibing 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 19:22.


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