Our forum is going offline at the end of July. We suggest moving all discussions to Discord. Exile will stay on Steam. Thanks for a great time!
Jump to content
Question
12 answers to this question
Create an account or sign in to comment
You need to be a member in order to leave a comment
Sign in
Already have an account? Sign in here.
Sign In Now
I'm hoping someone can give me a hand figuring out why Marxet isn't working on my server.
The first glaring possibility is that it can't interface with the map. I'm building a Malden server.
Here is my MarXet_Traders.sqf
/*
*
* MarXet_Traders.sqf
* Author: WolfkillArcadia
* © 2016 Arcas Industries
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
*/
private["_traders","_trader","_signs","_sign"];
_traders = [];
switch (toLower worldName) do {
//////////////////////////////////////////
// BEGIN MALDEN CENTRAL TRADER
//////////////////////////////////////////
case "Malden":
{
_trader =
[
"Exile_Cutscene_Prisoner01",
"",
"GreekHead_A3_01",
["AidlPercMstpSnonWnonDnon_G01", "AidlPercMstpSnonWnonDnon_G02", "AidlPercMstpSnonWnonDnon_G03", "AidlPercMstpSnonWnonDnon_G04", "AidlPercMstpSnonWnonDnon_G05", "AidlPercMstpSnonWnonDnon_G06"],
[3775.48,7479.05,0],
132
]
call ExileClient_object_trader_create;
_traders pushBack _trader;
private ["_signs"];
_signs = [
["Exile_Sign_Armory",[3773.54,7478.18,0],317,[[0.615369,-0.788239,0],[0,-0,1]],false],
];
{
private ["_sign"];
_sign = createVehicle [_x select 0, [0,0,0], [], 0, ""];
_sign enableSimulationGlobal false;
_sign setObjectTextureGlobal [0, "MarXet\images\MarXet_Sign.jpg"];
if (_x select 4) then {
_sign setDir (_x select 2);
_sign setPos (_x select 1);
} else {
_sign setPosATL (_x select 1);
_sign setVectorDirAndUp (_x select 3);
};
} foreach _signs;
};
//////////////////////////////////////////////////////////
// END MALDEN CENTRAL TRADER
//////////////////////////////////////////////////////////
};
{
_x forceAddUniform "U_BG_Guerilla2_1";
_x addVest "Exile_Vest_Snow";
_x addHeadgear "H_Watchcap_blk";
_x addGoggles "G_Bandanna_aviator";
_x addWeapon "srifle_DMR_04_F";
_x addPrimaryWeaponItem "optic_LRPS";
_x addWeapon "hgun_ACPC2_F";
_x addAction ["<img image='\a3\ui_f\data\IGUI\Cfg\Actions\reammo_ca.paa' size='1' shadow='false' />Access MarXet","createDialog 'RscMarXetDialog'","",1,false,true,"","((position player) distance _target) <= 4"];
} forEach _traders;
[format["MarXet Traders have been placed. Trader count: %1. Map: %2",(count(_traders)),worldName],"Client Traders"] call ExileClient_MarXet_util_log;
And these are all in their appropriate places:
Config.cpp:
/**
* config
*
* Exile Mod
* exile.majormittens.co.uk
* © 2015 Exile Mod Team
*
* This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
* To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
*/
#include "MarXet\CfgMarXet.cpp"
//ExAd
class CfgXM8
etc...
init.sqf (I've tried it in every position with no success)::
execVM "R3F_LOG\init.sqf";
[] execVM "BSF\EnigmaRevive\init.sqf";
[] execVM "BSF\Maps\Billboards.sqf";
[] execVM "MarXet\MarXet_Init.sqf";
if hasInterface then
{
[] ExecVM "VEMFr_client\sqf\initClient.sqf"; // Client-side part of VEMFr
[] execVM "IgiLoad\IgiLoadInit.sqf";
[] ExecVM "scarCODE\ServerInfoMenu\sqf\initLocal.sqf"; // scarCODE ServerInfoMenu
};
if (isServer) then
{
[] execVM "BSF\fn_advancedTowingInit.sqf";
[] execVM "BSF\time.sqf";
};
description.ext:
#include "ExAdClient\ExAd.cpp"
#include "scarCODE\ServerInfoMenu\hpp\CfgServerInfoMenu.hpp"
#include "scarCODE\ServerInfoMenu\hpp\RscDisplayServerInfoMenu.hpp"
//#include "scarCODE\restartWarnings\hpp\RscDisplayRestartWarnings.hpp"
#include "MarXet\dialog\RscMarXetDefines.hpp"
#include "MarXet\dialog\RscMarXetDialog.hpp"
PBO in @Exileserver\Addons
Marxet folder in Exile.Malden mission file root.
I see these in my RPT:
It seems like it's loading ok, but The trader or sign don't show up.
Share this post
Link to post
Share on other sites