Wisling / tibiaauto

Tibia Auto is made to excel in the automation of various aspects of the playing the MMORPG Tibia
31 stars 17 forks source link

Using TA with Tibia using DX5 or OGL renderer crashes the tibia client #24

Open Javieracost opened 8 years ago

Javieracost commented 8 years ago

Since the latest release (2.64.2 for version 10.92) injecting TA in a client using the directx 5 engine crashes the tibia client upon login, or instantly if theres a character already connected. This happens every time, and on different systems.

Following is the exception text displayed on the next client start


+---------------------------------------------------------------
Debug Assertion 10.92 NWin32Exception.cpp 55
Wed Apr 13 14:08:58 2016
Graphic Engine: DirectX5 (0)
Operating System: Windows 7 Home Basic Edition 32 Bit in VEN
Processor: Intel CORE I3-2
Video Card: VIRTUALBO
Last Packet Types: 030 161 160 245 183 184 144 146 147 158
Last Packet: 030 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
Player Position: [32343,32219,7]
Player Name: <irrelevant>
Player Action: 048 046 048 046 048 046 048 058 055 049 055 049
Player.cpp 344: exception occurred, reason:
Player.cpp 448: exception occurred, reason:
Control.cpp 1742: exception occurred (MaW: 29AA580 MoW: 0 ), reason:
Control.cpp 539: exception occurred (Force?1:0 = 0), reason:
MainWindow.cpp 133: exception occurred (Surface = 1), reason:
GUI.cpp 1822: exception occurred (Surface = 1), reason:
MapWindow.cpp 985: exception occurred (Surface = 1), reason:
MapWindow.cpp 906: exception occurred, reason:
surfaceDX9.cpp 702: exception occurred, reason:
surfaceDX9.cpp 448: exception occurred, reason:
NWin32Exception.cpp 55: win32 exception occurred, reason:
access violation (read attempt at 00000140)
----------------------------------------------------------------
dmarszk commented 8 years ago

It doesn't work for OGL too. I'm on it.

dmarszk commented 8 years ago

The culprit is, as suspected, drawRect and drawBlackRect hooking.

dmarszk commented 8 years ago

0e78afac416a718e3f067f8b9909ade96205a396 This took too much effort.

dmarszk commented 8 years ago

Damn, my PC is teasing with me, obviously. I swear it worked for a while...

Javieracost commented 8 years ago

Nevertheless, its impressive that you know your way around such low level programming! Keep it up (:

dmarszk commented 8 years ago

91f2405374065265c8030dccc31b812be132b74d Heh.

felipetnh commented 8 years ago

Why don't you guys make another install file for this new version of TA? There's still people complaining about this problem on the forums. =]

Wisling commented 8 years ago

Yes, I'll make a new release without a mana bar until we can get this fixed.

dmarszk commented 8 years ago

I fixed it 5 days ago in master. ;P

2016-04-18 15:42 GMT+02:00 Wisling notifications@github.com:

Yes, I'll make a new release without a mana bar until we can get this fixed.

— You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub https://github.com/Wisling/tibiaauto/issues/24#issuecomment-211383921

Javieracost commented 8 years ago

Its indeed fixed, my build of 91f2405 is working good. I thought of uploading to the forum but it would have probably been misinterpreted x)

Wisling commented 8 years ago

It looks like there's still a bug with this. Using OpenGL, loading TA removes the health bar(though activating the manabar works nicely)

dmarszk commented 8 years ago

Does Ctrl+N change anything then?

RickyyF commented 8 years ago

Hi Rebell, im getting this same error in win 7 32 bit with dx9 engine, i run both TA and tibia as admin then i log in, and when i press "Ok" in TA the game crashes with that same error mentioned above. I have all dll's instaled, python 2.4.4 etc etc i dont know why i keep getting this error.

dmarszk commented 8 years ago

@RickyyF could you paste a crash report here? I find it hard to believe the error is the same.