I'm having a few shop that sells different things in my game. But once I choose to browse wares from any shop, the other shops automatically stopped selling what they're supposed to sell, and started selling the stuff that was on the shop that I browse wares on. Why is this happening? And how do I fix it?
Shop glitches?
RGSSx Script Supportthat means that you're doing something wrong, and we can't tell you what you did wrong without seeing what you did.
how did you create your shops? please post a screenshot of the event commands.
how did you create your shops? please post a screenshot of the event commands.
The rest is pretty much the same.
you have scripts that change the shop behaviour, and some of them are either configured wrong or incompatible to each other.
Please give links to the websites of all scripts that you have for shops, and a screenshot of the materials sectio so that we can see in which order they are installed.
Please give links to the websites of all scripts that you have for shops, and a screenshot of the materials sectio so that we can see in which order they are installed.
The Shop-related script, from up to bottom:
Shop Manager (http://himeworks.com/2013/02/shop-manager/)
Shop Options (https://yanflychannel.wordpress.com/rmvxa/menu-scripts/ace-shop-options/)
EST-Constant Changer (https://www.rpgmakercentral.com/topic/19969-est-constant-changer/)
EST-Select Currency (https://www.rpgmakercentral.com/topic/19492-est-select-currency/)
That's all I have for shop-related scripts.
Shop Manager (http://himeworks.com/2013/02/shop-manager/)
Shop Options (https://yanflychannel.wordpress.com/rmvxa/menu-scripts/ace-shop-options/)
EST-Constant Changer (https://www.rpgmakercentral.com/topic/19969-est-constant-changer/)
EST-Select Currency (https://www.rpgmakercentral.com/topic/19492-est-select-currency/)
That's all I have for shop-related scripts.
If you install a script, then you should use it.
Your problem is caused by adding a script without thinking about what it does.
It REQUIRES you to give each shop it's own ID (or name) and will redirect all shop processing to identical shops if you do not give them different ID/Names.
So your game does exactly what you told it to do, have all shop processing end up in the identical shops (because even an empty name is an ID, the same for everyone).
You can either remove that script or follow it's instructions and give each shop a different Name/ID.
It's all described in Tsukihime's instructions on the website you linked.
Your problem is caused by adding a script without thinking about what it does.
Please read the instructions for this script again.
It REQUIRES you to give each shop it's own ID (or name) and will redirect all shop processing to identical shops if you do not give them different ID/Names.
So your game does exactly what you told it to do, have all shop processing end up in the identical shops (because even an empty name is an ID, the same for everyone).
You can either remove that script or follow it's instructions and give each shop a different Name/ID.
It's all described in Tsukihime's instructions on the website you linked.
Oops, haha, what a stupid mistake I made......
Thanks!
Thanks!
Moved to: RGSSx Script Support
@Lionheart123 Just to tell you, that you have a tiny typo on the last screen shot:
"oh wll...". instead of "Oh, well" (but yes, reading scripts is important because
some adds something, other might "OVERWRITE" a function.
if you shop scripts "add" it doesn't really matter, but some requiresa feature that "overwrite" something
to let their script works better.
Read the script and helpfile, before adding it to your project to avoid and/or lose stuff that need to
be corrected so it will function again.
Good luck on your project further 🙂
"oh wll...". instead of "Oh, well" (but yes, reading scripts is important because
some adds something, other might "OVERWRITE" a function.
if you shop scripts "add" it doesn't really matter, but some requiresa feature that "overwrite" something
to let their script works better.
Read the script and helpfile, before adding it to your project to avoid and/or lose stuff that need to
be corrected so it will function again.
Good luck on your project further 🙂
Okay! Thanks!
Original thread: https://forums.rpgmakerweb.com/threads/shop-glitches.118072/