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,504
Reaction score
10,922
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,332
Reaction score
714
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,504
Reaction score
10,922
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

Dial_000_f002_show.jpg
Wohoo, its finished. It took some time but slowly I get used to this retro 90s anime style.
Now I just have to finish the other 37 frames. for the first dialogue... oh lord, what have I done :LZSlol:
(and if you are confused: yes, I place various eastereggs about other great cyberpunk games/videos/books that I like in my game ;) )
Has anyone watched the movie "Tiny Toons: How I Spent My Summer Vacation"? It is a cartoon and it is freaking hilarious. We watched that movie so many times when our kids were growing up. Thankfully it has a lot of adult humor to keep the adults entertained that the kids don't really get.
Here's some more weapon icons for the Wastes I've finished recently. Some are mine, some are icons that @Ninjakillzu originally made (the AK variants, the Thompson, the Glock, the M16 variants), but edited by me with permission.
1686428693206.png1686428742838.png
Still working on balance issues for my almost-out Cube Trail demo... Boss balance is no joke.
Did i create a damage calculation for consecutive skill use per actor that I may not even use? Yes. Do I have regrets spending so long on it? Also yes.

Forum statistics

Threads
131,777
Messages
1,223,287
Members
173,554
Latest member
chos
Top