ubi.com    Forums  Hop To Forum Categories  Far Cry  Hop To Forums  Far Cry Technical Community Help    [PC] Running a Server: Custom maps on Ranked - Port Info - PB/admin Info
Page 1 2 3 4 5 
Go
New
Find
Notify
Tools
Reply
  
  Login/Join 
Posted Hide Post
I finally got a server going (oh the pain), but I have a few questions.
I meet the minimum specs in the original posts, and things seem to be going okay
The game has been full mostly for 3 days straight, and if it was crap I would think
people wouldn’t be staying on for 15+ rounds. (don’t people get tired after a while?)

But in my testing I got the impression that when I log on and play myself, that my
gaming computer gets routed directly to the server computer that is on the same network
and sharing the same internet connection.
So I’m not really using bandwidth? Would that be correct?

Btw, the server is running about 50-60% cpu usage, and using a little over 200M memory with 16/16 players.
 
Posts: 231 | Registered: Wed November 26 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Harcore Mode.....and now?
how to use the new serverlauncher?
help us furious
 
Posts: 5 | Registered: Wed November 26 2008Reply With QuoteEdit or Delete MessageReport This Post
Picture of Agent00Kevin
Posted Hide Post
This is what the dedicated_server.cfg file looks like. Before each setsetting value there is a brief explanation of what it is for, what the values are and what they do. If you notice, this is one Im working on right now, and I have already changed it to a Ranked match with the server name of >>..UberNerdServer #1. I believe when you set your map cycle you need the full filename, including all the numbers after the map name on a downloaded map. [Example: UNS Labs_agent00kevin_027771661524.fc2map]

So far I was not able to get a server to run with ALL of the options I wanted, but only some of them. I will get my new cfg file done later and ry it. If it does not work I will cpy-paste the entire hing to help find outwhat is going wrong.

Notice the semicolons at the beginning of each line. You have to get rid of these before ANY setsetting command. Leave them in before the explanations as this turns them into a 'note', a basic technique in programming that tells you what each line is for.

Als, between each map name, you MUST have the semicolon.

Server name: maximum of 32 characters (single-byte)
SetSetting server_name >>..UberNerdServer #1

; Deathmatch, TeamDeathmatch, Uprising, Ctf
SetSetting gamemode Deathmatch

; Map cycle: available maps: mp_01_dirtywork;mp_02_lastbastion;mp_03_pitbull;mp_04_loveshacks;mp_05_mudmaze;mp_06_cutbait;mp_07_riotcontrol;mp_08_coupdetat;mp_09_rumblestrip;mp_10_rustybeef;mp_11_farcry;mp_12_crudeawakening;mp_13_clearcut;mp_14_sandblasted
; Separate each map by a semi-colon
SetSetting map_cycle mp_01_dirtywork;mp_02_lastbastion;mp_03_pitbull;mp_04_loveshacks;mp_05_mudmaze;mp_06_cutbait;mp_07_riotcontrol;mp_08_coupdetat;mp_09_rumblestrip;mp_10_rustybeef;mp_11_farcry;mp_12_crudeawakening;mp_13_clearcut;mp_14_sandblasted

; Network type, 1 = Online, 2 = LAN
SetSetting network_type 1

; Ranked match, 0 = unranked player match, 1 = ranked match
SetSetting ranked_match 1

;Sets password for entering a password protected match
;SetSetting matchPassword yourpassword

; Punkbuster (required for ranked matches) : 1 = Enables Punkbuster(Default and Ranked match value), 0 = Disables PunkBuster
SetSetting match_pb_enabled 0

; Sets the minimum number of players before a match can start. 2=(Ranked match value)
SetSetting minplayers 1

; Sets the maximum number of players for a match (16 is the Maximum and Default value)
SetSetting maxplayers 16

; 1 = Balances teams in the lobby before the match starts, 0 = Otherwise
SetSetting teambalance 1

; 1 = Allows team swap in the lobby, 0 = Otherwise
SetSetting teamswap 0

; 1 = Friendly fire on (Ranked match value), 0=Friendly fire off
SetSetting friendly_fire 1

; 1 = Allows players to join in progress, 0 = Join in progress not allowed (Ranked match value)
SetSetting joinprogress 1

