Thread: [PI] Creating a constant clan

Results 1 to 5 of 5
  1. #1 [PI] Creating a constant clan 
    Registered Member JavaD0x's Avatar
    Join Date
    Jul 2011
    Posts
    78
    Thanks given
    8
    Thanks received
    7
    Rep Power
    11
    Hey!
    How would i create a constant clan?
    As in...
    if a player types in a clans name to jon it, when it joined, the clan was already made with a default owner?
    Help would be appreicated!
    Reply With Quote  
     

  2. #2  
    Owner Of Fallen-Dreams ItzMason's Avatar
    Join Date
    Jul 2011
    Posts
    181
    Thanks given
    4
    Thanks received
    7
    Rep Power
    26
    Replace your clanchat.java with this-

    package server.model.players.packets;

    import server.util.Misc;
    import server.model.players.Client;
    import server.model.players.PacketType;
    import server.Server;
    /**
    * Chat
    **/
    public class ClanChat implements PacketType {

    @Override
    public void processPacket(Client c, int packetType, int packetSize) {
    String textSent = Misc.longToPlayerName2(c.getInStream().readQWord() );
    textSent = textSent.replaceAll("_", " ");
    //c.sendMessage(textSent);
    Server.clanChat.handleClanChat(c, textSent);
    }
    }
    Reply With Quote  
     

  3. #3  
    Registered Member DeathTacoz's Avatar
    Join Date
    Jun 2011
    Posts
    176
    Thanks given
    4
    Thanks received
    11
    Rep Power
    1
    Quote Originally Posted by ItzMason View Post
    Replace your clanchat.java with this-
    ... No? Youd have to make it save in the char files
    Favorite thread: http://www.rune-server.org/runescape...item-help.html

    [Today 02:50 AM] Koâk: Paster?
    [Today 02:50 AM] Matt: Did he touch you too?
    [Today 02:49 AM] Sydney: Then some paster lied to me
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Oct 2010
    Age
    30
    Posts
    612
    Thanks given
    20
    Thanks received
    7
    Rep Power
    9
    bump need this tooo
    Reply With Quote  
     

  5. #5  
    Officially Retired

    Huey's Avatar
    Join Date
    Jan 2008
    Age
    22
    Posts
    16,478
    Thanks given
    3,385
    Thanks received
    7,727
    Rep Power
    5000
    Redo Pi's clan system, it's horrible Look at battlescape 317 released by Palidino to get a idea.
    Attached image
    Listen children don't become this guy.
    Quote Originally Posted by Owner Spikey View Post
    Why can I attack lower level npc's in a matter of a mouse hover but for a higher level npc the only choice to attack is by right clicking option attack?

    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. $5 for constant help
    By Cosmic X in forum Help
    Replies: 1
    Last Post: 11-04-2010, 11:00 AM
  2. constant 0s
    By E C T A S Y in forum Help
    Replies: 3
    Last Post: 04-11-2010, 08:05 PM
  3. Constant 0's
    By owner jacob in forum Help
    Replies: 47
    Last Post: 01-27-2010, 07:40 PM
  4. Constant 0's on Lv 2 man
    By Kduffy45 in forum Help
    Replies: 7
    Last Post: 01-16-2010, 02:47 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •