Hello, community!
So, the first thing you should do: choose your favorite branch (I'm using mainline :D), and follow this path:
Starting with line 24, you should encounter the declaration values. Here you will do your work:
[Only registered and activated users can see links. Click Here To Register...]
Warning! Some (shitty) compilers might give you some errors if you don't leave the tab spacing default. So, in order to prevent mistakes, I would advise you to enable the "Show all characters" function. In Notepad++, you only have to click this button:
Warning no. 2! You can't change, for example, a string with an integer value, or a bool with a char! For example, bool test = true; may only have the values true or false! Google for "C++ data types" in order to learn more!
Well, if you got the preps right, this is a bit of what you can do:
Change the connection values
Change the server type
Change the limits
Foreign-empire whisper and Client version checking
At last, but not least, changing the ItemShop URL
I hope this topic is useful for somebody, and I would like to have some feedback, as I haven't really tested these, because my Windows Server 2003 on my other computer is doing some updates at the moment... :mad:
Have a nice day!
This tutorial was made for the C++ noobs (those people who don't know the difference between a bool and an int), so please don't rage at me :D.In this short how-to topic, I'll show you how to configurate the basic functions of the core from the source code, so you won't have to mess up with Hex editors, .diff files and so on, because there may be a high chance that the adresses (or offsets! - those 0x3678ABCD -like things) won't match up, because of the different compilers which are used etc...
So, the first thing you should do: choose your favorite branch (I'm using mainline :D), and follow this path:
Srcs / Server / game / srcIn the src folder, you should find a source file called config.cpp. Open it. (It's logic, yeaah!)
Starting with line 24, you should encounter the declaration values. Here you will do your work:
[Only registered and activated users can see links. Click Here To Register...]
Warning! Some (shitty) compilers might give you some errors if you don't leave the tab spacing default. So, in order to prevent mistakes, I would advise you to enable the "Show all characters" function. In Notepad++, you only have to click this button:
[Only registered and activated users can see links. Click Here To Register...]
Warning no. 2! You can't change, for example, a string with an integer value, or a bool with a char! For example, bool test = true; may only have the values true or false! Google for "C++ data types" in order to learn more!
Well, if you got the preps right, this is a bit of what you can do:
Change the connection values
Change the server type
Change the limits
Foreign-empire whisper and Client version checking
At last, but not least, changing the ItemShop URL
I hope this topic is useful for somebody, and I would like to have some feedback, as I haven't really tested these, because my Windows Server 2003 on my other computer is doing some updates at the moment... :mad:
Have a nice day!