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

Fix broken steam messages v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Event Related        Approver:   SniperBeamer (61)
willyumyum
Member
Join Date: Mar 2004
Old 04-05-2004 , 10:23   Fix broken steam messages v1.2
Reply With Quote #1

Fix Steam %s madness
version 1.2
This plugin is meant to modify the messages that steam has messed up. Examples are:

%s has dropped the bomb.
%s seconds have passed. You cannot buy anything now!
Round will restart in %s seconds.

I don't know about you, but i was tired of always seeing %s appear instead of what is supposed to, so I created this plugin that catches those messages and outputs the proper messages

Enjoy

Please report any additions you think need to go in here, or bugs that you find..

UPLOADED NEW VERSION WITH SMALL FIXES ( v1.2 )

~will
Attached Files
File Type: sma Get Plugin or Get Source (steam_msg_fix.sma - 3564 views - 2.0 KB)
__________________
Victory is Mine !!! ~ Stewie Griffin
Visit my server: 65.39.205.73:27017
http://www.bbfclan.net
willyumyum is offline
Send a message via AIM to willyumyum
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 04-06-2004 , 10:52   nice
Reply With Quote #2

Ive been looking for this, great job
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
[BioMaN]**neogun**
Member
Join Date: Mar 2004
Old 04-06-2004 , 11:17  
Reply With Quote #3

thx a lot for this fix
__________________
Il n'existe que deux choses infinies, l'univers et la bêtise humaine... mais pour l'univers, je n'ai pas de certitude absolue.
[Albert Einstein]
[BioMaN]**neogun** is offline
willyumyum
Member
Join Date: Mar 2004
Old 04-09-2004 , 16:58  
Reply With Quote #4

working on a small fix for bomb drops - the event is proving to be a bit annoying....
__________________
Victory is Mine !!! ~ Stewie Griffin
Visit my server: 65.39.205.73:27017
http://www.bbfclan.net
willyumyum is offline
Send a message via AIM to willyumyum
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 04-09-2004 , 18:20  
Reply With Quote #5

I never really noticed this problem, but I guess this will be helpful until STEAM fixes it themselfs
__________________

BigBaller is offline
willyumyum
Member
Join Date: Mar 2004
Old 04-10-2004 , 18:03  
Reply With Quote #6

Quote:
Originally Posted by BigBaller
I never really noticed this problem, but I guess this will be helpful until STEAM fixes it themselfs
Yeah, it's not something all that noticeable if you're not looking for it and/or little thing don't annoy you...

V1.2 release btw fixed the bomb drop bug, and added catching for unavailable alias buying
__________________
Victory is Mine !!! ~ Stewie Griffin
Visit my server: 65.39.205.73:27017
http://www.bbfclan.net
willyumyum is offline
Send a message via AIM to willyumyum
shadow
Member
Join Date: Apr 2004
Old 04-15-2004 , 14:01  
Reply With Quote #7

Hi,

great plugin..

Some addition:

Code:
register_event( "TextMsg", "stPickedupBomb", "b", "2&Game_bomb_pickup"  );

Code:
public stPickedupBomb( ) {     new szName[32];     read_data( 3, szName, 32 );     client_print( 0, print_center, "%s picked up the bomb", szName );     return PLUGIN_CONTINUE; }

cu

shadow
shadow is offline
willyumyum
Member
Join Date: Mar 2004
Old 04-16-2004 , 18:11  
Reply With Quote #8

i don't know that read_data(3) will return the player's name on that one - it would require a log event to inform players when someone picks up the bomb - Reason being, no player's, or item, name is returned for that event, so read_data(3) will return nothing - i think, you'd have to test it to be sure...
__________________
Victory is Mine !!! ~ Stewie Griffin
Visit my server: 65.39.205.73:27017
http://www.bbfclan.net
willyumyum is offline
Send a message via AIM to willyumyum
shadow
Member
Join Date: Apr 2004
Old 04-17-2004 , 12:07  
Reply With Quote #9

after including these lines to your plugin i got that fixed on my server
shadow is offline
-[oG]-InsaNe.
New Member
Join Date: Jun 2004
Location: Portland, OR
Old 08-11-2004 , 15:38  
Reply With Quote #10

Does this work for those Stat Hud messages...?

because in my server its like...

"So and so killed %s with AK47"
"%s vs. 2 CT's hope you have a health pack"
__________________
Original Gangsters Westcoast FF!
64.146.189.101:27055
-[oG]-InsaNe. is offline
Send a message via ICQ to -[oG]-InsaNe. Send a message via AIM to -[oG]-InsaNe. Send a message via MSN to -[oG]-InsaNe. Send a message via Yahoo to -[oG]-InsaNe.
Reply


Thread Tools
Display Modes

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:58.


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