Raised This Month: $ Target: $400
 0% 

How to replace default "motd.txt" to my motd plugin?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hleV
Veteran Member
Join Date: Mar 2007
Location: Lithuania
Old 12-19-2011 , 14:51   Re: How to replace default "motd.txt" to my motd plugin?
Reply With Quote #1

Don't delete it. Open it and change the text.
__________________
hleV is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 12-19-2011 , 14:56   Re: How to replace default "motd.txt" to my motd plugin?
Reply With Quote #2

Quote:
Originally Posted by hleV View Post
Don't delete it. Open it and change the text.
That's not a valid solution as you likely can't guarantee that it gets changed before it gets sent to the client. Also, this is a potential race condition.

I guess he can try it and hope to get lucky .
__________________

Last edited by fysiks; 12-19-2011 at 14:57.
fysiks is offline
Devil259
Veteran Member
Join Date: Dec 2009
Location: France (59)
Old 12-19-2011 , 14:57   Re: How to replace default "motd.txt" to my motd plugin?
Reply With Quote #3

Quote:
Originally Posted by hleV View Post
Don't delete it. Open it and change the text.
Did you read what hleV said ?
__________________
You can do anything you set your mind to, man.

Devil259 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 12:06.


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