waseemk Posted March 29, 2012 Author Share Posted March 29, 2012 Hello! I want to remove the message when the server is down to something else, like "Server is down due to maintence. Please try again later." Or something like that. How can I do it? Link to comment Share on other sites More sharing options...
Ruins of Hell Posted March 29, 2012 Share Posted March 29, 2012 Just find it in the source code and change the message, then recompile. Link to comment Share on other sites More sharing options...
GeminiXcasorm Posted March 30, 2012 Share Posted March 30, 2012 could you be any less spacific? it would be handy if you told me/ us what frm file its in Link to comment Share on other sites More sharing options...
Anonymious Posted March 30, 2012 Share Posted March 30, 2012 CTRL + F to search, search the text.Make sure you search the text while being inside the source of a frm or any mod.Make sure you are searching inside the whole project, not just current module or something. Link to comment Share on other sites More sharing options...
GeminiXcasorm Posted March 30, 2012 Share Posted March 30, 2012 wow, i did that for all the files. and all the mods. its not working… i feel out of the loop :( Link to comment Share on other sites More sharing options...
juvanio Posted March 30, 2012 Share Posted March 30, 2012 Go to modConstants.Then, find```' WebsitePublic Const GAME_WEBSITE As String = "http://www.touchofdeathforums.com"```See that 'http://www.touchofdeathforums.com"?I think you already know what to do with it. Modify BOTH Server and Client.[Edit]Oh, how stupid of me. That thing I gave you above (^^^) is just to change the website. I thought it was changing the website lol xD Link to comment Share on other sites More sharing options...
abhi2011 Posted March 30, 2012 Share Posted March 30, 2012 ClientFind:```Call MsgBox("Sorry, the server seems to be down. Please try to reconnect in a few minutes or visit " & GAME_WEBSITE, vbOKOnly, Options.Game_Name)```Edit:```("Sorry, the server seems to be down. Please try to reconnect in a few minutes or visit", vbOKOnly, Options.Game_Name)```Leaving the vbOKOnly and Option.Game_Name untouched. Link to comment Share on other sites More sharing options...
Ruins of Hell Posted March 30, 2012 Share Posted March 30, 2012 @abhi2011:> Client> > Find:> ```> Call MsgBox("Sorry, the server seems to be down. Please try to reconnect in a few minutes or visit " & GAME_WEBSITE, vbOKOnly, Options.Game_Name)> ```> Edit:> ```> ("Sorry, the server seems to be down. Please try to reconnect in a few minutes or visit" vbOKOnly, Options.Game_Name)> ```> Leaving the vbOKOnly and Option.Game_Name untouched.You accidentally removed a comma there, so that won't work.@GeminiXcastorm:> could you be any less spacific? it would be handy if you told me/ us what frm file its inYes, I could be less specific. Don't tempt me.You can search throughout the entire project very easily. Press Control + F -> Select "Current Project" -> Type in the start of the message -> Press Enter. [If you still can't get it, here's a guide](http://php.webuda.com/eclipse/guide/ctrlf/slideshow.html).* * *If you really need a specific guide, just find:```Sorry, the server seems to be down.```and then change the message in quotes to whatever you want.Next, you should change the GAME_WEBSITE constant (search GAME_WEBSITE and change the website in quotes) to your site. Link to comment Share on other sites More sharing options...
abhi2011 Posted March 31, 2012 Share Posted March 31, 2012 oh my bad. Ill edit it. Link to comment Share on other sites More sharing options...
waseemk Posted April 6, 2012 Author Share Posted April 6, 2012 ok thanks all! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now