Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

IW5M: Dedicated/B3/Client Install/All Tutorials

Опубликовано:

All IW5M Tutorials

 

If you request assistance please state which one you need before writing. Something like this:

Dedicated Server help
My server crashes!

Got it? Thank you!

 

Dedicated Server Tutorial

 

I am posting this ahead of time to be moved on release with IW5M, please offer any suggestions, changes and correct any errors:

 

 

How to make a Dedicated Server for IW5M:

1. Have clean install of MW3 from Steam (or HldsUpdateTool Installer)

 

2. Download the Dedicated Server Update Tool (dsut.zip).

 

3. Place both files into the root directory of mw3 where the folders and .exe files are.

 

4. Run dsut.exe

 

5. Create a shortcut to iw5m_server.exe and add the following paramaters into the target field after openning the properties:

+set net_queryPort 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

It should look something like this:

D:\iw5m\iw5m_server.exe +set net_queryport 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

 

6. Make sure you port forward 27015, 27016 AND 27017 of the net_queryport, net_port and masterServerPort on your router and firewall. Note: your antivirus (or rather the firewall that comes with it) is most likely going to block any server activity. Disable it or add an exception.

Go to: http://www.portforward.com/ for help on port-forwarding.

 

7. Go into the folder "admin" and edit the server.cfg file as you wish.

Find a copy of the server.cfg here.

Find a copy of default.dspl here.

 

8. Run the shortcut you made previously and away you go.

Your server should now be running.

 

How to Run Multiple Servers:

If you wish to create another server, copy and paste your server.cfg, rename it to server2.cfg or something appropriate and then change the following in your shortcut:

+set sv_config "server.cfg"
+set net_queryPort 27015
+set net_port 27016
+set net_masterServerPort 27017

to:

+set sv_config "server2.cfg"
+set net_queryPort 27018
+set net_port 27019
+set net_masterServerPort 27020

The ports can be different. I would suggest figuring out what ports you wish to use and then change them accordingly.

My suggestion is to use 15-17, 18-20, 21+22 and so you

You can use pretty much anything you want, just use some common sense and try to stay close to the 27000-27100 range

 

Also, in your config for each server add "seta g_log " and give a different log name. This is for b3.

 

Here is a breakdown of what each net_x parameter does:

+set net_port = ??? 
(I have no idea what this does but seems important) -Typing "net_port"  in the console will show this port.

+set net_queryPort = "game port"
(used for /connect) - Typing "net_queryport" in the console will show this port.

+ set net_masterServerPort = query port 
(This is used for b3/rcon) - Typing "net_masterServerPort" in the console will show this port.

net_authPort = auth port
(not used for IW5M) - This can be ignored

 

How to Edit Gametype/Recipes:

You can also get some premade recipes here

Go into the admin folder in your mw3 directory.

Open up your server.cfg

In that file, you should see a line (or few) like this:

// Dedicated server play list (DSPL) specifying server map rotation.
//    Valid game options are controlled via DSR (dedicated server recipe) specified in the DSPL.
seta sv_maprotation "default"

What you set there is where the server will read your map rotations and game types from.

Now open "default.dspl"

If you scroll to the bottom, you will see a few lines that look like this:

*,TDM_default,1
mp_bootleg,DOM_default,1
*,TDEF_default,1000
mp_bravo,JUG_default,1
mp_dome,FFA_default,1

This may look confusing, but it's actually quite simple.

The config is set up like this:

 

map,gametype,weight

 

Map can be any of the maps below or an *. A * Signifies "pick a random map".

Gametype can be any file that is in the admin folder. These are a little more difficult, I'll come back to this later.

Weight just means that the larger the number, the more likely it is to play. (1->1000)

So for instance, if you were to set:

mp_dome,FFA_default,1

This would mean that Dome would be the only map to play and it would be FFA.

If you were to set:

*,TDEF_default,1000

This would mean that it could be any map but it will be team defender every time.

But, if you were to set:

mp_bravo,JUG_default,1
mp_dome,FFA_default,2

This would mean that the only 2 maps your server would play would be Dome and Mission. Mission would always be Juggernaut and Dome would always be FFA. FFA on Dome is more likely to be played because the weight is higher.

 

I have included a modified default.dspl which helps to explain this under step 7 of the first part of this tutorial.

 

Now, on to gametypes.

If you open a .dsr file you will find a bunch of setting you can change. This is everything from gametype, to gametype rules, to class loadouts, to HC settings and such. This is your more in-depth server.cfg

But it's much better. You can fiddle around here OR you can go ingame, enter private match and then change the configuration to what you want. When you're done, hit the "save recipe to disk" button under the "Game setup" menu to save it to your admin folder on your computer.

All you need to do then is move it to your server, drop it back in the admin folder and configure your default.dspl to include it.

 

Map Names:

Standard Maps:

mp_alpha - Lockdown
mp_bootleg - Bootleg
mp_bravo - Mission
mp_carbon - Carbon
mp_dome - Dome
mp_exchange - Downturn
mp_hardhat - Hardhat
mp_interchange - Interchange
mp_lambeth - Fallen
mp_mogadishu - Bakaara
mp_paris - Resistance
mp_plaza2 - Arkaden
mp_seatown - Seatown
mp_radar - Outpost
mp_underground - Underground
mp_village - Village

DLC Maps:

mp_terminal_cls - Terminal
mp_cement - Foundation
mp_italy - Piazza
mp_meteora - Sanctuary
mp_morningwood - Black Box
mp_overwatch - Overwatch
mp_park - Liberation
mp_qadeem - Oasis
mp_boardwalk - Boardwalk
mp_moab - Gulch
mp_nola - Parish
mp_roughneck - Off shore
mp_shipbreaker - Decommission

Face-off Maps:

mp_aground_ss - Aground
mp_courtyard_ss - Erosion
mp_hillside_ss - Getaway
mp_restrepo_ss - Lookout
mp_crosswalk_ss - Intersection
mp_burn_ss - U-turn
mp_six_ss - Vortex

 

Colour Codes

^1 – Red
^2 – Green
^3 – Yellow
^4 – Blue
^5 – Light Blue
^6 – Pink
^7 – White
^0 – Black

Made by napsterlove.

___________________________________________________________________________________________________________________________________

 

B3 Tutorial

 

Prerequisites: (there are several tutorials on the web, on how to install and configure these)

 

To start, of course, an IW5M dedicated server (I hope you checked this tutorial already)

A webserver (IIS, apache, etc will do it. Tested with IIS 7.5)

MySQL Server - http://www.mysql.com/downloads/ (tested with MySQL Server 5.5)

PHP - http://www.php.net/

PhpMyAdmin - http://www.phpmyadmin.net/home_page/downloads.php

Python - http://www.python.org/download/ (tested with Python 2.7.3 64-bit)

MySql-Python - http://www.codegood.com/archives/129 (tested with MySQL-python-1.2.3 64-bit)

B3 Python source version - http://forum.bigbrotherbot.net/download ... iew;down=4 (tested with b3-1.8.1)

 

Later versions should work without any kind of problems (keep in mind about MySQL-Python compatibility with Phython versions though).

 

Also note that b3 can be set with an SQLite database instead of MySQL, saving you from installing a webserver, MySQL Server, PHP and PhpMyAdmin. But since I never used SQLite, I'm not the right person to tell you how to do it with SQLite. You can find some info on it here

Also, I preffer the typical installation (the one I'm explaining on this tutorial) because it allows you to install xlrstats or echelon webfronts.

 

 

Now that you got everything above running, it's time to create your database. Login on PhpMyAdmin, create the database and import the sql template that you can find inside b3\sql on the b3 package.

 

Now it's time to actually setup B3.

Extract "to somewhere" the content on your B3 zip (for guiding on this tutorial, let's suppose that you extracted it to the root of C drive and then renamed the folder to "b3")

The next step is to copy "cod8.py" to your b3 installation. You can find "cod8.py" on "admin" folder on your IW5M server installation. Copy "cod8.py" to "C:\b3\b3\parsers\"

 

Now go here to generate a config file (b3.xml):

http://config.bigbrotherbot.net/

Of course that you won't find IW5M on the list :) MW3 was never supposed to have b3 support, right? :P Just choose "Call of Duty: Modern Warfare 2"

Fill in all your information there. Keep in mind that B3 config files only work with front slashes (/). As for the log file, it's getting created on "scripts" folder. So, the path would be something like "C:/IW5M/scripts/games_mp.log".

For RCON IP, use the local IP. Do NOT use localhost (127.0.0.1)

The "Server Port" will be the port used for rcon. The port used for rcon will be the "query port". You can check what's that server's query port by looking at the console's output when you launch the server. Look at this line: "Initializing Steam Game Server: game port *****, auth port ****, query port *****,"

Save the config and move it to "C:\b3\b3\conf\"

 

Now open b3.xml with some text editor (notepad++ is great for it) and change the parser.

Where it says:

cod6

change to:

cod8

 

Usage of the !login command:

To prevent, that other can change their XUID to your one and control your server, you can use the 'login-plugin', provided by B3.

1.) Add this line to your b3.xml at the 'plugin-section':


2.) Change the plugin_login.xml, loacted in the conf folder to your favorite settings

