I altered the mod to remove your achievement restriction. Don't white-knight and try to restrict players games because you have some righteous sense of what's just.
here's how i did it; in mod.txt "hooks": [ { "hook_id": "lib/managers/group_ai_states/groupaistatebase", "script_path": "automark_all.lua" }, { "hook_id": "lib/managers/achievmentmanager", "script_path": "achievmentmanager.lua" }, { "hook_id": "lib/setups/gamesetup", "script_path": "automark_all.lua" } to"hooks": [ { "hook_id": "lib/managers/group_ai_states/groupaistatebase", "script_path": "automark_all.lua" }, { "hook_id": "lib/setups/gamesetup", "script_path": "automark_all.lua" } In automark_all.lua delete this bit if LuaNetworking:IsHost() then if managers and managers.achievment then managers.achievment:set_achievements_disabled(false) end end and finally, delete achievmentmanager.lua
IDK if every step is necessary but after 2 weeks of this bullshit i wanted to be thorough.
3 comments
in mod.txt
"hooks": [
to{
"hook_id": "lib/managers/group_ai_states/groupaistatebase",
"script_path": "automark_all.lua"
},
{
"hook_id": "lib/managers/achievmentmanager",
"script_path": "achievmentmanager.lua"
},
{
"hook_id": "lib/setups/gamesetup",
"script_path": "automark_all.lua"
}
"hooks": [
In automark_all.lua delete this bit{
"hook_id": "lib/managers/group_ai_states/groupaistatebase",
"script_path": "automark_all.lua"
},
{
"hook_id": "lib/setups/gamesetup",
"script_path": "automark_all.lua"
}
if LuaNetworking:IsHost() then
and finally, delete achievmentmanager.luaif managers and managers.achievment then
managers.achievment:set_achievements_disabled(false)
end
end
IDK if every step is necessary but after 2 weeks of this bullshit i wanted to be thorough.