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.
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.
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.
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
//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])
[Source] Fix the old exp bar - by writing code! 05/17/2020 - SRO PServer Guides & Releases - 18 Replies Hello beloved, dead community,
its time for another release. Its more of a proof of concept and I hope it might inspire people to continue working on it. You don't need the source to accomplish cool things. Just write your own source.
http://i.epvpimg.com/d7hJbab.png
Ye, its super ugly looking. I choose to be a coder, not a designer. I'd be happy, if someone supplies me a proper version of the 2dt and ddj files so I can update this embarrassing screenshot.
Anyway. It allows you to...
[Release/WIP]EP6 Source code 04/15/2018 - Shaiya PServer Guides & Releases - 33 Replies Hi guys,
First of all, I want to say that this release is not recommended for public servers yet. Shortly ago I changed my server to ep6 using shen1l's pet.dll, the server crashed every day, after checking the dump files I discovered that the problem was in pet.dll, but without the source code it would be harder to find the cause of the problem. So I decided to start a project and release the source code for everyone, so that everyone can solve their problems more easily, and also so that...
[C++ Source] My Free Farm Bot [WIP] 06/28/2011 - Browsergames - 0 Replies I decided to release this on here as i have no more use for it and no intention to continue the project.
I am releasing 2 projects: One basic library for mff called libmff(although it is not really a library) there is an example on how to use it in the package.
And a helper with a fancy gui.
Note that there is almost no error checking on the helper and that it crashes if you for example forget to select a product.
You need libcurl and boost for both and GWEN(the gui toolkit by garry) for...