Access Violation Error by including AiPlayer.cs
by mks · in Torque Game Engine · 04/03/2005 (1:33 am) · 1 replies
Hi there,
i have already searched below this forum but i doesn't find my problem. To add a bot to my project in Torque i need to insert exec("./scripts/aiPlayer.cs"); on init.cs in folder "server":
Now, when I try to start torque, i get an acces violation error.
It seems to be this one, which occures the error:
Ive bought the Lighting Pack and ive tryed out all with there.
Furthermore, i added the Aiplayer.h to the Torque project and re compiled it.
Cheers for answears :)
i have already searched below this forum but i doesn't find my problem. To add a bot to my project in Torque i need to insert exec("./scripts/aiPlayer.cs"); on init.cs in folder "server":
//other executes
exec("./scripts/commands.cs");
exec("./scripts/centerPrint.cs");
exec("./scripts/game.cs");
//
exec("./scripts/aiPlayer.cs");Now, when I try to start torque, i get an acces violation error.
It seems to be this one, which occures the error:
datablock PlayerData(DemoPlayer : PlayerBody)
{
shootingDelay = 2000;
};Ive bought the Lighting Pack and ive tryed out all with there.
Furthermore, i added the Aiplayer.h to the Torque project and re compiled it.
Cheers for answears :)
About the author
Torque Owner Dreamer
Default Studio Name