3.) Go into your MySQL database, and go to (ex. 'b3') --> 'clients' --> search your name (ex. qvp | MAGIC) and click at 'edit'.

4.) Go to this MD5-'translator' homepage, because your password have to saved as MD5-hash. Enter your password in the TEXT thingy and click at ENCODE. Now you can copy your password as MD5-hash...

5.) Change to your MySQL database and paste the MD5-hash password in the password-field.

6.) Start/Restart your B3 and join your server.

7.) Now login with

/!login 

 

IMPORTANT

When you bind/write this command then be sure you are hiding it (default with /!login ! Or your password is revealed!

 

Or use this tutorial by 'TranquiliZer' : viewtopic.php?f=30&t=23413

 

 

Important note to hosts running HC servers:

Although we unlocked dedicated server commands, there's still a bug with Teamkill. If you're running an HC server with teamkill disabled, b3 will still ban players for teamkill, although they can't actually kill their team-mates. To prevent this from happening, remove "plugin_tk" from b3.xml.

Just delete this line, if exists:

 

Now just save the changes and close the file.

Browse to C:\b3\ and start "b3_run.py" to start B3.

 

On another note, B3 is capable of registering data to xlrstats database already. But since there's not an IW5M xlrstats template available already to retrieve the stats, we'll leave xlrstats tutorial for later.

 

To finish, I leave you an example of a working b3.xml

<?xml version="1.0"?>


cod8
mysql://root:mysqlpassword@localhost/b3
B3
^0(^2b3^0)^7:
%I:%M%p %Z %m/%d/%y
GMT
10
C:/b3/b3.log


rconpassword
27017
C:/IW5M/scripts/games_mp.log
192.168.1.1
192.168.1.1
off


xml
100
C:/b3/b3_doc.html


$clientname^7 was kicked by $adminname^7 $reason
$clientname^7 was kicked $reason
$clientname^7 was banned by $adminname^7 $reason
$clientname^7 was banned $reason
$clientname^7 was temp banned by $adminname^7 for $banduration^7 $reason
$clientname^7 was temp banned for $banduration^7 $reason
$clientname^7 was un-banned by $adminname^7 $reason
$clientname^7 was un-banned $reason


@b3/extplugins













Made by Paulofonta

___________________________________________________________________________________________________________________________________

 

Client Installation

 

 

If you have any questions just follow the video EXACTLY and make sure to read the description.

Made by DidUknowiPwn

 

 

-Staff you can edit this thread as much as you please!-

  • Ответы 686
  • Просмотры 125k
  • Created
  • Последний ответ

Top Posters In This Topic

Featured Replies

Опубликовано:
Is it not possible to create a program that can easily manage this for you? A user for TeknoGods created a program that simplifies everything for you by allowing you to create recipes and manage your dedicated server within itself. I would very much prefer a similar program for IW5M.

Yes, but it was REALLY buggy. Believe me I tried it. It's much better creating dsr files from the game, it's faster.

 

Anyways, here's what the console says

Welcome to IW5M r20.
http://fourdeltaone.net/ for help and support 
Connecting to online services....
Connected to online services.
Executing server config "server.cfg"
Succeeded reading from default.dspl
Loaded 2 map entries
Loading DSR "SD_default.dsr"...
Loading Succeeded for DSR "SD_default.dsr"
-----------------------------------
Spawning map: mp_interchange, gametype sd
Initializing Steam Game Server: game port 27015, auth port 8766, query port 27017, gamedir modernwarfare3, version 1.0.0.0
Steam Game Server initialized as Internet Server.
Steam Master Servers found (1). Server will be Internet Server listed.
[scriptLoader] An error occurred during initialization of the script GameLog: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.FormatException: Input string was not in a correct format.

 at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in :0 

 at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0 

 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0 

 at System.String.Format (System.String format, System.Object[] args) [0x00000] in :0 

 at InfinityScript.GameLog.Write (System.String format, System.Object[] args) [0x00000] in :0 

 at InfinityScript.GameLog..ctor () [0x00000] in :0 

 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)

 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 --- End of inner exception stack trace ---

 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in :0 

 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0 

 at System.Activator.CreateInstance (System.Type type) [0x00000] in :0 

 at InfinityScript.ScriptLoader.LoadAssembly (System.Reflection.Assembly assembly) [0x00000] in :0 
