Thread: 317 Delta adding shops

Results 1 to 7 of 7
  1. #1 317 Delta adding shops 
    Registered Member
    Join Date
    Jul 2012
    Posts
    29
    Thanks given
    6
    Thanks received
    0
    Rep Power
    11
    Hello guys I am having a little problem. I can add the shop in shops.cfg but, I don't know how to hook the shop up with the npc in autospawn.cfg. Could somone please help me. Im new at coding.
    Reply With Quote  
     

  2. #2  
    Registered Member Greens Pride's Avatar
    Join Date
    Apr 2012
    Posts
    255
    Thanks given
    63
    Thanks received
    27
    Rep Power
    36
    Go to autospawn.cfg
    Add

    Code:
    spawn = npcid	coordx	coordy	0	0	0	0	0	1
    Those 0's you can change if you want the npc to walk.



    Now go to Your shops.cfg
    Add

    Code:
    shop = shop id	name_of_shop			2	2

    client.java
    Search for

    Code:
    if(NPCID == 2538){
    Now add this above

    Code:
    if(NPCID == npcid){
    PutNPCCoords = true;
    WanneShop = npc number in shops.cfg; 
    }
    Done.


    Reply With Quote  
     

  3. #3  
    Donator

    Jinzy's Avatar
    Join Date
    Aug 2010
    Posts
    532
    Thanks given
    35
    Thanks received
    84
    Rep Power
    87
    Stop using delta my friend and i won't help you due to that so hopefully you will move into something better.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2012
    Posts
    29
    Thanks given
    6
    Thanks received
    0
    Rep Power
    11
    Thank you for the help. Im useing a delta because im a new coder and they are the easy to code.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Oct 2012
    Posts
    79
    Thanks given
    1
    Thanks received
    13
    Rep Power
    13
    Quote Originally Posted by Jinzy View Post
    Stop using delta my friend and i won't help you due to that so hopefully you will move into something better.
    Theres nothing bad about using delta, you can always make it better, the delta im developing held around 900 players lag-free, idk if it can hold more, but the MAX_PLAYER constant was set at 900 lol.

    on topic:

    But using the wanneShop is a retarted way on handling the shops, as it updates in the player proccessing thread, you could just use the method openShop, or openUpShop or whatever its named.
    Reply With Quote  
     

  6. #6  
    Donator

    Jinzy's Avatar
    Join Date
    Aug 2010
    Posts
    532
    Thanks given
    35
    Thanks received
    84
    Rep Power
    87
    Quote Originally Posted by stalkerstrucker View Post
    Theres nothing bad about using delta, you can always make it better, the delta im developing held around 900 players lag-free, idk if it can hold more, but the MAX_PLAYER constant was set at 900 lol.

    on topic:

    But using the wanneShop is a retarted way on handling the shops, as it updates in the player proccessing thread, you could just use the method openShop, or openUpShop or whatever its named.
    Never said its bad but if u are new here it means you don't have the skills yet to make something good out of it right? Since you will need to re-write lot of things and remove useless codes.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Oct 2012
    Posts
    79
    Thanks given
    1
    Thanks received
    13
    Rep Power
    13
    right
    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. [317 - DELTA] General Shop help!!
    By OleanPkz in forum Help
    Replies: 6
    Last Post: 03-06-2012, 02:53 AM
  2. RewnSkapePK 317 -Delta 24/7 Added Pics!
    By Blue Belkin in forum Advertise
    Replies: 9
    Last Post: 02-21-2010, 10:29 PM
  3. Replies: 1
    Last Post: 11-01-2009, 04:57 PM
  4. [317 Delta] Adding grim reaper
    By Hatescape1 in forum Help
    Replies: 6
    Last Post: 04-25-2009, 09:11 PM
  5. Error after adding shop (Delta)
    By acecoolman123 in forum Help
    Replies: 3
    Last Post: 04-13-2009, 03:48 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
  •