Outdated -  How to find GlobalVars for L4D2
#1
Get IDA software in the following link https://www.hex-rays.com/products/ida/ free, Open IDA and import your client.dll thats located in Left 4 Dead 2\left4dead2\bin
When IDA fully loads the file, Press on search>text and find the following text below
var_C
Make sure to search it 3 times from the top

Your screen should look like this
[Image: lIEfijA.png]
As you see in the screenshot the red marker is the 3rd search from the top of "var_C", Allitle bit above that hides the actual offset of GlobalVars
The offset for now is 0x4730 as you see in the screenshot .text:10004730 turns to be 0x4730 offset


I attached the client.dll used in this tutorial, In case someone gets lost
Download: https://www.cs-junkies.com/forums/mydown...down&did=3
  Reply
#2
Hi, where did you get this from? What's the logic behind it? Can you explain please?
  Reply
#3
(02-14-2022, 02:43 AM)pixelgm Wrote: Hi, where did you get this from? What's the logic behind it? Can you explain please?

the logic is kinda complex, most people dont understand it. i dont even remember it my self for 100%, its just reversing stuff and compering with sdk if you familiar with ida software or ghidra
i actually posted here the simplest and fastest way to get it by remembering the place where globalvars is located
https://github.com/VSES/SourceEngine2007
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)