forked from Sup3rnovaRev/Sup3rnovaRev.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
OfflineServerGuide.html
184 lines (166 loc) · 10.2 KB
/
OfflineServerGuide.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-154878289-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-154878289-1');
</script>
<title>Offline Server Guide</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="LAN Server Guide, all the information you need to get a local LAN server up and running"/>
<meta name="keywords" content="IW4x, IW4x LAN Party Guide, LAN Dedicated Server Guide, Local, iw4x lan dedi server setup, iw4x server guide"/>
<meta name="theme-color" content="#317EFB"/>
<meta property="og:image" content="iw4xSplashAlt2.jpg">
<link rel="manifest" href="manifest.json">
<link rel="icon" href="iw4xIcon.ico">
<!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]-->
<script src="js/jquery.min.js"></script>
<script src="js/jquery.dropotron.min.js"></script>
<script src="js/jquery.scrollgress.min.js"></script>
<script src="js/jquery.scrolly.min.js"></script>
<script src="js/jquery.slidertron.min.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/skel-layers.min.js"></script>
<script src="js/init.js"></script>
<noscript>
<link rel="stylesheet" href="css/skel.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-xlarge.css" />
</noscript>
<!--[if lte IE 9]><link rel="stylesheet" href="css/ie/v9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="css/ie/v8.css" /><![endif]-->
</head>
<body class="landing">
<!-- Header -->
<header id="header" class="alt skel-layers-fixed">
<nav id="nav">
<ul>
<li><a data-langkey="navbar-Home" href="index.html">Home</a></li>
<li><a data-langkey="navbar-Guides" href="guides.html">Guides</a></li>
<li><a data-langkey="navbar-Downloads" href="downloads.html">Downloads</a></li>
<li><a data-langkey="navbar-Support" href="supportCenter.html">Support</a></li>
<li><a data-langkey="navbar-Faq" href="faq.html">FAQ</a></li>
<li><a data-langkey="navbar-About" href="about.html">About</a></li>
<li>
<a href="" class="icon fa-angle-down"><span id="currentFlag" class="flag-icon flag-icon-gb"></span></a>
<ul>
<li><a href="" onclick="switchLanguage('gb')"><span class="flag-icon flag-icon-gb"></span> English</a></li>
<li><a href="" onclick="switchLanguage('de')"><span class="flag-icon flag-icon-de"></span> German</a></li>
<li><a href="" onclick="switchLanguage('es')"><span class="flag-icon flag-icon-es"></span> Spanish</a></li>
</ul>
</li>
</ul>
</nav>
</header>
<!-- Banner -->
<section id="bannerSkinny">
<div class="inner">
<h2>Offline LAN Server Guide</h2>
<a href="guides.html" class="button">Return to Guide list</a>
</div>
</section>
<!-- one -->
<section id="one" class="wrapper style1">
<div class="container">
<h3><u>Introduction</u></h3>
<p>This guide will cover the setup of a dedicated server for IW4x for use on a Local Area Network (LAN), please note this is for <b>advanced users only</b>. If you are looking for a simply way to play with friends I recommend you check out the <a href="privateMatchGuide.html"> Private Match Guide</a>.</p>
<p>There are two main types of servers. There are party servers or match servers, party server act like a traditional steam MW2 lobby, leaving you time to vote for the next map and edit your classes. The other type of server is match, this is the most commonly used type of server and simply rotates map to map without any lobby.</p>
<div class="row">
<div class="6u 12u(2)">
<h4>Party Server</h4>
<ul>
<li>Steam style lobby system.</li>
<li>Adjust classes and killstreak rewards without leaving the server.</li>
<li>Vote to skip next map.</li>
<li><b>Note:</b> Party servers are very buggy and unstable, they will crash often and even with scripts the server might not properly restart. It is advised to not use party servers and stick to match servers instead!</li>
</ul>
</div>
<div class="6u 12u(2)">
<h4>Match Server</h4>
<ul>
<li>A normal dedicated server that makes use of a map rotation.</li>
<li>Rotates map to map with no lobby.</li>
<li>Stable and the recommended server type to use.</li>
</ul>
</div>
</div>
<h3><u>Requirements</u></h3>
<ul>
<li><a href="https://www.microsoft.com/en-us/download/details.aspx?id=40784">The Visual C++ Redistributable Package</a></li>
<li><a href="https://code.visualstudio.com/">Visual Code</a>, <a href="https://notepad-plus-plus.org/">Notepad++</a> or <a href="https://www.sublimetext.com/">Sublime Text</a> - (You may use whatever editor you choose but we don't recommend windows notepad)</li>
<li><b>IW4x All-In-One (Dedicated Server Edition)</b> - (Streamlined version of MW2 with textures removed for reduced file size)<br> <a href="https://dss0.cc/alterwarez/download/iw4x_dedicated_server_full.torrent" >[Torrent Download]</a> or <a href="https://drive.google.com/uc?id=1d7IisZ5ld0cpZFsE2T4zNRQ9gWFXGXk_" >[Direct Download]</a></li>
<li>Some technical knowledge / background knowledge of computers</li>
</ul>
<h3><u>Match Server Setup</u></h3>
<ul>
<li>Download the IW4x All-In-One Dedicated Server Edition (See Requirements Section) and place it in a location of your choosing on your VPS or PC</li>
<li>Right click the DedicatedServer.bat file and go to edit with notepad++</li>
<li>Carefully review/edit the bat file. Game Port LAN Mode.</li>
<li>Save the file that you just edit.</li>
<li>Go to your userraw folder. Right click on server.cfg and edit with notepad++</li>
<li>Carefully review edit the cfg file to your liking.<br>Give it a hostname, Message of the day, Gametype, remove/add maps that you want on the rotate.</li>
<li>Ensure you set <b>LANMode=1</b>, this is important for Offline servers.</li>
<li>Save the server.cfg file that you just edit after you done. You can always go back and edit it</li>
<li>Forward the TCP and UDP port you put in the bat file.</li>
<li>Run the startserver.bat and have fun! (ignore any missing console errors)</li>
<li>Client PC's Go to Join Game and on the server browser set the Source option to LAN and the server should be listed.</li>
</ul>
<h3><u>Party Server Setup</u></h3>
<ul>
<li>Download the IW4x All-In-One Dedicated Server Edition (See Requirements Section) and place it in a location of your choosing on your VPS or PC</li>
<li>Right click the DedicatedLobbyServer.bat file and go to edit with Visual Studio Code or your choice of editor.</li>
<li>Carefully review/edit the file to your liking, Gamemode, GamePort</li>
<li>Ensure you set <b>LANMode=1</b>, this is important for Offline servers.</li>
<li>Make sure <b>party_minplayers=2</b> on whatever playlist you chose. (Don't do "1" on teambased games or you going to have problems)</li>
<li>Save the file that you just edit after you done. You can always go back and edit it.</li>
<li>Go to your userraw folder. Right click on partyserver.cfg and edit with Visual Studio Code or your choice of editor.</li>
<li>Carefully review edit the cfg file to your liking. Give it a hostname, Message of The Day, etc.</li>
<li>Save the partyserver.cfg file that you just edit.</li>
<li>Make sure All PC's are set to Home/Private Network and iw4x.exe is allowed in windows firewall or 3rd party firewalls.</li>
<li>Run the DedicatedLobbyServer.bat and the window should open the name of your server, 0/18 players, none. Ignore any console errors that happen. As long as the server doesn't crash or error out.</li>
<li>Client PC's Go to Join Game and on the server browser set the Source option to LAN and the server should be listed.</li>
</ul>
<h3><u>Want To Learn More?</u></h3>
<p>Check out the official <a href="https://github.com/Jawesome99/IW4x/wiki">IW4x Wiki</a>, it contains more detailed information in regards to servers such as the API or even setting up a server using a Docker container.</p>
<h3><u>Credits</u></h3>
<ul>
<li>Fry for the base of the guide.</li>
<li>IW4x team for the Wiki writeup.</li>
</ul>
<br>
</div>
</section>
<!-- CTA -->
<section id="cta" class="wrapper style3">
<h2 data-langkey="discordHelp">Still not sure what you need?</h2>
<ul class="actions">
<li><a data-langkey="discordHelpLink" href="https://discordapp.com/invite/sKeVmR3" class="button big">Visit Our Discord</a></li>
</ul>
</section>
<div id="cookieConsent">
<div id="closeCookieConsent">x</div>
This website is using cookies. <a class="cookieConsentOK" onclick="allowCookies()">That's Fine</a>
</div>
<!-- Return to Top -->
<a href="#bannerSkinny" id="return-to-top" class="scrolly"><i class="icon fa-chevron-up"></i></a>
<!-- Footer -->
<footer id="footer">
<ul class="icons">
<li><a href="https://discordapp.com/invite/sKeVmR3" class="icon fa-discord"><span data-langkey="footer-DiscordLink"class="label">IW4x Discord</span></a></li>
<li><a href="https://www.youtube.com/channel/UCGF7Wpkhgn-jErmW-rHRd1g" class="icon fa-youtube"><span data-langkey="footer-YoutubeLink" class="label">IW4x Youtube</span></a></li>
<li><a href="https://github.com/IW4x" class="icon fa-github"><span data-langkey="footer-GithubLink" class="label">IW4x GitHub</span></a></li>
</ul>
<ul class="menu">
<li><a data-langkey="footer-TorLink" href="https://iw4xcachep26muba.onion.ly/">IW4x Tor Mirror</a></li>
<li><a data-langkey="footer-WikiLink" href="https://github.com/Jawesome99/IW4x/wiki">IW4x Wiki</a></li>
</ul>
<span data-langkey="footer-Copyright" class="copyright">
Trademarks used are owned by their respective owners. This mod is not endorsed or affiliated with the copyright holders of the base game in any form.</a>
</span>
</footer>
</body>
</html>