Jump to content

Cash shop [Problema]


sunligth

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/25/13
  • Last Seen:  

Meu cash shop ta bugado, não sei ao certo se estou fazendo corretamente, más apenas os primeiro item no item_cash_db.txt

funciona o resto apareçe Unknown Item e buga o preço.

 

olhe como está meu item_cash_db.txt

// This file contains the items sold in the ingame cash shop
//
// The structure of the file is
// type, item ID, price
//
// type:
// 0: New
// 1: Hot
// 2: Limited
// 3: Rental
// 4: Gear
// 5: Buff
// 6: Heal
// 7: Other
//
// price:
// price of the defined item in cash points
3, 5076, 5000
3, 5235, 5000
3, 5236, 5000
3, 5237, 5000

 

 

tssh.png

 

Alguem poderia me ajudar.

 

@edit

Percebi uma coisa, é o seguinte se cada tipo no cash shop tiver por exemplo 2 item, eles apareçem corretamente mais caso se eu tentar adicionar um terçeiro item em um dos tipos por exemplo em News(Novo), ele apareçe como Unknown Item, no caso para esse terçeiro item apareçer corretamente eu teria que add um terçeiro item em todos os tipos.

 

Veja, dessa forma funciona perfeitamente.

// This file contains the items sold in the ingame cash shop
//
// The structure of the file is
// type, item ID, price
//
// type:
// 0: New
// 1: Hot
// 2: Limited
// 3: Rental
// 4: Gear
// 5: Buff
// 6: Heal
// 7: Other
//
// price:
// price of the defined item in cash points
0,607,500
0,678,500
1,607,500
1,678,500
2,607,500
2,678,500

3,607,500
3,5235,500
4,607,500
4,678,500
5,607,500
5,678,500
6,607,500
6,678,500
7,607,500
7,678,500

 

Mais se eu adiciono um terçeiro item no tipo Retal por exemplo, esse terçeiro item vem como Unknown Item, para ele aparecer corretamente

eu teria que adicionar um terçeiro item nos outros tipos.

// This file contains the items sold in the ingame cash shop
//
// The structure of the file is
// type, item ID, price
//
// type:
// 0: New
// 1: Hot
// 2: Limited
// 3: Rental
// 4: Gear
// 5: Buff
// 6: Heal
// 7: Other
//
// price:
// price of the defined item in cash points
0,607,500
0,678,500
1,607,500
1,678,500
2,607,500
2,678,500
3,607,500
3,5235,500

3,5236,500 //Mostra Unknown Item
4,607,500
4,678,500
5,607,500
5,678,500
6,607,500
6,678,500
7,607,500
7,678,500

 

 

Acho que deu pra entender bem oque está ocorrendo.

Alguem saberia me ajudar ?

Edited by sunligth
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  398
  • Reputation:   131
  • Joined:  11/10/12
  • Last Seen:  

i dont know if you can understand this but items will appear as Unknown if no "// 0: New" is added. The number of item in the "// 0: New" must be more than or equal to the number of item in the other sections.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  01/25/13
  • Last Seen:  

Entendi, más eu nao queria que fosse dessa meneira, ter que adicionar um numero superior de iten's no tipo "0 :New" para o resto funcionar corretamente.

Teria uma maneira de está resolvendo isso ? ou só da forma acima ?



Fiz alteração provisória sugerida por esse tópico

http://rathena.org/board/tracker/issue-7585-cash-shop-list-problem/

 

Então pra que tiver o mesmo problema, ta ai uma solução. Funciono perfeitamente aqui.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...