Raised This Month: $51 Target: $400
 12% 

Blocking some messages


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Desikac
Senior Member
Join Date: Apr 2010
Location: Serbia
Old 09-09-2011 , 11:34   Blocking some messages
Reply With Quote #1

I'm making a mod where players cannot see who other players are. I blocked/edited most messages containing players' names but I'm having trouble blocking some messages. And I need help with some things.

First, is it possible to block the score board? So when a player presses TAB nothing will happen.

Second, is it possible to block the name of the player you are spectating:
http://i46.servimg.com/u/f46/15/56/01/28/untitl12.png

And third, how to block console messages:
Player connected/disconnected/dropped/timed out/overflowed/killed player2 with/joined T or CT... ?

Desikac is offline
Send a message via MSN to Desikac Send a message via Skype™ to Desikac
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 09-09-2011 , 13:38   Re: Blocking some messages
Reply With Quote #2

First; scoreboard is client-side, so blocking the scoreboard is not possible.

Second and third;
Module: Orpheu2.3a
Orpheu: Patching strings in memory
Xellath is offline
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 09-09-2011 , 13:53   Re: Blocking some messages
Reply With Quote #3

Interesting last post: http://forums.alliedmods.net/showthr...111#post456111
But if that works... it would permanently disable the scoreboard for all players =)

I think there's some way of tricking with IN_SCORE... or even use -scoreboard on client when IN_SCORE is triggered (it's not slowhack because it's not a cvar)
__________________
Hunter-Digital is offline
Desikac
Senior Member
Join Date: Apr 2010
Location: Serbia
Old 09-09-2011 , 17:01   Re: Blocking some messages
Reply With Quote #4

Hmm, I don't think that score board is client-side. Maybe the window is but the info in it (kills, deaths..) is sent by the server. If it's not possible to remove it, is it possible to change or remove player names only?
Desikac is offline
Send a message via MSN to Desikac Send a message via Skype™ to Desikac
Xellath
Veteran Member
Join Date: Dec 2007
Location: Sweden
Old 09-09-2011 , 17:55   Re: Blocking some messages
Reply With Quote #5

Let me re-phrase that then; there's no accurate, working way to successfully block the scoreboard from showing. Sure, you can spam their console with -scoreboard and hope to god it'll work (most likely not however). The CS scoreboard is VERY limited.

EDIT:
The third thing you were talking about is also achievable by hooking TextMsg and blocking certain messages. (#Game_disconnected, for example)

Last edited by Xellath; 09-09-2011 at 18:01.
Xellath is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:40.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode