Raised This Month: $ Target: $400
 0% 

[L4D & L4D2] Left 4 DHooks Direct (1.150) [06-May-2024]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Forgetest
Member
Join Date: Aug 2020
Old 06-19-2023 , 09:06   Re: [L4D & L4D2] Left 4 DHooks Direct (1.133) [19-Jun-2023]
Reply With Quote #11

Could you please add the following CDirectorSurvivalMode stuff? Appreciate a lot.

Code:
"Games"
{
	"left4dead2"
	{
		"Offsets"
		{
			"SurvivalModePtr" // Address
			{
				"windows"		"1600"
				"linux"			"1600"
			}
			
			/**
			 * Search string "#Survival_Spawn_Start_Warning"
			 * Used in-game to count down till holdout starts
			 *
			 * CountdownTimer::Now((CDirectorSurvivalMode *)((char *)this + 68));
			 */
			"L4D2CountdownTimer_SurvivalSetupTimer" // CountdownTimer
			{
				"windows"		"68"
				"linux"			"68"
			}
			
			/**
			 * Search string "#Survival_Spawn_Start_Warning"
			 * Used in-game to notify players the remaining time before holdout starts
			 * 
			 * Vscript entry: "DirectorOptions.SurvivalSetupTime"
			 * ConVar: "director_survival_setup_time"
			 *
			 * .text:008AF615   sub     dword ptr [ebx+9Ch], 0Ah
			 */
			"CDirectorSurvivalMode::m_iSetupNotifyTime" // integer
			{
				"windows"		"156"
				"linux"			"156"
			}
		}
	}
}
Edit: Seems not existing in L4D1.

Last edited by Forgetest; 06-19-2023 at 09:09.
Forgetest is offline
 


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 04:07.


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