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

[L4D & L4D2] Left 4 DHooks Direct (1.145) [03-Apr-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 02-01-2022 , 22:15   Re: [L4D & L4D2] Left 4 DHooks Direct (1.85) [10-Jan-2022]
Reply With Quote #591

PHP Code:
/**
 * CTerrorGameRules::IsRealismMode()
 *
 * How to find on Windows:
 * 1. Search for the "realism" string.
 * 2. One of the functions that references that string should be this function.
 **/
"CTerrorGameRules::IsRealismMode"
{
    
"library"    "server"
    "linux"        "@_ZN16CTerrorGameRules13IsRealismModeEv"
    "mac"        "@_ZN16CTerrorGameRules13IsRealismModeEv"
    "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x85\x2A\x75\x2A\x32\x2A\xC3\xF7\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x74\x2A\xB8\x2A\x2A\x2A\x2A\xEB\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x85\x2A\x75\x2A\xB8\x2A\x2A\x2A\x2A\x8B\x2A\x50\x8B\x2A\x2A\xFF\x2A\x85\x2A\x74\x2A\x2A\x64"
            
/* ? ? ? ? ? ? 85 ? 75 ? 32 ? C3 F7 ? ? ? ? ? ? ? ? ? 74 ? B8 ? ? ? ? EB ? A1 ? ? ? ? 8B ? ? 85 ? 75 ? B8 ? ? ? ? 8B ? 50 8B ? ? FF ? 85 ? 74 ? ? 64 */

While we all wait for Silvers, here's a signature for "CTerrorGameRules::IsRealismMode".
__________________
Psyk0tik is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 02-02-2022 , 04:53   Re: [L4D & L4D2] Left 4 DHooks Direct (1.85) [10-Jan-2022]
Reply With Quote #592

Quote:
Originally Posted by Psyk0tik View Post
PHP Code:
/**
 * CTerrorGameRules::IsRealismMode()
 *
 * How to find on Windows:
 * 1. Search for the "realism" string.
 * 2. One of the functions that references that string should be this function.
 **/
"CTerrorGameRules::IsRealismMode"
{
    
"library"    "server"
    "linux"        "@_ZN16CTerrorGameRules13IsRealismModeEv"
    "mac"        "@_ZN16CTerrorGameRules13IsRealismModeEv"
    "windows"    "\x2A\x2A\x2A\x2A\x2A\x2A\x85\x2A\x75\x2A\x32\x2A\xC3\xF7\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x74\x2A\xB8\x2A\x2A\x2A\x2A\xEB\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x2A\x2A\x85\x2A\x75\x2A\xB8\x2A\x2A\x2A\x2A\x8B\x2A\x50\x8B\x2A\x2A\xFF\x2A\x85\x2A\x74\x2A\x2A\x64"
            
/* ? ? ? ? ? ? 85 ? 75 ? 32 ? C3 F7 ? ? ? ? ? ? ? ? ? 74 ? B8 ? ? ? ? EB ? A1 ? ? ? ? 8B ? ? 85 ? 75 ? B8 ? ? ? ? 8B ? 50 8B ? ? FF ? 85 ? 74 ? ? 64 */

While we all wait for Silvers, here's a signature for "CTerrorGameRules::IsRealismMode".
thanks you, Psyk0tik save my server
__________________
NoroHime is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-02-2022 , 05:10   Re: [L4D & L4D2] Left 4 DHooks Direct (1.86) [02-Feb-2022]
Reply With Quote #593

Code:
1.86 (02-Feb-2022)
    - Added forward "L4D_OnServerHibernationUpdate" to report when server hibernation status changes. Requested by ProjectSky".
    - Added new weapon attribute. Requested by "A1m".
        - L4D2FloatWeaponAttributes: "L4D2FWA_GainRange".

    - Fixed broken signatures in L4D1 and L4D2 due to game updates.

    - Updated: Plugin.
    - Updated: "left4dhooks.inc" Include file.
    - Updated: "left4dhooks.l4d1.txt" and "left4dhooks.l4d2.txt" GameData files.
__________________

Last edited by Silvers; 02-02-2022 at 08:36.
Silvers is offline
vikingo12
Member
Join Date: Nov 2018
Old 02-02-2022 , 11:17   Re: [L4D & L4D2] Left 4 DHooks Direct (1.86) [02-Feb-2022]
Reply With Quote #594

Quote:
Originally Posted by Silvers View Post
Code:
1.86 (02-Feb-2022)
    - Added forward "L4D_OnServerHibernationUpdate" to report when server hibernation status changes. Requested by ProjectSky".
    - Added new weapon attribute. Requested by "A1m".
        - L4D2FloatWeaponAttributes: "L4D2FWA_GainRange".

    - Fixed broken signatures in L4D1 and L4D2 due to game updates.

    - Updated: Plugin.
    - Updated: "left4dhooks.inc" Include file.
    - Updated: "left4dhooks.l4d1.txt" and "left4dhooks.l4d2.txt" GameData files.

Could you also add ReloadDuration weapon attribute?

Last edited by vikingo12; 02-02-2022 at 11:17.
vikingo12 is offline
morzlee
Junior Member
Join Date: Jan 2022
Old 02-02-2022 , 12:28   Re: [L4D & L4D2] Left 4 DHooks Direct (1.86) [02-Feb-2022]
Reply With Quote #595

Quote:
Originally Posted by Silvers View Post
Code:
1.86 (02-Feb-2022)
    - Added forward "L4D_OnServerHibernationUpdate" to report when server hibernation status changes. Requested by ProjectSky".
    - Added new weapon attribute. Requested by "A1m".
        - L4D2FloatWeaponAttributes: "L4D2FWA_GainRange".

    - Fixed broken signatures in L4D1 and L4D2 due to game updates.

    - Updated: Plugin.
    - Updated: "left4dhooks.inc" Include file.
    - Updated: "left4dhooks.l4d1.txt" and "left4dhooks.l4d2.txt" GameData files.
After update, should I update all plugins which have gamedate?
morzlee is offline
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 02-02-2022 , 12:38   Re: [L4D & L4D2] Left 4 DHooks Direct (1.86) [02-Feb-2022]
Reply With Quote #596

Quote:
Originally Posted by morzlee View Post
After update, should I update all plugins which have gamedate?
you just need to update left4dhooks.smx, "left4dhooks.l4d1.txt" (L4D1) and "left4dhooks.l4d2.txt" (L4D2) GameData files
no need to recompile all plugins
__________________

Last edited by HarryPotter; 02-02-2022 at 12:39.
HarryPotter is offline
NoroHime
Veteran Member
Join Date: Aug 2016
Location: bed
Old 02-02-2022 , 17:05   Re: [L4D & L4D2] Left 4 DHooks Direct (1.86) [02-Feb-2022]
Reply With Quote #597

Quote:
Originally Posted by morzlee View Post
After update, should I update all plugins which have gamedate?
native,library,forward,gamedata is runtime schedules, that mean this not affect about compile
__________________
NoroHime is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-03-2022 , 04:53   Re: [L4D & L4D2] Left 4 DHooks Direct (1.86) [02-Feb-2022]
Reply With Quote #598

Quote:
Originally Posted by vikingo12 View Post
Could you also add ReloadDuration weapon attribute?
Added for next update.

Also next update includes: "- L4D2: now dynamically generates the "CTerrorGameRules::IsRealism" signature to future proof against updates breaking the signature."
__________________
Silvers is offline
AK978
Senior Member
Join Date: Jun 2018
Old 02-04-2022 , 09:49   Re: [L4D & L4D2] Left 4 DHooks Direct (1.86) [02-Feb-2022]
Reply With Quote #599

L 02/03/2022 - 22:463: [SM] Exception reported: Entity index 0 is not a valid client
L 02/03/2022 - 22:463: [SM] Blaming: left4dhooks.smx
L 02/03/2022 - 22:463: [SM] Call stack trace:
L 02/03/2022 - 22:463: [SM] [0] SDKCall
L 02/03/2022 - 22:463: [SM] [1] Line 5845, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\left4dhooks.sp::InCheckpoint
L 02/03/2022 - 22:463: [SM] [2] Line 5834, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\left4dhooks.sp::Native_IsInLastCheck point
L 02/03/2022 - 22:463: [SM] [4] L4D_IsInLastCheckpoint
L 02/03/2022 - 22:463: [SM] [5] Line 33, door_kill_2.sp::OnPlayerEnteredCheckpoint

Last edited by AK978; 02-04-2022 at 10:08.
AK978 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 02-04-2022 , 10:23   Re: [L4D & L4D2] Left 4 DHooks Direct (1.86) [02-Feb-2022]
Reply With Quote #600

door_kill_2.sp should be doing the validation, not left4dhooks.
__________________
Silvers is offline
Reply


Thread Tools
Display Modes

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 02:10.


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