![]() |
It works. It looks in the root directory of IL-2. Maybe it would make more sense if it were:
//$reference parts/ServerMaster/IL2ServerMasterLibrary.dll |
but isn't that line actually a comment? or you just meant it as a comment to show the path were it will look for the dll..
|
Technically, yes. IL-2 is obviously using it to reference the external dll before compiling the script. How that is done is beyond me.
|
Some parsers will read the first line, even if it's commented. Example: unix shell scripts.
|
obviously they must have a parser which seems to look even after // chars for special words (as $reference).
|
There is another keyword that can be placed within the mission script:
Code:
//$debug |
Tried this yesterday and it worked when I used my client to run as a server. Was able to send the "Test" command and got Received back.
When I tested this on our Dedicated server it did not work. (Dedicated server uses Win 2008 Server OS (64bit) The 1st problem I found and modified to work for me was in the code where you create the socket. New code I had to change the ipAddress.AddressFamily piece. Code:
// Create a TCP/IP socket. Any Ideas ? WildWillie |
Quote:
I would think no by your example, but I get the following error in my server log when the above code is used instead of the "Reflections" stuff. Code:
================================================= Here is the 1st part of my mission script: Code:
using System; WildWillie |
All times are GMT. The time now is 06:13 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.