Zuque

Villager
Member
Joined
Dec 27, 2018
Messages
29
Reaction score
2
First Language
Bulgarian
Primarily Uses
RMMV
Hello and good day to all
I am making a farming game
and my problem after duplicating the process is this

* Hero clicks on Ground tile (tile is using YEP_EventCopier command in the note)
Hero Standing on ground tile.PNGEvent Page of ground tile.PNG

*The command from the note on the event page calls Event Number 1 from Map number 3 that asks the hero if to Till the ground.
Hero Been askes if to till the ground.PNG
Event Page to till the ground.PNG

*If hero picks no nothing happens, but if he picks yes the event is morphed into event number 1 from map number 4
Player next to morphed event.PNGEvent is morphed.PNG

now here is where the problem happens the event will let me interact with the Farmland as in it will take away a seed if i pick to plant one but it won't remember doing it ( in other words as if i didn't do anything ) and will stay as simply farmland

but if i leave the map( go inside the house) after tilling the ground and come back out the event will work as should ( it will change Image to farm with seed, grow after a few days to a plant and let me harvest it)

Anyone can help me?

p.s thank you in advance for your time reading this
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,483
Reaction score
10,904
First Language
German
Primarily Uses
RMMV
Whenever any of yanfly's plugins behave strangely, the first question should always be to check if the plugins are in the correct order.
They have to be in exactly the order on his website, top to bottom, or anything can go wrong.
 

dopan

Veteran
Veteran
Joined
Mar 27, 2020
Messages
1,330
Reaction score
713
First Language
German
Primarily Uses
RMMV
i agree with Andar, but if you already have the exact correct plugin order it could also be a conflict with any other (not-Yep-)plugin..
However if leaving the map and going back makes the difference you could as well try the script: (instead of leaving the map and going back)
JavaScript:
$gameMap.refresh()

That is one of the things that always happen with map changes
 

Zuque

Villager
Member
Joined
Dec 27, 2018
Messages
29
Reaction score
2
First Language
Bulgarian
Primarily Uses
RMMV
Whenever any of yanfly's plugins behave strangely, the first question should always be to check if the plugins are in the correct order.
They have to be in exactly the order on his website, top to bottom, or anything can go wrong.
I followed to list and sadly nothing changed
 

Zuque

Villager
Member
Joined
Dec 27, 2018
Messages
29
Reaction score
2
First Language
Bulgarian
Primarily Uses
RMMV
i agree with Andar, but if you already have the exact correct plugin order it could also be a conflict with any other (not-Yep-)plugin..
However if leaving the map and going back makes the difference you could as well try the script: (instead of leaving the map and going back)
JavaScript:
$gameMap.refresh()

That is one of the things that always happen with map changes
So i tried the scripts call but sadly it did not change anything
i still need to leave the map and come back for it to function as should.
 

Zuque

Villager
Member
Joined
Dec 27, 2018
Messages
29
Reaction score
2
First Language
Bulgarian
Primarily Uses
RMMV
So i tried to see the problem using the Developer Tools and when i do everything i get the following errors in the console
Code:
Galv.CROPS.plant(this._eventId,$gameVariables.value(5),3);

YEP_CommonEventMenu.js:1292 TypeError: Cannot read property 'plantCrop' of undefined
    at Game_Event.plantCrop (Galv_SimpleCrops.js:560)
    at Object.Galv.CROPS.plant (Galv_SimpleCrops.js:289)
    at eval (eval at Game_Interpreter.command355 (YEP_CoreEngine.js:1857), <anonymous>:1:12)
    at Game_Interpreter.command355 (YEP_CoreEngine.js:1857)
    at Game_Interpreter.executeCommand (rpg_objects.js:8930)
    at Game_Interpreter.update (rpg_objects.js:8838)
    at Game_Interpreter.updateChild (rpg_objects.js:8849)
    at Game_Interpreter.update (rpg_objects.js:8832)
    at Game_Interpreter.updateChild (rpg_objects.js:8849)
    at Game_Interpreter.update (rpg_objects.js:8832)

when i leave the map and try to use the tile again it does not show up
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
38,483
Reaction score
10,904
First Language
German
Primarily Uses
RMMV
"of undefined" means that the engine is given a reference to a data object that does not exist.
please post screenshots of your plugin manager so that we can check versions and incompatible plugins and so on.

also please a screenshot of the common event you call in the event above.
 

Zuque

Villager
Member
Joined
Dec 27, 2018
Messages
29
Reaction score
2
First Language
Bulgarian
Primarily Uses
RMMV
"of undefined" means that the engine is given a reference to a data object that does not exist.
please post screenshots of your plugin manager so that we can check versions and incompatible plugins and so on.

also please a screenshot of the common event you call in the event above.
Plugin Manager.PNG
and
Event causing prob.PNG
Should note that the error only happens if i pick Plant a seed and after i select item.
 

Latest Threads

Latest Profile Posts

Halp, gaemake motivation sinking!!
Gotta love those BPD mood swings. At least the swing was up this time LOL
Join me and the dudes when we reviews yet another game on the Rarely Typical Players Podcast in one hour!

Try new Slash builds with the 20 updated Spearmaiden abilities in the new update!

Forum statistics

Threads
131,716
Messages
1,222,520
Members
173,460
Latest member
Khatsuya_Sorn
Top