[WIP] Get SRO Source Code - by re-writing it

08/04/2019 04:01 FrictionF0#76
Not sure if it worths your time :thinking:
Now I understand where all the servers came up with these UI edits.
That's really interesting, thank you.
08/04/2019 09:36 #HB#77
Quote:
Originally Posted by tytopoo View Post
Not sure if it worths your time :thinking:
Now I understand where all the servers came up with these UI edits.
That's really interesting, thank you.
1% of latest servers used original UI. Most of them use custom libs like imgui or oshgui but simulating like an original UI.
08/10/2019 00:46 davarcı#78
Some times my friend geting D3DERR_INVALIDCALL this error, do you know any solution?
08/10/2019 10:11 florian0#79
Quote:
Originally Posted by davarcı View Post
Some times my friend geting D3DERR_INVALIDCALL this error, do you know any solution?
It's a know fault. Occurs when the D3D Renderer gets reset. It's definitely an issue with ImGui. When you disable ImGui, the error disappears.

The issue is also "documented" on Gitlab. [Only registered and activated users can see links. Click Here To Register...]

I don't have a solution other than "disable ImGui". The issue is that SRO has multiple locations where d3d reset is performed an I only hooked one of it, I guess.
08/10/2019 13:00 kanift#80
Quote:
Originally Posted by florian0 View Post
It's a know fault. Occurs when the D3D Renderer gets reset. It's definitely an issue with ImGui. When you disable ImGui, the error disappears.

The issue is also "documented" on Gitlab. [Only registered and activated users can see links. Click Here To Register...]

I don't have a solution other than "disable ImGui". The issue is that SRO has multiple locations where d3d reset is performed an I only hooked one of it, I guess.
or maybe you can just hook d3d9 device vtable[16] (reset) and just do invalidate & recreate stuff in hooked vtable fn so it can work w/o needing hook on that funcs

so for the folks here's ur example
Quote:
HRESULT CALLBACK Hook_D3D9_Reset(LPDIRECT3DDEVICE9 pDevice, D3DPRESENT_PARAMETERS* pPresentationParameters)
{

//if u have any ur own ID3DX(xxx) implemantation then do as what i did in multi-comment lines

ImGui_ImplDX9_InvalidateDeviceObjects();

/*
if(ID3DX(xxx))
ID3DX(xxx)->OnLostDevice();
*/

HRESULT result = original_d3d9_reset(pDevice, pPresentationParameters);

/*
if(ID3DX(xxx))
ID3DX(xxx)->OnResetDevice();
*/

ImGui_ImplDX9_CreateDeviceObjects();

return result;
}
Quote:
0xD0F7EC - CGFXVideo3d* rva
0x7AD590 - on resolution change fn rva | CGFXVideo3d vtable[20]
0x7AE9A0 - checking cooperative-level status if status == D3DERR_DEVICENOTRESET then do reset (d3d9 reset is only called by 0x7B0150 rva) (window mode change or any intercepts done by windows (uac, aero on/off etc.) or the other 3d related apps that doing similar things) rva (called by 0x7AED40 rva | CGFXVideo3d vtable[25])
08/10/2019 21:54 davarcı#81
I closed all interface tools and i can use now multi-client thanks
08/21/2019 20:21 concucu#82
@[Only registered and activated users can see links. Click Here To Register...] when using this library, I had a problem with the mouse, it blinked between the mouse and the mouse in the game
08/23/2019 18:30 $WeGs#83
Quote:
Originally Posted by concucu View Post
@[Only registered and activated users can see links. Click Here To Register...] when using this library, I had a problem with the mouse, it blinked between the mouse and the mouse in the game
i reported that to flo times ago but he haven't this problem however when u disable imgui it will be fixed
08/26/2019 14:09 hoangphan7#84
Quote:
Originally Posted by $WeGs View Post
i reported that to flo times ago but he haven't this problem however when u disable imgui it will be fixed
You using IMGUI which reason do you use it. disable imgui = delete topic :V
08/26/2019 17:34 #HB#85
Quote:
Originally Posted by hoangphan7 View Post
You using IMGUI which reason do you use it. disable imgui = delete topic :V
lel, did you even read the topic?
08/27/2019 09:47 hoangphan7#86
Quote:
Originally Posted by #HB View Post
lel, did you even read the topic?
Even read 101+ time :V
08/27/2019 18:10 $WeGs#87
Quote:
Originally Posted by hoangphan7 View Post
You using IMGUI which reason do you use it. disable imgui = delete topic :V
WTF are u talking about lol

--Edit
@[Only registered and activated users can see links. Click Here To Register...]

i've upgraded imgui to latest version : 1.72b and it went fine , no more mouse blinking
08/27/2019 22:14 davarcı#88
Hi guys do you know how can i change title color and change version text and i wonder how can i put the web browser in the game :confused:
08/28/2019 15:26 concucu#89
Quote:
Originally Posted by $WeGs View Post
WTF are u talking about lol

--Edit
@[Only registered and activated users can see links. Click Here To Register...]

i've upgraded imgui to latest version : 1.72b and it went fine , no more mouse blinking
oke
09/01/2019 09:35 cuoinuamieng#90
How can i get the current character after login ?
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]