• 0
HarryPlobber #DIESEL#

Error Generic error in expression


So i was looking through my server RPT because i had just launched the server and i were looking for if anything needed fixing, the first thing i see that it has created over half a million lines just saying this:

14:55:33   Error Local variable in global space
14:55:33 Error in expression <>
14:55:33   Error position: <>

After looking through to see where this started i saw that it was triggered when a player joined, what exactly it was was (according to rpt) this:

14:55:33 File exile_server\code\ExileServer_system_database_query_selectSingleField.sqf, line 27
14:55:33 Error in expression <se_handleBig;
((_result select 1) select 0) select 0>
14:55:33   Error position: <select 0) select 0>
14:55:33   Error Generic error in expression

Any help to fix this would be gladly appreciated. The full file causing errors is here:


 * ExileServer_system_database_query_selectSingleField
 * 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/.
_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) select 0) select 0


Edited by HarryPlobber #DIESEL#

Share this post

Link to post
Share on other sites

1 answer to this question

  • 0

its not the file its the call to that file,check if any of your files are blocked by rightclick >>Properties


local variable in global space is saying that youre executing something globally ,say via a publicvariable eventhandler,but the variable has an underscore in front of it making it local to the executing client.as far as i know^^


Edited by B.A.D.

Share this post

Link to post
Share on other sites

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.