Jump to content

VEMF - Vampire's Epoch Mission Framework


TheVampire

Recommended Posts

@Rc_Robio, what did you paste in the init.sqf in the mission.pbo,

 

this

"VEMFChatMsg" addPublicVariableEventHandler {
    systemChat (_this select 1);
    VEMFChatMsg = nil;
};

or this:

/*
	File: VInit.sqf
	Author: Vampire ( http://github.com/SMVampire/VEMF )
	License: Attribution-NonCommercial-ShareAlike 4.0 International
	If you were sold this script it is against the license.
	If you paid to have this installed, I suggest you get your money back.
	
	Description:
	Starts all the files that need to run to start VEMF.
	All files branch out from here.
*/
private ["_mConfig"];

if (!isServer) exitWith {
	// Only the server should run this file, client will exit
	// If you remove this IF, may god help you with the errors
};

// Let's let any heavier scripts run first
sleep 60;

// Check if another version is running
if (!isnil("VEMFRunning")) exitWith { diag_log text format ["[VEMF]: <ERROR> VEMF is Installed Twice or Installed Incorrectly!"]; };

// Global variable so other scripts can check if VEMF is running
VEMFRunning = true;
publicVariable "VEMFRunning"; // For Clientside Scripts since globals are not public by default in A3

diag_log text format ["[VEMF]: Starting Vampire's Epoch Mission Framework."];

// Debug. Should be True / True / True
diag_log text format ["[VEMF]: isServer:%1 / isDedicated:%2 / isMultiplayer:%3", isServer, isDedicated, isMultiplayer];

// Let's set some relations up
diag_log text format ["[VEMF]: Setting VEMF Relations to make AI Hostile."];

createCenter RESISTANCE;
CIVILIAN setFriend [RESISTANCE,0];
RESISTANCE setFriend [CIVILIAN,0];

diag_log text format ["[VEMF]: Looking for the Config. Ignore the associated File Not Found error."];

// Let's Load the Mission Configuration
// This code checks for a config file in the Mission Root before using the Addon Config
// A "File Not Found" Error is to be expected if it doesn't exist.
_mConfig = preprocessFileLineNumbers "VEMFConfig.sqf";
diag_log text format ["[VEMF]: Loading Configuration File."];
if (_mConfig != '') then {
	// Config is in the Mission
	_mConfig = nil; // Kill Var
	call compile preprocessFileLineNumbers "VEMFConfig.sqf";
} else {
	// Use the Config in the Addon
	_mConfig = nil; // Kill Var
	call compile preprocessFileLineNumbers "\VEMF\VEMFConfig.sqf";
};

// Report the version
diag_log text format ["[VEMF]: Currently Running Version: %1", VEMFVersion];

// Version Check
if (VEMFVersion != "1.0.0-PreAlpha") then {
	diag_log text format ["[VEMF]: Outdated Configuration Detected! Please Update."];
};

diag_log text format["[VEMF]: Server is Running Map: %1", (toLower format ["%1", worldName])];

// Lets load our functions
call compile preprocessFileLineNumbers "\VEMF\VFunctions.sqf";

// Gen Random Weapons
[] ExecVM VEMFGenRanWeps;

// Let's Load any Addons
VEMFLock = false;
[] ExecVM VEMFLoadAddons;

// Launch Watchdog
[] ExecVM VEMFMissWatchdog;

// Launch Mission Timer
[] ExecVM VEMFMissTimer;
Link to comment
Share on other sites

No mission is spawning by the way.. log:

 

12:01:24 [VEMF]: Running Dynamic Town Invasion Mission.

12:01:25 [VEMF]: DynTownInv: Mission Ended for No Active Radios.

This would be my guess. Vampire mentioned earlier that players needed an active radio. 

12:01:24 [VEMF]: Running Dynamic Town Invasion Mission.

12:01:25 [VEMF]: DynTownInv: Mission Ended for No Active Radios.

Link to comment
Share on other sites

