Thread: Boomscape source problem

Results 1 to 6 of 6
  1. #1 Boomscape source problem 
    Banned
    Join Date
    Feb 2015
    Posts
    74
    Thanks given
    12
    Thanks received
    2
    Rep Power
    0
    How can I add this in, I don't see no where to add it:

    Code:
    		if (getRights() == 1) {
    			World.sendWorldMessage("<col=FFFFFF><img=4><shad=000000>Moderator <img=0></col></shad>"+ getDisplayName() +"<col=FFFFFF><shad=000000> has just logged in", true);
    		}
    		if (isGraphicDesigner()) {
    			World.sendWorldMessage("<col=00ACE6><img=4><shad=000000>Graphics Designer <img=9></col></shad>"+ getDisplayName() +"<col=00ACE6><shad=000000> has just logged in", true);
    		}
    		if (getUsername().equalsIgnoreCase("Gory")) {
    			World.sendWorldMessage("<col=FFFF00><img=4><shad=000000>Head-Admin <img=1></col></shad>Boom<col=FFFF00><shad=000000> has just logged in", true);
    		}
    		if (isSupporter() && getRights() == 0) {
    			World.sendWorldMessage("<col=0000FF><img=4><shad=000000>Server Support <img=12></col></shad>"+ getDisplayName() +"<col=0000FF><shad=000000> has just logged in", true);
    		}
    		if (starter == 0) {
    			World.sendWorldMessage("<col=0000FF><img=4><shad=000000>UnderSage has received a new player <col=000000>"+ getDisplayName() +"</col><col=0000FF><shad=000000>, say Hi! ", true);
    			getPackets().sendWindowsPane(1028, 0);
    			lock();
    			chooseChar = 1;
    			starter = 1;
    		}

    Trying to add in a "All welcome" world message when a new player joins or when staff joins
    Reply With Quote  
     

  2. #2  
    Registered Member
    hc747's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    1,474
    Thanks given
    3,312
    Thanks received
    691
    Rep Power
    1098
    Add it to your loginManager. Also, change it to false. The true is representative of staff only; ie, only supports & rights >= 1 will set it if it's set to true.
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Feb 2015
    Posts
    74
    Thanks given
    12
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by hc747 View Post
    Add it to your loginManager. Also, change it to false. The true is representative of staff only; ie, only supports & rights >= 1 will set it if it's set to true.
    Under which public void? sendLogin?
    Reply With Quote  
     

  4. #4  
    Registered Member
    hc747's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    1,474
    Thanks given
    3,312
    Thanks received
    691
    Rep Power
    1098
    Quote Originally Posted by RandomisRandom View Post
    Under which public void? sendLogin?
    Yes.
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Feb 2015
    Posts
    74
    Thanks given
    12
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by hc747 View Post
    Yes.
    Thought so, it's been a year and half since I done Java with a RSPS so I am rusty

    Mind if I PM you if I run into any more problems in the future?
    Reply With Quote  
     

  6. #6  
    Registered Member
    hc747's Avatar
    Join Date
    Dec 2013
    Age
    26
    Posts
    1,474
    Thanks given
    3,312
    Thanks received
    691
    Rep Power
    1098
    Quote Originally Posted by RandomisRandom View Post
    Thought so, it's been a year and half since I done Java with a RSPS so I am rusty

    Mind if I PM you if I run into any more problems in the future?
    Sure thing; I administrated the source for 9 months and played the server for a year and a half, so i'm very familiar with it. This week i've got alot of study though.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Nosz source problem
    By Bawsy V2 in forum Requests
    Replies: 1
    Last Post: 08-24-2011, 10:35 PM
  2. [PI] Running source problem? [PI]
    By relex lawl in forum Help
    Replies: 2
    Last Post: 03-12-2011, 04:04 AM
  3. Eudora world V2 Source Problem [PI]
    By Alohha in forum Help
    Replies: 2
    Last Post: 11-04-2010, 03:23 AM
  4. Server source Problem
    By alipotter890 in forum Help
    Replies: 1
    Last Post: 09-11-2010, 04:10 PM
  5. Non-Ren->Ren Source problems
    By Darna in forum Help
    Replies: 0
    Last Post: 07-12-2010, 09:55 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •