I need some info about SV_TouchLinks, like who call this function for amxx. I tried to search at HLDSK but i don't found anything (i'm noob with HLDSK).
Thanks.
It's an engine function, you are not going to find something in the HLSDK.
SV_TouchLinks is called from SV_LinkEdict.
And SV_LinkEdict is called from :
Code:
Direction Type Address Text
--------- ---- ------- ----
Up p LoadGamestate+44A call _SV_LinkEdict
Up p CreateEntityList+286 call _SV_LinkEdict
Up p SetMinMaxSize+FC call _SV_LinkEdict
Up p PF_droptofloor_I+C4 call _SV_LinkEdict
Up p PF_setorigin_I+37 call _SV_LinkEdict
Up p SV_movetest+17C call _SV_LinkEdict
Up p SV_movestep+355 call _SV_LinkEdict
Up p SV_NewChaseDir+24E call _SV_LinkEdict
Up p SV_NewChaseDir2+24A call _SV_LinkEdict
Up p SV_MoveToOrigin_I+CB call _SV_LinkEdict
Up p SV_StepDirection+8B call _SV_LinkEdict
Up p SV_FlyDirection+4F call _SV_LinkEdict
Up p SV_PushEntity+D6 call _SV_LinkEdict
Up p SV_PushMove+168 call _SV_LinkEdict
Up p SV_PushRotate+173 call _SV_LinkEdict
Up p SV_Physics_Follow+148 call _SV_LinkEdict
Up p SV_Physics_Noclip+106 call _SV_LinkEdict
Up p SV_Physics_Step+45D call _SV_LinkEdict
Up p SV_Physics+76 call _SV_LinkEdict
Up p SV_RunCmd+C0C call _SV_LinkEdict
Up p SV_SetupMove+7CC call _SV_LinkEdict
Up p SV_RestoreMove+16C call _SV_LinkEdict
From an AMXX native, you have a good chance with PF_ functions (EngFunc_DropToFloor, _SetOrigin).
So, only EngFunc_SetOrigin and EngFunc_DropToFloor can be cause some crash on my server, that's strange. I used engine function drop_to_floor to drop some custom entityes (drop_to_floor from amxx engine module is same like EngFunc_DropToFloor, those call same functions?) and dosen't see to be a problem. And i used fakemeta function EngFunc_SetOrigin to set origin to some entityes, need tried engine function entity_set_origin to see if is a fakemeta problem ?
I used last amxx dev build, metamod-p, linux centos
the log is say the crash whas generated by AMXX Engine functions
Code:
#0 0xf70afcc0 in SV_TouchLinks () from /home/cs_classic/cs/engine_i686.so
#0 0xf70afcc0 in SV_TouchLinks () from /home/cs_classic/cs/engine_i686.so
(i hope i not say bullshits)
Can be drop_to_floor (AMXX engine function) fault?
Now, i don't have free time to analyze with GDB to see exactly problem. Did you have an idea what can be the problem?