Hello, and welcome to my basic FOnline SDK installation tutorial. If you're new to the FOnline SDK I suggest that you don't skip any parts of this tutorial as I don't want you to ask questions about things that I already explained.
Tools NeededNotepad++ TortoiseSVN And again a
BRAIN(funny me..
)
Step 1 Downloading server with Turtoise SVN:1.Make a new folder on your Desktop or anywhere on your disk, doesn't matter where, and call it SERVER or whatever you want.
2.Right click on the folder you created and then click on SVN Checkout.Then a window should pop up.
3.In the
URL of repository insert the URL provided bellow.
http://xp-dev.com/svn/fonline_sdk/
4.In the
Checkout directory you select the folder you created earlier.
5.Click Ok and another window will pop up, this means the server files are now downloading.
Preparing the Server:I assume the download has finished if you are reading this step.
1.Go into the folder called
Server.
2.Open FOnlineServer.cfg with Wordpad or Notepad ++.
3.In the line
Port=4000 change it your desired port or leave it as it is.
example
# Listening port
Port=2100
Setting up admin passwords:1.In the same file FOnlineServer.cfg at the very bottom look for the lines I posted bellow:
# Keys for accesses
# Aviable four access mode: client (default on login), tester, moder, admin
Access_client=000000 00000000
Access_tester=
Access_moder=
Access_admin=
And create a password for each access class.
Example:
# Keys for accesses
# Aviable four access mode: client (default on login), tester, moder, admin
Access_client=000000 00000000
Access_tester=abuse1
Access_moder=abuse2
Access_admin=abuse3
2.Now start your server, register an account and log in.
Open up the message box and type in the following:
~getaccess admin abuse3(the password you set earlier)
You will receive a confirmation that you access has changed in the log box.
Questions and answers:Q:Why can't my friends can't connect to my server?
A:You need to forward the server port in your router if you have one or if you have a dynamic IP you need to create a DNS address at no-ip.org
and give that to people who want to connect.
Q:How do I spawn items or change my stats?
A:You can do this with the following commands:
Skills
~param 0 200 300 - You get 300 to Small Guns change to 201 to get for Big guns and so on.
Specials
~param 0 0 3000 - From 0 to 6 you get can change your specials like ~param 0 6 3000 adds 3000 to luck
Other Commands
~param 0 72 xxx - Heal yourself
~additemself 349 1 - First value is the code of the item and the second is the number.You can find more item codes in Server/data/ItemsNames.ist open it with Notepad++ in front of each item is the code.
Second part of the tutorial can be found here.