Spawn map (mp_interchange, sd) complete.
-----------------------------------

Same crap. The only thing I did is creating a dsr and a dspl, changing it in the server.cfg. But now I restored at the defaul (as you can see) and it's still the same problem. So I didn't do anything wrong, I guess...

You're loading a broken Script or running multiples of it.

 

How should I fix it? I tried to run again dsut.exe but didn't help...

Edit: Btw, the server works fine, B3 doesn't. Still, the problem occurs even if B3 isn't running. Weird.

Опубликовано:
Should B3 work without setting a log file?

If you don't set a log file, it will use "games_mp.log"

You only have to set log names when you plan on running b3 on more than 1 server with that installation.

Try deleting "scripts" folder and running dsut again. If it doesn't fix, either there's some messed up g_log command somewhere or the folder doesn't give the server permissions to write the log file.

Btw, just to clear you out, that problem has nothing to do with b3. That problem is related with the script that outputs the server's log.

Опубликовано:
Should B3 work without setting a log file?

If you don't set a log file, it will use "games_mp.log"

You only have to set log names when you plan on running b3 on more than 1 server with that installation.

Try deleting "scripts" folder and running dsut again. If it doesn't fix, either there's some messed up g_log command somewhere or the folder doesn't give the server permissions to write the log file.

Btw, just to clear you out, that problem has nothing to do with b3. That problem is related with the script that outputs the server's log.

That's just what I wanted to hear, an explanation of the problem, not just the fix. Thank you really really much. I'll go try to run dsut again after deleting the script folder. Thank you again.

Edit: And... I guess nothing changed.

Welcome to IW5M r20.
http://fourdeltaone.net/ for help and support 
Connecting to online services....
Connected to online services.
Executing server config "server.cfg"
Succeeded reading from default.dspl
Loaded 2 map entries
Loading DSR "INF_default.dsr"...
Loading Succeeded for DSR "INF_default.dsr"
-----------------------------------
Spawning map: mp_hillside_ss, gametype infect
Initializing Steam Game Server: game port 27015, auth port 8766, query port 27017, gamedir modernwarfare3, version 1.0.0.0
Steam Game Server initialized as Internet Server.
Steam Master Servers found (1). Server will be Internet Server listed.
[scriptLoader] An error occurred during initialization of the script GameLog: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.FormatException: Input string was not in a correct format.

 at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in :0 

 at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0 

 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0 

 at System.String.Format (System.String format, System.Object[] args) [0x00000] in :0 

 at InfinityScript.GameLog.Write (System.String format, System.Object[] args) [0x00000] in :0 

 at InfinityScript.GameLog..ctor () [0x00000] in :0 

 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)

 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 --- End of inner exception stack trace ---

 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in :0 

 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0 

 at System.Activator.CreateInstance (System.Type type) [0x00000] in :0 

 at InfinityScript.ScriptLoader.LoadAssembly (System.Reflection.Assembly assembly) [0x00000] in :0 
Spawn map (mp_hillside_ss, infect) complete.
-----------------------------------

I guess the server has write permission, because the file was about 160 kb before deleting scripts folder.

There aren't any g_log commands in the shortcut, neither in the server.cfg...

I'm confused.

Here's my personal server.cfg (I cut the rcon password, I don't want people to kick me from my own server xD)

 

// Modern Warfare 3 Server Configuration


//////////////////////////////////////////////////////////
// Server command-line parameters (this section is for documentation only)

// Specify server configuration file (this file)
//+set sv_config "filename" (default "server.cfg")

// Specify server visibility (1 = LAN, 2 = Internet (default) )
//+set dedicated 1

// Open game port (Steam-visible server game port)
//+set net_queryPort 27014

// Secure game port
//+set net_port 27015

// Steam authentication port
//+set net_authPort 8766

