• 0
YtalloNv

I need a script to have control over the cash shop!!!!

Question

20 answers to this question

Recommended Posts

  • 0

I managed to solve ..... I added by the sql and it worked out .. the tip is there for all those who have this same problem ... put the items in the sql table that works ..!
 

Share this post


Link to post
Share on other sites
  • 0

I im not sure if i understand but...

I think its not possible a script take control over the cashshop, to do that you need something that write in item_cash_db.txt located on db/[pre]re/ and then do a @reloaditemdb . 

Probably you can do it in source mods

Share this post


Link to post
Share on other sites
  • 0

I just did this and it did not work!
 

8 hours ago, Mahiro said:

Basta desligá-lo e ligá-lo novamente, o que funcionará.

i need to do this cash shop

if you want I'll make a step by step video of what you told me to do!

Share this post


Link to post
Share on other sites
  • 0
15 hours ago, YtalloNv said:

I just did this and it did not work!
 

i need to do this cash shop

if you want I'll make a step by step video of what you told me to do!

If you can not through the icon, why not create an NPC with the same function? Oo

 

-%TAB%cashshop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...}
<map name>,<x>,<y>,<facing>%TAB%cashshop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...}

 

 

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Mahiro said:

If you can not through the icon, why not create an NPC with the same function? Oo

 

-%TAB%cashshop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...}
<map name>,<x>,<y>,<facing>%TAB%cashshop%TAB%<NPC Name>%TAB%<sprite id>,<itemid>:<price>{,<itemid>:<price>...}

 

 

because the icon becomes more organized and more dynamic
 

Share this post


Link to post
Share on other sites
  • 0

Go to your Emulator file. Put it this way:

db/pre-re/item_cash_db.txt or db/re/item_cash_db.txt

// Cash Shop Database
// Contains the items sold in the ingame cash shop.
//
// Structure of Database:
// Type,ItemID,Price
//
// Type:
//    0: New
//    1: Hot
//    2: Limited
//    3: Rental
//    4: Gear
//    5: Buff
//    6: Heal
//    7: Other
//    8: Sale
//
// Price:
//    Item cost, in cash points (#CASHPOINTS).
0,2629,2000
1,2629,2000
2,2629,2000
3,2629,2000
4,2629,2000
5,2629,2000
6,2629,2000
7,2629,2000
8,2629,2000

 

Turns the emulator off and on.

This is just a test.

If it still does not work, you're doing it, or you've done it wrong.

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Mahiro said:

Go to your Emulator file. Put it this way:

db/pre-re/item_cash_db.txt or db/re/item_cash_db.txt

// Cash Shop Database
// Contains the items sold in the ingame cash shop.
//
// Structure of Database:
// Type,ItemID,Price
//
// Type:
//    0: New
//    1: Hot
//    2: Limited
//    3: Rental
//    4: Gear
//    5: Buff
//    6: Heal
//    7: Other
//    8: Sale
//
// Price:
//    Item cost, in cash points (#CASHPOINTS).
0,2629,2000
1,2629,2000
2,2629,2000
3,2629,2000
4,2629,2000
5,2629,2000
6,2629,2000
7,2629,2000
8,2629,2000

 

Turns the emulator off and on.

This is just a test.

If it still does not work, you're doing it, or you've done it wrong.

I did everything you said and so far I have had no results ...!
 

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, YtalloNv said:
I did everything you said and so far I have had no results ...!

 

Upload a video, with every process, from the addition of the items to the Cash Shop, until the moment the one clicks the Store Maybe it'll help.

Share this post


Link to post
Share on other sites
  • 0
21 hours ago, Mahiro said:

Faça o upload de um vídeo, com todos os processos, desde a adição dos itens até o Cash Shop, até o momento em que alguém clicar na loja. Talvez ajude.

Ok I'll do it

 

Share this post


Link to post
Share on other sites
  • 0
8 minutes ago, YtalloNv said:

 

Weird. But it's no use using @reload. It would have to work by turning the emulator off and on again.

Try the Cash_DB option in the "Import" folder in Emulator/db/

It is necessary to disconnect and connect your Emulator, there's no way to use it @reload in CashShop.

If not, unfortunately, I can not help you.

You'll have to go through the way I mentioned above, create a CashShop NPC.

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, Mahiro said:

Esquisito. Mas não adianta usar o @reload. Teria que trabalhar desligando e ligando o emulador novamente.

Experimente a opção Cash_DB na pasta "Import" no Emulator / db /

É necessário desconectar e conectar seu Emulador, não há como usar o @reload na CashShop.

Se não, infelizmente, não posso te ajudar.

Você terá que passar pelo caminho que eu mencionei acima, criar um NPC CashShop.

already tried all the other options and none worked ....
I already hung up and called ... but nothing so far.

 

 

 

 

 

I think I'm going to give up

If you want I can send this emulator to you to have a look
 

Share this post


Link to post
Share on other sites
  • 0
23 minutes ago, YtalloNv said:

If you want I can send this emulator to you to have a look
 

Sorry, but it's impossible at the moment. I am without a computer at the moment, a month ago exactly, without forecast.

Share this post


Link to post
Share on other sites
  • 0

restart server, i dont recall there are any command for you to reload the client cash shop if you ever updated.

reloadscript are only possible if your cash shop are write as npc script.

Share this post


Link to post
Share on other sites
  • 0
7 hours ago, Emistry said:

reiniciar o servidor, eu não lembro de qualquer comando para você recarregar o cliente cash shop, se você já atualizou.

O recarregamento só é possível se o seu cash shop for escrito como script npc.

give me an example please

 

Sem título.png

Share this post


Link to post
Share on other sites
  • 0

You can do @reloaditemdb then reconnect your character to see changes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now