cursey / kanan

Mods for Mabinogi using Javascript
The Unlicense
57 stars 30 forks source link

Game does not open #87

Closed inklit closed 8 years ago

inklit commented 8 years ago

I'm using Kanan Autostart.bat and it successfully starts the Mabinogi client, the Nexon Game Shield showed up, and then it got stuck at Running coalesced script...

The Client.exe process stays open in the background, but it never actually opens.

It works in Debug mode, not entirely sure why it doesn't work normally.

Normal output

Kanan's Mabinogi Mod
Starting Client.exe...
Waiting for Client.exe...
Attached to Client.exe...
Running scripts...
Coalescing AlwaysTransCollectMode.js
Coalescing BitmapFont.js
Coalescing ChatAllowSameMsg.js
Coalescing ChatNoRateLimit.js
Coalescing ChatToMiniGamers.js
Coalescing ClientSideDevCat.js
Coalescing ColorAltText.js
Running DisableNagle.js
Running DllLoader.js
Coalescing DontTargetNPCs.js
Coalescing DungeonMapResize.js
Coalescing ElfLagFix.js
Coalescing EnableFSAA.js
Coalescing EnableInterfaceWhileDead.js
Coalescing FarAltText.js
Coalescing FighterNoForce.js
Coalescing FreeIndoorCamera.js
Coalescing FreezeTimeOfDay.js
Coalescing FreeZoom.js
Coalescing HideNPCCurtains.js
Coalescing HotkeyAnyItem.js
Coalescing IgnoreTranslucency.js
Coalescing LogOutInConversation.js
Coalescing ManaTunnelLagFix.js
Coalescing MiniTitleMenu.js
Coalescing MinuteClock.js
Coalescing MoveToSameChannel.js
Coalescing MuteCommerceImp.js
Coalescing NoChannelMoveDenial.js
Coalescing NoChannelMoveDescription.js
Coalescing NoLogoutPenaltyMsg.js
Coalescing NoPersonalShopCreationMsg.js
Coalescing NoPlayerZoomTransparency.js
Coalescing NoSkillRankUpWindow.js
Coalescing NPCFastText.js
Coalescing OneClickRevive.js
Running PartyChatMarketFilter.js
Coalescing RangedAttackSwap.js
Coalescing RemoveDungeonFog.js
Coalescing RemoveScreenShake.js
Coalescing RenderDistance.js
Coalescing SecondTimer.js
Running ShowCombatPower.js
Coalescing ShowDeadlyHP.js
Coalescing ShowItemTradePrice.js
Coalescing UncapAutoProduction.js
Running UseDataFolder.js
Coalescing ViewNPCEquipment.js
Coalescing WindowsAppearFaster.js
Coalescing ZeroFogDistance.js
Running coalesced script...
Retrying...

Debug output

