PDA

View Full Version : dedicated server 4.09m on linux with checkRuntime=2


mugen
10-07-2009, 11:13 AM
hello everybody,

i get this error when i set checkRuntime=2 in confs.ini, running DS 4.09m on linux:

35>socket channel '1' start creating: 192.168.60.241:21000
Chat: --- 1./JG42_mugen joins the game.
socket channel '1', ip 192.168.60.241:21000, 1./JG42_mugen, is complete created
Time overflow (384): tickLen 194
socketConnection with 192.168.60.241:21000 on channel 1 lost. Reason: Timeout 1
Chat: --- 1./JG42_mugen has left the game.
Put Guaranted message to NOT mirrored object [com.maddox.il2.game.Mission$Master@3e4050] (1)
com.maddox.rts.NetException: Put Guaranted message to NOT mirrored object [com.maddox.il2.game.Mission$Master@3e4050] (1)
at com.maddox.rts.NetChannel.putMessage(NetChannel.ja va:479)
at com.maddox.rts.NetObj.postTo(NetObj.java:262)
at com.maddox.il2.game.Mission.netInput(Mission.java: 1968)
at com.maddox.il2.game.Mission.access$300(Mission.jav a:37)
at com.maddox.il2.game.Mission$NetMissionObj.netInput (Mission.java:2209)
at com.maddox.rts.NetObj.msgNet(NetObj.java:375)
at com.maddox.rts.MsgNet.invokeListener(MsgNet.java:5 6)
at com.maddox.rts.Message._send(Message.java:1217)
at com.maddox.rts.Message.sendToObject(Message.java:1 191)
at com.maddox.rts.Message.sendTo(Message.java:1134)
at com.maddox.rts.Message.trySend(Message.java:1115)
at com.maddox.rts.Time.loopMessages(Time.java:252)
at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:100)
at com.maddox.il2.game.DServer.loopApp(DServer.java:1 78)
at com.maddox.il2.game.Main.exec(Main.java:436)
at com.maddox.il2.game.DServer.main(DServer.java:431)

checkRuntime=0 and 1 works without probs.

Does anybody get crt=2 running DS (4.09m) on linux? :rolleyes:
Thanks in advance ...

greez mugen

TheGrunch
10-07-2009, 04:31 PM
Does anybody get crt=2 running DS (4.09m) on linux? :rolleyes:
Thanks in advance ...

greez mugen
I think there are a few games where the anti-cheating systems get upset by WINE. I don't know how to fix it, but then I had no success getting the game to run in WINE either. I'm not sure it's possible to avoid this one. Did you try looking at the WINE AppDB?

mugen
10-07-2009, 06:46 PM
I think there are a few games where the anti-cheating systems get upset by WINE. I don't know how to fix it, but then I had no success getting the game to run in WINE either. I'm not sure it's possible to avoid this one. Did you try looking at the WINE AppDB?

Thanks for your post Grunch.

There are some search hits for winehq and il2 but nothing about the DS and crt=2. As i wrote before i am able to join n play with crt=1 but not with crt=2. BTW i am using opensuse 11.1 and wine 1.1.30 from cvs tree. The client is win7 64.


CRT=2

I have never found a compatibility fix for Wine, Cadega, SuSe.

It was designed to Check Server - Client under Win 2000 server, Xp & Vista

Also works under Win 7

CRT=1 is usually enough to keep the server integrity.


Thank you KG26_Alpha.

I have an other setup running DS on a win2008 64. This one works fine even with crt=2.

greez mugen

KG26_Alpha
10-07-2009, 07:53 PM
Hi

Well another option would be Wine + Vmware of some sort if you really want the CRT=2

mugen
10-08-2009, 01:30 PM
... Well another option would be Wine + Vmware of some sort if you really want the CRT=2

Thanks KG26_Alpha,

but vmware (I would prefer xen) is no option for me because it just emulates an x86 machine and this would make the linux host sensless, IMHO. My intention for linux hosting the DS, is to play around with some files (console.log, event.log, *.mis ...) using perl, maybe apache and mysql. I know it wouldn't cost to much effort to get a working wamp on my already running win2008 installation (crt=2) but you know i would prefer linux. :cool:
But I don't want to get deeper into this cause this (IMHO) would blow the original intention of this thread.
If it really turns out that there is no way to get crt=2 working on linux, than this (wamp) will be the only way for me.

Nevertheless, thank you for sharing your ideas.

greez mugen

mugen
10-08-2009, 03:55 PM
LOL

I spent way too much time "playing" with Linux and IL2 1946 servers, my brains deteriorating too fast to keep up with everything these days.

I use IL2SC with my server it saves time and is an easy gui with live online pilot stats :)