I have this running with:

 

  • Igiload
  • Single AI mission
  • messages/music/lootspawner

 

No problems so far, Ai move about really well in this, first crate i checked however only had a "Pilots Helmet" in it.(wip i know)

 

Great Job Vampire!   ;)

 

Pilots Helmet FTW  :lol:  :lol:  :lol: 

Link to comment
Share on other sites

server isnt starting, just get this:

 

12:59:21 InitSound ...
12:59:21 InitSound - complete
12:59:21 PhysX3 SDK Init started ...
12:59:21 PhysX3 SDK Init ended.
12:59:23 Attempt to override final function - bis_fnc_init
12:59:24 Initializing Steam server - Game Port: 2300, Steam Query Port: 2301
12:59:25 Starting mission:
12:59:25  Mission file: epoch (__cur_mp)
12:59:25  Mission world: Chernarus
12:59:25  Mission directory: mpmissions\__cur_mp.Chernarus\
12:59:30 Strange convex component07 in ca\buildings\misc\lampa_sidl_2.p3d:geometry
12:59:35 Attempt to override final function - bis_functions_list
12:59:35 Attempt to override final function - bis_functions_listpreinit
12:59:35 Attempt to override final function - bis_functions_listpostinit
12:59:35 Attempt to override final function - bis_functions_listrecompile
12:59:35 Attempt to override final function - bis_fnc_missiontaskslocal
12:59:35 Attempt to override final function - bis_fnc_missionconversationslocal
12:59:35 Attempt to override final function - bis_fnc_missionflow
12:59:35 "Epoch: Init Compiles"
12:59:35 Connected to Steam servers
12:59:35 "#EPOCH_allowPlayerDamage: Waiting for Server to initialize."
12:59:35 c:\w\stable\futura\lib\network\networkserver.cpp NetworkServer::OnClientStateChanged:NOT IMPLEMENTED - briefing!
13:00:36 [VEMF]: Starting Vampire's Epoch Mission Framework.
13:00:36 [VEMF]: isServer:true / isDedicated:true / isMultiplayer:true
13:00:36 [VEMF]: Setting VEMF Relations to make AI Hostile.
13:00:36 [VEMF]: Looking for the Config. Ignore the associated File Not Found error.
13:00:36 Warning Message: Script VEMFConfig.sqf not found
13:00:36 [VEMF]: Loading Configuration File.
13:00:36 [VEMF]: Configuration File Loaded!
13:00:36 [VEMF]: Currently Running Version: 1.0.0-PreAlpha
13:00:36 [VEMF]: Server is Running Map: chernarus
13:00:36 [VEMF]: Loading ExecVM Functions.
13:00:36 [VEMF]: Loading Compiled Functions.
13:00:36 [VEMF]: All Functions Loaded.
13:00:36 [VEMF]: Mission Timer Started.
13:00:36 [VEMF]: Loading Any Addons.
13:00:36 [VEMF]: AI Watchdog Running.
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aim.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aim1.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4idle.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4idle1.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimpistol.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimpistol1.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4idlepistol.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4idlepistol1.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimtopistol.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimtopistol_end.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimfrompistol.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimfrompistol_end.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aim_binoc.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimpistol_binoc.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aim_tobinoc.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aim_tobinoc_end.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aim_frombinoc.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aim_frombinoc_end.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimpistol_tobinoc.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimpistol_tobinoc_end.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimpistol_frombinoc.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimpistol_frombinoc_end.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4idleunarmed.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4idleunarmed1.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimunarmed_binoc.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimunarmed_tobinoc.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimunarmed_tobinoc_end.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimunarmed_frombinoc.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4aimunarmed_frombinoc_end.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4die.rtm not found or empty
13:05:47 Animation a3\cargoposes_f_heli\anim\passenger_inside_4diepistol.rtm not found or empty

 

Then I get kicked with

