Jump to content

Finding MP games


Lethaface

Recommended Posts

Guys, i hope you didn't edit mp.ini like described in ToW1 forum? Those changes are needed for ToW1 only.

No, haven't touched the .ini files at all.

Btw, why do I need an external IP to run a server?

Other games doesn't have that requirement and as long as you configure the router correctly games can be hosted behind a router.

Maybe I missed something though :)

Link to comment
Share on other sites

@Sneaksie,

Thanks for your message, I havent changed the .ini files at all. It didnt work directly after installation until now. The message comes so quick that it seems there is no connection possible at all (to time out, its not trying something at all.).

If I can check anything out let me know, I would like to play some MP games :)

Specs:

Corei7 920, 6gb RAM ddr3, 4870x2, sata 1tb hd, Vista 64, Asus p6t deluxe onboard lan, adsl 20/1 mbit.

Link to comment
Share on other sites

Found some logfile, perhaps this is interesting:

"Caused by: java.net.UnknownHostException: http://www.games.1c.ru"

More or less the complete log:

NETWORK: Starting client <NoName>...

java.lang.ClassCastException: com.ic.bc.net.NetConnectProcedure

at com.maddox.rts.cmd.CmdLoad.exec(Unknown Source)

at com.maddox.rts.CmdEnv.exec(Unknown Source)

at com.ic.bc.net.NetClient.<init>(Unknown Source)

at com.ic.bc.net.NetSettings.createClient(Unknown Source)

at com.ic.bc.gui.menusEx.MultiplayerEx.createClientToLookForServers(Unknown Source)

at com.ic.bc.gui.menusEx.MultiplayerEx.setMode(Unknown Source)

at com.ic.bc.gui.menusEx.MultiplayerEx.onMouseButton(Unknown Source)

at com.ic.bc.gui.menus.NonGameMenu$ScreenWnd.mouseButton(Unknown Source)

at com.maddox.gwindow.GWindow._mouseButton(Unknown Source)

at com.maddox.gwindow.GWindowRoot.doMouseButton(Unknown Source)

at com.maddox.gwindow.GWindowManager.doMouseButton(Unknown Source)

at com.ic.bc.game.HotKeysSystem.HKeyListener.msgMouseButton(Unknown Source)

at com.maddox.rts.MsgMouse.invokeListener(Unknown Source)

at com.maddox.rts.Message._send(Unknown Source)

at com.maddox.rts.Message.sendToObject(Unknown Source)

at com.maddox.rts.Message.sendToArray(Unknown Source)

at com.maddox.rts.Message.sendTo(Unknown Source)

at com.maddox.rts.Message.trySend(Unknown Source)

at com.maddox.rts.Time.loopMessages(Unknown Source)

at com.maddox.rts.RTSConf.loopMsgs(Unknown Source)

at com.ic.ww.game.MainWin3D.loopApp(Unknown Source)

at com.ic.ww.game.Main.exec(Unknown Source)

at com.ic.ww.game.GameWin3D.main(Unknown Source)

Setting SEND size to 1024...real size is 1024

Setting RECEIVE size to 2048...real size is 2048

InetServerProtocolBase.disconnectSocket(): socket was disconnected

com.ic.bc.net.inetserver.InetServerConnectionException: ConnectIServerUnavailable

at com.ic.bc.net.inetserver.InetServerProtocolJoiner.connect(Unknown Source)

at com.ic.bc.net.inetserver.InetServerThreadJoiner$InternalThread.run(Unknown Source)

Caused by: java.net.UnknownHostException: http://www.games.1c.ru

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at com.ic.bc.net.inetserver.InetServerProtocolBase.connectSocket(Unknown Source)

... 2 more

NETWORK: Client-->CREATE

NETWORK: Client start disconnecting from server

================== DESTROY NETWORK GAME =====================

================== DESTROY NETWORK GAME IS DONE=====================

NETWORK: Client-->CREATE

NETWORK: Client destroyed.

Thread socket 0.0.0.0:23344 is going to be closed

Thread socket was closed

socket closed

java.net.SocketException: socket closed

at java.net.PlainDatagramSocketImpl.receive0(Unknown Source)

at java.net.PlainDatagramSocketImpl.receive(Unknown Source)

at java.net.DatagramSocket.receive(Unknown Source)

at com.maddox.rts.net.UdpSocket.receive(Unknown Source)

at com.maddox.rts.NetSocketListener.run(Unknown Source)

NETWORK: Starting client <NoName>...

java.lang.ClassCastException: com.ic.bc.net.NetConnectProcedure

at com.maddox.rts.cmd.CmdLoad.exec(Unknown Source)

at com.maddox.rts.CmdEnv.exec(Unknown Source)

at com.ic.bc.net.NetClient.<init>(Unknown Source)

at com.ic.bc.net.NetSettings.createClient(Unknown Source)

at com.ic.bc.gui.menusEx.MultiplayerEx.createClientToLookForServers(Unknown Source)

