Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Javieracost opened this issue Apr 13, 2016 · 14 comments
Open
Labels

Comments

@Javieracost
Copy link

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
Copy link
Collaborator

dmarszk commented Apr 13, 2016

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

@dmarszk dmarszk added the bug label Apr 13, 2016
@dmarszk dmarszk changed the title Using TA with DX5 crashes the tibia client Using TA with Tibia using DX5 or OGL renderer crashes the tibia client Apr 13, 2016
@dmarszk
Copy link
Collaborator

dmarszk commented Apr 13, 2016

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

@dmarszk
Copy link
Collaborator

dmarszk commented Apr 13, 2016

0e78afa
This took too much effort.

@dmarszk dmarszk closed this as completed Apr 13, 2016
@dmarszk
Copy link
Collaborator

dmarszk commented Apr 13, 2016

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

@dmarszk dmarszk reopened this Apr 13, 2016
@Javieracost
Copy link
Author

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

@dmarszk
Copy link
Collaborator

dmarszk commented Apr 13, 2016

91f2405
Heh.

@dmarszk dmarszk closed this as completed Apr 13, 2016
@felipetnh
Copy link

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
Copy link
Owner

Wisling commented Apr 18, 2016

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

@dmarszk
Copy link
Collaborator

dmarszk commented Apr 18, 2016

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
#24 (comment)

@Javieracost
Copy link
Author

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
Copy link
Owner

Wisling commented Apr 19, 2016

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

@Wisling Wisling reopened this Apr 19, 2016
@dmarszk
Copy link
Collaborator

dmarszk commented Apr 19, 2016

Does Ctrl+N change anything then?

@RickyyF
Copy link

RickyyF commented Apr 20, 2016

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
Copy link
Collaborator

dmarszk commented Apr 20, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants