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

[TF2] Is it possible to catch these messages?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Old 03-11-2021 , 13:01   [TF2] Is it possible to catch these messages?
Reply With Quote #1

Hello everyone.
Is there a way to catch when these two messages are sent to the player?
I need to select the player to whom this message was sent.

__________________
Sorry for my English.
Mr_panica is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-11-2021 , 13:17   Re: [TF2] Is it possible to catch these messages?
Reply With Quote #2

Could it be event ?

sv_cheats 1
net_showevents 2


or
sm_cvar net_showevents 2
Bacardi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-11-2021 , 13:30   Re: [TF2] Is it possible to catch these messages?
Reply With Quote #3

sry double post.
Hook one of usermessage and look string
Code:
"#TF_Arena_NoClassChange"
usermessages
Code:
  User Messages:  Name                              Index  Size
                  Geiger                            0      1
                  Train                             1      1
                  HudText                           2      -1
                  SayText                           3      -1
                  SayText2                          4      -1
                  TextMsg                           5      -1
                  ResetHUD                          6      1
                  GameTitle                         7      0
                  ItemPickup                        8      -1
                  ShowMenu                          9      -1
                  Shake                             10     13
                  Fade                              11     10
                  VGUIMenu                          12     -1
                  Rumble                            13     3
                  CloseCaption                      14     -1
                  SendAudio                         15     -1
                  VoiceMask                         16     17
                  RequestState                      17     0
                  Damage                            18     -1
                  HintText                          19     -1
                  KeyHintText                       20     -1
                  HudMsg                            21     -1
                  AmmoDenied                        22     2
                  AchievementEvent                  23     -1
                  UpdateRadar                       24     -1
                  VoiceSubtitle                     25     3
                  HudNotify                         26     2
                  HudNotifyCustom                   27     -1
                  PlayerStatsUpdate                 28     -1
                  MapStatsUpdate                    29     -1
                  PlayerIgnited                     30     3
                  PlayerIgnitedInv                  31     3
                  HudArenaNotify                    32     2
                  UpdateAchievement                 33     -1
                  TrainingMsg                       34     -1
                  TrainingObjective                 35     -1
                  DamageDodged                      36     -1
                  PlayerJarated                     37     2
                  PlayerExtinguished                38     2
                  PlayerJaratedFade                 39     2
                  PlayerShieldBlocked               40     2
                  BreakModel                        41     -1
                  CheapBreakModel                   42     -1
                  BreakModel_Pumpkin                43     -1
                  BreakModelRocketDud               44     -1
                  CallVoteFailed                    45     -1
                  VoteStart                         46     -1
                  VotePass                          47     -1
                  VoteFailed                        48     2
                  VoteSetup                         49     -1
                  PlayerBonusPoints                 50     3
                  RDTeamPointsChanged               51     4
                  SpawnFlyingBird                   52     -1
                  PlayerGodRayEffect                53     -1
                  PlayerTeleportHomeEffect          54     -1
                  MVMStatsReset                     55     -1
                  MVMPlayerEvent                    56     -1
                  MVMResetPlayerStats               57     -1
                  MVMWaveFailed                     58     0
                  MVMAnnouncement                   59     2
                  MVMPlayerUpgradedEvent            60     9
                  MVMVictory                        61     2
                  MVMWaveChange                     62     15
                  MVMLocalPlayerUpgradesClear       63     1
                  MVMLocalPlayerUpgradesValue       64     6
                  MVMResetPlayerWaveSpendingStats   65     1
                  MVMLocalPlayerWaveSpendingValue   66     12
                  MVMResetPlayerUpgradeSpending     67     -1
                  MVMServerKickTimeUpdate           68     1
                  PlayerLoadoutUpdated              69     -1
                  PlayerTauntSoundLoopStart         70     -1
                  PlayerTauntSoundLoopEnd           71     -1
                  ForcePlayerViewAngles             72     -1
                  BonusDucks                        73     2
                  EOTLDuckEvent                     74     7
                  PlayerPickupWeapon                75     -1
                  QuestObjectiveCompleted           76     14
                  SPHapWeapEvent                    77     4
                  HapDmg                            78     -1
                  HapPunch                          79     -1
                  HapSetDrag                        80     -1
                  HapSetConst                       81     -1
                  HapMeleeContact                   82     0
  83 user messages in total
__________________
Do not Private Message @me
Bacardi is offline
Mr_panica
Senior Member
Join Date: Jan 2017
Location: Russia, Saint-Petersburg
Old 03-11-2021 , 14:25   Re: [TF2] Is it possible to catch these messages?
Reply With Quote #4

Could you please do some sample code.
I'm not very good at this.
I tried to redo the plugins that blocked the text about changing the nickname in the CS, but it didn't work.
__________________
Sorry for my English.
Mr_panica is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-11-2021 , 15:39   Re: [TF2] Is it possible to catch these messages?
Reply With Quote #5

Dammed. It's client side message, also changeclass command.
Bacardi 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 18:06.


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