View Single Post
blacklagoon
Senior Member
Join Date: Jun 2012
Old 09-23-2016 , 04:16   Re: [ANY] HL2 items (1.5.2)
Reply With Quote #15

sdktools use the same in latest sourcemod for csgo, i'm pretty sure all my sigs and offsets are good now,
also when i get an offset/sig error it doesnt point to the edict.h but to the server.so.

I'm pretty sure this isn't an offset error anymore unless i'm wrong but some compatibility issue between css and csgo.
Cause after uncommenting the log there in that function, it does spam a lot and then crash.

After putting some debug logs, i found the macro where it segfaults in macros.h from DECLARE_PROP_SEND :
Code:
found = GetSendPropOffset(pEnt->edict()->GetNetworkable()->GetServerClass()->GetName(), #name, offset); \
Once this is launched with
Code:
L 09/23/2016 - 11:06:10: [SAMPLE] [CENTITY] Test m_ArmorValue
L 09/23/2016 - 11:06:10: [SAMPLE] [CENTITY] Test1 m_ArmorValue
I commented for now and it loaded had to comment the m_iOBserveMode too.
Now i'm getting segfault at player_connect, change map or preserver down.
+ When i connect it crashes after having some more log from entities hence the segfault wich i guess should be player or from the hook.
Does this extension hook player_connect and others? also where?

Last edited by blacklagoon; 09-23-2016 at 12:41.
blacklagoon is offline