// Steam master server (server browser) port
//+set net_masterServerPort 27016



//////////////////////////////////////////////////////////
// Server.cfg-configurable settings

// log files (untested)
//// Edit by YUNODIE?: here there was the name of the log file, I removed it.

// Server host name. This should always be set by the server admin.
seta sv_hostname "^0{^3EM^0} ^2Clan ^4Server"

// Dedicated server play list (DSPL) specifying server map rotation.
//    Valid game options are controlled via DSR (dedicated server recipe) specified in the DSPL.
seta sv_maprotation "default"

// Maximum number of clients that may connect to this server (range 1-18)
seta sv_maxclients 12

// Server password. If set, users will be prompted on join attempt.
seta g_password ""

// Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) )
seta sv_privateClients 0

// Password for the private slots on this server. If set, users will be prompted on join attempt.
//    Users providing this password will have access to all slots.
//    Users providing an incorrect password will have access to the (sv_maxClients - sv_privateClients) public slots.
seta sv_privatePassword "" 

// Remote console password. If set, users will have access to a remote console, allowing server administration from a connected client.
////Edit by YUNODIE?: Removed for my server's safety? xD

// Server voice chat configuration ( 0 = "No Chat", 1 = "Free Chat", 2 = "Team Chat" (default) )
seta sv_voice 2

// Toggle voting for [player kick/map restart/next map] (0 or 1 (default) )
seta g_allowVote 1

// Toggle allowing dead players to chat with living players (0 (default) or 1)
seta g_deadChat 0

// Time in seconds before the server will kick a user for inactivity (range 0 - 10000)
seta g_inactivity 120

// Time in seconds for a player temporary ban (on kick/tempban) (range 0 - 3600)
seta sv_kickBanTime 300

// Toggle flood protection (throttling of user commands - should be enabled for non-password-protected Internet servers) (0 or 1 (default))
seta sv_floodProtect 1

Опубликовано:
Should B3 work without setting a log file?

If you don't set a log file, it will use "games_mp.log"

You only have to set log names when you plan on running b3 on more than 1 server with that installation.

Try deleting "scripts" folder and running dsut again. If it doesn't fix, either there's some messed up g_log command somewhere or the folder doesn't give the server permissions to write the log file.

Btw, just to clear you out, that problem has nothing to do with b3. That problem is related with the script that outputs the server's log.

That's just what I wanted to hear, an explanation of the problem, not just the fix. Thank you really really much. I'll go try to run dsut again after deleting the script folder. Thank you again.

Edit: And... I guess nothing changed.

Welcome to IW5M r20.
http://fourdeltaone.net/ for help and support 
Connecting to online services....
Connected to online services.
Executing server config "server.cfg"
Succeeded reading from default.dspl
Loaded 2 map entries
Loading DSR "INF_default.dsr"...
Loading Succeeded for DSR "INF_default.dsr"
-----------------------------------
Spawning map: mp_hillside_ss, gametype infect
Initializing Steam Game Server: game port 27015, auth port 8766, query port 27017, gamedir modernwarfare3, version 1.0.0.0
Steam Game Server initialized as Internet Server.
Steam Master Servers found (1). Server will be Internet Server listed.
[scriptLoader] An error occurred during initialization of the script GameLog: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.FormatException: Input string was not in a correct format.

 at System.String.ParseFormatSpecifier (System.String str, System.Int32& ptr, System.Int32& n, System.Int32& width, System.Boolean& left_align, System.String& format) [0x00000] in :0 

 at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0 

 at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0 

 at System.String.Format (System.String format, System.Object[] args) [0x00000] in :0 

 at InfinityScript.GameLog.Write (System.String format, System.Object[] args) [0x00000] in :0 

 at InfinityScript.GameLog..ctor () [0x00000] in :0 

 at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)

 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 --- End of inner exception stack trace ---

 at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0 

 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in :0 

 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in :0 

 at System.Activator.CreateInstance (System.Type type) [0x00000] in :0 

 at InfinityScript.ScriptLoader.LoadAssembly (System.Reflection.Assembly assembly) [0x00000] in :0 
Spawn map (mp_hillside_ss, infect) complete.
-----------------------------------

I guess the server has write permission, because the file was about 160 kb before deleting scripts folder.

There aren't any g_log commands in the shortcut, neither in the server.cfg...

I'm confused.

