Thread: [PI]Easter Bunny Npc[PI]

Results 1 to 7 of 7
  1. #1 [PI]Easter Bunny Npc[PI] 
    Donator [PI]Easter Bunny Npc[PI] Market Banned

    Usaclub's Avatar
    Join Date
    Aug 2010
    Age
    28
    Posts
    512
    Thanks given
    119
    Thanks received
    37
    Rep Power
    29
    Base: PI (DSPK)

    Error:
    Code:
    src\server\model\players\DialogueHandler.java:29: sendNpcChat4(java.lang.String,
    java.lang.String,java.lang.String,java.lang.String,int,java.lang.String) in serv
    er.model.players.DialogueHandler cannot be applied to (java.lang.String,int,java
    .lang.String)
                            sendNpcChat4("Happy Easter from Owner Usaclub himself!",
     c.talkingNpc, "Easter Bunny");
                            ^
    1 error
    Press any key to continue . . .
    I KNOW THIS IS VERY SIMPLE BUT IM VERY TIRED.. (WILL REP++ FOR FIX.)


    I was just making like a easter bunny npc so when you talk to him, you get a reward and such..

    Heres my codes for it..

    DialogueHandler.java:
    Code:
    		case 28:
    			sendNpcChat4("Happy Easter from Owner Usaclub himself!", c.talkingNpc, "Easter Bunny");
    			c.nextChat = 0;
    			if (gotPrize == 0) {
    				c.getItems().addItem(10723, 1);
    			c.sendMessage("Happy Easter from Owner Usaclub!");
    			gotPrize = 1;
    		}
    
    			
    			if (gotPrize == 1)
    				c.sendMessage("You've already recieved your easter Treat!");
    			break;
    ActionHandler.java:
    Code:
    			case 1835:
    			c.getDH().sendDialogues(28, npcType);
    			break;

    My Vouches..
    Spoiler for Vouches:

    Quote Originally Posted by Benes View Post
    Very good!
    Quote Originally Posted by Jesper_ View Post
    Big vouch for you!!! Thanks for your auto donation system.
    Quote Originally Posted by Light View Post
    vouch, Bought summoning & extra. Went first and was done smoothly. Rep++
    Quote Originally Posted by Grim Line View Post
    Brought all of it. Very good trade very good guy
    Quote Originally Posted by HyBriDPvP View Post
    Vouch for this guy (I bought scripts and now i got my domain up and running with the WC maker (Rsps-HQ.com)) Ty!!!
    Quote Originally Posted by chri55w View Post
    vouch bought vote4cash, was done very quickly and payment went smooth
    Rep++ too
    thanks
    Quote Originally Posted by muporz View Post
    Vouch, bought vote4points $5, he even went first.
    Thanks .


    Reply With Quote  
     

  2. #2  
    Registered Member
    ViperSniper's Avatar
    Join Date
    Apr 2007
    Age
    30
    Posts
    2,417
    Thanks given
    367
    Thanks received
    82
    Rep Power
    976
    Never used PI.. But i'm going to use common sense and guess you need to change:
    sendNpcChat4("Happy Easter from Owner Usaclub himself!", c.talkingNpc, "Easter Bunny");
    to
    sendNpcChat("Happy Easter from Owner Usaclub himself!",c.talkingNpc, "Easter Bunny");
    or
    sendNpcChat1("Happy Easter from Owner Usaclub himself!",c.talkingNpc, "Easter Bunny");
    Reply With Quote  
     

  3. #3  
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,818
    Thanks received
    1,767
    Rep Power
    2438
    It should be sendNpcChat1
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     

  4. #4  
    Donator [PI]Easter Bunny Npc[PI] Market Banned

    Usaclub's Avatar
    Join Date
    Aug 2010
    Age
    28
    Posts
    512
    Thanks given
    119
    Thanks received
    37
    Rep Power
    29
    I tried npcchat1 and it doesn't work.

    My Vouches..
    Spoiler for Vouches:

    Quote Originally Posted by Benes View Post
    Very good!
    Quote Originally Posted by Jesper_ View Post
    Big vouch for you!!! Thanks for your auto donation system.
    Quote Originally Posted by Light View Post
    vouch, Bought summoning & extra. Went first and was done smoothly. Rep++
    Quote Originally Posted by Grim Line View Post
    Brought all of it. Very good trade very good guy
    Quote Originally Posted by HyBriDPvP View Post
    Vouch for this guy (I bought scripts and now i got my domain up and running with the WC maker (Rsps-HQ.com)) Ty!!!
    Quote Originally Posted by chri55w View Post
    vouch bought vote4cash, was done very quickly and payment went smooth
    Rep++ too
    thanks
    Quote Originally Posted by muporz View Post
    Vouch, bought vote4points $5, he even went first.
    Thanks .


    Reply With Quote  
     

  5. #5  
    Donator [PI]Easter Bunny Npc[PI] Market Banned

    Usaclub's Avatar
    Join Date
    Aug 2010
    Age
    28
    Posts
    512
    Thanks given
    119
    Thanks received
    37
    Rep Power
    29
    Code:
    src\server\model\players\DialogueHandler.java:29: cannot find symbol
    symbol  : method sendNpcChat1(java.lang.String,int,java.lang.String)
    location: class server.model.players.DialogueHandler
                            sendNpcChat1("Happy Easter from Owner Usaclub himself!",
     c.talkingNpc, "Easter Bunny");
                            ^
    1 error
    Press any key to continue . . .
    Thats with npcchat1

    My Vouches..
    Spoiler for Vouches:

    Quote Originally Posted by Benes View Post
    Very good!
    Quote Originally Posted by Jesper_ View Post
    Big vouch for you!!! Thanks for your auto donation system.
    Quote Originally Posted by Light View Post
    vouch, Bought summoning & extra. Went first and was done smoothly. Rep++
    Quote Originally Posted by Grim Line View Post
    Brought all of it. Very good trade very good guy
    Quote Originally Posted by HyBriDPvP View Post
    Vouch for this guy (I bought scripts and now i got my domain up and running with the WC maker (Rsps-HQ.com)) Ty!!!
    Quote Originally Posted by chri55w View Post
    vouch bought vote4cash, was done very quickly and payment went smooth
    Rep++ too
    thanks
    Quote Originally Posted by muporz View Post
    Vouch, bought vote4points $5, he even went first.
    Thanks .


    Reply With Quote  
     

  6. #6  
    Registered Member
    Tyluur's Avatar
    Join Date
    Jun 2010
    Age
    26
    Posts
    5,103
    Thanks given
    1,818
    Thanks received
    1,767
    Rep Power
    2438
    public void sendNpcChat1(String s, int ChatNpc, String name) {
    c.getPA().sendFrame200(4883, 591);
    c.getPA().sendFrame126(name, 4884);
    c.getPA().sendFrame126(s, 4885);
    c.getPA().sendFrame75(ChatNpc, 4883);
    c.getPA().sendFrame164(4882);
    }
    Quote Originally Posted by blakeman8192 View Post
    Keep trying. Quitting is the only true failure.
    Spoiler for skrrrrr:

    Attached image
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Donator [PI]Easter Bunny Npc[PI] Market Banned

    Usaclub's Avatar
    Join Date
    Aug 2010
    Age
    28
    Posts
    512
    Thanks given
    119
    Thanks received
    37
    Rep Power
    29
    Quote Originally Posted by Big Sean View Post
    public void sendNpcChat1(String s, int ChatNpc, String name) {
    c.getPA().sendFrame200(4883, 591);
    c.getPA().sendFrame126(name, 4884);
    c.getPA().sendFrame126(s, 4885);
    c.getPA().sendFrame75(ChatNpc, 4883);
    c.getPA().sendFrame164(4882);
    }
    Wow im so dumb, mine i added mine but i set it to private and not public.... Thanks tyluur

    My Vouches..
    Spoiler for Vouches:

    Quote Originally Posted by Benes View Post
    Very good!
    Quote Originally Posted by Jesper_ View Post
    Big vouch for you!!! Thanks for your auto donation system.
    Quote Originally Posted by Light View Post
    vouch, Bought summoning & extra. Went first and was done smoothly. Rep++
    Quote Originally Posted by Grim Line View Post
    Brought all of it. Very good trade very good guy
    Quote Originally Posted by HyBriDPvP View Post
    Vouch for this guy (I bought scripts and now i got my domain up and running with the WC maker (Rsps-HQ.com)) Ty!!!
    Quote Originally Posted by chri55w View Post
    vouch bought vote4cash, was done very quickly and payment went smooth
    Rep++ too
    thanks
    Quote Originally Posted by muporz View Post
    Vouch, bought vote4points $5, he even went first.
    Thanks .


    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. Real RS Bunny hop emote!
    By Moronic in forum Snippets
    Replies: 7
    Last Post: 02-08-2010, 06:20 PM
  2. My VERY VERY basic easter event+Easter wishes
    By medabi3 in forum Show-off
    Replies: 12
    Last Post: 04-12-2009, 07:17 PM
  3. My Easter gift to Rune-Server, Easter Userbars!
    By 007 Snoop in forum Showcase
    Replies: 18
    Last Post: 04-11-2007, 11:52 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
  •