• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Changing the welcome message in 508

Experienced Elementalist
Joined
Apr 13, 2010
Messages
280
Reaction score
18
Go to
Code:
src/palidino76/rs2/io

Search for
Code:
    public void setWelcome(Player p) {

The whole code should look like
Code:
    public void setWelcome(Player p) {
        if (p == null || p.disconnected[0]) {
            return;
        }
       setWindowPane(p, 549);
        setInterface(p, 1, 549, 2, 378);
        setInterface(p, 1, 549, 3, 17); // can use 15 - string 0 and 4, 17 - string 0 and 3, and 447 - string 0, 1 and 2.
        setString(p, "Message of the Week:", 17, 0);
        setString(p, "Want some help? - Head over to the forums at explex.info", 17, 3); 
        setString(p, "Welcome to Explex 508 Server", 378, 115);
    }

Where i have put Welcome to explex 508 server replace it with your server name and feel free to change the message of the week bit XD


Have fun
 
Newbie Spellweaver
Joined
Oct 12, 2010
Messages
16
Reaction score
4
Cool guide, but since you released over 5 threads to post single things like such. I recommend you to have made a thread and posted them all their as like a semi - complete guide.
 
Experienced Elementalist
Joined
Apr 13, 2010
Messages
280
Reaction score
18
Cool guide, but since you released over 5 threads to post single things like such. I recommend you to have made a thread and posted them all their as like a semi - complete guide.

I cant really because if they are not all 508, some are 317's and things, and if you have a big thread search isnt as good.
 
Newbie Spellweaver
Joined
Sep 22, 2012
Messages
10
Reaction score
0
you should of added the file name. in this case its login.java and also you don't need to search that just simply type in welcome. and it finds it.

But thank you for your help dude:thumbup1:
 
Back
Top