Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > CoD Multiplayer

CoD Multiplayer Everything about multiplayer in IL-2 CoD

Reply
 
Thread Tools Display Modes
  #11  
Old 05-08-2011, 04:53 PM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

Quote:
Originally Posted by wildwillie View Post
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.
Reply With Quote
  #12  
Old 05-08-2011, 09:45 PM
_1SMV_Poppy_64 _1SMV_Poppy_64 is offline
Approved Member
 
Join Date: Apr 2011
Posts: 21
Default

Ok, thanks.

Do you know if is there any documentations, any instructions how to do it?
Ciao.
__________________
www.1smv.it
Reply With Quote
  #13  
Old 05-09-2011, 12:41 AM
wildwillie wildwillie is offline
Approved Member
 
Join Date: Aug 2010
Posts: 111
Default

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.
Reply With Quote
  #14  
Old 05-09-2011, 10:18 AM
ZaltysZ's Avatar
ZaltysZ ZaltysZ is offline
Approved Member
 
Join Date: Sep 2008
Location: Lithuania
Posts: 426
Default

Quote:
Originally Posted by wildwillie View Post
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 View Post
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.
Reply With Quote
  #15  
Old 05-09-2011, 11:34 AM
wildwillie wildwillie is offline
Approved Member
 
Join Date: Aug 2010
Posts: 111
Default

Thank you for the info Zaltys. Looks like a switch from Java to C#.
Reply With Quote
  #16  
Old 05-15-2011, 07:25 PM
_1SMV_Poppy_64 _1SMV_Poppy_64 is offline
Approved Member
 
Join Date: Apr 2011
Posts: 21
Default

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...
__________________
www.1smv.it
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:44 PM.


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