roflmuffin / CounterStrikeSharp

CounterStrikeSharp allows you to write server plugins in C# for Counter-Strike 2/Source2/CS2
https://docs.cssharp.dev
Other
806 stars 129 forks source link

fixed some signatures, and signature order #315

Closed KillStr3aK closed 9 months ago

KillStr3aK commented 9 months ago

windows::CBasePlayerController_SetPawn linux::CBaseModelEntity_SetModel linux::CBaseTrigger_EndTouch linux::CBaseEntity_Teleport

LegacyGameEventListener is mixed with AcceptInput? haven't found any new signature for that but its crashy

xLeviNx commented 9 months ago

LegacyGameEventListener is also wrong:

gamedata.json

"LegacyGameEventListener": { "signatures": { "library": "server", "windows": "\x48\x8B\x15\x2A\x2A\x2A\x2A\x48\x85\xD2\x74\x2A\x85\xC9\x74", "linux": "\x48\x8B\x05\x2A\x2A\x2A\x2A\x48\x85\xC0\x74\x2A\x83\xFF\x3F\x76\x2A\x31\xC0" } },

KillStr3aK commented 9 months ago

someone has sent signatures for legacy but its still crashing with that afaik

Yarukon commented 9 months ago

isn't the original LegacyGameEventListener signature still working?

xLeviNx commented 9 months ago

someone has sent signatures for legacy but its still crashing with that afaik

I've tested it with the current signature and its working afaik. Questionable on changeteam if that sig is correct

zonical commented 9 months ago

Apologies for my blind ignorance when constructing last night's PR. SetModel and EndTouch worked perfectly fine on my Linux server with everything updated. Really strange.

KillStr3aK commented 9 months ago

isn't the original LegacyGameEventListener signature still working?

the one in this pr does not

xLeviNx commented 9 months ago

Apologies for my blind ignorance when constructing last night's PR. SetModel and EndTouch worked perfectly fine on my Linux server with everything updated. Really strange.

No worries, its broken again haha

criskkky commented 9 months ago

Apologies for my blind ignorance when constructing last night's PR. SetModel and EndTouch worked perfectly fine on my Linux server with everything updated. Really strange.

No worries, its broken again haha

https://discord.com/channels/1160907911501991946/1160907912445710479/1205316773591777291

xLeviNx commented 9 months ago

gamedata.json

Updates also commit suicide, respawn

roflmuffin commented 9 months ago

I've merged Levin's gamedata into main, so closing this one