-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Description
Hi,
when running sourcemod, and you use HookUserMessage SayText2, you'll get a RuntimeError when typing sm_ commands from console.
sm_map de_dust
[SM] Changing map to de_dust...
[SP] Caught an Exception:
Traceback (most recent call last):
File "..\addons\source-python\packages\source-python\messages\hooks.py", line 204, in _pre_user_message_begin
tmp_recipients = make_object(BaseRecipientFilter, args[1])
RuntimeError: Access violation - no RTTI data!
Reproduce:
Run Sourcemod with following code:
from messages.hooks import HookUserMessage
@HookUserMessage('SayText2')
def my_on_user_message_created(recipients, data):
chat = data['chat']
index = data['index']
message_name = data['message']
name = data['param1']
message = data['param2']
and type sm_map de_dust in console.
IMPORTANT: Please copy the full output.
--------------------------------------------------------
Checksum : 500fec67a12b664148e4d72072778aac
Date : 2020-04-13 06:21:48.040304
OS : Windows-10-10.0.18362
Game : css
SP version : 695
Github commit : 92b3adfaaaf1bb9ecd2be1ddad55bc68589b4152
Server plugins:
00: Metamod:Source 1.11.0-dev+1130
01: Tickrate_Enabler 0.4, Didrole
02: Source.Python, (C) 2012-2019, Source.Python Team.
SP plugins:
00: test
--------------------------------------------------------
Metadata
Metadata
Assignees
Labels
No labels