10.01.2015 13:09:02: [ASM] Liqu1dShadow (81.141.56.83:2304) 125db91XXXXXXXXXXXXXXXXd6ccf0c - #0 "PLAYER_REJECT_NotReady1" = true

 

Any ideas?

Link to comment
Share on other sites

^^ I'm get that kick as well if anyone could help that would be gr8

 

Well i get kicked for the same reason this is my error from my rpt

 

13:54:10   Error position: <_x buildingPos _bNum;
if (str _bPos == ">
13:54:10   Error Undefined variable in expression: _x
13:54:10 File VEMF\VFunctions.sqf, line 197
13:54:10 Error in expression <tmpArr = [];
while {_loop} do {
_bPos = _x buildingPos _bNum;
if (str _bPos == ">
13:54:10   Error position: <_x buildingPos _bNum;
if (str _bPos == ">

Link to comment
Share on other sites

I'm having a problem. When I connect to my server I see the message "Server Initializing... please wait" but it never progresses.

 

Nothing in the server or client RPT seems out of place.

I see this two, when I remove the EPOCH_allowPlayerDamage.pbo everything loads but of course I take no damage from the AI (Thx Vamp btw)

Link to comment
Share on other sites

 

And this is the only thing, that i have to add to the mission init.sqf?:

 

"VEMFChatMsg" addPublicVariableEventHandler {
	systemChat (_this select 1);
	VEMFChatMsg = nil;
};

 

yes mate and also copy over the initserver.sqf to your mission pbo and you should be good to go.  :D

Link to comment
Share on other sites

I am getting this error in rpt-

 

 5:22:21 Error: Object(6 : 40) not found
 5:22:55 Error: Object(4 : 56) not found
 5:23:37 Error: Object(5 : 150) not found
 5:24:09 [VEMF]: WaitMissComp: Waiting Over. VEMFDynInv Completed.
 5:24:09 [VEMF]: DynTownInv: Crate Spawned At: [10801.9,10589.6,99.7885] / Grid: 108105
 5:24:28 "SKN AdminRequest [105,[7178.32,16438,0],B Alpha 1-1:1 (aFuzzybuny) REMOTE,"kkyobt"]"
 5:24:34 Error: Object(7 : 33) not found
 5:24:37 "DEBUG SPAWN LOOT IN VEH: GroundWeaponHolder Vests V_23_EPOCH type:item"
 5:24:40 "SKN AdminRequest [106,false,B Alpha 1-1:1 (aFuzzybuny) REMOTE,"kkyobt"]"
 5:24:41 Error: Object(6 : 42) not found
 5:24:41 Error: Object(6 : 43) not found
 5:24:44 [VEMF]: Running Dynamic Town Invasion Mission.
 5:24:44 Error in expression <sPlayer _x) then {_allUnits = _allUnits - (_x);}; } forEach _allUnits;

_curRad >
 5:24:44   Error position: <- (_x);}; } forEach _allUnits;

_curRad >
 5:24:44   Error -: Type Object, expected Number,Array
 5:24:44 File VEMF\VFunctions.sqf, line 440
 5:25:13 Error: Object(7 : 36) not found
 5:25:13 Error: Object(7 : 35) not found
 5:25:13 Error: Object(7 : 37) not found
 5:25:13 Error: Object(7 : 39) not found
 5:25:13 Error: Object(7 : 38) not found
 5:25:46 "SKN AdminRequest [105,[7140.65,16328.1,0],B Alpha 1-1:1 (aFuzzybuny) REMOTE,"kkyobt"]"
 5:26:23 Error: Object(7 : 41) not found
 5:26:23 Error: Object(7 : 40) not found
 5:26:23 Error: Object(7 : 42) not found
 5:26:42 Error: Object(6 : 45) not found
 5:26:42 Error: Object(6 : 46) not found
 5:26:42 Error: Object(6 : 47) not found
 5:26:47 Error: Object(4 : 58) not found
 5:26:47 Error: Object(4 : 59) not found

 

