I think SM was allocating fake buffers. Those buffers seem to be allocated without RTTI data. That's similar to the issue we had here:
https://github.com/Source-Python-Dev-Te ... -232789719
Modifying chat with sayfilter but SayCommand doesnt "register"
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
How would that look like?
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
Maybe something like this will work:
But I can't really tell you more without doing tests on my own.
Syntax: Select all
from memory import get_object_pointer
buffer = ProtobufMessage('CCSUsrMsg_SayText2')
args[3].copy(buffer, buffer.byte_size)
# Do you stuff here
get_object_pointer(buffer).copy(args[3], buffer.byte_size)
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
CS:S received an update 2 days ago, and looks like some signatures changed.
Could someone please update that?
UTIL_SayText2Filter = server[SAYTEXT2_FILTER_IDENTIFIER].make_function(
ValueError: Could not find signature: 558bec2a2a2a2a2a2a2a2ae8c05ff1ff
Could someone please update that?
UTIL_SayText2Filter = server[SAYTEXT2_FILTER_IDENTIFIER].make_function(
ValueError: Could not find signature: 558bec2a2a2a2a2a2a2a2ae8c05ff1ff
Re: Modifying chat with sayfilter but SayCommand doesnt "register"
New signature is
Code: Select all
\x55\x8B\xEC\x68\x2A\x2A\x2A\x2A\xFF\x75\x08\xE8\x2A\x2A\x2A\x2A\x8B\x45\x0C

My plugins: Map Cycle • Killstreaker • DeadChat • Infinite Jumping • TripMines • AdPurge • Bot Damage • PLRBots • Entity AntiSpam
Hail, Companion. [...] Hands to yourself, sneak thief.

Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 95 guests