FOnline Development > General Discussion
FOnline TLA SDK Server TUTORIAL Part 1
raynor009:
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 Needed
Notepad++
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.
--- Quote ---http://xp-dev.com/svn/fonline_sdk/
--- End quote ---
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
--- Quote ---# Listening port
Port=2100
--- End quote ---
Setting up admin passwords:
1.In the same file FOnlineServer.cfg at the very bottom look for the lines I posted bellow:
--- Quote ---# Keys for accesses
# Aviable four access mode: client (default on login), tester, moder, admin
Access_client=000000 00000000
Access_tester=
Access_moder=
Access_admin=
--- End quote ---
And create a password for each access class.
Example:
--- Quote ---# 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
--- End quote ---
2.Now start your server, register an account and log in.
Open up the message box and type in the following:
--- Quote ---~getaccess admin abuse3(the password you set earlier)
--- End quote ---
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
--- Quote ---~param 0 200 300 - You get 300 to Small Guns change to 201 to get for Big guns and so on.
--- End quote ---
Specials
--- Quote ---~param 0 0 3000 - From 0 to 6 you get can change your specials like ~param 0 6 3000 adds 3000 to luck
--- End quote ---
Other Commands
--- Quote ---~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.
--- End quote ---
Second part of the tutorial can be found here.
JovankaB:
Nice tutorial ;) I agree the brain is very important and Notepad++ is very useful too.
But I think this should be in offtopic, because it's not FOnline 2238 related.
raynor009:
Thank you.
Got damn my fingers hurt.
EnergyForYou:
Great tutorial dude! Try to add some other info and commands for server , like how to use ~runscript (test) SetType X Y Z
runboy93:
Good (and only one tutorial..?)
Explain much to install server, but you should put more commands.
Navigation
[0] Message Index
[#] Next page
Go to full version