;Sets the match duration in seconds.
;0=Infinite, 300=5min, 600=10min, 900=15min(Default and Ranked match value), 1200=20min, 1500=25min, 1800=30min, 3600=60min
SetSetting inroundtime 900

;Sets the limit of points for a match
;For Death Match values = 5, 10, 20 (Default value), 25(Ranked match value), 30, 40, 50, 100, 0(for no limit)
;For Team Death Match values = 5, 10, 15, 20, 25, 30, 40, 50, 100(Default and Ranked match value), 200, 0(for no limit)
;For Capture the Diamond values = 3, 5(Default and Ranked match value), 10, 20, 30, 40, 50, 100, 0(for no limit)
;For Uprising values = 1(Default and Ranked match value)
SetSetting max_score 20

;This forces the game to discover your public IP address if you are behind a router. Enabled by default.
;0 = force detection of your public IP address, 1 = uses your local IP address
SetSetting detectPublicAddress 1

;Sets password for admin login
;SetSetting remotePassword yourpassword

;Sets the time of day for the beginning of the match.
;0=MapDefault(Ranked match value), -1=Random, 6=Dawn, 11=Midday, 21=Dusk, 23=Night
;SetSetting time_of_day 0

;Sets the weather for the match. Ranked match will use map default.
;0=Clear, 25=Windy, 50=Varied, 75=Overcast, 100=Stormy, -1=Random(Ranked match value)
;SetSetting weather_type -1
 
Posts: 2106 | Registered: Sat January 17 2009Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Ok i have done alot of editing to the original post to corrispond with the new update.

I just downloaded and installed the update and checked into the new server ap and i think i have all the basics down.

I will try to ad more about rcon and pb later but what is listed now is all the same PB wise as PB is basically the same for all games and servers.

I do need the following commands if you guys can help find them, these commands were able to be used before with the dedicated but not now, they can still be used with nondedicated thoe.

net_SkipMap - need dedicated command
net_ExtendMatch
net_EndMatch
net_ShuffleTeam


-----------------------------------
24 Custom Maps Published [PC] - Search by map name FuRiouS
Or Download them here.
 
Posts: 837 | Registered: Sat December 27 2008Reply With QuoteEdit or Delete MessageReport This Post
Picture of Agent00Kevin
Posted Hide Post
Thank you so much furious....I am so noobing it up here and nobody else who has the knowlege is willing to help it seems, so before you came along it was just a collaboration of what we had all figured out. I think what most of us need now is how to do pb rcon and all that, since those of us who never had to use it before now have to Smile
 
Posts: 2106 | Registered: Sat January 17 2009Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
There is so much you can do with PB Rcon its too much to list here.

Basically Rcon is for admins to set up privileges to other players to use certain command within in the game such as kick ban force screen shots switch map and such.

Every command that PB has available to the master admin can be added into the Rcon file with appropriate power points needed to use them.

The easiest for beginners is just set up your PBpower file adding players you choose to admin the server with 100 power points then they will automatically be able to use all PB commands to kick ban and such. Rcon is just an advance pb power tool.

for more in dept info on rcon please go here.
http://www.punksbusted.com/wik...Power_Points#PB_Rcon


-----------------------------------
24 Custom Maps Published [PC] - Search by map name FuRiouS
Or Download them here.
 
Posts: 837 | Registered: Sat December 27 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Here are all the commands that i have tried that DO NOT work.

We as users need to find working commands to fully admin out servers.

net_SkipMap
net_Skip
net_RotateMap
net_Rotate
admin_net_SkipMap
admin_net_Skip
admin_net_RotateMap
admin_net_Rotate
net_extendmatch
net_endmatch
admin_net_extendmatch
admin_net_endmatch

I have even tried it with pb_sv_

Im sure there is a way to ser up PB to do all this as pb does have a pbmaplist file but there should still be in game commands for these somewhere.

Also if you have started a server through the game (NON dedicated) all of the above commands still work as before (without the admin_ part). The IN game server has not really changed much.


-----------------------------------
24 Custom Maps Published [PC] - Search by map name FuRiouS
Or Download them here.
 
Posts: 837 | Registered: Sat December 27 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Disregard above post, found a workaround (fix) for all old commands.

Coming soon in an update to original post, stay tuned Smile.


-----------------------------------
24 Custom Maps Published [PC] - Search by map name FuRiouS
Or Download them here.
 
Posts: 837 | Registered: Sat December 27 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Hi guys,

We have an issue (asked a similar Q at map forum): Our dedicated (PC, ranked) server has been running fine up until the recent update. Now, we get a black command window instead of the usual application window.

Was that the idea with the update or has something gone wrong? Any known fixes?

We run Vista on our gaming PC, but XP on the server PC.

Perhaps there is an easy fix to this that you have already discussed in the forum. Sorry in that case - we haven't had the time to dig deep into this. Anyhow, hoping that we can get some suggestions.
 
Posts: 325 | Registered: Tue February 10 2009Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
quote:
Originally posted by darius1962:
Hi guys,

We have an issue (asked a similar Q at map forum): Our dedicated (PC, ranked) server has been running fine up until the recent update. Now, we get a black command window instead of the usual application window.

Was that the idea with the update or has something gone wrong? Any known fixes?

We run Vista on our gaming PC, but XP on the server PC.

Perhaps there is an easy fix to this that you have already discussed in the forum. Sorry in that case - we haven't had the time to dig deep into this. Anyhow, hoping that we can get some suggestions.


Yes the dedicated server has changed majorly. Try reading the very first post in this thread Wink.


-----------------------------------
24 Custom Maps Published [PC] - Search by map name FuRiouS
Or Download them here.
 
Posts: 837 | Registered: Sat December 27 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
No sweat - we found a new server file and after some minor editing we were up and running again.

But what the BEEP!? This (so called) server launcher is really a significant downgrade. Is anyone happy with it?
 
Posts: 325 | Registered: Tue February 10 2009Reply With QuoteEdit or Delete MessageReport This Post
Picture of Agent00Kevin
Posted Hide Post
Darius, well i was going to link you here from the mapmaking forum, but here you are so no need.


I like the new server system, though it can be more annoying to set up rotations. I can admin all 3 servers and feel free to flip around the servers, mine or other peoples more than I used to. I used to run in-game server when I wanted to play, so I was stuck waiting a lot on slower days. Now, I have to use 2 seperate boxes, so my PC that used to be tied up running one in game server is now what I play on. No server is run on it when I am playing, so that frees me up to bounce back and forth between all 3 servers as well as others to keep playing.

I also like the required # of players to start, it ensures that you will always have enough for a good game instead of 2 gogog gog gogogog people taking over the server with waitready to 100.
 
Posts: 2106 | Registered: Sat January 17 2009Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Is there a limit to the number of maps that can be put into the rotation?
 
Posts: 231 | Registered: Wed November 26 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Kev, I agree that the minimum level is good. We've set it to 6, but it could be higher.

I don't like the lack of control. We usually make sure that the teams are balanced before start (when we're around) and terminate the game if many players leave. In our first test with the new server S/W we ended up with a 7v1 game. No fun. Poor guy fought well though.

Or are we missing something - can we still control the game?
 
Posts: 325 | Registered: Tue February 10 2009Reply With QuoteEdit or Delete MessageReport This Post
Picture of Pacient.cz
Posted Hide Post
Correct Kevin Cool
 
Posts: 721 | Registered: Wed November 19 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
We're getting more bad experiences with the new server: VGR-nemesis, who is a known cheater, comes along and starts throwing insults around. Before, we would have kicked him, now all we could do was to stop the server.

I am really displeased with the new server. One improvement - the ability to set number of players - combined with the removal of practically all good features.
 
Posts: 325 | Registered: Tue February 10 2009Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
On the 6th of June I organized a corporate lan-party for 30 people and the new 1.03 dedicated server gave me quite some work to adjust the server configs, especially with the narrow timeframe of just three days..
For these lan-parties I always make sure I have a few configs prepared (and tested), because I don't want to much hassle at the party itself, I am there to have fun as well !
In this great thread is already al lot of good info, but perhaps I can add something extra from my experience.
Besides Lan-parties I also regulary host an online dedicated server with custom maps named Violent Playground. The server configs for this server I use as an example below.

The game is installed in C:\Far Cry 2 (I prefer a small path name for my server configs).

Copied the shortcut of the dedicated server (from the Start menu) to C:\Far Cry 2.
Also copied the dedicated_server.cfg (from My Games\Far Cry 2\Server\) to C:\Far Cry 2.

Renamed dedicated_server.cfg to VP_DM01.cfg and edited the file to a nice DM config (see top of thread for howto).

Also renamed the dedicated server shortcut to "VP_DM01". Went to the properties of this shortcut and adjusted the target to:
"C:\Far Cry 2\bin\FC2ServerLauncher.exe" -dedicated "C:\Far Cry 2\VP_DM01.cfg" and save with OK.

Doubleclick the shortcut VP_DM01 and your server will run (if you setup the VP_DM01.cfg correctly).

After this I cloned and adjusted both the ".cfg" file and the shortcut for some more configs.
VP_DM01.cfg => VP_DM01_HC.cfg : added hardcore mode to config and added [HC] to the servername.
Renamed shortcut VP_DM01 => VP_DM01_HC and changed the target in the properties to:
"C:\Far Cry 2\bin\FC2ServerLauncher.exe" -dedicated "C:\Far Cry 2\VP_DM01_HC.cfg"

And again for a CTD config, cloned the ".cfg" file and the shortcut as already explained above.
Adjusted the cfg to CTD with some nice maps. Doubleclick shortcut to run your CTD server.

After setting up some initial configs with their shortcuts, I wil now only change the mapcycle every once in a while in the "cfg" file.
For the rest I only doubleclick the appropriate shortcut. Works fine for me, perhaps also for other hosters.
 
Posts: 100 | Registered: Thu February 12 2009Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
For everyone that doesnt like the new change its only because you got use to the high recourse launcher we had in the beginning which was not any good at all.

Now we have a server launcher like all other games use such as BF COD and more of your popular games. With this new launcher the server will now be hosted by many of the well know game server hosting companies around the web.

Sure they still need to make some improvements for non PB users but for PB users its pretty much a great server launcher now (If you know how to run a server properly that is).

Also im so against anyone running a server on a personal computer and think its funny that most everyone still does now we have a true server launcher. Yes before with the high resource launcher we were forced to host personal server on our PCs cause no hosting company would touch the game but now? all hosting companies will be happy to host this game for you just like they have and do for all the popular games you see out there.

Pretty much everything you need to run a PB server on ranked is in the opening post of this thread, if you should have any questions about any of it please feel free to post here. But again i highly stress that you host your game on a true dedicated server either with your own or through a game server host for best performance and quality Smile.


-----------------------------------
24 Custom Maps Published [PC] - Search by map name FuRiouS
Or Download them here.
 
Posts: 837 | Registered: Sat December 27 2008Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Furious, you're absolutely right - we have all gotten used to the superior functionality of the previous launcher and are now deeply frustrated that we need to accept something that's similar to any other ordinary one.

But never mind - this will also work. The amount of manual editing to set up a new rotation is roughly the same as before.
 
Posts: 325 | Registered: Tue February 10 2009Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
quote:
Originally posted by darius1962:
Furious, you're absolutely right - we have all gotten used to the superior functionality of the previous launcher and are now deeply frustrated that we need to accept something that's similar to any other ordinary one.

But never mind - this will also work. The amount of manual editing to set up a new rotation is roughly the same as before.


I wouldnt say superior at all, the old server launcher is pretty much what killed this game for online playeers.

As for settup up your map rotations yes it is the same as before as well as the same pretty much for all other games. You can even upload all your maps to the proper locations on yoru server then upload many map rotations with different game modes to the pb folder on the server. Set up Rcon with 100 exec and this will allow all users with 100 power to use the exec command and tell rcon to run which ever map config you wish Smile.


-----------------------------------
24 Custom Maps Published [PC] - Search by map name FuRiouS
Or Download them here.
 
Posts: 837 | Registered: Sat December 27 2008Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community Page 1 2 3 4 5  
 

ubi.com    Forums  Hop To Forum Categories  Far Cry  Hop To Forums  Far Cry Technical Community Help    [PC] Running a Server: Custom maps on Ranked - Port Info - PB/admin Info

Terms of Use

Privacy Policy