Love the movement on the ai. Great work Vampire!

Thanks from the StrangeBrew group.

Link to comment
Share on other sites

sure, that i dont need BE Filter changes? i have a BE kick:

Script Restriction #7 " to make AI Hostile."];

createCenter RESISTANCE;

CIVILIAN setFriend [RESISTANCE,0];

RESISTANCE setFriend [CIVILIAN,0];

diag_lo"

Fixed it with adding this at line 8 in sxripts.txt:

!=""to make AI Hostile."];createCenter RESISTANCE;CIVILIAN setFriend [RESISTANCE,0];RESISTANCE setFriend [CIVILIAN,0];diag_lo"

No mission is spawning by the way.. log:

12:01:24 [VEMF]: Running Dynamic Town Invasion Mission.

12:01:25 [VEMF]: DynTownInv: Mission Ended for No Active Radios.

Make sure you have the initServer file separate from the init.sqf file. It sounds like your trying to run the pbo on the client side. In your RPT does it show true true true for the isServer isMultiplayer lines etc?

Link to comment
Share on other sites

I am getting this error in rpt-

5:22:21 Error: Object(6 : 40) not found

5:22:55 Error: Object(4 : 56) not found

5:23:37 Error: Object(5 : 150) not found

5:24:09 [VEMF]: WaitMissComp: Waiting Over. VEMFDynInv Completed.

5:24:09 [VEMF]: DynTownInv: Crate Spawned At: [10801.9,10589.6,99.7885] / Grid: 108105

5:24:28 "SKN AdminRequest [105,[7178.32,16438,0],B Alpha 1-1:1 (aFuzzybuny) REMOTE,"kkyobt"]"

5:24:34 Error: Object(7 : 33) not found

5:24:37 "DEBUG SPAWN LOOT IN VEH: GroundWeaponHolder Vests V_23_EPOCH type:item"

5:24:40 "SKN AdminRequest [106,false,B Alpha 1-1:1 (aFuzzybuny) REMOTE,"kkyobt"]"

5:24:41 Error: Object(6 : 42) not found

5:24:41 Error: Object(6 : 43) not found

5:24:44 [VEMF]: Running Dynamic Town Invasion Mission.

5:24:44 Error in expression <sPlayer _x) then {_allUnits = _allUnits - (_x);}; } forEach _allUnits;

_curRad >

5:24:44 Error position: <- (_x);}; } forEach _allUnits;

_curRad >

5:24:44 Error -: Type Object, expected Number,Array

5:24:44 File VEMF\VFunctions.sqf, line 440

5:25:13 Error: Object(7 : 36) not found

5:25:13 Error: Object(7 : 35) not found

5:25:13 Error: Object(7 : 37) not found

5:25:13 Error: Object(7 : 39) not found

5:25:13 Error: Object(7 : 38) not found

5:25:46 "SKN AdminRequest [105,[7140.65,16328.1,0],B Alpha 1-1:1 (aFuzzybuny) REMOTE,"kkyobt"]"

5:26:23 Error: Object(7 : 41) not found

5:26:23 Error: Object(7 : 40) not found

5:26:23 Error: Object(7 : 42) not found

5:26:42 Error: Object(6 : 45) not found

5:26:42 Error: Object(6 : 46) not found

5:26:42 Error: Object(6 : 47) not found

5:26:47 Error: Object(4 : 58) not found

5:26:47 Error: Object(4 : 59) not found

Love the movement on the ai. Great work Vampire!

Thanks from the StrangeBrew group.

Use the new PBO in the binaries folder on GitHub. That error should have been fixed already

Link to comment
Share on other sites

Is Bornholm map support coming in the near future?

Yes.

 

 

Does the mission show on the map as with markers? i dont know if it is working or not as cannot seem to find the AI?

 

No, it comes up in chat at the bottom left.

 

In the future I'm going to make it use the radio chats so it stands out more.

Link to comment
Share on other sites

  • Richie unlocked this topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...