Desto

Member
  • Content count

    3
  • Donations

    0.00 EUR 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Desto

  • Rank
    Bambi
  1. Desto

    Our database issue

    sorry trying to find why its doing this a guy i know say that i can still use old Database but cant even get an old database to work so this starting to get ennoying
  2. Desto

    Our database issue

    /** * ExileServer_world_loadAllClans * * 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/. */ 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 /** * ExileServer_system_database_query_selectFull * * 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/. */ 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 Those 2 files it says theres an error within.
  3. Desto

    Our database issue

    (format> 12:50:23 Error position: <_result select 0) do { case 0: { (format> 12:50:23 Error Undefined variable in expression: _result 12:50:23 File exile_server\code\ExileServer_system_database_query_selectFull.sqf, line 16 12:50:23 Error in expression <uery_selectFull; _numberOfClans = count _clanIDs; if (_numberOfClans > 0) then > 12:50:23 Error position: <_clanIDs; if (_numberOfClans > 0) then > 12:50:23 Error Undefined variable in expression: _clanids 12:50:23 File exile_server\code\ExileServer_world_loadAllClans.sqf, line 20 12:50:23 Error in expression <"extDB2" callExtension _query); switch (_result select 0) do { case 0: { This error we keep getting from the database and we donno how to fix it any clues? when we loaded the new database it gave us 4 errors but donno whats wrong its a new server so we can easy put in a working one if any one have.