Wonko's School Of Cake
Would you like to react to this message? Create an account in a few clicks or log in to continue.

ds online

+3
Lucario*)WoN(~Donuts~
Theicecreaman
mr taco
7 posters

Go down

ds online Empty ds online

Post by mr taco Thu Nov 19, 2009 6:31 pm

help im trying to set one up but the tutorial says this i dont get how to make a shortcut to desktop plz help Doctor Vader

By Boomlala

In my JK2 career (cough), I have seen many people who want to host a server, but didn't know how to do it, what they need, and most importantly, how to get one online. This thread will house a couple of tutorials which will teach you how to create a server from the ground up, explained in normal language.

Information About This Tutorial

This tutorial will explain how to create a dedicated DS-Online server from the ground up, writing CFG's by hand, and it will also teach you server adminning.

Download/Install

Ok, first of all, we're gonna need DS-O itself before we can actually use it. When we want to create a server, we're gonna need the Serverside package. The latest edition I found of DS-O is V1.3, and you can download it on JK2Files. You can also download the DS-Ov2 bèta, but this turorial won't use that version.

When it's downloaded, unzip the thing with WinZip or WinRAR. Then you got a Readme and a DS-Online folder. This DS-Online folder must be copied into JK2\GameData. OK! Actually, this is it. This is how to install a mod. Easy, eh?

Setting up a Server

Ok, this is (I think) the hardest part for people to understand, because there are many different parts, and some of them could be really weird if you don't have previous server experience.

Part 1: Basic CFG editing

First of all, we want our server to be called something else than "servername" or something, so we're gonna need to edit the CFG.

You go to the DS-O folder in JK2/GameData, and open up server.cfg in notepad. Then you will see a long list of "flags". The two flags we are gonna change are sv_hostname and g_motd.

Change it to something you want: the hostname is the name your server will get and the motd is the Message Of The Day: when you join a server, you will see the MOTD below the name of the server. One thing you'll need to learn, are the color codes: when you want a color, you type ^1 for example.

When you edited them, you save it.

Part 2: Getting a server on your desktop

Now we are going to create the server link. Create a link on your desktop, and let it refer to JK2Ded.exe in the JK2/GameData folder.

Now we have to change some stuff of this link, right-click on it, goto Properties. Then, after the path to JK2Ded.exe, add this: +set fs_game DS-Online (this says: the mod I'm using is DS-O) +exec server.cfg (fire up server.cfg) +exec DS-Online.cfg (and DS-Online.cfg too).
(Of course, not the stuff between parentheses). OK!

Most people now think: I got a server, and then they found out none of their friends can find it. Why not? The issue they forget is to open a router port.

First we need our IP: http://www.whatismyip.com/, and you'll have your ip. Write it down. Go to Start->Run->ipconfig, take the first one. Write it down. Some people need the website's IP, others the command IP. Enter your IP in the browser: if it doesn't work, try the other IP. Then you will come on your router manager. Because everybody has another one, I can't help you out with that, but I'll try as good as I can. If a certain step isn't there, go to the next one, because your router might not have that one. Take the Advanced Setup. Then search for NAT. Then search for a Virtual Server. Then you will get a table: Mapping Ports, Server IP, and Enabled. Now, enter "28060-28062" in one box, "28070-28081" in another box, in the Mapping Ports column: these ports are the ones JK uses for multiplayer. Enter the command IP (ipconfig): sometimes you might only fill out one or two numbers: fill them appropriately. And then you click on the Enabled checkbox. Apply. Logout.

Last step: Logging in on your server.

OK, now doubleclick on your server link. You will see loads of junk in the screen, but don't worry: it's ment to do that. Now, fire up JK2 and look at the Local servers. Because you play on the same pc as the server, you are in a Local Area Network. If you don't see it, click on Show Empty Servers. Still not visible? Check your firewall and let it give full permission to JK2Ded.exe. Still not visible? Try to search on the Internet servers (some routers do that) Still not visible? Check your ports, check your IP, check if it is enabled (easy to forget).

And your server is there.

server.cfg Editing

I made an example cfg with all the explanation in it.

// This is an example server.cfg
// Everything behind // is a comment and is ignored by the server
// I will explain all the server.cfg flags here
// A couple of values are old ones I used

// Eevery flag (few exceptions) has this layout
// seta (flagname) "flagvalue"

seta sv_hostname "Example Server"
// The name of the server

seta g_motd "Welcome to the\n^1Example Server"
// The message that comes up when you join a server

seta rconpassword "bazooka"
// When you enter RCON mode, you will need this pass
// RCON: sort of server management, but remotely done

seta sv_privatepassword "igotagoodspot"
// There are "Private Spots" (I'm gonna explain that later),
// and to enter them, you will need this pass

seta sv_maxclients "16"
// The amount of clients (players + bots) there can be on your server at the same time

seta sv_privateclients "1"
// The amount of private spots: private spots are spots which can only be filled with people
// who know the private password
//
// It is useful for when you want to be sure that at least a couple of admins can join

seta sv_maxrate "40000"
// This flag sets the max speed packets get sent, and a lot more technical talk is connected to the max rate
// The important thing is: how higher the maxrate, how higher the bandwidth cost, how faster the server

seta g_inactivity "0"
// The inactivity timer says: when a player does nothing after X seconds, kick him
// When set to 0, it doesn't time

seta g_log "serverlog151007.log"
// The server will make a log of everything, and store it in this file

seta g_logsync "1"
// Not important: just put it to 1

seta g_logclientinfo "1"
// Idem

seta g_banIPs ""
// IP's which, when they connect, immediately get banned

seta sv_pure "0"
// A pure server: a server which can only be played on, if you have NOTHING ELSE than what the server has
// 1: a pure server, 0: an unpure server

seta sv_allowdownload "1"
// When the server uses a map the player doesn't have, he can download it from the server
// 1: allow, 0: don't allow

seta g_duelweapondisable "65531"
// What weapons can be used in a duel
// 65531: only saber
// You can find lists and calculators on the Internet

seta g_forcepowerdisable "16357"
// What kinds of force is allowed
// 16357: attack, defence, throw, push, pull and jump, if I remeber it well

seta g_weapondisable "65531"
// What weapons can be used outside a duel

seta g_forceregentime "0"
// How long does it take to regenerate force

seta g_maxforcerank "7"
// 7 = Jedi Master, 6 = Jedi Knight, ...

seta g_saberDmgDelay_Idle "350"
seta g_saberDmgDelay_Wound "0"
seta g_saberDmgVelocityScale "0"
seta g_saberInterpolate "1"
seta g_saberlocking "1"
// All kinds of saber stuff, don't mess with it is the advice here

seta g_friendlysaber "1"
// Same as friendly fire, but regarding the saber

seta g_forcebasedteams "0"
// 1: Team 1 can only use Good Force, Team 2 only Dark

seta g_friendlyfire "1"
// Friendly fire

seta dowarmup "0"
// If you want a warmup round of 15 seconds, for example
// seta dowarmup "15"
// No warmup round = 0

seta fraglimit "0"
// The amount of frags needed to win
// 0: no fraglimit

seta timelimit "0"
// Self-explanatory
// 0: no timelimit

seta capturelimit "0"
// Idem

seta duel_fraglimit "1"
// How many kills to end the duel

seta g_allowvote "1"
// 1: your clients can vote, 0: your clients cannot

seta g_autoMapCycle "0"
// 1: When the round is over, switch to the next map

seta g_gravity "800"
// Gravity, 800 is default

seta g_speed "250"
// Speed, 250 is default

seta g_dismember "1000"
// Unimportant, leave it to 1000

seta sv_cheats "0"
// 1: your clients can cheat

seta sv_floodprotect "0"
// Protection, never needed it

seta g_password ""
// If you want your server private, enter something between the ""
// Only people who know it can enter

seta g_allowDuelSuicide "0"
// If you want to be able to suicide duirng a duel, set it to 1

seta bot_minplayers "3"
// If the amount of clients is smaller than X, fill it up with bots

// DONE

DS-Online.cfg

When you open up DS-Online.cfg, you will see that all the flags are already explained. It does a pretty good job, and I don't see nee the need to explain it even more

Admin/RCON

Ok, this is the final part of the tut, and it will cover adminning, rconning and using your server shell.

The server shell:

The server shell is a fancy name for the black box you get when you start hosting a server. You can type in stuff into this shell, and when it's not an rcon/admin command, it will get printed to the residents of the server.

Admin commands:

I'm gonna start with the easy part. For people who don't know already, you type in
admin commands in the console. When you're in the game press the key above the tab key (it differs between keyboards) and
a screen will come down. This is the console. You login by typing "\amlogin <password>" into the console. You can see all commands you are able to do by typing "amadmin".

RCON commands:

The more difficult part, because many people never got around to handle RCON. You login by typing into the console "\RconPassword <password>". There are 2 important commands:

Set <variable> <value>: This will change a thing (the variable); for example, "\set g_gravity 100" will lower the gravity.
These variables can be found in your cfg's.

Kick <person>: I think it is clear what this command does.

It's done!

The tutorial has finished!

May I thank the JK2 development staff, for creating such a nice game, the DS-Online crew, because of their awesome mod, Jedi Servers, a website which helped me out when I began hosting JK2 servers (4-5 months ago), the |Cold| clan, because they let me use their precious forums to host this thing, and ofcourse You, the reader, which I hopefully helped out.
mr taco
mr taco
Candy Academy Member

Number of posts : 28
Age : 28

Back to top Go down

ds online Empty Re: ds online

Post by mr taco Thu Nov 19, 2009 6:34 pm

help with the create link on desktop plz Banging Head
mr taco
mr taco
Candy Academy Member

Number of posts : 28
Age : 28

Back to top Go down

ds online Empty Re: ds online

Post by Theicecreaman Thu Nov 19, 2009 9:45 pm

Hey, I know that Boomlala guy! He's in the COLD clan!

normally I would say bother him, but there's no need to waste his time. Just send Wonko at least 1,000 private messages about this until he explodes. He LOVES receiving P.Ms by fellow school of cake members, especially members who need help with setting up DS Online Smile
Theicecreaman
Theicecreaman
Time Lord
Time Lord

Number of posts : 4002
Location : Look for the fireworks and semi-functional trampolines

https://schoolofcake.forumotion.com

Back to top Go down

ds online Empty Re: ds online

Post by Lucario*)WoN(~Donuts~ Fri Nov 20, 2009 2:24 am

i can understand this but i cant test it XD
Lucario*)WoN(~Donuts~
Lucario*)WoN(~Donuts~
Donut Academy Member

Number of posts : 360
Age : 28
Location : <_< somewhere

Back to top Go down

ds online Empty Re: ds online

Post by blivvy Fri Nov 20, 2009 3:47 pm

Theicecreaman wrote:He LOVES receiving P.Ms by fellow school of cake members, especially members who need help with setting up DS Online

Do I detect a hint of sarcasm? Razz
blivvy
blivvy
Marshmallow Academy Member

Number of posts : 2634
Age : 37
Location : Drangleic

Back to top Go down

ds online Empty ds online

Post by mr taco Sat Nov 21, 2009 9:55 pm

can somone help me get an ds online server up plz
I Agree Vader
mr taco
mr taco
Candy Academy Member

Number of posts : 28
Age : 28

Back to top Go down

ds online Empty Re: ds online

Post by Loki Sat Nov 21, 2009 10:27 pm

Merged your topics. People are aware of your need of help (more ways then one apparently) and maybe just don't want to/can't help. Posting a second topic won't get it done. You can PM people like crazy and will get the same response but...

Don't.




Really.


Just...don't... Suspect

Go annoy some people over at the Star Wars Section on FileFront.
Loki
Loki
Court Jester

Number of posts : 1279
Age : 32
Location : Wraeclast

Back to top Go down

ds online Empty Re: ds online

Post by Theicecreaman Sat Nov 21, 2009 11:07 pm

Taco, can you maybe ask a sibling to help you set up the server? If you have an older brother or sister who is tech savvy, they might be able to thoroughly read the tutorial and get the server up. If you believe you have a mental illness in which the only happiness you get in life is from computer games, and you badly need a DS-Online server for psychological stability, talk to a parent, guardian, or teacher. Just do not consistently bother online people you do not know without asking a specific question. Saying: "I want a DS-Online server! Help me with it!" is too general; come back with a less generalized question, and then we will be able to help you. Good luck to you my tasty, tortilla friend.
Theicecreaman
Theicecreaman
Time Lord
Time Lord

Number of posts : 4002
Location : Look for the fireworks and semi-functional trampolines

https://schoolofcake.forumotion.com

Back to top Go down

ds online Empty Re: ds online

Post by Moss Sun Nov 22, 2009 12:16 am

ds online Facepalm_4
Moss
Moss

Number of posts : 56
Age : 29

Back to top Go down

ds online Empty Re: ds online

Post by mr taco Sun Nov 22, 2009 1:15 am

im baack with my specific ? i did all the rest but now how do i get it online
mr taco
mr taco
Candy Academy Member

Number of posts : 28
Age : 28

Back to top Go down

ds online Empty Re: ds online

Post by Loki Sun Nov 22, 2009 2:42 pm

Open every single port and leave yourself open to harmful attacks from peoples.

While not taking all of the above seriously, it does/should give you general idea of what your supposed do to.
Loki
Loki
Court Jester

Number of posts : 1279
Age : 32
Location : Wraeclast

Back to top Go down

ds online Empty Re: ds online

Post by mr taco Sun Nov 22, 2009 5:04 pm

i went to router cofig but i dont know where port things are Panic Attack
mr taco
mr taco
Candy Academy Member

Number of posts : 28
Age : 28

Back to top Go down

ds online Empty my server

Post by mr taco Sun Nov 22, 2009 5:54 pm

i think i got a server its a jk2 server run on ja mod come join the name has tacoland
mr taco
mr taco
Candy Academy Member

Number of posts : 28
Age : 28

Back to top Go down

ds online Empty Re: ds online

Post by Loki Sun Nov 22, 2009 7:13 pm

Merged your topics...again....

ds online Readmessage125893490733
As Ice said, if you had actually read, people won't help if you don't give the needed information. I also said PM'ing people is pointless.

Your refusal to listen is quite irritating.
Loki
Loki
Court Jester

Number of posts : 1279
Age : 32
Location : Wraeclast

Back to top Go down

ds online Empty Re: ds online

Post by mr taco Sun Nov 22, 2009 7:58 pm

like i said just tell me how to get it online i dont need ur extra bull No no
mr taco
mr taco
Candy Academy Member

Number of posts : 28
Age : 28

Back to top Go down

ds online Empty Re: ds online

Post by Wonko the Sane Sun Nov 22, 2009 8:14 pm

Yeah. No no
















... What were we talking about again? Shrug
Wonko the Sane
Wonko the Sane
Certifiably Sane
Certifiably Sane

Number of posts : 4104
Location : The outside of the asylum

https://schoolofcake.forumotion.com/

Back to top Go down

ds online Empty Re: ds online

Post by Moss Sun Nov 22, 2009 9:54 pm

mr taco wrote:like i said just tell me how to get it online i dont need ur extra bull No no
Rude way of asking, and tell us the problems you're having and maybe we'll help Razz
Moss
Moss

Number of posts : 56
Age : 29

Back to top Go down

ds online Empty Re: ds online

Post by Theicecreaman Sun Nov 22, 2009 10:19 pm

... Or we'll get moss to blabber on about that animated cartoon sh*t he's obsessed with!
Theicecreaman
Theicecreaman
Time Lord
Time Lord

Number of posts : 4002
Location : Look for the fireworks and semi-functional trampolines

https://schoolofcake.forumotion.com

Back to top Go down

ds online Empty Re: ds online

Post by Loki Sun Nov 22, 2009 10:26 pm

Hey! Animated cartoon sh*t happens to be very good!

w/e. I only watch Inyouchuu Razz

Oh, and fwi, make another topic about your ports again and I'll just delete it. Keep your questions bout that in here, kthx bai.
Loki
Loki
Court Jester

Number of posts : 1279
Age : 32
Location : Wraeclast

Back to top Go down

ds online Empty Re: ds online

Post by Moss Mon Nov 23, 2009 6:18 am

Theicecreaman wrote:... Or we'll get moss to blabber on about that animated cartoon sh*t he's obsessed with!

ds online Bankaiwn0 Big Stick
Moss
Moss

Number of posts : 56
Age : 29

Back to top Go down

ds online Empty Re: ds online

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum