LordRampantHump

Loot Search Exile

102 posts in this topic

Add the IDs: 1000 and 1001 to your Infistarts config file under the allowedIDDs class.

Example:

Quote

/* Use IDD White-List ? */ UDW = "true";
/* allowedIDDs: Insert IDDs here to prevent them from being closed! */
allowedIDDs[] =
{
	/* default idds */
	-1,0,4,5,6,8,12,18,24,49,54,55,70,101,160,174,177,999,131,63,602,301,

	/* loot systems */
	1000, 1001,
	
	/* exile idds */
	24001,24002,20023,24005,24004,24010,24025,20021,20017,24012,24027,
	20019,20016,24007,20024,20018,24008,24011,24015,24000,24006,24014,
	20020,24026,4002,4000,4001,4003,1500,

	24033,24030,24029,24028,24031,24034,

	4004,21000,	// Bounty system and MarXet
	8457,	// http://www.exilemod.com/topic/9040-xm8-apps/
	65431,	// r3f menu fix
	6666,	// Paintshop
	0711,	// Advanced Banking
	0720,	// Virtual Garage
	5501,5502,5503,5504,5505,5506,5507,	// BRAma Cookbook
	-1339,-1340,	// custom infiSTAR dialogs (some editor & a private chat menu)
	
	/* main idd - never delete it */
	46
};

 

 

Edited by [RG] Salutesh
  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Hm, I am struggling to get this to work correctly.

Game is crashing when joining the server, it spams this a bit in .rpt

Spoiler

_searchObject = LARs_searchObject;
_searchPos = getPosATL _player;
if ( _searchObject == """"Empty"""" ) exitWith {hint ( LARs_lootEmptyStrings call BIS_fnc_selectRandom ) };
_animationToPlay = LARs_lootAnimations call BIS_fnc_selectRandom;

( [ """"LARs_searchLootUI"""" ] call BIS_fnc_rscLayer ) cutRsc [ """"LARs_searchLootUI"""", """"PLAIN"""", 1, false ];

if ( _animationToPlay != """""""" ) then {
_startAnimTime = time;
_player playMove _animationToPlay;
}else{
_player playAction """"Crouch"""";
};
_playerInSearchArea = [ _player, _searchPos ] spawn { params[ """"_player"""", """"_searchPos"""" ]; waitUntil { _player distanceSqr _searchPos >  ( LARs_searchRadius^2 ) } };
for """"_sleep"""" from LARs_lootSearchTime to 0 step -0.01 do {
_progress = linearConversion [ 0, LARs_lootSearchTime, _sleep, 0, 1 ];
(uiNamespace getVariable """"LARs_sea
14:38:41 "<infiSTAR.de>SURVEILLANCELOG| NAME(00000000010101010) | BadAction on player (content: additemcargo): [""Search #"",""
nul = _this spawn {
params [
""""_player""""
];

 

Here is my current description.ext

Spoiler

#define true 1
#define false 0

///////////////////////////////////////////////////////////////////////////////
// Server Settings - Modify at will
///////////////////////////////////////////////////////////////////////////////
author = "Exile Mod Team";
onLoadName = "Exile Mod";
onLoadMission= "www.exilemod.com";
loadScreen = "exile_assets\texture\mod\logo.paa";
disableChannels[] = {0, 2};
OnLoadIntro = "";
OnLoadIntroTime = false;
OnLoadMissionTime = false;

class Header
{
    gameType = Survive; // Do NOT change this
    minPlayers = 1;
    maxPlayers = 100;
};

///////////////////////////////////////////////////////////////////////////////
// Exile Settings - Do not change these!
///////////////////////////////////////////////////////////////////////////////
forceRotorLibSimulation = 2;
skipLobby = 1;
joinUnassigned = 1;
respawn = "BASE";
respawnDelay = 120;
respawnDialog = 0;
respawnOnStart = 0;
respawnButton = 1;
respawnTemplates[] = {"Exile"};
corpseManagerMode = 0;
corpseLimit = 20;
corpseRemovalMinTime = 1800;
corpseRemovalMaxTime = 3600;
wreckManagerMode = 0;
wreckLimit = 2;
wreckRemovalMinTime = 60;
wreckRemovalMaxTime = 360;
scriptedPlayer = 1;
disabledAI = 1;
enableItemsDropping = 0;
briefing = 0;
debriefing = 0;
allowFunctionsLog = 1;
enableDebugConsole = 0;
allowFunctionsRecompile = 0;
showSquadRadar = 0;
showUAVFeed = 0;
reviveDelay = 6;
reviveForceRespawnDelay = 3;
reviveBleedOutDelay = 120;

showHUD[] =
{
    true,   // Scripted HUD (same as showHUD command)
    true,   // Vehicle + soldier info
    true,   // Vehicle radar
    true,   // Vehicle compass
    true,   // Tank direction indicator
    true,  // Commanding menu
    false,  // Group Bar
    true,   // HUD Weapon Cursors
    false   // Squad Radar
};

class CfgFunctions {
    #include "LARs\LARs_searchLoot\functions.cpp"
};

#include "baseDefines.hpp"

class RscTitles
{
    #include "addons\statusBar\statusBar.hpp"
    #include "statusIcons\StatusIcons.hpp"
    #include "LARs\LARs_searchLoot\LARs_lootUI.hpp"
};

#include "config.cpp"
#include "CfgRemoteExec.hpp"
#include "infiSTAR_AdminMenu.hpp"

 

Thanks

Edited by Diddl3s

Share this post


Link to post
Share on other sites
27 minutes ago, Razor77 said:

I get the same too, I keep trying different ways of adding it to the server but no joy :D

I remember when i was trying to get it it initalize  it just wouldn't, no matter what I tried, however if I called it from the console it was fine.

Somethings i recall doing was waiting to ensure the player was alive, on the ground and everything else had loaded before this.

maybe at the absolute end of your init player local you could try:

waitUntil {!isNull player};
waitUntil {!isNull findDisplay 46};
uiSleep 10;
[] execVM "LARs\LARs_searchLoot\fn_initSearch.sqf";

alternatively, you could try to set a variable on initialization (inside the loot function) such as 

player setVariable [ "lars_loot_loaded",true];   

Checking for this variable from the init player and looping the check until the variable is true

while {!player getVariable "lars_loot_loaded"} do { init lootscript; uiSleep 3; };

This weekend i will go through my files again and try to install this myself on a new exile install

 

EDIT: This script could be a fantastic addition for Exile,  but what it needs is for somone to take it under its wing and rewrite it with Exile in mind

Edited by LordRampantHump
  • Like 2

Share this post


Link to post
Share on other sites
15 minutes ago, LordRampantHump said:

EDIT: This script could be a fantastic addition for Exile,  but what it needs is for somone to take it under its wing and rewrite it with Exile in mind

With my limited knowledge of ARMA coding I will have to eagerly await some genius that has the time and generosity to fix this one up :)

Thanks for sharing mate, I look forward to the future of this :)

  • Like 1

Share this post


Link to post
Share on other sites
21 minutes ago, LordRampantHump said:

I have decided, to hell with it, what do i need to work for anyway!

Im downloading Exile now and will hopefully post pack tonight with a "How to"

Legend 

  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.