RequestHardWareInfo improvements.
This commit is contained in:
3
trunk/dist/game/config/Server.ini
vendored
3
trunk/dist/game/config/Server.ini
vendored
@@ -115,7 +115,8 @@ ServerListBrackets = False
|
||||
|
||||
# Check if hardware information is sent upon login.
|
||||
# Players without hardware information are kicked from the game.
|
||||
# To receive hardware information from client, l2.ini NetSendHardWare must be set to true.
|
||||
# WARNING: To receive hardware information from client, l2.ini NetSendHardWare must be set to true.
|
||||
# WARNING: The file system\HardWare.ini must be deleted each time the player logins.(?)
|
||||
# Default: False
|
||||
EnableHardwareInfo = False
|
||||
|
||||
|
||||
13
trunk/dist/game/data/html/admin/charhwinfo.htm
vendored
13
trunk/dist/game/data/html/admin/charhwinfo.htm
vendored
@@ -13,13 +13,12 @@
|
||||
<tr><td><table width=290 border=0><tr><td width=50><font color="LEVEL">CPU:</font></td><td align=right width=290>%cpuName%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0 bgcolor=131210><tr><td width=100><font color="LEVEL">CPU Speed:</font></td><td align=right width=100>%cpuSpeed%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0><tr><td width=100><font color="LEVEL">CPU Core Count:</font></td><td align=right width=170>%cpuCoreCount%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0 bgcolor=131210><tr><td width=100><font color="LEVEL">VGA:</font></td><td align=right width=170>%vgaName%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0><tr><td width=100><font color="LEVEL">VGA Version:</font></td><td align=right width=170>%vgaVersion%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0 bgcolor=131210><tr><td width=100><font color="LEVEL">VGA Driver Version:</font></td><td align=right width=170>%vgaDriverVersion%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0><tr><td width=200><font color="LEVEL">Windows Platform Id:</font></td><td align=right width=170>%windowsPlatformId%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0 bgcolor=131210><tr><td width=200><font color="LEVEL">Windows Major Version:</font></td><td align=right width=170>%windowsMajorVersion%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0><tr><td width=200><font color="LEVEL">Windows Minor Version:</font></td><td align=right width=170>%windowsMinorVersion%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0 bgcolor=131210><tr><td width=200><font color="LEVEL">Windows Build:</font></td><td align=right width=170>%windowsBuildNumber%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0 bgcolor=131210><tr><td width=50><font color="LEVEL">VGA:</font></td><td align=right width=170>%vgaName%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0><tr><td width=100><font color="LEVEL">VGA Driver Version:</font></td><td align=right width=170>%vgaDriverVersion%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0 bgcolor=131210><tr><td width=200><font color="LEVEL">Windows Platform Id:</font></td><td align=right width=170>%windowsPlatformId%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0><tr><td width=200><font color="LEVEL">Windows Major Version:</font></td><td align=right width=170>%windowsMajorVersion%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0 bgcolor=131210><tr><td width=200><font color="LEVEL">Windows Minor Version:</font></td><td align=right width=170>%windowsMinorVersion%</td></tr></table></td></tr>
|
||||
<tr><td><table width=290 border=0><tr><td width=200><font color="LEVEL">Windows Build:</font></td><td align=right width=170>%windowsBuildNumber%</td></tr></table></td></tr>
|
||||
</table>
|
||||
</center>
|
||||
</body></html>
|
||||
@@ -51,7 +51,6 @@ public class AdminHwid implements IAdminCommandHandler
|
||||
html.replace("%cpuName%", target.getClient().getHardwareInfo().getCpuName());
|
||||
html.replace("%cpuSpeed%", target.getClient().getHardwareInfo().getCpuSpeed());
|
||||
html.replace("%cpuCoreCount%", target.getClient().getHardwareInfo().getCpuCoreCount());
|
||||
html.replace("%vgaVersion%", target.getClient().getHardwareInfo().getVgaVersion());
|
||||
html.replace("%vgaName%", target.getClient().getHardwareInfo().getVgaName());
|
||||
html.replace("%vgaDriverVersion%", target.getClient().getHardwareInfo().getVgaDriverVersion());
|
||||
activeChar.sendPacket(html);
|
||||
|
||||
Reference in New Issue
Block a user