Shop Menu Core (YEP) BUG

Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
32
Reaction score
3
Hello everyone,

I use the plugin of SRD "Sell Only Shop", the problem is that there is an incompatibility with the plugin of Yanfly "shop core".
He considers the sale of my items as purchases in the display.

1589652692341.png
"Vendre" = "Sell"


Can someone help me?

Thank you
 

dwiseman57

Merchant Prince Digital
Veteran
Joined
Jun 29, 2014
Messages
40
Reaction score
1
First Language
English
Primarily Uses
N/A
I also would like to know how to fix this. I need a "sell only shop" that ideally uses Shop Menu Core
 

dwiseman57

Merchant Prince Digital
Veteran
Joined
Jun 29, 2014
Messages
40
Reaction score
1
First Language
English
Primarily Uses
N/A
I fixed it!
Change line 146 from

Code:
this._numberWindow.setup(this._item, this.maxSell(), this.sellingPrice());
to

Code:
this._numberWindow.setup(this._item, this.maxSell(), this.sellingPrice()*-1);
Now it basically multiplies the number by -1 so instead of deducting the total, it adds
 

Roult

Veteran
Veteran
Joined
Oct 25, 2015
Messages
32
Reaction score
3
Thank you for your answer,

I found a solution by modifying the yanfly plugin as follows:

1594231722424.png


2 answers are better than one :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Small rant: While using SRD Hud maker for a battle hud, I typed in the wrong script call and got an error, but then forgot to delete the piece that caused the error before closed the Hud maker and hit F5 to restart the game. Now everytime I engage in a battle my game crashes...
:kaolivid:
Would Jump into Javascript be best off continuing to break down the MV core files, or would people prefer a quick detour to cover everything that's changed in the core from MV to MZ?
Not going to lie... PIXI Particles make fantastic graphics... But predicting the hitbox of something with a "fixed size" but whose graphics can stick out past that, is quite challenging. :kaoswt:
Would you like a glass of spiders?

Forum statistics

Threads
100,530
Messages
976,896
Members
132,081
Latest member
Kaezyelnatz
Top