The Basics.
Too nooby to do advanced things with your private server? Well heres just the first couple things you can do to improve your server and how to do them. (Obvi this isnt towards the 'pros', towards the beginners, like meh kinda lel)
(I use SharpDevelop)
Different sources might show .cs with different amount of lines so just look around the number I say the line is on if its not directly on the line I say.
Changing realm(s) name(s)?
Wserver>Realm>Realmmanager.cs
Line 47, there will be about 15 or so already put names, just change them to the name(s) you want your realm name to display as.
Changing vault price?
Wserver>Realm>Entities>SellableObjects.cs
Line 19 for vault itself
Line 82 for vault message when bought (Default message: Vault purchased! or Purchase successful! (or something like that))
Adding in a new item? As long as you have the xml code for it just do this.
db>data>item.xml
Insert the XML code inbetween
</Object>
(here)
</Objects>
at the bottom of item.xml list.
Depending what item it is, there may be required more work where you will have to add into addition.xml too.
Making your server public?
Server>Char>List.cs
Find where it shows
Name = "(Name you want to show in servers)",
Lat = 22.28,
Long = 114.16,
DNS = "Your hamachi ip, or whatever IP you use if hosting off vps",
Usage = 0.2,
AdminOnly = false,
RankRequired = 0
Thats it, dont change anything else.
Changing news? (The news that shows in yellow text every few minutes or so in chat log)
Wserver>news.txt
Should already be 4 pre-written news lines there, add more, or change them, or remove them. Up to you.
Changing items being sold in nexus? Be careful when doing this. Sometimes the nexus in sources have messed up store regions and need to be fixed.
Wserver>Realm>Entities>MerchantList.cs
Change the already written IDs to the IDs of the items you want to have sold in nexus, make sure you know which store region your putting them in so you know how to keep track.
That's some things easy to change about your private server! Anything more complicated but don't know how? That's why there's wonderful devs and coders and such on this site who will happily be staff on your server.
Getting error when opening server.exe???
Fix: Before rebuilding and building solution, go to 'Project' tab, click on 'Project Options', then click 'Compiling', scroll down to 'Target CPU:'
Should say 'Target CPU: Any Processor'
Click on 'Any Processor' and a tab will come down with other options you can change Target CPU to, click on 32-bit Intel-compatible processor. THEN rebuild and build solution.
(I use SharpDevelop)
Different sources might show .cs with different amount of lines so just look around the number I say the line is on if its not directly on the line I say.
Changing realm(s) name(s)?
Wserver>Realm>Realmmanager.cs
Line 47, there will be about 15 or so already put names, just change them to the name(s) you want your realm name to display as.
Changing vault price?
Wserver>Realm>Entities>SellableObjects.cs
Line 19 for vault itself
Line 82 for vault message when bought (Default message: Vault purchased! or Purchase successful! (or something like that))
Adding in a new item? As long as you have the xml code for it just do this.
db>data>item.xml
Insert the XML code inbetween
</Object>
(here)
</Objects>
at the bottom of item.xml list.
Depending what item it is, there may be required more work where you will have to add into addition.xml too.
Making your server public?
Server>Char>List.cs
Find where it shows
Name = "(Name you want to show in servers)",
Lat = 22.28,
Long = 114.16,
DNS = "Your hamachi ip, or whatever IP you use if hosting off vps",
Usage = 0.2,
AdminOnly = false,
RankRequired = 0
Thats it, dont change anything else.
Changing news? (The news that shows in yellow text every few minutes or so in chat log)
Wserver>news.txt
Should already be 4 pre-written news lines there, add more, or change them, or remove them. Up to you.
Changing items being sold in nexus? Be careful when doing this. Sometimes the nexus in sources have messed up store regions and need to be fixed.
Wserver>Realm>Entities>MerchantList.cs
Change the already written IDs to the IDs of the items you want to have sold in nexus, make sure you know which store region your putting them in so you know how to keep track.
That's some things easy to change about your private server! Anything more complicated but don't know how? That's why there's wonderful devs and coders and such on this site who will happily be staff on your server.
Getting error when opening server.exe???
Fix: Before rebuilding and building solution, go to 'Project' tab, click on 'Project Options', then click 'Compiling', scroll down to 'Target CPU:'
Should say 'Target CPU: Any Processor'
Click on 'Any Processor' and a tab will come down with other options you can change Target CPU to, click on 32-bit Intel-compatible processor. THEN rebuild and build solution.


