• 0
DerpNL

Loading clans error

Question

Hello,

I am trying to change the map of my server but i am bit stuck:(

I reseted my server completly and reuploaded the necessary mods for the map to run and put em in the comandline.

Now i got the following issue with my @ExileServer folder that basicly keeps saying in console:

*i currently cant reach the server cause of issues with host as soon as i can reach it i'll send the logs:)

 

I do know ther following files got the issue:

 

ExileServer_world_loadAllClans  (exile_server\code), in this one is the following:

Quote

/**
 * ExileServer_world_loadAllClans
 *
 * Exile Mod
 * www.exilemod.com
 * © 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/.
 */
 
private["_continueLoading","_page","_pageSize","_clanIDs","_numberOfClans","_i"];
"Loading families from database..." call ExileServer_util_log;
_continueLoading = true;
_page = 0;
_pageSize = 100;
while {_continueLoading} do
{
    _clanIDs = format ["loadClansIdPage:%1:%2", _page * _pageSize, _pageSize] call ExileServer_system_database_query_selectFull;
    _numberOfClans = count _clanIDs;
    if (_numberOfClans > 0) then
    {
        for "_i" from 0 to _numberOfClans - 1 do
        {
            ((_clanIDs select _i) select 0) call ExileServer_system_clan_database_load;
        };
    };
    _page = _page + 1;
    if (_numberOfClans < 100) then
    {
        _continueLoading = false;
    };
};
"Done loading families!" call ExileServer_util_log;
true

2nd file is: ExileServer_system_database_query_selectFull  (same location), in this the following is writen:

Quote

/**
 * ExileServer_system_database_query_selectFull
 *
 * Exile Mod
 * www.exilemod.com
 * © 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/.
 */
 
private["_parameters","_query","_result"];
_parameters = _this;
_query = [0, ExileServerDatabaseSessionId, _parameters] joinString ":";
_result = call compile ("extDB2" callExtension _query);
switch (_result select 0) do
{
    case 0:
    {
        (format["Database Error: %1", (_result select 1)]) call ExileServer_util_log;
    };
    case 2:
    {
        _result = (_result select 1) call ExileServer_system_database_handleBig;
    };
};
_result select 1

I've looked into this post but i can get it to work:(

 

Thanks for replaying in advance:)

 

 

Share this post


Link to post
Share on other sites

2 answers to this question

  • 0

Server console logs:

 

Quote

 


{

(format>

12:21:38   Error Undefined variable in expression: _result

12:21:38 File exile_server\code\ExileServer_system_database_query_selectFull.sqf, line 16

12:21:38 Error in expression <uery_selectFull;

_numberOfClans = count _clanIDs;

if (_numberOfClans > 0) then 

>

12:21:38   Error position: <_clanIDs;

if (_numberOfClans > 0) then 

>

12:21:38   Error Undefined variable in expression: _clanids

12:21:38 File exile_server\code\ExileServer_world_loadAllClans.sqf, line 20

12:21:38 Error in expression <"extDB2" callExtension _query);

switch (_result select 0) do

{

case 0:

{

(format>

12:21:38   Error position: <_result select 0) do

{

case 0:

 

 

Share this post


Link to post
Share on other sites
  • 0

Got it fixed, ended up redownloading the @exileserver folder from here and made own mission file using another 1 that didnt work. :)

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.