otclient icon indicating copy to clipboard operation
otclient copied to clipboard

Crashing sometimes when I'm attacking

Open Riverlance opened this issue 14 years ago • 6 comments

== 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

Riverlance avatar Oct 25 '12 08:10 Riverlance

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

Riverlance avatar Oct 25 '12 10:10 Riverlance

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.

edubart avatar Oct 25 '12 22:10 edubart

Ok, I will try. Thanks.

Riverlance avatar Oct 26 '12 01:10 Riverlance

== 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

Riverlance avatar Oct 27 '12 03:10 Riverlance

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.

edubart avatar Oct 27 '12 18:10 edubart

I found the bug and I fixed it! Thank you so much! :+1:

God bless you, guy! :D

Riverlance avatar Oct 28 '12 11:10 Riverlance