for people who are still having trouble with this mod, try this method provided by Actri
Second, in [VIP Dango Ticket] put all sdk.hook() in to a local function hook(), and call hook() once when Masterplayer is not nil (save file loaded). This makes [Skip Intro Logos] work again.
I'll elaborate on how to do this: First, open reframework/autorun/VIP_Dango_Ticket.lua with any text editor search “sdk.hook”, you should see that 4 results pop up, with each of the codes ending like this: return retval; end );
the sdk.hook is the start of the codes, and end ); is the end of it remember that so you copy the codes correctly later now, go to the bottom of the file, copy and paste these codes
local function is_master_player() local player_manager = sdk.get_managed_singleton("snow.player.PlayerManager"); local master_player = player_manager:call("findMasterPlayer"); if master_player ~= nil then return master_player end end
local function hook()
end
local hooked = false
re.on_frame(function()
if (not hooked) and is_master_player() then hook(); hooked = true; end
end)
now, copy the 4 sdk.hook codes and paste them into the empty space between local function hook() and end lastly, search ipairs, change it to pairs instead then you're done, save the file and try it in game this should prevent this mod from loading when its not supposed to, as well as "leaking" onto other scripts thus breaking them
editing this because too much stuff below, after literally nothing changing (no updates for any mods, vortex, etc.) mine decided to start working again after a week and a half. for others who are having issues after tu5, i'd recommend having more patience than I did
I'm not saying that mine not working means that people that say theirs are working are making it up. In fact, I'm glad that the mod is working for some people. It's just that it's dumb to reply to the comments of the people that are having issues with "oh but mine is working." There's no reason to, especially when the user replied to every comment that said they're having issues with the mod after TU5.
@IntegerLimit There is a VERY good reason for people to share if a mod is working in their game, if it's not working in someone else's. It could be indicative that there is a way to get it to work, OR that something is messed up with your install of the game/mod. If anybody reads this, do not be discouraged to add that a mod is working for you. The only thing you could do better is add what mods you're using/if you did something different than a standard install.
Definitely not working. Not even with the fix on page 2.
It worked on a fresh install on first load. Then that was it, never again. Same with Rise Tweaks. First load only, then never again.
Even tried the updated reframe on github, no change between that and the one on nexus.
Dango tickets still taken every eating session and not enabling by default
Edit: Finally fixed it. By A) removing rise tweaks (s#*! wasnt working anyway lol) and B) Renaming this mod to Aa_Modname. Id probably also remove the i from the lua on line 103 like someone said for good measure.
121 comments
https://www.nexusmods.com/monsterhunterrise/mods/2160?tab=description
每次有新玩家进入游戏时,直接在个人群中点餐不会生效。您需要先转到组子菜单。
https://prnt.sc/93bFghw6guLh
- Second, in [VIP Dango Ticket] put all sdk.hook() in to a local function hook(), and call hook() once when Masterplayer is not nil (save file loaded). This makes [Skip Intro Logos] work again.
I'll elaborate on how to do this:
First, open reframework/autorun/VIP_Dango_Ticket.lua with any text editor
search “sdk.hook”, you should see that 4 results pop up, with each of the codes ending like this:
return retval;
end
);
the sdk.hook is the start of the codes, and end ); is the end of it
remember that so you copy the codes correctly later
now, go to the bottom of the file, copy and paste these codes
local function is_master_player()
local player_manager = sdk.get_managed_singleton("snow.player.PlayerManager");
local master_player = player_manager:call("findMasterPlayer");
if master_player ~= nil then
return master_player
end
end
local function hook()
end
local hooked = false
re.on_frame(function()
if (not hooked) and is_master_player() then
hook();
hooked = true;
end
end)
now, copy the 4 sdk.hook codes and paste them into the empty space between local function hook() and end
lastly, search ipairs, change it to pairs instead
then you're done, save the file and try it in game
this should prevent this mod from loading when its not supposed to, as well as "leaking" onto other scripts thus breaking them
Still works on latest update
RIP this mod in TU5, I guessediting this because too much stuff below, after literally nothing changing (no updates for any mods, vortex, etc.) mine decided to start working again after a week and a half. for others who are having issues after tu5, i'd recommend having more patience than I did
It worked on a fresh install on first load. Then that was it, never again. Same with Rise Tweaks. First load only, then never again.
Even tried the updated reframe on github, no change between that and the one on nexus.
Dango tickets still taken every eating session and not enabling by default
Edit: Finally fixed it. By A) removing rise tweaks (s#*! wasnt working anyway lol) and B) Renaming this mod to Aa_Modname. Id probably also remove the i from the lua on line 103 like someone said for good measure.