Raised This Month: $ Target: $400
 0% 

Curious about trapping stuff sent client <-> server


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Trp. Jed
Member
Join Date: Aug 2004
Old 09-20-2004 , 15:52  
Reply With Quote #6

Actually I did find that plugin last night Johnny, but for some reason its writing blank log file I even tried looking for the mm_trace plugin that is mentioned on the Metamod site but I cant find it anywhere!

Some things I did find last night though were that when the user changes weapon, SVC_WEAPONANIM is broadcast to the client when they change weapon. The first parameter is the sequence index in the v_model to show (usually idle) and the body parameter is always 1.

However, it seems that when the fires, secondary fires or performs any action with the weapon, no SVC_WEAPONANIM message is sent which makes me think that all of that is handled client side.

What puzzles me though - if when spectating a player you see what actions they perform with their weapon how do the other clients know what your doing? It must be sent at some point, or maybe only to spectators.

I'll have to experiement more, although I did find an engine function in the HL-SDK called pfnSendWeaponAnim but its not included in FakeMeta.

I think though if I could trap when a user usings primary attack, secondary attack and when they move I could fix it myself.
Trp. Jed is offline
 



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 17:15.


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