YimMenu-Lua / RandomEvents

A Lua script for YimMenu about Random Events.
18 stars 1 forks source link

LUA Script not registered. #7

Closed XPCOLLECTOR closed 2 months ago

XPCOLLECTOR commented 2 months ago

When Trying to launch Ramdom_events .lua, the following error message occurs: [19:42:54.0896685][FATAL/lua_manager.cpp:397] random_events.lua: ...\gurpr\AppData\Roaming\YimMenu\scripts\random_events.lua:280: attempt to call a nil value (field 'is_active') stack traceback: ...\gurpr\AppData\Roaming\YimMenu\scripts\random_events.lua:280: in upvalue 'REGISTER_MAX_VARIATIONS' ...\gurpr\AppData\Roaming\YimMenu\scripts\random_events.lua:640: in function <...\gurpr\AppData\Roaming\YimMenu\scripts\random_events.lua:638>

ShinyWasabi commented 2 months ago

You are probably using an old version of YimMenu. Download the latest release.

DigitalDonutt commented 2 months ago

I am also having this issue, I downloaded today and its not functioning.

ShinyWasabi commented 2 months ago

Can you send me your complete log file?

DigitalDonutt commented 2 months ago

[16:22:29.5836146]16:22:29.5836047][31m[FATAL/lua_manager.cppFATAL/lua_module.cpp:80:397] random_events.lua: ...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:283: attempt to index a nil value (global 'scr_function') stack traceback: ...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:283: in upvalue 'REGISTER_MAX_VARIATIONS' ...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:640: in function <...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:638> ] ...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:283: attempt to index a nil value (global 'scr_function') stack traceback: ...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:283: in upvalue 'REGISTER_MAX_VARIATIONS' ...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:640: in function <...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:638>

DigitalDonutt commented 2 months ago

[16:22:16.7114693][FATAL/lua_module.cpp:80] ...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:710: attempt to concatenate a nil value (field '?') stack traceback: ...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:710: in function <...\user\AppData\Roaming\YimMenu\scripts\random_events.lua:677>

ShinyWasabi commented 2 months ago

I told you to send me your full log file... It's the cout.log file in the YimMenu appdata folder. Also, from what I see in the error message, you are definitely using an old version of YimMenu. We added the scr_function class 2 weeks ago.

DigitalDonutt commented 2 months ago

I will warn you it is quite long, I have tried only enabling it by its self and with other scripts. I downloaded it yesterday and I don't know what happened but the script is throwing errors, Thousands of errors as you will see from the log.

cout.log

ShinyWasabi commented 2 months ago

Well, look at this date dummy:

    Branch: master
    Hash:   b92a41bd8438026a591b4efdedf9ac4597278f76
    Date:   Fri Aug 2 10:09:26 2024

You are using a YimMenu version almost 1 month old. This makes your issue invalid. Download the latest one from here: https://github.com/YimMenu/YimMenu/releases/tag/nightly

DigitalDonutt commented 2 months ago

I was wrong, Thank you for assisting. I am a very new to the world of having a menu. I appreciate it.