Hi everyone,
My apologies for the delay in responding...
I havn't managed to solve the System.Exception "error CS0246".
Enclosed please find an example CS file.
Neither Microsoft Visual C# 2010 nor Microsoft Visual C# 2017 report an error in this script.
But IL2CoD responds to the script with exception error CS0246.
I suspect that the error exists infront of keyboard.
~V~
Code:
using maddox.game;
using maddox.game.world;
//§reference parts/core/gamePlay.dll
public class Mission : AMission
{
public override void OnPlaceEnter(Player player, AiActor actor, int placeIndex)
{
base.OnPlaceEnter(player, actor, placeIndex);
if (player is IPlayer)
{
IPlayerStat IniStatus = (player as IPlayer).GetBattleStat();
GamePlay.gpLogServer(
null,
"\n------------- OnPlaceEnter -----------\n" +
IniStatus.bulletsHit.ToString() +
"\n-------------------------------------------\n",
new object[] { }
);
}
}
}
EDIT:
Problem identified: it exists between chair and computer...
I didn't recognize the difference between the false
//§reference parts/core/gamePlay.dll
and the accurate
//$reference parts/core/gamePlay.dll
Bookmarks