Digital Paint Discussion Board
Paintball 2: The Game => Server Discussion => Topic started by: LaZeRs on June 17, 2013, 09:02:00 PM
-
It's back! My server, LaZeRs PUB, is now on air once a week! You can visit it Mondays 4-9 P.M. (Pacific US Time). It has just been used Monday July 1st and was very populated. I hope you enjoy my server!
-LaZeRs
-
0$ for port forwarded server. But the ping will be high for others.
-
Me and a friend have created a home server [Grizly 'n' LaZeRs Server] and are learning some commands and stuff. Currently, the admins are us, but we are looking for a few more. :D It is a home server for now (We will be port-forwarding soon.) I have a few questions though:
1. Whenever I start the server, it always starts on the same map (shazam33). Is that normal? If not, how do I change that?
2. How much do you have to pay to have a port-forwarded server?
Thanks!
-LaZeRs
|| Step 3: Starting the Server ||
Create a shortcut to paintball2.exe (right click and drag paintball2.exe to the desktop or wherever you want the shortcut to be, then select "Create Shortcut(s) Here" from the dropdown). Right click on the shortcut and go to "Properties." Under the "Shortcut" tab, click on the "Target:" edit box. Press the END key, and add the following: " +set dedicated 1 +set public 1 +exec myserver.cfg +map midnight" (without the quotes). Make sure there's a space between the "exe" and the "+set". Now just hit OK, doubleclick on the shortcut and it should start up. It'll pop up a window with something like "====== Paintball II Initialized ======". You can copy this shortcut into your start menu under start|programs|startup and it will run every time windows loads.
1. Alright, I'm just going to presume you followed this guide. When you set the "Target", " +set dedicated 1 +set public 1 +exec myserver.cfg +map midnight" The "+map midnight" is the map the server will start on.
2. You can port forward your own router. Superman has a guide in this section. I think you might mean "How much do you have to pay for a dedicated server?" :) If I'm right, I'd send Superman or Clipz a PM, I'm pretty sure they'd give you a good price or at least, some good information.
Edit: Here is Superman's Tutorial. (http://dplogin.com/forums/index.php?topic=17726.0)
-
Ok! Thanks, both you guys! :D (Yeah dedicated server is what i meant xD)
>>EDIT #1: Follow up question - Is the "flagcapendsround" and "flagmustbeatbase" or something like that on the server.cfg file?
>>EDIT #2: Question - If you have multiple servers (all not dedicated) do you have to pay for them?
-
But the ping will be high for others.
Just like it is on my home server (kinda, only when my server has lag spikes).
-
I'm pretty sure you could just add it yourself. I have never really played around with servers though.
So just chuck;
set flagcapsendround 1
set flagmustbeatbase 1
in your server config file and tell me how it goes.
Edit: 1 is true 0 is false.
Edit:
>>EDIT #2: Question - If you have multiple servers (all not dedicated) do you have to pay for them?
The only servers you will have to pay for in this game are dedicated servers rented from a provider.
You can run as many servers as you like, this game is completely FREE. The main problem you will run into though is bandwidth.
-
K thanks :D
-
There's something wrong with my server. The display name (on the pub server list) won't change. It's stuck on PeWKPWNs server when I want the name to be different (LaZeRs PUB). No matter what I do on the server.cfg file, the server name won't change. Anyone know why?
-
Here's a couple of guesses:
-Do you restart the server after changing the name? I'm pretty sure you have to.
-When creating the server, did you follow the guide on this site? If you did you would have used the below code for the "Target:". Notice it's executing 'myserver.cfg', not 'server.cfg'.
" +set dedicated 1 +set public 1 +exec myserver.cfg +map midnight"
There is probably a really easy fix if it's not those, I'm just not too experienced with servers.
Edit:
You will probably find what you need HERE. (http://dplogin.com/forums/index.php?topic=8674.0)
They say just to re execute your server config file.
(In the Black Box)
"exec server.cfg"
"exec myserver.cfg"
Depending on what you have named your server config file.
-
-Do you restart the server after changing the name? I'm pretty sure you have to.
Yes.
-When creating the server, did you follow the guide on this site? If you did you would have used the below code for the "Target:". Notice it's executing 'myserver.cfg', not 'server.cfg'.
Did that. But when I type in "exec myserver.cfg" it says couldn't exec myserver.cfg after I named it "myserver.cfg"
-
When you start the server, the console should say that it is executing a specific config file. Check what it is actually doing and see if it is executing your myserver.cfg or I'm guessing, falling back to another config, because it can't grab that server name from nothing.
-
I miss understood, I thought you meant a home server. Dedicated servers cost money if you buy them from a provider. Or if you;re like superman you can buy a VPS. and host you own servers and just pay for the VPS.
-
When you start the server, the console should say that it is executing a specific config file. Check what it is actually doing and see if it is executing your myserver.cfg or I'm guessing, falling back to another config, because it can't grab that server name from nothing.
Well, it says this:
Date: 2013-06-18
Winsock Initialized.
===== Paintball II Initialized =====
Couldn't exec configs/myserver.cfg.
----------------------------------
52 CMDlist entrys found.
----------------------------------
==== PB2 InitGame ====
autojoin on, normal
=== Rotation Init ===
5 maps added to rotation.
Global login enabled.
------- Server Initialization -------
mapname: shazam33
Bad field -> ammo == 200
Bad field -> gametype == 6
==== PB2 InitMatch ====
== Map Loaded: shazam33 ==
=== Team Flag CTF ===
0 entities inhibited
0 teams with 0 entities
ACE: No node file found, creating new one...done.
20:00 left in match.
-----------------------------------------------------
Sending heartbeat to 192.246.40.37.27900.
Sending heartbeat to 192.246.40.37.27900.
Foxhound, I currently do own my server as a home server. I will be port-forwarding soon.
-
So it has the line:
Couldn't exec configs/myserver.cfg
Which means its failing to load your config file. An obvious question, but do you have the myserver.cfg in the configs folder?
Also with relation to servers, you're talking about two different types. One is a COMPUTER server. The other is a GAMING server. You currently own your HOME computer, and run a GAMING server on it.
-
Which means its failing to load your config file. An obvious question, but do you have the myserver.cfg in the configs folder?
Yes.
Also with relation to servers, you're talking about two different types. One is a COMPUTER server. The other is a GAMING server. You currently own your HOME computer, and run a GAMING server on it.
So...I'm running the wrong type of server? Well, how do I change it? Do I start port-forwarding the gaming server?
-
So your server.cfg file is definitely called "myserver.cfg"? Not "server.cfg"? Do you mind uploading it?
-
Well, it won't let me upload the file since its a cfg file but I found what the problem was with the file while trying to upload it.
Turns out I named the file "myserver.cfg" when its a cfg file. So now the actual file name was "myserver.cfg.cfg".
So when I tried to put that in the black server thing, it didn't work because the file was named "myserver.cfg.cfg" at that time I tried to put it in the black server thing. Sorry guys :)
>>EDIT: Now my server works! Wow, what a mistake I made. But thanks for the support! :D
-
Also, to change how many people the server can have at max, where do you change it? In the myserver.cfg file?
-
Something like sv_maxclients I think.
-
oh ok thanks
>>EDIT: Where does that go?
-
Actually it might just be maxclients. Either way, stick it in the server config, so it'll be like
set maxclients 16
-
Well, it won't let me upload the file since its a cfg file but I found what the problem was with the file while trying to upload it.
Turns out I named the file "myserver.cfg" when its a cfg file. So now the actual file name was "myserver.cfg.cfg".
So when I tried to put that in the black server thing, it didn't work because the file was named "myserver.cfg.cfg" at that time I tried to put it in the black server thing. Sorry guys :)
>>EDIT: Now my server works! Wow, what a mistake I made. But thanks for the support! :D
Oh good, glad to hear.
Also, to change how many people the server can have at max, where do you change it? In the myserver.cfg file?
Just going to put this here..
"There is a modify button at the top right of your post:.
Anyway, like Cameron said, the command is sv_maxclients <integer>.
oh ok thanks
>>EDIT: Where does that go?
In your config file.
"set sv_maxclients <integer>"
At least, that's what I would do. Give it a shot :)
Also, for future reference...
Here is a list of settings (http://web.archive.org/web/20080401062922/http://digitalpaint.therisenrealm.com/reference/commands#ServerVariables)
Edit: Missed Cameron's second post, I'm not sure if it's sv_maxclients or just maxclients. So just give them both a go, but Cameron is most likely correct.
Actually, just checking back on that site. Cameron is definelty corect.
"set maxclients <integer>".
-
Just going to put this here..
"There is a modify button at the top right of your post:.
Yes, I know :) Ok thanks Rick and Cameron!
>>EDIT: (It was set maxclients <integer>!!! :D Thanks)
-
When I had my servers I got them hosted from dragongameservers.com.
-
Did you like that hosting site?
-
What's command for server so a flag capture DOESN'T end the round?
-
cvar_set flagcapendsround 0
-
ok Thanks! :D