|
You last visited: Today at 11:53
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.
04/28/2021, 06:44
|
#286
|
elite*gold: 0
Join Date: Nov 2018
Posts: 2
Received Thanks: 0
|
help mee !!!!
|
|
|
06/16/2021, 01:35
|
#287
|
elite*gold: 0
Join Date: Mar 2020
Posts: 25
Received Thanks: 2
|
how to compile and how to install
|
|
|
06/16/2021, 01:44
|
#288
|
elite*gold: 70
Join Date: Apr 2017
Posts: 1,023
Received Thanks: 504
|
Quote:
Originally Posted by bilalctn
how to compile and how to install
|
|
|
|
06/16/2021, 01:52
|
#289
|
elite*gold: 0
Join Date: Mar 2020
Posts: 25
Received Thanks: 2
|
Quote:
Originally Posted by SubZero**
|
very hard ?
|
|
|
07/26/2021, 15:28
|
#290
|
elite*gold: 0
Join Date: Jul 2020
Posts: 163
Received Thanks: 15
|
how i can manage networking
i come from nodejs world with react and react native i have backend working with json files
how i can implement this with c++ any clue or any idea please
Thx to @  0
|
|
|
08/09/2021, 10:12
|
#291
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
@
Can't use this method to show/hidden "IFFlorian0Runtime" GUI. Client always crashed
Code:
g_pCGInterface->m_IRM.GetResObj(1340, 1)->ShowGWnd(false);
|
|
|
08/09/2021, 11:59
|
#292
|
elite*gold: 70
Join Date: Apr 2017
Posts: 1,023
Received Thanks: 504
|
Quote:
Originally Posted by WolfgangNeverDie
@
Can't use this method to show/hidden "IFFlorian0Runtime" GUI. Client always crashed
Code:
g_pCGInterface->m_IRM.GetResObj(1340, 1)->ShowGWnd(false);
|
Well you need to check the Unique ID off the wind you created
Code:
g_pCGInterface->m_IRM.GetResObj(Correct ID Here, 1)->ShowGWnd(false);
|
|
|
08/09/2021, 12:02
|
#293
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
Quote:
Originally Posted by SubZero**
Well you need to check the Unique ID off the wind you created
Code:
g_pCGInterface->m_IRM.GetResObj(Correct ID Here, 1)->ShowGWnd(false);
|
Yes. im pretty sure. It's correct one. This is default "IFFlorian0Runtime" GUI's ID
|
|
|
08/11/2021, 21:01
|
#294
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
Code:
CIFflorian0Runtime *CGInterface::Getflorian0Runtime() {
return m_IRM.GetResObj<CIFflorian0Runtime>(GDR_FLORIAN0_RT_WINDOW, 1);
}
Code:
Don't work
g_pCGInterface->Getflorian0Runtime()->ShowGWnd(true);
|
|
|
08/12/2021, 21:33
|
#295
|
elite*gold: 0
Join Date: Aug 2019
Posts: 143
Received Thanks: 23
|
Actually working, doesn't quite fit into any sql's-
|
|
|
08/12/2021, 22:15
|
#296
|
elite*gold: 70
Join Date: Apr 2017
Posts: 1,023
Received Thanks: 504
|
Quote:
Originally Posted by WolfgangNeverDie
Code:
CIFflorian0Runtime *CGInterface::Getflorian0Runtime() {
return m_IRM.GetResObj<CIFflorian0Runtime>(GDR_FLORIAN0_RT_WINDOW, 1);
}
Code:
Don't work
g_pCGInterface->Getflorian0Runtime()->ShowGWnd(true);
|
do a static variable from the gui class and set it when ur create it
then use the static variable to show hide this gui
|
|
|
08/13/2021, 06:12
|
#297
|
elite*gold: 0
Join Date: Mar 2010
Posts: 568
Received Thanks: 228
|
Quote:
Originally Posted by WolfgangNeverDie
|
Hello,
everything fine
|
|
|
08/13/2021, 11:01
|
#298
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
Quote:
Originally Posted by khaleed2010
Hello,
everything fine
|
Can u teach me how to update this text from other GUI?
I want to make GUI for rank ingame. If it needs to create each variable per text then to too many variables...
For example my GUI like this:
Code:
for (int i = 0; i < 20; i++)
{
RECT r_slot = {18,55 + (23*i),47,24};
rank_slot = (CIFStatic *) CGWnd::CreateInstance(this,GFX_RUNTIME_CLASS(CIFStatic),r_slot,21+i,1);
rank_slot->SetText(L"-");
}
I don't know how to update this text
|
|
|
08/13/2021, 14:27
|
#299
|
elite*gold: 70
Join Date: Apr 2017
Posts: 1,023
Received Thanks: 504
|
Quote:
Originally Posted by khaleed2010
Hello,
everything fine
|
What is the point of this video?
Quote:
Originally Posted by WolfgangNeverDie
Can u teach me how to update this text from other GUI?
I want to make GUI for rank ingame. If it needs to create each variable per text then to too many variables...
For example my GUI like this:
Code:
for (int i = 0; i < 20; i++)
{
RECT r_slot = {18,55 + (23*i),47,24};
rank_slot = (CIFStatic *) CGWnd::CreateInstance(this,GFX_RUNTIME_CLASS(CIFStatic),r_slot,21+i,1);
rank_slot->SetText(L"-");
}
I don't know how to update this text 
|
Here is an EX.
Code:
.h File
CIFButton *m_mybutton;
.CPP FIle
OnCreate FUNCTION ->
RECT rect = { 0,0,0,0 };
m_mybutton= (CIFButton*)CGWnd::CreateInstance(this, GFX_RUNTIME_CLASS(CIFButton), rect, UNIQUE ID HERE, 0);
Then you can use m_mybutton to set texts do whatever you want
|
|
|
08/13/2021, 14:38
|
#300
|
elite*gold: 0
Join Date: May 2020
Posts: 70
Received Thanks: 6
|
Quote:
Originally Posted by SubZero**
What is the point of this video?
Here is an EX.
Code:
.h File
CIFButton *m_mybutton;
.CPP FIle
OnCreate FUNCTION ->
RECT rect = { 0,0,0,0 };
m_mybutton= (CIFButton*)CGWnd::CreateInstance(this, GFX_RUNTIME_CLASS(CIFButton), rect, UNIQUE ID HERE, 0);
Then you can use m_mybutton to set texts do whatever you want
|
I think you don't want to make 100++ "m_mybutton" like that to create a GUI's Rank!
If your GUI's Rank has 20 rows and 6 columns. You must create 120 button. Omg @@!
|
|
|
 |
|
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 +1. The time now is 11:53.
|
|