Thread: [PI] Slayer gem

Results 1 to 8 of 8
  1. #1 [PI] Slayer gem 
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    Today i was adding working slayer gem to the server and everything worked fine, but when i rightclick on the gem and press Kills Left the character equip the Gem...i just want it to send a message not to wear it and i didnt know how it wear it i didnt add a 2nd Rightclick option

    also when i send dialogue the npcHead doesnt appear in the interface...

    Please help
    Reply With Quote  
     

  2. #2  
    q.q


    Join Date
    Dec 2010
    Posts
    6,519
    Thanks given
    1,072
    Thanks received
    3,535
    Rep Power
    4752
    Check which itemclick it's using, it should tell rights 3 by default which one it is. For the dialogue use
    Code:
    sendNpcChat4("string", "string", "string ", "string",
    			 c.talkingNpc, "NPCNAME");
    Reply With Quote  
     

  3. #3  
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    that dialogue thing is not from the server i think because i already checked everything and it nothing wrong, and slayer gem it doesnt says what click u use
    Reply With Quote  
     

  4. #4  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    src>server>model>players>packets>WearItem.java

    Add this:
    Code:
    		if (c.wearId == 4155) {
    			c.forcedChat(c.taskAmount+" "+Server.npcHandler.getNpcListName(c.slayerTask));
    			c.forcedChatUpdateRequired = true;
    			return;
    		}
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    Quote Originally Posted by Beanerrr View Post
    src>server>model>players>packets>WearItem.java

    Add this:
    Code:
    		if (c.wearId == 4155) {
    			c.forcedChat(c.taskAmount+" "+Server.npcHandler.getNpcListName(c.slayerTask));
    			c.forcedChatUpdateRequired = true;
    			return;
    		}
    Thanks its woked!, i just need help with the 2nd problem
    Reply With Quote  
     

  6. #6  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    Quote Originally Posted by +Null View Post
    Thanks its woked!, i just need help with the 2nd problem
    What 2nd problem? o.o
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    Reply With Quote  
     

  7. #7  
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    also when i send dialogue the npc Head doesnt appear in the interface.
    Reply With Quote  
     

  8. #8  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    Quote Originally Posted by +Null View Post
    also when i send dialogue the npc Head doesnt appear in the interface.
    Oo, that's client-sided, don't ask me
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
    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. [PI] Slayer Shop and Slayer Points
    By Mark in forum Help
    Replies: 2
    Last Post: 04-16-2011, 01:57 PM
  2. Replies: 6
    Last Post: 10-29-2009, 09:32 AM
  3. Slayer
    By Balmora in forum Help
    Replies: 0
    Last Post: 05-02-2009, 07:51 PM
  4. Slayer
    By Sir Lethal in forum Help
    Replies: 0
    Last Post: 05-02-2009, 02:56 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
  •