Thread: Repka Server
View Single Post
  #31  
Old 10-23-2012, 05:41 AM
podvoxx podvoxx is offline
Approved Member
 
Join Date: Feb 2010
Posts: 190
Default

Quote:
Originally Posted by Pato Salvaje View Post
Hi podvoxx

First of all, impressive work with Repka-Commander. Very good job.

I´m trying to running up the program in our server, an all seems to be ok, but I´m not able to put missions in the missions scheduler window... I´m copying my test missions in "1csoftclub\il-2 sturmovik cliffs of dover\REPKA .Commander\Missions" but it dont work...

I tried to find some information from the Repka-commander forum but I don´t speak/read russian.

Can you help me?... Is needed any special .mis or script to put a mission in the mission scheduler??

Thank you in advance!
You need ini-file on \REPKA .Commander\Missions, NOT mission(you can save mission-file in any folder on COD-directory).
For example see Third.ini in Sample - folder:
Code:
[main]
mission=missions\Commander\Missions\test.mis
Also you need connect script to you mission.
If you mission not have script - will be create automatic.

In this script you need this code(you can see example on Sample-folder):
red color - minimal code for using commander
Code:
// It`s an auto-generated script from REPKA.Commander
//$reference REPKA.Stat.dll
using RepkaMissionsLib;
using System;
using maddox.game;

public class Mission : RSTMission
{
    public override void Inited()
    {
        base.Inited();
        BattleName = "test";
        MapName = "Online_Map"; //
    }    
}
Also in script you can setup winner, reload mission or load other mission(only if mission have ini-file), you can use global variables and ping-kick
Reply With Quote