Crashing sometimes when I'm attacking
== application crashed app name: OTClient app version: 0.5.2_dev build compiler: gcc 4.7.0 build date: Aug 23 2012 build type: Release build revision: 1542 (e25bd7f) crash date: Oct 25 2012 06:34:17 exception: Access violation (0xc0000005) exception address: 0x004b7e68 backtrace: 0: C:\Documents and Settings\River\Meus documentos\Downloads\edubart-otclient-f491bf2\edubart-otclient-f491bf2\otclient_dx9.exe [0x004B7E68]
Server Version: 8.70/8.71
This happens sometimes when I am attacking any creature. Proof: http://i47.tinypic.com/1zlr7le.png
I think is this error:
ERROR: lua function callback failed: LUA ERROR: ..._skins/skins/default/styles/labels.otui:37[@onSetup]:8: attempt to call method 'getWalkPing' (a nil value) stack traceback: [C]: in function 'getWalkPing' ..._skins/skins/default/styles/labels.otui:37[@onSetup]:8: in function <..._skins/skins/default/styles/labels.otui:37[@onSetup]:2>
Here is my labels.otui: http://sync.in/QCaqoDDKLR
app version: 0.5.2_dev
build date: Aug 23 2012
Version too old, try the latest and without modifications. Also lua errors doesn't make the client crash. And as you used otclient_dx9.exe I guess that this could be related to your dx9 graphics driver, try to run otclient.exe instead.
Ok, I will try. Thanks.
== application crashed app name: OTClient app version: 0.5.5 build compiler: gcc 4.7.0 build date: Oct 24 2012 build type: Release build revision: 1656 (d4370e7) crash date: Oct 27 2012 01:25:30 exception: Access violation (0xc0000005) exception address: 0x004b9b08 backtrace: 0: C:\Documents and Settings\River\Meus documentos\Downloads\otclient-win32-0.5.5\otclient-win32-0.5.5\otclient.exe [0x004B9B08]
Same error. ://
Proof: http://oi45.tinypic.com/2myca4k.jpg
You didn't test with the tibia sprites, 0x004B9B08 is the address ThingType::draw functions, the only reason to crash there is because of malformed .dat and .spr. The problem is not in otclient.
I found the bug and I fixed it! Thank you so much! :+1:
God bless you, guy! :D