ZhengPeiRu21 / mod-individual-progression

AzerothCore Individual Progression Module
MIT License
112 stars 51 forks source link

Can't install module anymore #288

Closed Purple-23 closed 3 months ago

Purple-23 commented 3 months ago

I successfully installed the module yesterday, but now there is a NAXX script error that is preventing the world server from launching:

Exception code: C0000005 ACCESS_VIOLATION Fault address: 00007FF78EC02502 01:0000000000081502 C:\Azerothcore - Build\bin\RelWithDebInfo\worldserver.exe

Call stack: Address Frame Function SourceFile 00007FF78EC02502 0000008F92766840 spell_gluth_decimate::Register+C2 C:\AzerothCore\modules\mod-individual-progression\src\naxx40Scripts\boss_gluth_40.cpp line 279 00007FF78F4288B3 0000008F92766870 _SpellScript::_Register+13 C:\AzerothCore\src\server\game\Spells\SpellScript.cpp line 49 00007FF78F1A1612 0000008F92766A50 ScriptRegistry::AddALScripts+82 C:\AzerothCore\src\server\game\Scripting\ScriptMgr.h line 772 00007FF78F1A6518 0000008F92766B50 ScriptMgr::LoadDatabase+58 C:\AzerothCore\src\server\game\Scripting\ScriptMgr.cpp line 178 00007FF78F1723FE 0000008F9276F280 World::SetInitialWorldSettings+959E C:\AzerothCore\src\server\game\World\World.cpp line 2024 00007FF78EBD4E32 0000008F9276F8E0 main+1B02 C:\AzerothCore\src\server\apps\worldserver\Main.cpp line 310 00007FF78FD4DC20 0000008F9276F920 __scrt_common_main_seh+10C D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl line 288 00007FFEF0B4257D 0000008F9276F950 BaseThreadInitThunk+1D 00007FFEF1CAAF28 0000008F9276F9D0 RtlUserThreadStart+28

ZhengPeiRu21 commented 3 months ago

Would you please test if https://github.com/ZhengPeiRu21/mod-individual-progression/commit/830574a1367680cb0568378c2e7a3d27d66ac650 fixed the problem?

Grimfeather commented 3 months ago

I just compiled the latest version. I'm also having issues.

worldserver fails to launch.

ZhengPeiRu21 commented 3 months ago

Interesting. I'm unable to reproduce the issue with a fresh build. Did you re-run CMAKE before compiling?

Grimfeather commented 3 months ago

Interesting. I'm unable to reproduce the issue with a fresh build. Did you re-run CMAKE before compiling?

yes i did

Purple-23 commented 3 months ago

I tried using this latest version and still the same issue; world server will not start. In the interim, I am using a version from 3 days ago. Works great but would prefer the most up-to-date.

ZhengPeiRu21 commented 3 months ago

For those having problems, are you using the NPCbots branch of AzerothCore? I believe it may be out of date with some of the most recent changes regarding spellscripts, which is causing the issue. You may need to merge it with the current AzerothCore master for it to work.

Grimfeather commented 3 months ago

yes, I am using the NPCbots branch.

I created a new fork to be able to merge the master into AzerothCore-wotlk-with-NPCBots https://github.com/Grimfeather/AzerothCore-wotlk-with-NPCBots

I'll compile it again with this new fork I created.

edit: You were correct. That fixed it. worldserver starts up again, no errors, no crashes.

Purple-23 commented 3 months ago

Yeah, I am also using NPCbots branch. I will wait for it to update on Saturday. Thank you for all your work on the indiv progression module and figuring out this issue!

Purple-23 commented 3 months ago

Feel free to close. The latest updates to npcbots fixed this