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

04/28/2021 06:44 BananaOG#286
[Only registered and activated users can see links. Click Here To Register...]
help mee !!!!
06/16/2021 01:35 bilalctn#287
how to compile and how to install
06/16/2021 01:44 SubZero**#288
Quote:
Originally Posted by bilalctn View Post
how to compile and how to install
[Only registered and activated users can see links. Click Here To Register...]
06/16/2021 01:52 bilalctn#289
Quote:
Originally Posted by SubZero** View Post
[Only registered and activated users can see links. Click Here To Register...]
very hard ? :D
07/26/2021 15:28 kotsh23#290
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 @[Only registered and activated users can see links. Click Here To Register...]0
08/09/2021 10:12 WolfgangNeverDie#291
@[Only registered and activated users can see links. Click Here To Register...]

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 SubZero**#292
Quote:
Originally Posted by WolfgangNeverDie View Post
@[Only registered and activated users can see links. Click Here To Register...]

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 WolfgangNeverDie#293
Quote:
Originally Posted by SubZero** View Post
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 WolfgangNeverDie#294
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 Astrija.#295
Actually working, doesn't quite fit into any sql's-
08/12/2021 22:15 SubZero**#296
Quote:
Originally Posted by WolfgangNeverDie View Post
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 Laag#82#297
Quote:
Originally Posted by WolfgangNeverDie View Post
Code:
CIFflorian0Runtime
Hello,


everything fine
08/13/2021 11:01 WolfgangNeverDie#298
Quote:
Originally Posted by khaleed2010 View Post
Hello,

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

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 SubZero**#299
Quote:
Originally Posted by khaleed2010 View Post
Hello,

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

everything fine
What is the point of this video?

Quote:
Originally Posted by WolfgangNeverDie View Post
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 WolfgangNeverDie#300
Quote:
Originally Posted by SubZero** View Post
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 @@!