Thread: [PI] Customizable Yell Tags > Better Yell System

Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 51
  1. #21  
    Registered Member

    Join Date
    Sep 2009
    Age
    27
    Posts
    2,768
    Thanks given
    367
    Thanks received
    187
    Rep Power
    458
    Looks good, alltho.

    Code:
    src\server\model\players\packets\Commands.java:91: cannot find symbol
    symbol  : method getYelltag()
    location: class server.model.players.Client
                                                            c.getYelltag();
                                                             ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    Reply With Quote  
     

  2. #22  
    Donator DanielEkins's Avatar
    Join Date
    Aug 2009
    Posts
    173
    Thanks given
    3
    Thanks received
    5
    Rep Power
    1
    Omw, i got errors with this, if somenoe can help me out, my msn is
    [email protected]
    Reply With Quote  
     

  3. #23  
    Registered Member
    Join Date
    Dec 2010
    Age
    29
    Posts
    1,186
    Thanks given
    513
    Thanks received
    340
    Rep Power
    35
    How do i make the new colors work? this one doesnt work, the yell system works great but the colors dont..it just shows @dre@messagehere and around the yell tag is @color@text@color@...

    anyone know how to make the new colors work?

    and when i relog and yell says im owner even though my rights are 1
    Reply With Quote  
     

  4. #24  
    Registered Member
    Join Date
    Aug 2008
    Posts
    175
    Thanks given
    11
    Thanks received
    2
    Rep Power
    2
    Why I try to change my tag it doesnt change it sends the message but just keeps the same one that it was set as
    Reply With Quote  
     

  5. #25  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    Quote Originally Posted by vanweele View Post
    How do i make the new colors work? this one doesnt work, the yell system works great but the colors dont..it just shows @dre@messagehere and around the yell tag is @color@text@color@...

    anyone know how to make the new colors work?

    and when i relog and yell says im owner even though my rights are 1
    Change the @col@ to <col=colid>
    Reply With Quote  
     

  6. #26  
    Donator DanielEkins's Avatar
    Join Date
    Aug 2009
    Posts
    173
    Thanks given
    3
    Thanks received
    5
    Rep Power
    1
    so much coding, can someone pm me and help me with the normal yell code, i kinda f'ed mine up, a yell command where lets say, the name Tom yells, his tag will show, [Awesome] Thanks whoever helps me
    Reply With Quote  
     

  7. #27  
    Registered Member
    Join Date
    Dec 2010
    Age
    29
    Posts
    1,186
    Thanks given
    513
    Thanks received
    340
    Rep Power
    35
    Quote Originally Posted by Harlan View Post
    Change the @col@ to <col=colid>
    i did, it didnt work, and at somepoint when i relogged it said [moderator] and donators tag was [owner]


    Quote Originally Posted by Mr Nick! View Post
    Looks good, alltho.

    Code:
    src\server\model\players\packets\Commands.java:91: cannot find symbol
    symbol  : method getYelltag()
    location: class server.model.players.Client
                                                            c.getYelltag();
                                                             ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    change getYelltag to getYellTag..
    Reply With Quote  
     

  8. #28  
    Banned imsuperman05's Avatar
    Join Date
    May 2011
    Posts
    410
    Thanks given
    21
    Thanks received
    25
    Rep Power
    0
    pretty sure you made an mistype or anti-leech lawl. Don't know how other people didn't get this.
    Code:
    src\server\model\players\packets\Commands.java:681: not a statement
                                                    else (System.currentTimeMillis()
     - c.lastyell < 45000 && c.playerRights <= 0) {
                                                         ^
    src\server\model\players\packets\Commands.java:681: ';' expected
                                                    else (System.currentTimeMillis()
     - c.lastyell < 45000 && c.playerRights <= 0) {
    
                                                 ^
    2 errors
    Press any key to continue . . .

    Use this
    Code:
    if (playerCommand.startsWith("yell") && !playerCommand.startsWith("yelltag")) {
    				try {
    				String message = playerCommand.substring(5);
    						/*if (c.canYell == false){
    							c.sendMessage("You have been banned from yell due to: "+c.yellBanReason+". Appeal on forums");
    							return;
    						}// Yell banning, figure it out yourself =]*/
    						if (c.playerRights == 0 && Config.NON_DONAR_CAN_YELL == false) {//
    								c.sendMessage("This is a donar only function");
    								return;
    						}
    						if (System.currentTimeMillis() - c.lastyell < 45000 && c.playerRights <= 0) {
    							c.sendMessage("You can only yell once per 45 seconds. Donators get unlimited yell.");
    							return;
    						}
    						if (System.currentTimeMillis() - c.lastyell < 4000 && c.playerRights > 0)
    							return;		
    				for (int j = 0; j < Server.playerHandler.players.length; j++) {
    					if (Server.playerHandler.players[j] != null) {
    						Client c2 = (Client)Server.playerHandler.players[j];
    						c.lastyell = System.currentTimeMillis();
    						c2.sendMessage(""+c.yellTag+" " + c.playerName + ": @dre@" + Misc.optimizeText(message));
    					}
    				}
    			} catch(Exception e) {
    					c.sendMessage("Wrong syntax use as ::yell message");
    				}
    			}
    Reply With Quote  
     

  9. #29  
    Banned imsuperman05's Avatar
    Join Date
    May 2011
    Posts
    410
    Thanks given
    21
    Thanks received
    25
    Rep Power
    0
    Quote Originally Posted by Mr Nick! View Post
    Looks good, alltho.

    Code:
    src\server\model\players\packets\Commands.java:91: cannot find symbol
    symbol  : method getYelltag()
    location: class server.model.players.Client
                                                            c.getYelltag();
                                                             ^
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    1 error
    Press any key to continue . . .
    Change this
    Code:
    							c.getYelltag();
    to
    Code:
    							c.getYellTag();
    Reply With Quote  
     

  10. #30  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    yea sorry forgot to compile before i released lol >.>
    Reply With Quote  
     

Page 3 of 6 FirstFirst 12345 ... LastLast

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. Replies: 13
    Last Post: 08-25-2011, 08:59 AM
  2. [PI] yell system help.
    By divinescape99 in forum Help
    Replies: 4
    Last Post: 05-27-2011, 10:59 PM
  3. Making new ::Yell Tags?
    By .Bro in forum Help
    Replies: 4
    Last Post: 03-29-2011, 01:24 AM
  4. How Can i Make a Yell System
    By Peach in forum Help
    Replies: 26
    Last Post: 11-18-2009, 02:15 AM
  5. very easy yell timer can yell once in 5 secs
    By lord jahva in forum Tutorials
    Replies: 13
    Last Post: 07-06-2008, 10:57 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •