|
CoD Multiplayer Everything about multiplayer in IL-2 CoD |
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
Dedicated Server HOW-TO (UPDATE 5/20/11)
This post will be edited as information changes
Step 1 (update 5/1/11) As of this post i understand that CLoD is making better use of multi cores but just tobe on the safe side here are some recommendations for setting processAffinityMask in your conf.ini file Dual-cores: SET processAffinityMask "3" Tri-cores & i5s: SET processAffinityMask "7" Quad-cores: SET processAffinityMask "15" I7s: SET processAffinityMask "85" 16-core/8-core hyper-threaded SET processAffinityMask "21845" Step 1.1 (METHOD 1) there are 2 ways to start a Dedicated server , below is Method 1 Right click Steam Icon (task bar) choose "library" in the upper left corner right click "il2-sturmovik cliffs of dover" and choose properties and then choose "set launch options" under launch option type in "-server" no quotations! click OK and then close steam windows (don't shut steam down) Step 1.1A Starting dedicated server(METHOD 2) open a CMD window navigate to the steam folder and type in Quote:
http://developer.valvesoftware.com/w...e_parameters_3 Step 2 start game, DOS window will open and you may or may not get an error about "servericeservicesteam" just ignore it and continue. Step 3 Setting the difficulty level, below in quotes is information that you will copy and save as "settings.cmd" in the root folder of your game \Documents\1C SoftClub\il-2 sturmovik cliffs of dover You can use any text editor to modify it, 0=off 1=on once you have change the values to your taste you will save the file in the root folder (as settings.cmd) and then in the DOS windows you will type "f settings.cmd" no quotes! hit enter ,now your server has the difficulty's settings you have chosen . Quote:
setting your map up correctly, ALL maps must have this code or one like it to keep the server from being cluttered with AI and broken aircraft. the script below must be dropped in the script section of what ever map you have loaded (under FMB), location is edit,script and then script tab once inserted choose save and a .cs of the same name as your mission will be generated. now you may place your spawn point AA and what ever else you wish. Now choose "view" then "object" and choose the top item from the drop menu which is "AI" under AI choose "airfield" and then hold down the CTRL button and left click the mouse with cursor right in the middle of you spawn points, then choose the AI actor tab and set the radius to 250 , this will remove broken AC from the spawn point. (thnx Dodhouse3 for airfield.cpp) once your map is done choose "save as" pick a name and make sure you move it to the root along with it .cs mate(see above) folder. (thnx ZaltysZ for script) Quote:
starting your server. type "missLoad" (name of you map) and hit enter then type "battle start" if you see an "ok" at the end your server is started "battle stop" will stop the server and "host" will tell you how many people our on and typing "?" will give you a list of commands Below is a script using .cmd i use to rotate maps Quote:
S!
__________________
Gigabyte Z68 Intel 2500K (@4.3 ghz)212 CM Cooler 8GB Ram EVGA 660SC (super clocked) 2GB Vram CORSAIR CMPSU-750TX 750W 64 GB SSD SATA II HD WIN7 UL 64BIT Last edited by Thee_oddball; 05-21-2011 at 10:29 PM. |
#2
|
|||
|
|||
Very much appreciated
|
#3
|
|||
|
|||
Thank you sir. I'm a happy camper.
Now I have one questions . What files are needed to start the dedicated server? I really don't want to go out and buy a second game just to run a dedicated server |
#4
|
|||
|
|||
According to Ataros we need another steam account and parts (cant remember) of our game to get a dedi started...but i cant find the post..perhaps ataros will repost the info
__________________
Gigabyte Z68 Intel 2500K (@4.3 ghz)212 CM Cooler 8GB Ram EVGA 660SC (super clocked) 2GB Vram CORSAIR CMPSU-750TX 750W 64 GB SSD SATA II HD WIN7 UL 64BIT |
#5
|
|||
|
|||
Oddball,
Can you tell us what the script exectly do>? Thanks |
#6
|
|||
|
|||
which one Lead?
__________________
Gigabyte Z68 Intel 2500K (@4.3 ghz)212 CM Cooler 8GB Ram EVGA 660SC (super clocked) 2GB Vram CORSAIR CMPSU-750TX 750W 64 GB SSD SATA II HD WIN7 UL 64BIT |
#7
|
|||
|
|||
Quote:
Try setting up a separate Steam account on the machine where you run a dedi server. This Steam account can be completely empty, i.e. without any games purchased according to the admin of Repka server. |
#8
|
|||
|
|||
Ok ...6 hours of trial and error has had some positive results
all you need to run(tested) the dedicated server is parts folder with just the core in it Launcher.exe Launcher,exe.config launchergdf,dll Bad new is that if I take those file mentioned above and move them to another location and Launch the server the window will open but it is followed by a "steamgameserver_init call failed" now i tried copying the steam DLL files that were mentioned in another thread along with some other I thought might help but after trying 50 different ways to launch it i gave up this problem is has todo with steam. Good news is you can start the server with out modifying the launcher open a CMD window navigate to the steam folder and type in Quote:
here are some more commands ,the most intriguing is the -script one however i could not get it t work Command-line parameters * -applaunch %id %c - This launches an Game or Application through Steam. Replace the %id with the Game/Application ID number that you want to open up, replace %c with the command line parameters for the game as listed in the Source Games section above. * -cafeapplaunch - Launch apps in a cyber cafe context (Forces apps to be verified / validated before launch) * -clearbeta - Opts out of beta participation (in case for some reason it can't be done via settings). * -complete_install_via_http - Run installation completion over HTTP by default * -console - Enables the Steam debug console tab * -ccsyntax - Spew details about the localized strings we load * -debug_steamapi - enables logging of Steam API functions * -developer - Undocumented, sets the 'developer' variable to 1. Can be used to open the VGUI editor by pressing F6. * -fs_log - Log file system accesses * -fs_target - Set target syntax * -fs_logbins - Log the binaries we load during operation * -forceservice - Run Steam Client Service even if Steam has admin rights * -gameoverlayinject - Sets the method how GameOverlay is injected * -install %p - Install a product from a specified path (e.g. "D:" for the DVD-ROM drive if D: is one). * -installer_test - changes installing a retail game to emit all files to install_validate/ folder instead of to the steam cache * -language %l - Sets the Steam language to the one specified. (Examples: "english", "german") * -login %u %p - This logs into Steam with the specified Username and Password combination. Replace %u with the username, and %p with the password you want to login with (Steam must be off for this to work.) * -lognetapi - logs all P2P networking info to log/netapi_log.txt * -log_voice - writes voice chat data to the logs/voice_log.txt file * -noasync - Don't use async file operations, run them synchronous instead * -nocache - This starts steam with no cache (Steam must be off for this to work properly.) * -no-dwrite - forces vgui to use GDI text even if DWrite support is available * -script %s - This runs a Steam script. Replace %s with the script filename. All scripts must be in a subdirectory of the Steam folder called test scripts (Steam must be off for this to work.) * -shutdown - This shuts down (exits) Steam. * -silent - This suppresses the dialog box that opens when you start steam. It is used when you have Steam set to auto-start when your computer turns on. (Steam must be off for this to work.) * -single_core - Force Steam to run on your primary CPU only * -tcp - forces connection to Steam backend to be via TCP * -voice_quality - sets audio quality, range [1,3] * -voicerelay - Only allow 'relay' connections for voice (testing). http://developer.valvesoftware.com/w...ons#Examples_2 I don't think making an empty steam account and copying the aforementioned files will work because i think steam will tell you "you dont own that game" but i might be wrong if your going to i would make a il2 folder just like the one you have and drop it in the same location Steam\steamapps\Common and then try the launch method above. S!
__________________
Gigabyte Z68 Intel 2500K (@4.3 ghz)212 CM Cooler 8GB Ram EVGA 660SC (super clocked) 2GB Vram CORSAIR CMPSU-750TX 750W 64 GB SSD SATA II HD WIN7 UL 64BIT Last edited by Thee_oddball; 04-25-2011 at 01:34 AM. |
#9
|
||||
|
||||
Quote:
using System; using maddox.game; using maddox.game.world; using System.Collections.Generic; public class Mission : AMission { part once then place each part of code within its start and end {....} followed by the 'public class Mission : AMission' ending bracket } ? Like This: Quote:
__________________
klem 56 Squadron RAF "Firebirds" http://firebirds.2ndtaf.org.uk/ ASUS Sabertooth X58 /i7 950 @ 4GHz / 6Gb DDR3 1600 CAS8 / EVGA GTX570 GPU 1.28Gb superclocked / Crucial 128Gb SSD SATA III 6Gb/s, 355Mb-215Mb Read-Write / 850W PSU Windows 7 64 bit Home Premium / Samsung 22" 226BW @ 1680 x 1050 / TrackIR4 with TrackIR5 software / Saitek X52 Pro & Rudders Last edited by klem; 05-16-2011 at 08:32 PM. Reason: script added |
#10
|
|||
|
|||
Quote:
Check out this working script http://forum.1cpublishing.eu/showpos...5&postcount=41 Discussion moved here http://forum.1cpublishing.eu/forumdisplay.php?f=203 |
Thread Tools | |
Display Modes | |
|
|