Comments (5)
Any game that auto detect as directx 11 i'm getting this exception:
System.IndexOutOfRangeException was caught
HResult=-2146233080
Message=Index was outside the bounds of the array.
Source=Capture
StackTrace:
at Capture.Hook.DX11.DXFont.GetCharRect(Char c) in c:\Temp\hook\Direct3DHook-master\Capture\Hook\DX11\DXFont.cs:line 251
at Capture.Hook.DX11.DXSprite.DrawString(Int32 X, Int32 Y, String text, Int32 R, Int32 G, Int32 B, Int32 A, DXFont F) in c:\Temp\hook\Direct3DHook-master\Capture\Hook\DX11\DXSprite.cs:line 258
at Capture.Hook.DX11.DXOverlayEngine.Draw() in c:\Temp\hook\Direct3DHook-master\Capture\Hook\DX11\DXOverlayEngine.cs:line 145
at Capture.Hook.DXHookD3D11.PresentHook(IntPtr swapChainPtr, Int32 syncInterval, PresentFlags flags) in c:\Temp\hook\Direct3DHook-master\Capture\Hook\DXHookD3D11.cs:line 384
InnerException:
I didn't change anything but still every game that use directx 11 give this exception.
from direct3dhook.
Sounds like it is trying to draw a character that it hasn't prepared...
On Wednesday, 6 May 2015, Csharper1972 [email protected] wrote:
Any game that auto detect as directx 11 i'm getting this exception:
System.IndexOutOfRangeException was caught
HResult=-2146233080
Message=Index was outside the bounds of the array.
Source=Capture
StackTrace:
at Capture.Hook.DX11.DXFont.GetCharRect(Char c) in
c:\Temp\hook\Direct3DHook-master\Capture\Hook\DX11\DXFont.cs:line 251
at Capture.Hook.DX11.DXSprite.DrawString(Int32 X, Int32 Y, String text,
Int32 R, Int32 G, Int32 B, Int32 A, DXFont F) in
c:\Temp\hook\Direct3DHook-master\Capture\Hook\DX11\DXSprite.cs:line 258
at Capture.Hook.DX11.DXOverlayEngine.Draw() in
c:\Temp\hook\Direct3DHook-master\Capture\Hook\DX11\DXOverlayEngine.cs:line
145
at Capture.Hook.DXHookD3D11.PresentHook(IntPtr swapChainPtr, Int32
syncInterval, PresentFlags flags) in
c:\Temp\hook\Direct3DHook-master\Capture\Hook\DXHookD3D11.cs:line 384
InnerException:I didn't change anything but still every game that use directx 11 give
this exception.β
Reply to this email directly or view it on GitHub
#24 (comment)
.
from direct3dhook.
Strange, not my character since i didn't change anything or added anything.
If you a solution for that a code with a solution please inform me. Thank you.
from direct3dhook.
I suggest you attach the debugger to the target, and then run your host to
inject the assembly.
You should get a break on the exception, or otherwise work on getting a
breakpoint in there.
I haven't personally had this exception happen, but it sounds like it is
trying to find the character (whatever it is) and isn't finding it. This
could be an issue with locale or anything, I don't know, depends what is
trying to render text.
Regards,
Justin
On Thu, May 7, 2015 at 2:16 AM, Csharper1972 [email protected]
wrote:
Strange, not my character since i didn't change anything or added anything.
If you a solution for that a code with a solution please inform me. Thank
you.β
Reply to this email directly or view it on GitHub
#24 (comment)
.
from direct3dhook.
Duplicate #26
from direct3dhook.
Related Issues (20)
- Attempt to update image element every frame in d3d11? HOT 4
- Memory leak in hooked application HOT 7
- Question: Interactive UI Overlay HOT 2
- Strange exception HOT 1
- Failed injection in League of Legends HOT 9
- Error in InitialiseHook: System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. HOT 1
- can I use this for simulate dirext input for games?
- Π‘hange of path *.dll
- cann't inject wow,error code:93913088 HOT 1
- Screenshot background window HOT 3
- Black screen when capturing from multiple clients HOT 8
- Captures Complete but Do Not Display, Overlay Does Not Display
- Region settings not correct. HOT 1
- Memory leak on screenshot HOT 5
- Memory leak on image draw HOT 2
- I need some help HOT 31
- Memory leak after unreasonable ammount of DrawOverlayInGame calls and large ImageElement HOT 7
- When creating an ImageElement with the "Bitmap bitmap" override, DXHookD3D11 throws an exception HOT 1
- What is CaptureInterface.StartRecording()? HOT 1
- Memory leakage HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from direct3dhook.