-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew.html
98 lines (79 loc) · 5.4 KB
/
new.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
<!DOCTYPE html>
<html>
<!--
- Updated 17.12.2014
-->
<head>
<title>Source Dedicated Server Rate Calculator 2015</title>
<!-- link rel="icon" type="image/x-icon" href="/favicon.ico" -->
<link href="Site.css" rel="stylesheet">
<script type="text/javascript" src="info.js"></script>
</head>
<body onload="PageOnLoad()">
<div id="header">
Source Dedicated Server Rate Calculator 2015 <span style="font-size: 12px;">v1.2-1.1.2015</span>
</div>
<span id="loading_text">Waiting for the javascript function.<img src="loading.gif"></span>
<div id="screen">
<div id="server_tickrate">Server -tickrate <input type="text" id="tickrate" value="66" onchange="CheckServerTickrate()"></div><br>
Note!<br>
Server Settings will take effect the next time when you change the Client Settings.
<div id="settings">
<table id="server_settings">
<tr><th align="right">Server settings</th><th><button onclick="SetDefaultServerSettings()">Defaults</button></th></tr>
<tr><th>sv_maxrate</th> <th align="right"><input type="text" id="sv_maxrate" ></th></tr>
<tr><th>sv_maxupdaterate</th> <th align="right"><input type="text" id="sv_maxupdaterate" ></th></tr>
<tr><th>sv_maxcmdrate</th> <th align="right"><input type="text" id="sv_maxcmdrate" ></th></tr>
<tr><th><hr></th><th><hr></th></tr>
<tr><th>sv_minrate</th> <th align="right"><input type="text" id="sv_minrate" ></th></tr>
<tr><th>sv_minupdaterate</th> <th align="right"><input type="text" id="sv_minupdaterate" ></th></tr>
<tr><th>sv_mincmdrate</th> <th align="right"><input type="text" id="sv_mincmdrate" ></th></tr>
<tr><th>sv_client_cmdrate_difference</th> <th align="right"><input type="text" id="sv_client_cmdrate_difference" ></th></tr>
</table>
<table id="client_settings">
<tr><th align="right">Client settings</th><th><button onclick="SetDefaultClientSettingsButton()">Defaults</button></th></tr>
<tr><th>rate</th> <th align="right"><input type="number" id="rate" oninput="ClientSettingsChange()"></th></tr>
<tr><th>cl_updaterate</th> <th align="right"><input type="number" id="cl_updaterate" oninput="ClientSettingsChange()"></th></tr>
<tr><th>cl_cmdrate</th> <th align="right"><input type="number" id="cl_cmdrate" oninput="ClientSettingsChange()"></th></tr>
<tr><th>cl_interp</th> <th align="right"><input type="text" id="cl_interp" onchange="ClientSettingsChange()"></th></tr>
<tr><th>cl_interp_ratio</th> <th align="right"><input type="text" id="cl_interp_ratio" onchange="ClientSettingsChange()"></th></tr>
</table>
</div>
<div id="net_graph">
<img id="popup" src="packetsize.png" >
<input type="number" id="player_fps" value="8888" min="1" oninput="ClientSettingsChange()">
<input type="number" id="server_fps" value="8888" min="1" oninput="ClientSettingsChange()">
<input type="text" id="packetsize" value="8888" onchange="PacketSizeChange()" onmouseover="ImgOn()" onmouseout="ImgOff()">
<input type="text" id="kilobytes" value="8888" readonly>
<table><tr id="lerp_screen"><th>lerp : </th><th id="lerp">8888</th><th>ms</th></tr></table><!-- input type="text" id="lerp" value="" readonly -->
<input type="text" id="cl_updaterate_show" value="888" readonly>
<input type="text" id="updaterate" value="888" readonly>
<input type="text" id="cmdrate" value="888" readonly>
<input type="text" id="cl_cmdrate_show" value="888" readonly>
</div>
<div id="convars">
<table id="server_upload_maxplayers">
<tr><th align="right" style="color:lime">// Recommended Server Settings</th></tr>
<tr><th>sv_maxrate</th> <th align="right" id="output_sv_maxrate">""</th></tr>
<tr><th>sv_maxupdaterate</th> <th align="right" id="output_sv_maxupdaterate">""</th></tr>
<tr><th>sv_maxcmdrate</th> <th align="right" id="output_sv_maxcmdrate">""</th></tr>
<tr><th>sv_minrate</th> <th align="right" id="output_sv_minrate">""</th></tr>
<tr><th>sv_minupdaterate</th> <th align="right" id="output_sv_minupdaterate">""</th></tr>
<tr><th>sv_mincmdrate</th> <th align="right" id="output_sv_mincmdrate">""</th></tr>
<tr><th>sv_client_cmdrate_difference</th> <th align="right" id="output_sv_client_cmdrate_difference">""</th></tr>
<tr><th>net_splitpacket_maxrate</th> <th align="right">"1048576"</th></tr>
<tr><th><font color="#00FF00">//sv_competitive_minspec</font></th> <th align="right"><font color="#00FF00">"1"</font></th></tr>
<tr><th><font color="#00FF00">//sv_use_steam_voice</font></th> <th align="right"><font color="#00FF00">"0"</font></th></tr>
</table>
<table id="server_upload_recommended">
<tr><th>Server upload bandwidth</th> <th><input type="text" id="upload" value="8.00" oninput="UpdateResults()"><select id="input_unit" onchange="UpdateUnitDefinition(this)">
<option>error!</option></select></th><th><span id="output_unit_definition">error!</span></th></tr>
<tr><th>Server -maxplayers</th> <th><input type="number" id="maxplayers" min="1" max="65" value="32" oninput="UpdateResults()"></th></tr>
<tr><th>You can host <span id="output_maxplayers_recommended">0</span> players</th></tr>
<tr><th>* Recommended Upload Bandwidth for <span id="output_maxplayers">0</span> players = <span id="output_upload_recommended">0</span></th></tr>
</table>
</div>
</div>
<!-- button onclick="functiontest()">test<img src="unlock-lock.png"></button -->
</body>
</html>