Raised This Month: $ Target: $400
 0% 

Best way to send console messages while connecting?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Geesu
Veteran Member
Join Date: Mar 2004
Location: Cincinnati, OH
Old 02-18-2005 , 13:30   Best way to send console messages while connecting?
Reply With Quote #1

OK basically if I do client_cmd("echo blah blah") I get the following output after I joined the same server twice w/in like 20 seconds:

Quote:
Commencing connection retry to 38.113.137.8:27016
Connecting to 38.113.137.8:27016...
Connection accepted by 38.113.137.8:27016

BUILD 2834 SERVER (0 CRC)
Server # 56
* Privileges set
Kicked :by SMBans
] retry
Commencing connection retry to 38.113.137.8:27016
Connecting to 38.113.137.8:27016...
Connection accepted by 38.113.137.8:27016

BUILD 2834 SERVER (0 CRC)
Server # 56
* Privileges set
[AMXX] You have been banned by admin '4HM | Warcraft 3 Expansion' from this server.
[AMXX] Time Remaining: -16 minutes.
[AMXX] Reason: 'he is gay'.
[AMXX] Your nick: 'Oldrin'. Your steamid: 'STEAM_0:0:76913'.
[AMXX] Your IP is '129.137.211.104'.
[AMXX] Appeal your ban at 4hm.net
Kicked :by SMBans
Now doing client_print(id, print_console, ...) about never works and neither does console_print.

I was wondering if anyone had any ideas? The code is executed about 2.0 seconds after the player is authorized.

So basically a player joins, get's authed, 2 seconds later my plugin checks to see if they're banned and then displays a console message (well it's supposed to 100% of the time), then 1.5 seconds later the player is kicked.

You would think this would be fine? But it doesn't seem to be working 100% of the time, only about 80% of the time. And I want this to work perfect, any suggestions?
__________________
Need war3ft help? DO NOT PM ME... Check the forums
Geesu is offline
Send a message via AIM to Geesu Send a message via MSN to Geesu
 



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


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