Thread: Need help asap :( PI

Results 1 to 5 of 5
  1. #1 Need help asap :( PI 
    Registered Member Lil Peep's Avatar
    Join Date
    Oct 2012
    Posts
    881
    Thanks given
    234
    Thanks received
    58
    Rep Power
    0
    Ok so I have 2 shop currencies atm. Coins and tokkul. I basically want there to be a prices..txt for coins and a new file to handle tokkul. I kind of get the gist of how its loaded in ItemHandler but I cannot determine how to do it myself and for my tokkul value
    Please help me
    Base: PI
    Screenshots: None
    Reply With Quote  
     

  2. #2  
    Always keep 'em guessing.
    Sabbath's Avatar
    Join Date
    Mar 2009
    Posts
    156
    Thanks given
    28
    Thanks received
    4
    Rep Power
    22
    When I think about it, it sounds like a simple process. But at the same time difficult because it'd be calling from two separate price files. Why not just use the pricing method inside ShopAssistant?
    Reply With Quote  
     

  3. #3  
    Banned Need help asap :( PI Market Banned


    Join Date
    Jan 2011
    Age
    26
    Posts
    3,112
    Thanks given
    1,198
    Thanks received
    1,479
    Rep Power
    0
    Quote Originally Posted by Sabbath View Post
    When I think about it, it sounds like a simple process. But at the same time difficult because it'd be calling from two separate price files. Why not just use the pricing method inside ShopAssistant?
    this is not difficult at all

    if pi was loading general and special store prices like every other server, and had proper support for different currencies he wouldn't have even needed to make this topic

    my advice: rewrite your shops and item definitions, or if you wanna be dumb and take the easy way out then create a massive switch statement of all the items and their 'special' prices
    Reply With Quote  
     

  4. #4  
    Registered Member Emre's Avatar
    Join Date
    Jan 2014
    Posts
    596
    Thanks given
    91
    Thanks received
    61
    Rep Power
    7
    Quote Originally Posted by lare96 View Post
    this is not difficult at all

    if pi was loading general and special store prices like every other server, and had proper support for different currencies he wouldn't have even needed to make this topic

    my advice: rewrite your shops and item definitions, or if you wanna be dumb and take the easy way out then create a massive switch statement of all the items and their 'special' prices
    would a buffedreader not work? just asking
    Reply With Quote  
     

  5. #5  
    Registered Member Intellectual's Avatar
    Join Date
    Apr 2014
    Posts
    59
    Thanks given
    6
    Thanks received
    5
    Rep Power
    11
    Set different shop values in shophandler, one that requires tokkul under the values, and the rest would be coins by default.
    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. Need Help ASAP [PI]
    By rocky2k10 in forum Help
    Replies: 3
    Last Post: 12-26-2011, 04:17 PM
  2. compiling error! need help asap PI 317
    By yuioplok in forum Help
    Replies: 5
    Last Post: 12-26-2011, 09:32 AM
  3. [PI] Need help ASAP
    By realmscape in forum Help
    Replies: 0
    Last Post: 09-29-2011, 04:54 AM
  4. [PI] Huge NPC Problem + Pic, Need help ASAP
    By jordan641 in forum Help
    Replies: 5
    Last Post: 03-26-2011, 07:06 PM
  5. [Pi] Run error, i need help ASAP please
    By Anthony in forum Help
    Replies: 4
    Last Post: 03-17-2011, 11:05 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
  •