Thread: RS2-Server Issues

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 RS2-Server Issues 
    squared

    Join Date
    Jun 2013
    Posts
    355
    Thanks given
    38
    Thanks received
    27
    Rep Power
    30
    I'm using a RS2-Server source and I'm adding it in new shops, but I can't remember for the life of me on how to add the shops to an NPC.

    I've already looked through so many files and cannot find it, is it located in some actionbuttons file? or npcoption file?

    Please help guys, thanks.
    +Rep for it in return
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    look inside the class that handles your npc clicks/actions. if you dont know what it is. try searching for the packet that handles npc clicks
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by Mentum View Post
    I'm using a RS2-Server source and I'm adding it in new shops, but I can't remember for the life of me on how to add the shops to an NPC.

    I've already looked through so many files and cannot find it, is it located in some actionbuttons file? or npcoption file?

    Please help guys, thanks.
    actionhandler class

    Code:
    			case npcid:
    				c.getShops().openShop(shopnumber);
    			break;
    this will just open the shop obviously you need to add the items in shops.cfg
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Aug 2007
    Posts
    1,289
    Thanks given
    130
    Thanks received
    340
    Rep Power
    862
    npcinteractions.js in data -> scripts folder.
    Reply With Quote  
     

  5. Thankful user:


  6. #5  
    Registered Member
    Join Date
    May 2013
    Posts
    1,169
    Thanks given
    28
    Thanks received
    133
    Rep Power
    53
    Quote Originally Posted by ipkmills View Post
    actionhandler class

    Code:
    			case npcid:
    				c.getShops().openShop(shopnumber);
    			break;
    this will just open the shop obviously you need to add the items in shops.cfg
    hes not using pi.
    Reply With Quote  
     

  7. #6  
    Server Developer
    Argyros's Avatar
    Join Date
    Apr 2011
    Posts
    498
    Thanks given
    25
    Thanks received
    31
    Rep Power
    23
    Quote Originally Posted by Faiths View Post
    hes not using pi.
    Well don't you think it would be wise for him to tell us that?
    Reply With Quote  
     

  8. #7  
    Registered Member

    Join Date
    Aug 2007
    Posts
    1,289
    Thanks given
    130
    Thanks received
    340
    Rep Power
    862
    Quote Originally Posted by Evolution0521 View Post
    Well don't you think it would be wise for him to tell us that?
    He did.

    Quote Originally Posted by Mentum View Post
    I'm using a RS2-Server source

    He also said it in the title...
    Reply With Quote  
     

  9. #8  
    Server Developer
    Argyros's Avatar
    Join Date
    Apr 2011
    Posts
    498
    Thanks given
    25
    Thanks received
    31
    Rep Power
    23
    Quote Originally Posted by 123sk8 View Post
    He did.




    He also said it in the title...
    All he said was that he was using RS2-Server, I am not sure what base that is.
    Sounds like it might be a Hyperion base.
    Reply With Quote  
     

  10. #9  
    Registered Member

    Join Date
    Aug 2007
    Posts
    1,289
    Thanks given
    130
    Thanks received
    340
    Rep Power
    862
    Quote Originally Posted by Evolution0521 View Post
    All he said was that he was using RS2-Server, I am not sure what base that is.
    Sounds like it might be a Hyperion base.
    That's why you search what base it is. Yes the base is based off hyperion but he can't say hyperion because
    in hyperion there is no base for shops. He wants to know how to do npc interactions for rs2-server. Which is in
    the npcinteractions.js file.
    Reply With Quote  
     

  11. #10  
    squared

    Join Date
    Jun 2013
    Posts
    355
    Thanks given
    38
    Thanks received
    27
    Rep Power
    30
    thanks for the help
    +Rep for it in return
    Reply With Quote  
     

Page 1 of 2 12 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: 6
    Last Post: 04-22-2008, 02:43 PM
  2. Best RS2 Server/Forums
    By TheRemain in forum RS2 Server
    Replies: 2
    Last Post: 04-21-2008, 01:25 AM
  3. RS2 Server Forums!!!
    By TheRemain in forum RS2 Server
    Replies: 6
    Last Post: 04-20-2008, 09:02 PM
  4. Replies: 8
    Last Post: 03-11-2008, 01:19 PM
  5. The reason why RS2 Servers are Slow.
    By Inside Sin in forum RS2 Server
    Replies: 3
    Last Post: 03-02-2008, 09:32 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
  •