Here's my personal server.cfg (I cut the rcon password, I don't want people to kick me from my own server xD)

 

// IW5 Server Configuration


//////////////////////////////////////////////////////////
// Server command-line parameters (this section is for documentation only)

// Specify server configuration file (this file)
//+set sv_config "filename" (default "server.cfg")

// Specify server visibility (1 = LAN, 2 = Internet (default) )
//+set dedicated 1

// Open game port (Steam-visible server game port)
//+set net_queryPort 27014

// Secure game port
//+set net_port 27015

// Steam authentication port
//+set net_authPort 8766

// Steam master server (server browser) port
//+set net_masterServerPort 27016



//////////////////////////////////////////////////////////
// Server.cfg-configurable settings

// log files (untested)
//// Edit by YUNODIE?: here there was the name of the log file, I removed it.

// Server host name. This should always be set by the server admin.
seta sv_hostname "^0{^3EM^0} ^2Clan ^4Server"

// Dedicated server play list (DSPL) specifying server map rotation.
//    Valid game options are controlled via DSR (dedicated server recipe) specified in the DSPL.
seta sv_maprotation "default"

// Maximum number of clients that may connect to this server (range 1-18)
seta sv_maxclients 12

// Server password. If set, users will be prompted on join attempt.
seta g_password ""

// Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) )
seta sv_privateClients 0

// Password for the private slots on this server. If set, users will be prompted on join attempt.
//    Users providing this password will have access to all slots.
//    Users providing an incorrect password will have access to the (sv_maxClients - sv_privateClients) public slots.
seta sv_privatePassword "" 

// Remote console password. If set, users will have access to a remote console, allowing server administration from a connected client.
////Edit by YUNODIE?: Removed for my server's safety? xD

// Server voice chat configuration ( 0 = "No Chat", 1 = "Free Chat", 2 = "Team Chat" (default) )
seta sv_voice 2

// Toggle voting for [player kick/map restart/next map] (0 or 1 (default) )
seta g_allowVote 1

// Toggle allowing dead players to chat with living players (0 (default) or 1)
seta g_deadChat 0

// Time in seconds before the server will kick a user for inactivity (range 0 - 10000)
seta g_inactivity 120

// Time in seconds for a player temporary ban (on kick/tempban) (range 0 - 3600)
seta sv_kickBanTime 300

// Toggle flood protection (throttling of user commands - should be enabled for non-password-protected Internet servers) (0 or 1 (default))
seta sv_floodProtect 1

 

Sorry if I didn't edit the previous post, but it's another thing.

It starts writing in the log file but it does not go on. I tried opening the dedi twice. That's what the log says:

  0:00 ------------------------------------------------------------
 0:00 ------------------------------------------------------------

Once for each "try". I repeat, the server works, people can join etcetera etcetera. How to fix this? Any ideas? Already tried, as Paulofonta said, deleting "scripts" and re-running dsut.exe, nothing. What should I do? I really need b3, any help is appreciated.

Опубликовано:
I didn't find anywhere a tutorial about rcon. Firstable, does it work in 4D1? I turn on the rcon by writing /set rcon_password "example" and in the game I login by /login example, but nothing happens. :/

I have no idea if it works ):

Опубликовано:

Problem running multiple servers.

 

I have two servers on a VSP one TDM the other FFA both running in there own folders with different configs.

Problem is you can only join one of the servers, whatever server is up and running 1st is the server you will connect to ...no matter if you join the other server from the in game browser.

 

shortcuts to the servers are below.. Anyone else having this problem?

 

+set net_queryport 27015 +set net_port 27017 +set net_masterServerPort 27018 +set sv_config "server.cfg" +start_map_rotate

+set net_queryport 27019 +set net_port 27020 +set net_masterServerPort 27021 +set sv_config "server.cfg" +start_map_rotate

 

Anyone know what the freck I'm doing wrong... :lol:

Опубликовано:
DaNgo":30nu3rwc]Problem running multiple servers.

 

I have two servers on a VSP one TDM the other FFA both running in there own folders with different configs.

Problem is you can only join one of the servers, whatever server is up and running 1st is the server you will connect to ...no matter if you join the other server from the in game browser.

 

shortcuts to the servers are below.. Anyone else having this problem?

 

+set net_queryport 27015 +set net_port 27017 +set net_masterServerPort 27018 +set sv_config "server.cfg" +start_map_rotate

