Reply To: Mafia 3 Modding (Mega Thread)

Download Mods for the Mafia Games Forums Mod Creation Mafia 3 Modding (Mega Thread) Reply To: Mafia 3 Modding (Mega Thread)

#162939
herby4
Participant

First of all: Thank you for your hard work on this!

Sadly this version crashes the game when I run it. The previous version worked like a charm.

Here’s the ScriptHook log:

M3ScriptHook::M3ScriptHook
PluginSystem::LoadPlugins
PluginSystem::LoadPlugins loaded plugin ExampleDLLPlugin.dll
M3ScriptHook::StartThreads
LuaStateManager::StartThread
M3ScriptHook::mainThread
LuaFunctions::LuaFunctions
LuaFunctions::LuaFunctions Game is not ready, script engine not initialized, retry
LuaFunctions::LoadPointers
m_pMainGameScriptMachine (7ff6f19b41b8)
lua_pcall2 (7ff6efef3100)
lua_tostring (7ff6ec5bb2d0)
lua_isstring (7ff6ef00e7f5)
lua_isstring (7ff6ef00e7f5)
luaL_loadbuffer (7ff6eff51b93)
plua_loadBuffer (7ff6efefd370)
lua_newthread (7ff6efef2d30)
lua_pushcclosure (7ff6efef51d0)
lua_setfield (7ff6ec5bb090)
LuaStateManager::StateChanged
LuaFunctions::Setup