Raised This Month: $ Target: $400
 0% 

[TF2] Strange Weapon rank up


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nikkii
Member
Join Date: Feb 2012
Old 03-08-2012 , 18:23   [TF2] Strange Weapon rank up
Reply With Quote #1

Is there any hook that would get the messages/ranks?
So far I've tried:
HudNotify
HudNotifyCustom
HudText
TextMsg
SayText/SayText2
HudMsg

User Messages, and these events:
game_message
player_hintmessage

I'm looking for the "Bla's bla has reached a new rank: Bla" messages, I can't find anything that would work =\, unless achievement increments would count towards it?

Last edited by Nikkii; 03-08-2012 at 18:27.
Nikkii is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-08-2012 , 21:50   Re: [TF2] Strange Weapon rank up
Reply With Quote #2

You can't, it's sent directly from item server to all players connected to a specific server. The server itself can't see them.

This is also why the server doesn't know where gifts spawn on cp_manor_event or koth_viaduct_event during the Halloween event because it never gets sent that data.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 03-08-2012 at 21:52.
Powerlord is offline
Nikkii
Member
Join Date: Feb 2012
Old 03-09-2012 , 11:39   Re: [TF2] Strange Weapon rank up
Reply With Quote #3

Ah, that sucks, thanks anyway =\

I guess it's to keep them cheat proof (At least hack proof, changing the values server side...), same with gifts =\
Nikkii is offline
Lord Canistra
Senior Member
Join Date: Mar 2009
Location: Tallinn, Estonia
Old 03-09-2012 , 14:47   Re: [TF2] Strange Weapon rank up
Reply With Quote #4

Well, what if we were running some game client emulation which would share it's data along with the server? These must be some perverted thoughts, and it might take extra player slot on the server, but if you really need it...
__________________

Last edited by Lord Canistra; 03-09-2012 at 14:48.
Lord Canistra is offline
Nikkii
Member
Join Date: Feb 2012
Old 03-09-2012 , 17:32   Re: [TF2] Strange Weapon rank up
Reply With Quote #5

Quote:
Originally Posted by Lord Canistra View Post
Well, what if we were running some game client emulation which would share it's data along with the server? These must be some perverted thoughts, and it might take extra player slot on the server, but if you really need it...
Was more of a "What if I could log strange level ups on my server", no big deal
Nikkii is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 03-10-2012 , 07:19  
Reply With Quote #6

The server gets information about the item's new level, but you'd need an extension to handle it.
__________________
asherkin 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 10:41.


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