+set net_queryport 27019 +set net_port 27020 +set net_masterServerPort 27021 +set sv_config "server.cfg" +start_map_rotate

 

Anyone know what the freck I'm doing wrong... :lol:

 

I have the same things as you, I can't connect to my second server, is there a way to fix it cause I really want to host 2 servers...

 

Server console:

 

Server 1:Welcome to IW5M r19.

http://fourdeltaone.net/ for help and support :)

Connecting to online services....

Connected to online services.

net_port is write protected.

Executing server config "server.cfg"

Succeeded reading from default.dspl

Loaded 1 map entries

Loading DSR "shrp.dsr"...

Loading Succeeded for DSR "shrp.dsr"

-----------------------------------

Spawning map: mp_bravo, gametype dm

Initializing Steam Game Server: game port 27015, auth port 8766, query port 27017, gamedir modernwarfare3, version 1.0.0.0

Steam Game Server initialized as Internet Server.

Steam Master Servers found (1). Server will be Internet Server listed.

[scriptLoader] Loading script GameLog

[scriptLoader] Loading script PingFix

[scriptLoader] Loading script Sharpshooter

[scriptLoader] Loading script BOHud

[sharpshooter] weapon iw5_mg36 with a eotech

Spawn map (mp_bravo, dm) complete.

-----------------------------------

 

Server 2:

 

 

Welcome to IW5M r19.

http://fourdeltaone.net/ for help and support :)

Connecting to online services....

Connected to online services.

Executing server config "server2.cfg"

Succeeded reading from default2.dspl

Loaded 10 map entries

Loading DSR "Infected3.dsr"...

Loading Succeeded for DSR "Infected3.dsr"

-----------------------------------

Spawning map: mp_terminal_cls, gametype infect

Initializing Steam Game Server: game port 27018, auth port 8766, query port 27020, gamedir modernwarfare3, version 1.0.0.0

Steam Game Server initialized as Internet Server.

Steam Master Servers found (1). Server will be Internet Server listed.

[scriptLoader] Loading script GameLog

[scriptLoader] Loading script PingFix

Spawn map (mp_terminal_cls, infect) complete.

-----------------------------------

 

Shortcut for server 1:C:\mw3server\iw5m_server.exe +set net_queryPort 27015 +set net_port 27015 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

 

Shortcut for server 2:C:\mw3server\iw5m_server.exe +set net_queryPort 27018 +set net_port 27019 +set net_masterServerPort 27020 +set sv_config "server2.cfg" +start_map_rotate

 

Is there a way to fix it, I put both server's ports different and it says connection timeout.

 

If you can help please do :D

Опубликовано:
DaNgo":3vmnon2f]Anyone know what the freck I'm doing wrong... :lol:

viewtopic.php?f=30&t=11636

You probably have "seta net_queryport" defined on your cfg. Wich is forcing all servers to use the same game port.

 

Nope here is a copy of my config the other servers is identical, other than the name of the server.

 

// Modern Warfare 3 Server Configuration


//////////////////////////////////////////////////////////
// Server.cfg-configurable settings


// Server host name. This should always be set by the server admin.
seta sv_hostname "LETHALOVERDOSE.COM ^1HARDCORE TDM"

// Dedicated server play list (DSPL) specifying server map rotation.
//    Valid game options are controlled via DSR (dedicated server recipe) specified in the DSPL.
seta sv_maprotation "default"

// Maximum number of clients that may connect to this server (range 1-18)
seta sv_maxclients 18

// Server password. If set, users will be prompted on join attempt.
seta g_password ""

// Maximum number of private clients allowed on the server (range 0-18 (clamped to sv_maxclients) )
seta sv_privateClients 0

// Password for the private slots on this server. If set, users will be prompted on join attempt.
//    Users providing this password will have access to all slots.
//    Users providing an incorrect password will have access to the (sv_maxClients - sv_privateClients) public slots.
seta sv_privatePassword "" 

// Remote console password. If set, users will have access to a remote console, allowing server administration from a connected client.
seta rcon_password ""

// Server voice chat configuration ( 0 = "No Chat", 1 = "Free Chat", 2 = "Team Chat" (default) )
seta sv_voice 0

// Toggle voting for [player kick/map restart/next map] (0 or 1 (default) )
seta g_allowVote 0