Kanan's Mabinogi Mod
Waiting for Client.exe...
Attached to Client.exe...
Running scripts...
Running AlwaysTransCollectMode.js
03:34:58 AlwaysTransCollectMode.js: 0x15c9a60
Running BitmapFont.js
03:34:58 BitmapFont.js: 0xf564bf
03:34:58 BitmapFont.js: 0x10ad140
03:34:59 BitmapFont.js: 0x101ac83
03:34:59 BitmapFont.js: 0xf8ec83
Running ChatAllowSameMsg.js
03:34:59 ChatAllowSameMsg.js: 0x1287fee
03:34:59 ChatAllowSameMsg.js: 0x1288185
Running ChatNoRateLimit.js
03:34:59 ChatNoRateLimit.js: 0x1287da9
Running ChatToMiniGamers.js
03:34:59 ChatToMiniGamers.js: 0x2083e4c
Running ClientSideDevCat.js
03:34:59 ClientSideDevCat.js: 0x9e8ecc
Running ColorAltText.js
03:34:59 ColorAltText.js: 0x1089cdc
Running DisableNagle.js
03:34:59 DisableNagle.js: 0x22f2918
Running DllLoader.js
Running DontTargetNPCs.js
03:34:59 DontTargetNPCs.js: 0x190ce23
Running DungeonMapResize.js
03:34:59 DungeonMapResize.js: 0x12a1772
03:34:59 DungeonMapResize.js: 0x12a2a73
Running ElfLagFix.js
03:35:00 ElfLagFix.js: 0xa37aaf
Running EnableFSAA.js
03:35:00 EnableFSAA.js: 0x13c659c
Running EnableInterfaceWhileDead.js
03:35:00 EnableInterfaceWhileDead.js: 0x1129e4e
Running FarAltText.js
03:35:00 FarAltText.js: 0x1ecd25f
Running FighterNoForce.js
03:35:00 FighterNoForce.js: More than 1 result for: 83 79 44 01 75 09 6A 00 6A 0
0 E8
03:35:00 FighterNoForce.js: 0x101fa99
Running FreeIndoorCamera.js
03:35:00 FreeIndoorCamera.js: 0x15ccfda
Running FreezeTimeOfDay.js
03:35:00 FreezeTimeOfDay.js: 0xf30060
Running FreeZoom.js
03:35:00 FreeZoom.js: 0xe2bd01
Running HideNPCCurtains.js
03:35:00 HideNPCCurtains.js: 0x10b9c20
Running HotkeyAnyItem.js
03:35:00 HotkeyAnyItem.js: 0x11166d0
Running IgnoreTranslucency.js
03:35:00 IgnoreTranslucency.js: 0xe69299
Running LogOutInConversation.js
03:35:01 LogOutInConversation.js: 0x165836f
Running ManaTunnelLagFix.js
03:35:01 ManaTunnelLagFix.js: 0x2b340a8
Running MiniTitleMenu.js
03:35:01 MiniTitleMenu.js: 0x11ca621
Running MinuteClock.js
03:35:01 MinuteClock.js: 0x202a9cb
03:35:01 MinuteClock.js: 0x202a8bc
Running MoveToSameChannel.js
03:35:01 MoveToSameChannel.js: 0x1318986
Running MuteCommerceImp.js
03:35:01 MuteCommerceImp.js: 0x162a489
Running NoChannelMoveDenial.js
03:35:01 NoChannelMoveDenial.js: 0x10fe926
Running NoChannelMoveDescription.js
03:35:01 NoChannelMoveDescription.js: 0x1319865
Running NoLogoutPenaltyMsg.js
03:35:01 NoLogoutPenaltyMsg.js: 0x10fa00a
Running NoPersonalShopCreationMsg.js
03:35:01 NoPersonalShopCreationMsg.js: 0x16556fc
Running NoPlayerZoomTransparency.js
03:35:02 NoPlayerZoomTransparency.js: 0xfd78f3
03:35:02 NoPlayerZoomTransparency.js: 0xfa6885
Running NoSkillRankUpWindow.js
03:35:02 NoSkillRankUpWindow.js: More than 1 result for: 8b f0 33 db 3b f3 75 16
 32 c0
03:35:02 NoSkillRankUpWindow.js: 0x14f88d9
03:35:02 NoSkillRankUpWindow.js: More than 1 result for: e8 ?? ?? ?? ?? 85 c0 0f
 84 ?? ?? ?? ?? 8b 10 8b 35
