Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   CoD Multiplayer (http://forum.fulqrumpublishing.com/forumdisplay.php?f=192)
-   -   Bridge from IL2 to IL2 COD (http://forum.fulqrumpublishing.com/showthread.php?t=22491)

ZaltysZ 05-08-2011 04:53 PM

Quote:

Originally Posted by wildwillie (Post 279737)
Only problem I see is the lack of documentation on exactly what classes methods are accessible in the scripts.

In script you can define your own Mission class, which has access to Battle and Gameplay objects. It is enough for moving players around, tracking kills and etc. Classes for server and UI programming are still not reachable, but will be soon. It means, that it would be possible to design your own server UI, which will be showed to players.

I would suggest you to look at this from different point. If you used to read log and issue pretty limited commands via console, now you can implement almost all logic via C# scripts. I didn't try it, but I think you can simply connect to MySQL database from script and insert records directly, without parsing logs.

_1SMV_Poppy_64 05-08-2011 09:45 PM

Ok, thanks.

Do you know if is there any documentations, any instructions how to do it?
Ciao.

wildwillie 05-09-2011 12:41 AM

Zalty's -

If we can add the following to the scrips:

using MySql.Data;
using MySql.Data.MySqlClient;

which allow us to link in the MySQL Connector/NET that would be great. We would be able to write data to the database as the events happen.

Then we just need the proper methods for monitering objects in the script.

ZaltysZ 05-09-2011 10:18 AM

Quote:

Originally Posted by wildwillie (Post 280486)
using MySql.Data;
using MySql.Data.MySqlClient;

I am almost sure it will work. I say "almost", because devs mentioned sandboxing, but I guess it is only for client side.

Quote:

Originally Posted by wildwillie (Post 280486)
Then we just need the proper methods for monitering objects in the script.

I basically put game DLL's as references into Visual Studio and browse through Object Browser. Most methods have self explaining names and parameters.

wildwillie 05-09-2011 11:34 AM

Thank you for the info Zaltys. Looks like a switch from Java to C#.

_1SMV_Poppy_64 05-15-2011 07:25 PM

Our team is working to develop some scripts to write a readable eventlog but (as reported in the IL2 COD manual) we are waiting for a manual with all functions and instructions...

We hope that the manual can be ready ASAP...
:!:


All times are GMT. The time now is 07:19 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.