otclient icon indicating copy to clipboard operation
otclient copied to clipboard

[Crash] Animations of the creatures (not the idle)

Open Riverlance opened this issue 9 years ago • 7 comments

I tested ALL OUTFITS and the only ones that is bugged is these outfit client ids:

[24] E.g., Minotaur Archer [81] E.g., Cobra [274] E.g., Squirrel

Proof on latest TFS+OTClient (on this picture, all of the are looking to the north):

image

This is also bugged on latest RME (on this picture, all of the are looking to the north):

image

Important: If you try to move these outfits, the client will crash. But I debugged it with Visual Studio as @conde2 recommended once, and it gets this error:

image

image

'otclient.exe' (Win32): Loaded 'C:\kingdom-age-client\otclient.exe'. Symbols loaded. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\kingdom-age-client\glew32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\kingdom-age-client\zlib.dll'. Module was built without symbols. 'otclient.exe' (Win32): Loaded 'C:\kingdom-age-client\openal32.dll'. Module was built without symbols. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dbghelp.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ddraw.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mswsock.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dciman32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\userenv.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ig7icd32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\igdusc32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wtsapi32.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\clbcatq.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\propsys.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dsound.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'D:\Program Files#\Macro ToolsWorks_aodll.dll'. Module was built without symbols. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\AudioSes.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'D:\Program Files#\Macro ToolsWorks_apmousedll.dll'. Module was built without symbols. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dnsapi.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rasadhlp.dll'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\FWPUCLNT.DLL'. Cannot find or open the PDB file. 'otclient.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'. Cannot find or open the PDB file. The thread 0xe8 has exited with code 0 (0x0). Unhandled exception at 0x772B91CB (ucrtbase.dll) in otclient.exe: Fatal program exit requested.

NOTE: I opened the otclient.log, but I found nothing useful.

Riverlance avatar Jan 28 '17 16:01 Riverlance

There is any workaround for this issue?

gexarthas avatar Mar 01 '17 13:03 gexarthas

This is still bugged. I didn't understand why this issue was closed.

Riverlance avatar Apr 28 '17 01:04 Riverlance

I did close it due to lack of description of what is actually going on here. Not to mention the lack of steps to reproduce.

iryont avatar Apr 28 '17 12:04 iryont

What? lol I explained everything.

Just log in on your server and summon / create any of the 3 creatures I mentioned. If it's looking to the north, the outfit will be bugged as showed on the picture. If the creature walk on your screen, it will crash the client and get an error. I tried to debug with MSVC and showed the log I got.

Also, the bug happens on remeres map editor. And they did not fixed it too. You can easily see that only these 3 creatures are bugged, on RME. But I tested one by one by creating them on server and confirmed it.

That's it. Wish you understand now.

Riverlance avatar Apr 29 '17 17:04 Riverlance

It looks more like a damaged dat file or some unknown properties rather than anything else. That is considering the fact that the rest outfits, as you claim, appear to work just fine.

Anyway, the simplest way to track down the issue would be to open spr/dat within your objects editor and check what is the difference between those outfits and the other ones which appear to work just fine. At first glance it looks like the game client thinks that the size of those outfits is 64x64 (width = height = 2) while in fact it should be 32x32 (width = height = 1).

iryont avatar Apr 29 '17 17:04 iryont

@iryont Thanks alot. That fixed successful. The error was that on these 3 outfits, when on group 1 it had width==1 and height==1, but when on group 2 it had width==2 and height==2. So the fix was just to set the group 1 as width==2, heigth==2 and updating the correct sprites of idle animation. You can close it now. Again, thanks! :)

Riverlance avatar Apr 29 '17 18:04 Riverlance

Lovely :)

iryont avatar Apr 29 '17 20:04 iryont