Jump to content
  • 0

Empty cash shop


lcouty

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   1
  • Joined:  06/29/18
  • Last Seen:  

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.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   10
  • Joined:  08/22/22
  • Last Seen:  

46 minutes ago, lcouty said:

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.

  - Tab: New
    Items:
     - Item: Apple
       Price: 100
     - Item: Banana
       Price: 100
     - Item: Grape
       Price: 100

 

Edited by Pokye
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   1
  • Joined:  06/29/18
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  46
  • Reputation:   10
  • Joined:  08/22/22
  • Last Seen:  

4 hours ago, lcouty said:

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.

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

 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   1
  • Joined:  06/29/18
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  11/03/13
  • Last Seen:  

Hi, i use command @reloaditemdb but not found, need re make or restar server??

This is my item_cash.yml

# This file is a part of rAthena.
#   Copyright(C) 2022 rAthena Development Team
#   https://rathena.org - https://github.com/rathena
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
###########################################################################
# 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
  - Tab: Consumables
    Items:
       # Diario de Aventuras
     - Item: Battle_Manual_X3
       Price: 300
       # Enciclopadia de Combate
     - Item: HE_Battle_Manual
       Price: 200
       # Manual de Combate de Classe
     - Item: Job_Manual50
       Price: 200
       # Medicina Milagrosa
     - Item: Miracle_Medicine
       Price: 500
       # Chicle de Bola
     - Item: HE_Bubble_Gum
       Price: 300
       # Goma de Mascar
     - Item: Bubble_Gum
       Price: 250

Footer:
  Imports:
    - Path: db/import/item_cash.yml

Solved: Need edit /db/import/item_cash.yml no /db/item_cash.yml

Edited by WATAFAK
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  18
  • Reputation:   0
  • Joined:  11/03/13
  • Last Seen:  

Need help, what is name "Item" for 7179  id item??

 

image.png.a4c0e5fef67b04b56c77eedf0db0def8.png

 

Solved: 7179 = Donation_Card

Edited by WATAFAK
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...