at com.ic.bc.gui.menusEx.MultiplayerEx.setMode(Unknown Source)

at com.ic.bc.gui.menusEx.MultiplayerEx.onMouseButton(Unknown Source)

at com.ic.bc.gui.menus.NonGameMenu$ScreenWnd.mouseButton(Unknown Source)

at com.maddox.gwindow.GWindow._mouseButton(Unknown Source)

at com.maddox.gwindow.GWindowRoot.doMouseButton(Unknown Source)

at com.maddox.gwindow.GWindowManager.doMouseButton(Unknown Source)

at com.ic.bc.game.HotKeysSystem.HKeyListener.msgMouseButton(Unknown Source)

at com.maddox.rts.MsgMouse.invokeListener(Unknown Source)

at com.maddox.rts.Message._send(Unknown Source)

at com.maddox.rts.Message.sendToObject(Unknown Source)

at com.maddox.rts.Message.sendToArray(Unknown Source)

at com.maddox.rts.Message.sendTo(Unknown Source)

at com.maddox.rts.Message.trySend(Unknown Source)

at com.maddox.rts.Time.loopMessages(Unknown Source)

at com.maddox.rts.RTSConf.loopMsgs(Unknown Source)

at com.ic.ww.game.MainWin3D.loopApp(Unknown Source)

at com.ic.ww.game.Main.exec(Unknown Source)

at com.ic.ww.game.GameWin3D.main(Unknown Source)

Setting SEND size to 1024...real size is 1024

Setting RECEIVE size to 2048...real size is 2048

InetServerProtocolBase.disconnectSocket(): socket was disconnected

com.ic.bc.net.inetserver.InetServerConnectionException: ConnectIServerUnavailable

at com.ic.bc.net.inetserver.InetServerProtocolJoiner.connect(Unknown Source)

at com.ic.bc.net.inetserver.InetServerThreadJoiner$InternalThread.run(Unknown Source)

Caused by: java.net.UnknownHostException: http://www.games.1c.ru

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at java.net.Socket.<init>(Unknown Source)

at com.ic.bc.net.inetserver.InetServerProtocolBase.connectSocket(Unknown Source)

... 2 more

NETWORK: Client-->CREATE

NETWORK: Client start disconnecting from server

================== DESTROY NETWORK GAME =====================

================== DESTROY NETWORK GAME IS DONE=====================

NETWORK: Client-->CREATE

NETWORK: Client destroyed.

Thread socket 0.0.0.0:23344 is going to be closed

Thread socket was closed

socket closed

java.net.SocketException: socket closed

at java.net.PlainDatagramSocketImpl.receive0(Unknown Source)

at java.net.PlainDatagramSocketImpl.receive(Unknown Source)

at java.net.DatagramSocket.receive(Unknown Source)

at com.maddox.rts.net.UdpSocket.receive(Unknown Source)

at com.maddox.rts.NetSocketListener.run(Unknown Source)

Link to comment
Share on other sites

Run Notepad as administrator and open the .ini file from there, that should let you save it if vista protects the file.

If not uninstall ToW2 and reinstall it under c:\games\tow2 or some other harddrive, might make things a bit easier, think vista protects files from being changed under x:\program files\.

Link to comment
Share on other sites

If Vista doesn't allow you to edit ini file in Notepad, this means that you have either very restricted user rights or this file have read-only attribute. If you right-click on the ini file and choose 'Properties', what do you see in opened panel? Is the Read-only attribute checked?

Link to comment
Share on other sites

... this means that you have either very restricted user rights or this file have read-only attribute.

VISTA uses to restrict file access in the folder c:\program files, as a security measure I guess (i.e. protection from trojans/viruses tinkering with program files -> of Anti-Virus software, for example). He should uninstall the game, then reinstall on another partition or in a different folder (i.e. C\battlefront).

Sneaksie, you should add a disclaimer during the setup-process, recommending to install the game outside the "program files"-folder on VISTA-systems.

Link to comment
Share on other sites

@sneaksie

Thanks for your message. HTTP protocol isn't part of the DNS system, it usually comes into play after the host has been resolved using DNS. To resolve a host using DNS no port or protocol can be specified.

Because my ISP's DNS server works fine, I thought the problem would be in the 'http://' part.

I edited mp.ini and changed it into:

[Host]

CurrentPacketSize=1024

ShowHelpAfterCheckExtIp=0

InetServerAddress=www.games.1c.ru

InetServerPort=24600

This works correctly :) (perhaps you could remove 'http://' from mp.ini in the next patch? Im sure it will fix the problem we all had.)

Anyway, thanks for your replies, I'll be of to play some Multiplayer :)

--

For all Vista64 users: No file in Windows or in the program files directory can be changed without the application running it having admin privileges.

So if you want to change a text file in any of those directories, you first have to open notepad as administrator (like piecekeeper said) and then use notepad to open the file.

Link to comment
Share on other sites

×
×
  • Create New...