Also there FBD2

I'm sure you are familiar with them though if not a quick should "Googling" should give you an idea.

Yes you're right. I know them both. :-)

II/JG54_Emil
10-08-2009, 04:21 PM
I heard that crt=2 works fine under Linux wine.

mugen
10-08-2009, 06:50 PM
I heard that crt=2 works fine under Linux wine.

Hello II/JG54_Emil,

that would be cool. :grin:
Could you be a bit more specific?
Thanks in advance.

greez mugen

II/JG54_Emil
10-12-2009, 07:25 PM
I´m still trying my self since we just about to get a dedicated server.
I was talking to Cro_Ante who has got some long Linux server experience and his answer was that Linux system and CRT=2 are no problem.

I´ll check with him for you and for me again.

ZaltysZ
10-13-2009, 11:32 AM
CRT=2 and Wine does not work, at least out of the box. The reason is that CRT=2 makes checks outside game too. There were situations when CRT=2 was causing problems just because of different Windows versions (W2K server + XP client if I recall correctly) and even locales (i.e. Japanese). I had no time to try this, but I think it could work if you took system DLLs from Windows and put them inside Wine tree, so that they would be used instead of Wine "substitutions".

mugen
10-13-2009, 06:57 PM
CRT=2 and Wine does not work, at least out of the box. The reason is that CRT=2 makes checks outside game too. There were situations when CRT=2 was causing problems just because of different Windows versions (W2K server + XP client if I recall correctly) and even locales (i.e. Japanese). I had no time to try this, but I think it could work if you took system DLLs from Windows and put them inside Wine tree, so that they would be used instead of Wine "substitutions".

Thanks ZaltysZ,

i will try this.

greez mugen

II/JG54_Emil
10-13-2009, 10:43 PM
Here is how it alsop can be done

How to install Hyperlobby under Wine: http://appdb.winehq.org/objectManager.php?sClass=version&iId=10143

CRT=2 check for IL-2 server
Put this into confs.ini [NET] section:

Code: Select all
checkRuntime=2


Regards,
Ante

mugen
10-19-2009, 11:42 AM
Quote:
Originally Posted by ZaltysZ View Post
CRT=2 and Wine does not work, at least out of the box. The reason is that CRT=2 makes checks outside game too. There were situations when CRT=2 was causing problems just because of different Windows versions (W2K server + XP client if I recall correctly) and even locales (i.e. Japanese). I had no time to try this, but I think it could work if you took system DLLs from Windows and put them inside Wine tree, so that they would be used instead of Wine "substitutions".
Thanks ZaltysZ,

i will try this.

greez mugen

I've tried it. Didn't work with substituted DLL's(WinXP).

greez mugen

CRO_Ante
10-27-2009, 05:25 AM
I know for sure that 4.08m works with CRT=2 on Wine. I don't know will 4.09m work because I didn't test it.

Regards,
Ante

CRO_Ante
10-28-2009, 02:43 AM
Hello,

Follow this is how-to if you want to setup IL-2 4.09m CRT=2 server.

a) You will need msvcrt.dll from Windows 2003 server system32 folder, copy that file to wine system folder (probably ~/.wine/drive_c/windows/system32)
b) start winecfg
* Apllication tab - add il2server.exe and set windows version to Windows 2003
* Libraries tab - add DLL override for msvcrt and set to native

This is all job you need to set dedicated server to be CRT=2 (don't forget to add checkRuntime=2 to [Net] section from confs.ini)

If you want to play game from Linux using wine and be able to join CRT=2 servers use same approach but on Apllication tab - add il2fb.exe

I have test CRT=2 server running @ crosquadron.com:21040

Regards,
CRO_Ante

mugen
10-28-2009, 06:43 AM
...
Follow this is how-to if you want to setup IL-2 4.09m CRT=2 server.

a) You will need msvcrt.dll from Windows 2003 server system32 folder, copy that file to wine system folder (probably ~/.wine/drive_c/windows/system32)
b) start winecfg
* Apllication tab - add il2server.exe and set windows version to Windows 2003
* Libraries tab - add DLL override for msvcrt and set to native
...


Hello CRO_Ante,

thank you so much. This really works.
You're great

greez mugen

CRO_Ante
10-28-2009, 09:10 AM
Hello CRO_Ante,

thank you so much. This really works.
You're great

greez mugen

Now when it works it I would like from you to post this info on other forums where have you asked this same question. You never know when someone will need this information.

Regards,
CRO_Ante

mugen
10-28-2009, 02:16 PM
Now when it works it I would like from you to post this info on other forums where have you asked this same question. You never know when someone will need this information.

Regards,
CRO_Ante

Done! :-P

Thx again!

greez mugen