-
Content count
2 -
Donations
0.00 EUR -
Joined
-
Last visited
Community Reputation
3 NeutralAbout Golias
-
Rank
Bambi
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Dear Exile team, Like on the server side, I am submitting a report of issues compiled by the SQF analyzer on the client code. Do not assume that every warning should be dealt with, but there is an important bug in the code: In file `ExileClient_util_string_padLeft.sqf`, the code while ((count _result) < _targetLength) do { _result = _padding + _result; }; either never runs, or runs indefinitely and is likely semantically wrong. I suspect you want to use curly brackets. The full report: ExileClient_gui_payTerritoryProtectionMoneyDialog_show.sqf [24,2]:warning:Local variable "_name" assigned to an outer scope (not private) [25,36]:warning:Local variable "_name" is not from this scope (not private) ExileClient_gui_safezone_safeESP.sqf [27,5]:warning:Local variable "_name" assigned to an outer scope (not private) [31,15]:warning:Local variable "_name" is not from this scope (not private) [31,7]:warning:Local variable "_name" assigned to an outer scope (not private) [35,34]:warning:Local variable "_name" is not from this scope (not private) [35,26]:warning:Local variable "_name" assigned to an outer scope (not private) [41,35]:warning:Local variable "_name" is not from this scope (not private) ExileClient_gui_upgradeTerritoryDialog_show.sqf [24,2]:warning:Local variable "_name" assigned to an outer scope (not private) [25,36]:warning:Local variable "_name" is not from this scope (not private) ExileClient_gui_xm8_slide_hostParty_event_onOkayButtonClick.sqf [41,1]:warning:Local variable "_group" assigned to an outer scope (not private) [42,1]:warning:Local variable "_group" is not from this scope (not private) [43,21]:warning:Local variable "_group" is not from this scope (not private) [44,28]:warning:Local variable "_group" is not from this scope (not private) ExileClient_gui_xm8_slide_party_onOpen.sqf [17,0]:warning:Local variable "_group" assigned to an outer scope (not private) [18,17]:warning:Local variable "_group" is not from this scope (not private) [19,22]:warning:Local variable "_group" is not from this scope (not private) [50,113]:warning:Local variable "_group" is not from this scope (not private) ExileClient_gui_xm8_slide_territory_onOpen.sqf [23,2]:warning:Local variable "_name" assigned to an outer scope (not private) [27,86]:warning:Local variable "_name" is not from this scope (not private) ExileClient_object_player_identifyBody.sqf [16,1]:warning:Local variable "_name" assigned to an outer scope (not private) [17,6]:warning:Local variable "_name" is not from this scope (not private) [19,55]:warning:Local variable "_name" is not from this scope (not private) ExileClient_system_network_deleteGroupPlz.sqf [12,0]:warning:Local variable "_group" assigned to an outer scope (not private) [13,9]:warning:Local variable "_group" is not from this scope (not private) [15,13]:warning:Local variable "_group" is not from this scope (not private) ExileClient_system_party_network_inviteToPartyRequest.sqf [15,0]:warning:Local variable "_group" assigned to an outer scope (not private) [16,21]:warning:Local variable "_group" is not from this scope (not private) [20,40]:warning:Local variable "_group" is not from this scope (not private) ExileClient_util_string_padLeft.sqf [17,5]:error:'while' must be followed by a code statement
-
List of potential small errors in code relating to missing private
Golias posted a question in Serverside
Dear Exile team, Like @WolfkillArcadia suggested to me on Discord, I am sending to you a report on minor issues on the source code of the server side. This report was compiled using the SQF analyzer that I am developing, against the latest version of the server code. Do not assume that every warning should be dealt with, but I believe that some warnings indicate that something is not right. To give you a specific example, in file `ExileServer_system_party_network_updateMyPartyMarkerRequest.sqf`, you have a block of the form try { {...} forEach ... } catch { _x call ...; }; In the catch, I believe `_x` is always anything. Here is the full list: [line, column] ExileServer_object_player_createBambi.sqf [40,0]:warning:Local variable "_name" assigned to an outer scope (not private) [70,21]:warning:Local variable "_name" is not from this scope (not private) [82,39]:warning:Local variable "_name" is not from this scope (not private) ExileServer_object_player_database_load.sqf [17,0]:warning:Local variable "_name" assigned to an outer scope (not private) [52,16]:warning:Local variable "_name" is not from this scope (not private) [59,34]:warning:Local variable "_name" is not from this scope (not private) ExileServer_object_player_network_hasPlayerRequest.sqf [22,1]:warning:Local variable "_uid" assigned to an outer scope (not private) [27,5]:warning:Local variable "_uid" is not from this scope (not private) [31,47]:warning:Local variable "_uid" is not from this scope (not private) ExileServer_system_clan_network_addPolyRequest.sqf [57,79]:warning:Local variable "_exception" is not from this scope (not private) ExileServer_system_database_connect.sqf [14,0]:warning:Local variable "_error_locked" assigned to an outer scope (not private) [32,2]:warning:Local variable "_error_locked" assigned to an outer scope (not private) [57,6]:warning:Local variable "_error_locked" is not from this scope (not private) ExileServer_system_event_ambientFlyOver_start.sqf [13,0]:warning:Local variable "_group" assigned to an outer scope (not private) [47,10]:warning:Local variable "_group" is not from this scope (not private) [49,21]:warning:Local variable "_group" is not from this scope (not private) [67,0]:warning:Local variable "_group" is not from this scope (not private) [68,0]:warning:Local variable "_group" is not from this scope (not private) [69,0]:warning:Local variable "_group" is not from this scope (not private) [70,0]:warning:Local variable "_group" is not from this scope (not private) [71,0]:warning:Local variable "_group" is not from this scope (not private) [72,12]:warning:Local variable "_group" is not from this scope (not private) [76,12]:warning:Local variable "_group" is not from this scope (not private) ExileServer_system_network_event_onHandleDisconnect.sqf [15,0]:warning:Local variable "_uid" assigned to an outer scope (not private) [16,0]:warning:Local variable "_name" assigned to an outer scope (not private) [19,5]:warning:Local variable "_uid" is not from this scope (not private) [31,32]:warning:Local variable "_uid" is not from this scope (not private) [40,48]:warning:Local variable "_uid" is not from this scope (not private) [40,54]:warning:Local variable "_name" is not from this scope (not private) [43,35]:warning:Local variable "_name" is not from this scope (not private) [47,32]:warning:Local variable "_uid" is not from this scope (not private) ExileServer_system_network_event_onPlayerConnected.sqf [13,0]:warning:Local variable "_uid" assigned to an outer scope (not private) [14,0]:warning:Local variable "_name" assigned to an outer scope (not private) [15,5]:warning:Local variable "_uid" is not from this scope (not private) [17,41]:warning:Local variable "_name" is not from this scope (not private) [17,48]:warning:Local variable "_uid" is not from this scope (not private) [18,47]:warning:Local variable "_uid" is not from this scope (not private) [21,38]:warning:Local variable "_uid" is not from this scope (not private) [21,44]:warning:Local variable "_name" is not from this scope (not private) [25,32]:warning:Local variable "_uid" is not from this scope (not private) [25,38]:warning:Local variable "_name" is not from this scope (not private) ExileServer_system_party_network_updateMyPartyMarkerRequest.sqf [42,1]:warning:Local variable "_x" is not from this scope (not private) ExileServer_system_process_preInit.sqf [21,0]:warning:Local variable "_MySql_connection" assigned to an outer scope (not private) ExileServer_system_territory_database_insert.sqf [19,0]:warning:Local variable "_build_rights" assigned to an outer scope (not private) [32,1]:warning:Local variable "_build_rights" is not from this scope (not private) ExileServer_system_territory_database_load.sqf [17,0]:warning:Local variable "_name" assigned to an outer scope (not private) [38,47]:warning:Local variable "_name" is not from this scope (not private) ExileServer_util_fill_fillContainers.sqf [19,2]:warning:Local variable "_current_filled" assigned to an outer scope (not private) [37,25]:warning:Local variable "_current_filled" is not from this scope (not private) [45,6]:warning:Local variable "_current_filled" is not from this scope (not private) [49,6]:warning:Local variable "_current_filled" is not from this scope (not private) [53,6]:warning:Local variable "_current_filled" is not from this scope (not private) ExileServer_util_getFragKiller.sqf [23,2]:warning:Local variable "_uid" assigned to an outer scope (not private)