Thread: 2 things for 718(shops)

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 2 things for 718(shops) 
    Banned
    Join Date
    Feb 2015
    Posts
    74
    Thanks given
    12
    Thanks received
    2
    Rep Power
    0
    Alright:
    Where do I go to change the prices of items in a shop wihtout having to use a pricechanger

    Second:
    How do I set coords for a NPC to be there, and how do you make him walk or just stand still?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Feb 2015
    Posts
    19
    Thanks given
    1
    Thanks received
    3
    Rep Power
    9
    Quote Originally Posted by RandomisRandom View Post
    Alright:
    Where do I go to change the prices of items in a shop wihtout having to use a pricechanger

    Second:
    How do I set coords for a NPC to be there, and how do you make him walk or just stand still?
    1. ItemDefinitions, getValue / setValue method or read prices from a file.

    2. setRandomWalk(true : false)
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Feb 2015
    Posts
    74
    Thanks given
    12
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by Github View Post
    1. ItemDefinitions, getValue / setValue method or read prices from a file.

    2. setRandomWalk(true : false)

    Alright, but where do I go to set the coords? I got the shop all done, I just need to place him @ home and make him stay instead of walking all over.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Feb 2015
    Posts
    19
    Thanks given
    1
    Thanks received
    3
    Rep Power
    9
    Quote Originally Posted by RandomisRandom View Post
    Alright, but where do I go to set the coords? I got the shop all done, I just need to place him @ home and make him stay instead of walking all over.
    Do it by ID.
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Feb 2015
    Posts
    74
    Thanks given
    12
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by Github View Post
    Do it by ID.
    I ment what java file?
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Feb 2015
    Posts
    19
    Thanks given
    1
    Thanks received
    3
    Rep Power
    9
    Quote Originally Posted by RandomisRandom View Post
    I ment what java file?
    Wherever you process your npc, so I assume NPC.java.
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Jul 2011
    Posts
    808
    Thanks given
    448
    Thanks received
    250
    Rep Power
    126
    Quote Originally Posted by Github View Post
    Wherever you process your npc, so I assume NPC.java.
    constructor not in the process method lol. why would you set it to false every 600ms?
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Feb 2015
    Posts
    19
    Thanks given
    1
    Thanks received
    3
    Rep Power
    9
    Quote Originally Posted by Zephyrr View Post
    constructor not in the process method lol. why would you set it to false every 600ms?
    O well, my bad lol.
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Feb 2015
    Posts
    74
    Thanks given
    12
    Thanks received
    2
    Rep Power
    0
    All I need is the java files where you can change the prices of items(Unless I need a pricechanger, if so, link me to one because I can't seem to find one). I also need the file where you can place objects/npcs
    I know the codes, I just need the java file names.
    Reply With Quote  
     

  10. #10  
    Hollow Realm

    Join Date
    Sep 2013
    Posts
    295
    Thanks given
    12
    Thanks received
    11
    Rep Power
    1
    You do none of this in a java file, besides the NPC spawn locations at most..

    Shops: unpackedShops.txt
    Prices: Cache or prices.txt
    NPC Locations: unpackedSpawns.txt or NPCSpawning.java

    unpackedShops.txt: Source folder\data\items\
    unpackedSpawns.txt: Source folder\data\npcs\
    Cache'd item prices: Open up an item def editor, find the itemId, edit it, replace the price with what you want.
    prices.txt: Not sure if you have this, but rune-evo4 does @ Source Folder\data\items\
    Reply With Quote  
     

  11. Thankful user:


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. A few things for my 718!
    By R3D Barrage in forum Buying
    Replies: 0
    Last Post: 07-17-2013, 01:38 AM
  2. Buying a few things for my 718!
    By R3D Barrage in forum Buying
    Replies: 0
    Last Post: 07-13-2013, 04:03 AM
  3. 667/718 Shop DC When Clicking for info
    By 13lack drag in forum Help
    Replies: 3
    Last Post: 07-01-2013, 08:04 AM
  4. [718] how do i change my prices for my shops!
    By pepsiplaya in forum Help
    Replies: 13
    Last Post: 06-17-2013, 05:28 AM
  5. Replies: 5
    Last Post: 12-21-2012, 08:21 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
  •