Not registered yet? Become ev0lved!
Join our community as well as over 20,000 other users to enjoy all our products and its benefits!
Register now Buy ev0lve
Block server chat messages

Block server chat messages 2023-04-05

  • ev0lve.xyz for CS2 is currently offline
  • Our software does not support modified Windows builds. While it can probably run and work, you may experience crashes and other issues. Use genuine Windows builds from Microsoft.

dve

Member
Feb 3, 2022
4
3
15
Germany
dve submitted a new resource:

Block server chat advertisements - No more annoying server messages in your chat

Get rid of annoying messages sent by the server!

Left – Enabled
Right – Disabled
oKu0EGb.png


Toggle it in Misc General Block server chat advertisements
sZj8sR3.png


The script uses a simple VMT hook to stop certain message types from being shown in chat, this also prevents the new chat message sound from playing.

Read more about this resource...
 

dve

Member
Feb 3, 2022
4
3
15
Germany
Now make it so it still shows stuff from unmatched.gg :D
This also blocks the score and other informational output (not ads) etc so that's kinda sad.
Well, if you want to help me figure out how to correctly read the data that DispatchUserMessage_t gets, it'd probably be possible to only filter specific things based on message content.
Otherwise, I'm not sure how you'd figure out which messages contain information relevant to the user and which ones don't…
Maybe I could also have it disable the filter if the current game mode is set to wingman / competitive. That would still serve the purpose of filtering out annoying stuff on most casual community servers, while also letting the user get more information in important games.
 

dve

Member
Feb 3, 2022
4
3
15
Germany
Now make it so it still shows stuff from unmatched.gg :D
This also blocks the score and other informational output (not ads) etc so that's kinda sad.
What forward should I use to check what server the player is connected to?
Don't have a sub and don't know what forwards there are, docs don't seem to include a list, or maybe I'm blind…
 

dve

Member
Feb 3, 2022
4
3
15
Germany
print('Server IP: ' .. info.server.address); or you could check the hostname I guess :)
But I'm fine with it also blocking unmatched stuff ^^ was more a joke
I'm aware of how to get the server IP or name, just not sure what callbacks/forwards to use since I don't know which ones ev0lve has nowadays since I don't have a sub and the API docs don't seem to include a list of them. :p