Quote:
Originally Posted by nosoop
Might be running into an issue with setting values on charptr returns that are set to null -- the first four characters are being overwritten.
Not sure if I can provide my test code publicly here since it could lead to abuse; it's related to modifying the map name displayed in the server browser. Drifter / Peace-Maker can shoot me a PM if they'd like some code to reproduce it, I suppose.
Tested against and affects both DHooks 2.2.0 and the latest dynhooks on SM 1.9 on Linux (TF2), with both vtable- and detour-style hooks.
|
Quote:
Originally Posted by Silvers
Have a bug:
Using DHookSetParamString with MRES_ChangedHandled in a Pre hook. First 2 bytes are garbage then the rest of string appears as modified. Linux/Windows in L4D2 and CS:GO.
Reading the data is fine in L4D2 but CS:GO simply reading the string corrupts that memory with garbage.
Tested on SM 1.9 and SM 1.10 with both dHooks versions attached.
|
You can pm the code, i cant guarantee when id look at it though.