Jump to content

lcouty

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by lcouty

  1. 3 hours ago, Pokye said:

    Need add Body: before.

    ###########################################################################
    # Item Cash Database
    ###########################################################################
    #
    # Item Cash Settings
    #
    ###########################################################################
    # - Tab                     Cash shop tab. Available tabs are New, Hot, Limited, Rental, Permanent, Scrolls, Consumables, Other, Sale.
    #   Items:                  List of possible items.
    #     - Item                Item name.
    #       Price               Item cost in cash points (#CASHPOINTS).
    ###########################################################################
    
    Header:
      Type: ITEM_CASH_DB
      Version: 1
    
    Body:
      - Tab: New
        Items:
         - Item: Apple
           Price: 100
         - Item: Banana
           Price: 100
         - Item: Grape
           Price: 100

     

    Thanks, it worked!!

    • Upvote 1
  2. 16 hours ago, Pokye said:
      - Tab: New
        Items:
         - Item: Apple
           Price: 100
         - Item: Banana
           Price: 100
         - Item: Grape
           Price: 100

     

    If i program like you said it gives me error.
     

    [Error]: Failed to load ITEM_CASH_DB database file from 'db/import/item_cash.yml'.
    [Error]: There is likely a syntax error in the file.
    [Error]: Error message: ERROR: ': ' is not a valid token in plain flow (unquoted) scalars
    db/import/item_cash.yml:37:11:     - Item: Apple  (size=17)
                                             ^~~~~~~  (cols 11-18)

    Even if I fix the syntax error, the map-server recognizes the item_cash_db, but does not show the item in the cash shop.

  3. Basically, the items are not showing up in the cash shop.
    screenrAthena064.thumb.jpg.50f5d73e79df70c2118fe33a393f0401.jpg

    Here's how i set up the cash shop

    - Tab: New
       Items:
        - Lucky_Egg_C8
        100

    I have tried a lot of combinations as this one:

    - Tab: New
       Items:
        - Lucky_Egg_C8
        Price 100


    The mapserver recognizes all configurations above and successfully reads the item_cash_db, but still does not work on game. Even tried another Lua files, but the results were the same.

    Does anyone knows how to fix this issue i'm having?

    Sorry for my english, btw.

×
×
  • Create New...