alliedmodders / hl2sdk

Half-Life 2 SDK Mirrors
https://github.com/valvesoftware
341 stars 158 forks source link

CUtlSymbolTableLarge and related things #164

Closed vanz666 closed 8 months ago

vanz666 commented 8 months ago

Updated CUtlSymbolTableLarge and other important things that will be used in the future.

GAMMACASE commented 8 months ago

May I know where are all these changes came from?

vanz666 commented 8 months ago

Reversing started from constructor and AddString function gradually exploring all related structures in server.dll/tier0.dll You can find constructor by "HoldAnimation" and "CUtlSymbolTableLargeBase" (for ThreadSafe version)

cs2

AddString function can by found via "ERROR: CUtlSymbolTableLarge element limit of %u exceeded\n" Testing was on Windows and there may be some other changes in the future.

GAMMACASE commented 8 months ago

I'll pinpoint a particular code lines where I have questions on where/how did you find/come up with them, and would like to get an answer on these

GAMMACASE commented 8 months ago

Thanks for the huge contribution, we appreciate your work!