|
You last visited: Today at 00:36
Advertisement
[WIP] Get SRO Source Code - by re-writing it
Discussion on [WIP] Get SRO Source Code - by re-writing it within the SRO Coding Corner forum part of the Silkroad Online category.
08/04/2019, 04:01
|
#76
|
elite*gold: 1476
Join Date: Nov 2017
Posts: 102
Received Thanks: 104
|
Not sure if it worths your time
Now I understand where all the servers came up with these UI edits.
That's really interesting, thank you.
|
|
|
08/04/2019, 09:36
|
#77
|
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
|
Quote:
Originally Posted by tytopoo
Not sure if it worths your time
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
|
#78
|
elite*gold: 0
Join Date: Mar 2010
Posts: 7
Received Thanks: 1
|
Some times my friend geting D3DERR_INVALIDCALL this error, do you know any solution?
|
|
|
08/10/2019, 10:11
|
#79
|
elite*gold: 100
Join Date: Apr 2008
Posts: 860
Received Thanks: 1,465
|
Quote:
Originally Posted by davarcı
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.
|
|
|
08/10/2019, 13:00
|
#80
|
elite*gold: 0
Join Date: May 2010
Posts: 62
Received Thanks: 78
|
Quote:
Originally Posted by florian0
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
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
|
#81
|
elite*gold: 0
Join Date: Mar 2010
Posts: 7
Received Thanks: 1
|
I closed all interface tools and i can use now multi-client thanks
|
|
|
08/21/2019, 20:21
|
#82
|
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
|
@ 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
|
#83
|
elite*gold: 135
Join Date: May 2015
Posts: 627
Received Thanks: 737
|
Quote:
Originally Posted by concucu
@ 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
|
#84
|
elite*gold: 0
Join Date: Apr 2016
Posts: 286
Received Thanks: 67
|
Quote:
Originally Posted by $WeGs
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
|
#85
|
elite*gold: 100
Join Date: Sep 2017
Posts: 1,097
Received Thanks: 889
|
Quote:
Originally Posted by hoangphan7
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
|
#86
|
elite*gold: 0
Join Date: Apr 2016
Posts: 286
Received Thanks: 67
|
Quote:
Originally Posted by #HB
lel, did you even read the topic?
|
Even read 101+ time :V
|
|
|
08/27/2019, 18:10
|
#87
|
elite*gold: 135
Join Date: May 2015
Posts: 627
Received Thanks: 737
|
Quote:
Originally Posted by hoangphan7
You using IMGUI which reason do you use it. disable imgui = delete topic :V
|
WTF are u talking about lol
--Edit
@
i've upgraded imgui to latest version : 1.72b and it went fine , no more mouse blinking
|
|
|
08/27/2019, 22:14
|
#88
|
elite*gold: 0
Join Date: Mar 2010
Posts: 7
Received Thanks: 1
|
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
|
|
|
08/28/2019, 15:26
|
#89
|
elite*gold: 0
Join Date: Sep 2012
Posts: 214
Received Thanks: 117
|
Quote:
Originally Posted by $WeGs
WTF are u talking about lol
--Edit
@
i've upgraded imgui to latest version : 1.72b and it went fine , no more mouse blinking
|
oke
|
|
|
09/01/2019, 09:35
|
#90
|
elite*gold: 0
Join Date: Apr 2008
Posts: 97
Received Thanks: 7
|
How can i get the current character after login ?
|
|
|
|
|
Similar Threads
|
[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...
|
All times are GMT +2. The time now is 00:36.
|
|