Closed theobeaudenon closed 9 years ago
Same problem here :(
Hey,
The LolClient is not using DirectX in the first place (I think it's using OpenGL or sth similar). Only the actual LeagueOfLegends.exe process is using DirectX.
Also, you should use the Wrapper this way:
TextLabel label = new TextLabel("arial", 12, TypeFace.NONE, new Point(200, 200), Color.Red, "Hello world", true, true);
Console.WriteLine(label.Id);
Nothing in game
Maybe put space in process name ?
Yea, I missed the spaces.
And also, you could try to call DX9Overlay.Init()
after SetParam
We must start the game first ? or launch after ?
my script must run in administrator mode ?
nothing written in game.
i change the code :
Nothing in game
What's the return value of DX9Overlay.init() ?
Its return 1 when the game is on
I try to call GetFrameRate () in the while but return always 0
Okay, this is strange. GetFrameRate() returns -1 if an error occurs but in this case it seems to work. Do you have any other DirectX 9 based game? Maybe you can give it a try in another game.
I tryed on CSSGO & Binding Of Isaac. Do you have a sample code working w/ league of legends ?
Its work ! Got no idea what I have done :( Got a question, is it possible to get a color of one pixel on the opengl screen ?
No this is not possible because this API is only supposed to be an interface between your program and the game
Hi the api doesnt work. I try .Init() and i get 0
Here is files :
Here is the code:
Here is the output: