[L4D2]Signature addition/support request
Closed this issue · 12 comments
/* ForEachTerrorPlayer(SpawnablePZScan &) */
"ForEachTerrorPlayer"
{
"library" "server"
"linux" "@Z19ForEachTerrorPlayerI15SpawnablePZScanEbRT"
}
sub_10356A50
The Windows signature is in this function, makesig reports me an error Ran out of bytes to create unique signature.
I tried, but unfortunately, the function's bytes are not unique enough for wildcards. I could only get the raw bytes.
Signature for calling sub_10356A50:
"\x55\x8B\xEC\xA1\x90\x35\x7F\x10\x53\x56\x57\xBF\x01\x00\x00\x00\x39\x78\x14\x7C\x5A\x8B\x5D\x08\x57\xE8\x32\xFE"
/* 55 8B EC A1 90 35 7F 10 53 56 57 BF 01 00 00 00 39 78 14 7C 5A 8B 5D 08 57 E8 32 FE */
This will most likely break in a future update.
I tried, but unfortunately, the function's bytes are not unique enough for wildcards. I could only get the raw bytes.
Signature for calling sub_10356A50: "\x55\x8B\xEC\xA1\x90\x35\x7F\x10\x53\x56\x57\xBF\x01\x00\x00\x00\x39\x78\x14\x7C\x5A\x8B\x5D\x08\x57\xE8\x32\xFE" /* 55 8B EC A1 90 35 7F 10 53 56 57 BF 01 00 00 00 39 78 14 7C 5A 8B 5D 08 57 E8 32 FE */This will most likely break in a future update.
Thank you so much, the Psykotikism. signature is valid
Awesome, I'll add it to the repository soon.
emmm... Yesterday, the signature was valid when I tested it with escsig_search.idc, but it could not be loaded when I tested it on the Windows server just now.
Do you have a sample plugin I can test with?
Do you have a sample plugin I can test with?
You're not using the same signature I provided.
https://github.com/umlka/l4d2/blob/main/control_zombies/control_zombies.txt#L127-L128
I tried the plugin with my signature. It fails to detour the function. I'm not sure why since I even tried changing the detour's setup.
Yes, So I am now trying to detour all the functions that call it, but ZSpawnCore seems to be unable to detour it. I have now detour Script_ZSpawn, z_spawn_old and z_spawn. According to the current test, it can achieve the function I want.
Yes, So I am now trying to detour all the functions that call it, but ZSpawnCore seems to be unable to detour it. I have now detour Script_ZSpawn, z_spawn_old and z_spawn. According to the current test, it can achieve the function I want.
I'll work on adding/supporting signatures for those functions.
Yes, So I am now trying to detour all the functions that call it, but ZSpawnCore seems to be unable to detour it. I have now detour Script_ZSpawn, z_spawn_old and z_spawn. According to the current test, it can achieve the function I want.
I'll work on adding/supporting signatures for those functions.
Thanks, Psykotikism
Just added support for several functions, including all the ones mentioned above.
Just added support for several functions, including all the ones mentioned above.
Thank you, I have updated all my plugins that use these signatures