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
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"-");
}
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
.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 @@!
[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...