vitalymind

[Release] Improved XM8 apps

74 posts in this topic

Getting the following error

Spoiler

12:24:19 Warning Message: Script anyXM8_apps\XM8_apps_config.sqf not found
12:24:19 Error in expression <pathToFolder"];


XM8_apps_folderPath = _pathToFolder;


call compile preprocess>
12:24:19   Error position: <_pathToFolder;


call compile preprocess>
12:24:19   Error Undefined variable in expression: _pathtofolder
12:24:19 File mpmissions\__CUR_MP.Tanoa\XM8_apps\scripts\XM8_apps_init.sqf, line 9

Here is my init.sqf file (haven't changed anything in it)

Spoiler

/*
    Improved XM8 apps by vitaly'mind'chizhikov
    Original idea by Shix.
*/

params ["_pathToFolder"];

//Setting path to app
XM8_apps_folderPath = _pathToFolder;

//Apply config
call compile preprocessFileLineNumbers format ["%1XM8_apps\XM8_apps_config.sqf",_pathToFolder];

//Run init scripts for those apps that made for Improved XM8 apps (not legacy apps)
for "_i" from 1 to 15 do {
    private ["_pos", "_data"];
    if (!isNil (format ["XM8_apps_app%1", _i])) then {
        _data = call compile format ["XM8_apps_app%1", _i];
        if (_data select 3) then {
            _arr = (_data select 4) splitString "\";  
            _arr resize ((count _arr) - 2);
            ((_arr joinString "\") + "\") call compile preprocessFileLineNumbers (_data select 4);
        } else {
            
        };
    };
};

Thanks for the help!!!

Share this post


Link to post
Share on other sites
Advertisement
On 30.10.2017 at 10:08 PM, AlienfromouterSpace said:

deleted

why?

Share this post


Link to post
Share on other sites
2 hours ago, [x] cit said:

why?

Because it works now on our server and something stupid was in my question... xD

1 person likes this

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.