// Toggle allowing dead players to chat with living players (0 (default) or 1)
seta g_deadChat 0

// Time in seconds before the server will kick a user for inactivity (range 0 - 10000)
seta g_inactivity 1000

// Time in seconds for a player temporary ban (on kick/tempban) (range 0 - 3600)
seta sv_kickBanTime 300

// Toggle flood protection (throttling of user commands - should be enabled for non-password-protected Internet servers) (0 or 1 (default))
seta sv_floodProtect 1

 

but if there is a way to hard code the game port in the config and that would work how do I go about that.

Опубликовано:
DaNgo":2rqkvcnl]but if there is a way to hard code the game port in the config and that would work how do I go about that.

I gave you an answer on your topic.

About this question, yes, you can. Add

seta net_queryPort [port]

On each server's cfg.

Опубликовано:
Powerhalo":23jc4yii]Is there a way to fix it, I put both server's ports different and it says connection timeout.

The server's consoles are showing that different ports are being used, so...

If you can't join any of the servers, try this: viewtopic.php?f=30&t=11270 (both on the client and server machines)

If you can connect to one server but not to the other, that means that you only forwarded the first server's ports.

Опубликовано:
DaNgo":3nethrfx]but if there is a way to hard code the game port in the config and that would work how do I go about that.

I gave you an answer on your topic.

About this question, yes, you can. Add

seta net_queryPort [port]

On each server's cfg.

 

Paulofonta Thanks for the help .. very appreciative

 

But still no go, still not working both are defaulting to 27015 even with it also added to the server configs.

 

SERVER 1 FFA

Welcome to IW5M r20.
http://fourdeltaone.net/ for help and support 
Connecting to online services....
Connected to online services.
net_queryPort is write protected.
Executing server config "server.cfg"
Error: default (84): map rotation list is full stopping 16
Succeeded reading from default.dspl
Loaded 16 map entries
Loading DSR "FFA_default.dsr"...
Loading Succeeded for DSR "FFA_default.dsr"
-----------------------------------
Spawning map: mp_dome, gametype dm
Initializing Steam Game Server: game port 27015, auth port 8766, query port 27018, gamedir modernwarfare3, version 1.0.0.0


SERVER 2 TDM

Welcome to IW5M r20.
http://fourdeltaone.net/ for help and support 
Connecting to online services....
Connected to online services.
net_queryPort is write protected.
Executing server config "server.cfg"
net_queryPort is write protected.
Error: default (84): map rotation list is full stopping 16
Succeeded reading from default.dspl
Loaded 16 map entries
Loading DSR "TDM_default.dsr"...
Loading Succeeded for DSR "TDM_default.dsr"
-----------------------------------
Spawning map: mp_alpha, gametype war
Initializing Steam Game Server: game port 27015, auth port 8766, query port 27021, gamedir modernwarfare3, version 1.0.0.0

 

How is it that "net_queryPort is write protected." no matter what I change it to other than 27015 that is the error I get..

 

Thanks again.

Опубликовано:

Figured it out

viewtopic.php?f=30&t=10996&p=83243

 

The P in Port has to be uppercase :lol:

 

So anyone having this problem the P in port should be uppercase on all ports..

 

+set net_queryPort 27015 +set net_Port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate

Опубликовано:
Powerhalo":1jo0att0]No, I just put the ports I need in a like config menu and I put the name bla blah blah

 

It it says that it can't add more entities...

Then its a router problem. Not fourdeltaone's fault.

Опубликовано:

HI GUYS.. :D

i have a problem..

when i change seta sv_hostname "modern warfare 3" to seta sv_hostname "MY server NAME" this name not changed and remained {{modern warfare 3}}

how i change it ?

Опубликовано:
Hey anyone have any info how to set up on a dedicated server on a linux vps ?

 

Thanks

Read this tutorial here:

viewtopic.php?f=7&t=4618

IW4M and IW5M aren't that different.

 

I have tried the iw4m and seems like everything was installed but when i try to start it with wine i get this.

 

root@server1:~/iw4m# wine iw5m_server.exe +set net_queryport 27015 +set net_port 27016 +set net_masterServerPort 27017 +set sv_config "server.cfg" +start_map_rotate
wine: created the configuration directory '/root/.wine'
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/root/.wine' has been updated.
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
Application tried to create a window, but no driver could be loaded.
Make sure that your X server is running and that $DISPLAY is set correctly.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.