Thread: trading npc's

Results 1 to 9 of 9
  1. #1 trading npc's 
    Banned
    Join Date
    Aug 2011
    Posts
    1,062
    Thanks given
    197
    Thanks received
    214
    Rep Power
    0
    so i coded in bob to niets for my skill shop, i added items to him, but when i right click him and press trade, to view his shop nothing happens, i was wondering how you make it so you can trade npc's
    Reply With Quote  
     

  2. #2  
    HTML5, jQuery & CSS3 Master
    Jaiden Watling's Avatar
    Join Date
    Nov 2010
    Age
    29
    Posts
    888
    Thanks given
    305
    Thanks received
    92
    Rep Power
    0

    Reply With Quote  
     

  3. #3  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Quote Originally Posted by Socioscape View Post



    That's not what he was asking.


    Go to ActionHandler and find
    Code:
    public void secondClickNpc(int npcType) {
    You'll probably see a string of codes like
    case 534:
    c.getShops().openShop(11);

    just add yours to if, if oyu don't see those:

    Then between

    Code:
    		switch(npcType) {
    and


    Code:
    			default:
    				ScriptManager.callFunc("npcClick2_"+npcType, c, npcType);
    				if(c.playerRights == 3) 
    					Misc.println("Second Click Npc : "+npcType);
    				break;
    			
    		}
    	}

    add your npc id and your shop id.

    case ####:
    c.getShops().openShop(#);

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  4. Thankful users:


  5. #4  
    Banned
    Join Date
    Aug 2011
    Posts
    1,062
    Thanks given
    197
    Thanks received
    214
    Rep Power
    0
    thanks 9th, repped
    Reply With Quote  
     

  6. #5  
    Registered Member Huxus's Avatar
    Join Date
    Sep 2012
    Posts
    221
    Thanks given
    37
    Thanks received
    12
    Rep Power
    12
    Thanks I need This too
    Reply With Quote  
     

  7. #6  
    Banned
    Join Date
    Aug 2011
    Posts
    1,062
    Thanks given
    197
    Thanks received
    214
    Rep Power
    0
    ninth i did what you said and i just got errors, so i deleted it, can u teamview me?
    Reply With Quote  
     

  8. #7  
    Banned
    Join Date
    Aug 2011
    Posts
    1,062
    Thanks given
    197
    Thanks received
    214
    Rep Power
    0
    nvm got it
    Reply With Quote  
     

  9. #8  
    HTML5, jQuery & CSS3 Master
    Jaiden Watling's Avatar
    Join Date
    Nov 2010
    Age
    29
    Posts
    888
    Thanks given
    305
    Thanks received
    92
    Rep Power
    0
    Quote Originally Posted by Ninth Legion View Post



    That's not what he was asking.


    Go to ActionHandler and find
    Code:
    public void secondClickNpc(int npcType) {
    You'll probably see a string of codes like
    case 534:
    c.getShops().openShop(11);

    just add yours to if, if oyu don't see those:

    Then between

    Code:
    		switch(npcType) {
    and


    Code:
    			default:
    				ScriptManager.callFunc("npcClick2_"+npcType, c, npcType);
    				if(c.playerRights == 3) 
    					Misc.println("Second Click Npc : "+npcType);
    				break;
    			
    		}
    	}

    add your npc id and your shop id.

    case ####:
    c.getShops().openShop(#);



    ...it's exactly what hes looking for.. the 2nd result for me was exactly what you said, except better explained.

    Reply With Quote  
     

  10. #9  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Quote Originally Posted by Socioscape View Post
    ...it's exactly what hes looking for.. the 2nd result for me was exactly what you said, except better explained.
    You directed him to an external link (outside or Rune-server) implying he has no idea how to use google. He obviously needed help and you just told him to google it, nice helping.

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    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. NPC Trading
    By vader rd in forum Help
    Replies: 3
    Last Post: 12-17-2010, 07:07 PM
  2. Replies: 3
    Last Post: 03-23-2010, 08:08 PM
  3. Trading with NPC Error
    By Coolline in forum Help
    Replies: 8
    Last Post: 12-20-2009, 11:44 PM
  4. 100% trading! + New trading screen
    By SWAT in forum Show-off
    Replies: 70
    Last Post: 07-19-2009, 10:41 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
  •