CristorcusHelix 1 Posted December 15, 2018 (edited) Hello, I was wondering if you could help me with this I added this script to my game, added some currencies and tested it. It worked perfectly I added some more scripts I was using in my game but when I tested my game again, the currencies option no longer showed up in the menu I have a feeling one of the other scripts I used that added more menu options messed it up but I'm not sure and I don't know how to fix it Edited December 15, 2018 by CristorcusHelix Share this post Link to post Share on other sites
roninator2 257 Posted December 16, 2018 so Providing more details on what scripts you added would be helpful. Also you should make your own thread for support, not comment in here. By the time we fix your problem we will ave added 10+ posts to this thread. Share this post Link to post Share on other sites
PhoenixSoul 1,404 Posted December 16, 2018 @CristorcusHelix Which scripts would those have been? If it is Yanfly's Ace Menu script, I know precisely how to work that in. Share this post Link to post Share on other sites
CristorcusHelix 1 Posted December 16, 2018 I'm using several of Yanfly's scripts including the Ace Menu Script. I'm also using the Ace Class System which adds a class option to the menu so I was wondering if maybe that interfered with the currency menu option Share this post Link to post Share on other sites
roninator2 257 Posted December 16, 2018 Most of yanfly's scripts sets the menus to a specific set of instructions with the option to add on other commands. This is what you need to do, which is why I asked that you make a new thread.So we can provide you the instructions to do so, without filing up this thread with a problem that has nothing to do with this script. Share this post Link to post Share on other sites
nosreppa 1 Posted February 25, 2019 Is there a way to run the currency through a conditional branch? Im using the multi currency script for a "casino". You exchange gold for a different currency just for the casino and That money is used to play games and exchange for prizes. Think like the old Pokemon Red and Blue casino. However, I cant see a way to run a check against the amount of the second currency to confirm whether or not you can play. Without that check, you can just play all the games for free. Hopefully, what I wrote makes sense and someone has an answer for me. I tried to run "if currency(1) >=1" as part of the conditional branch thinking it would work and it crashed my game. lol. 1 Share this post Link to post Share on other sites
PhoenixSoul 1,404 Posted February 26, 2019 @nosreppa I'd be using variables for that. Share this post Link to post Share on other sites
Yanntastic 0 Posted August 15, 2020 (edited) I have an error. When I try to open a shop with a currency other than #0 it crashes with this error message: "undefined method: '[]' for nil:NilClass. and it sends me to line 244 of the script saying "$game_party.currency[currency_index]". I input the exact script call as I was told before the shop processing so what am I doing wrong? Edit: I figured it out. The Shop Manager script I used was the error. I removed that script along with the shop stick script and now it's working just fine. Guess I need another way for adding a shop stock. Edited August 16, 2020 by Yanntastic Share this post Link to post Share on other sites
mattgowens 3 Posted August 17, 2021 to fix the amount of currencies without having to keep updating the code, change line 285 from 11.times { |i| to (Clstn_Currencies::Currencies.length).times { |i| 1 Share this post Link to post Share on other sites
PhoenixSoul 1,404 Posted August 17, 2021 1 hour ago, mattgowens said: to fix the amount of currencies without having to keep updating the code, change line 285 from 11.times { |i| to (Clstn_Currencies::Currencies.length).times { |i| Brill! Share this post Link to post Share on other sites
mattgowens 3 Posted August 17, 2021 (edited) To use conditional branch for checking amount of currency conditional branch => script => $game_party.currency[CurrencyID] >= X X being the amount you want to check Edit: Added a picture on a common event to auto convert currencies Edit 2: Made some modifications to script, letting everyone have. Window changes size depending on how many currencies you have. Can change Color of the title, and can change the name of the title if you so choose. ----> Pastebin <----- Edited August 18, 2021 by mattgowens Updated Script, Added Pictures 2 Share this post Link to post Share on other sites