Jump to content
  • 0

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


ADM Ytallo

Question


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

already tried to play in item_db but without success
 

Link to comment
Share on other sites

20 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   5
  • Joined:  08/12/17
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

my client is
2015-11-14
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   5
  • Joined:  08/12/17
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

I did it here and it still did not work ..!
 

http://ap.imagensbrasil.org/image/qe0UWP

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   10
  • Joined:  08/02/18
  • Last Seen:  

1 hour ago, YtalloNv said:

I did it here and it still did not work ..!
 

http://ap.imagensbrasil.org/image/qe0UWP

Just turn it off and on again that will work.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

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!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   10
  • Joined:  08/02/18
  • Last Seen:  

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>...}

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

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

 
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   10
  • Joined:  08/02/18
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

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 ...!

 
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   10
  • Joined:  08/02/18
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

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

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   10
  • Joined:  08/02/18
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

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
 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  65
  • Reputation:   10
  • Joined:  08/02/18
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

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 ..!
 

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2345
  • Joined:  10/28/11
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  98
  • Reputation:   3
  • Joined:  09/02/18
  • Last Seen:  

5 hours ago, Emistry said:
thank you

 
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...