03:35:02 NoSkillRankUpWindow.js: 0x11a2ada
Running NPCFastText.js
03:35:02 NPCFastText.js: 0x115ffb6
Running OneClickRevive.js
03:35:02 OneClickRevive.js: 0x120740a
Running PartyChatMarketFilter.js
03:35:02 PartyChatMarketFilter.js: 0x17238a6
Running RangedAttackSwap.js
03:35:02 RangedAttackSwap.js: 0xa37bbe
Running RemoveDungeonFog.js
03:35:02 RemoveDungeonFog.js: 0xb091c0
Running RemoveScreenShake.js
03:35:02 RemoveScreenShake.js: 0xd87404
Running RenderDistance.js
03:35:03 RenderDistance.js: 0xf4904c
03:35:03 RenderDistance.js: 0x1f7a0000
Running SecondTimer.js
03:35:03 SecondTimer.js: 0x1244507
03:35:03 SecondTimer.js: 0x1244025
03:35:03 SecondTimer.js: 0x12441ff
03:35:03 SecondTimer.js: 0x1244210
Running ShowCombatPower.js
03:35:03 ShowCombatPower.js: 0x1089db3
03:35:03 ShowCombatPower.js: 0x146318d
03:35:03 ShowCombatPower.js: 0x14631bf
03:35:03 ShowCombatPower.js: 0x14631eb
03:35:03 ShowCombatPower.js: 0x1463140
Running ShowDeadlyHP.js
03:35:03 ShowDeadlyHP.js: 0x10e1d78
03:35:03 ShowDeadlyHP.js: 0x224abf7
03:35:03 ShowDeadlyHP.js: 0x22a8bbb
03:35:04 ShowDeadlyHP.js: 0x10e1d70
03:35:04 ShowDeadlyHP.js: 0x224abef
03:35:04 ShowDeadlyHP.js: 0x22a8ba5
Running ShowItemTradePrice.js
03:35:04 ShowItemTradePrice.js: 0x1174d29
Running UncapAutoProduction.js
03:35:04 UncapAutoProduction.js: More than 1 result for: 66 39 86 ?? ?? ?? ?? 76
 07 66
03:35:04 UncapAutoProduction.js: 0x12eeac3
03:35:04 UncapAutoProduction.js: 0x1ec507b
Running UseDataFolder.js
03:35:04 UseDataFolder.js: 0x477520
03:35:04 UseDataFolder.js: 0x475ff2
03:35:04 UseDataFolder.js: Called CFileSystem::SetLookUpOrder
Running ViewNPCEquipment.js
03:35:04 ViewNPCEquipment.js: 0x1469497
Running WindowsAppearFaster.js
03:35:04 WindowsAppearFaster.js: 0x103f06d
03:35:04 WindowsAppearFaster.js: 0x112cae9
Running ZeroFogDistance.js
03:35:04 ZeroFogDistance.js: More than 1 result for: D9 45 14 5D C2 10
03:35:04 ZeroFogDistance.js: 0xf52ac4
03:35:05 ZeroFogDistance.js: 0xf52b14
Running delayed scripts...
Running BorderlessWindowedMode.js
03:35:05 BorderlessWindowedMode.js: Mabinogi window: 0x11031a
Running EnableMultiClient.js
03:35:06 EnableMultiClient.js: 0x4309c8
03:35:07 EnableMultiClient.js: Mutex close success!
Running SkipGraphicsCardMsg.js
03:35:07 SkipGraphicsCardMsg.js: 0x431840
All done!
ghost commented 8 years ago

Are you using Abyss, too? Adding abyss seems to prevent kanan from working in normal mode (lol).

cursey commented 8 years ago

This happens very occasionally to me as well and I think it may be UseDataFolder.js being ran at an inappropriate time during Mabi's startup. This is just a guess though, but because not coalescing the scripts (as in debug mode) means they all run slower (because they are ran sequentially not in parallel), it may give more time for Mabi to startup before finally running UseDataFolder.js.

If this happens very regularly for you, could you try adding UseDataFolder.js to delayed.txt and see if it works then without debug mode?

inklit commented 8 years ago

@QewQew I'm not using Abyss, no. @cursey It happens 100% of the time, I'll try that suggestion and get back to you in a few hours.

inklit commented 8 years ago

Adding UseDataFolder.js to delayed.txt definitely fixes it.

cursey commented 8 years ago

Alright I've made it delayed by default for now. I may revisit this in the future and fix it more properly.