Skip to content

Commit 7569490

Browse files
BoGuuJason2605
authored andcommitted
Disable SpyGlass variable checks & updated patch list for release (#591)
1 parent 9d4ee25 commit 7569490

File tree

3 files changed

+34
-177
lines changed

3 files changed

+34
-177
lines changed

Altis_Life.Altis/SpyGlass/README.md

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@ SpyGlass
55

66
<b>Notes</b>
77

8+
If *Arma 3* has updated then it may be possible that the developers have included new files into the game.
9+
If this is the case then launch *Arma 3* and go to the editor (you do not need to load a mission.)
10+
Open the debug console and paste in the following code, then locally execute:
11+
12+
```sqf
13+
_cfgPatches = []; _binConfigPatches = configFile >> "CfgPatches"; for "_i" from 0 to count (_binConfigPatches)-1 do { _patchEntry = _binConfigPatches select _i; if (isClass _patchEntry) then { _cfgPatches pushBackUnique (configName _patchEntry); }; }; copyToClipboard str(_cfgPatches);
14+
```
15+
16+
1. Paste the results into a source code editor such as [Notepad++](https://notepad-plus-plus.org/) or [Atom](https://atom.io/).
17+
2. Open SpyGlass/[fn_initSpy.sqf](https://github.com/AsYetUntitled/Framework/blob/master/Altis_Life.Altis/SpyGlass/fn_initSpy.sqf) and find `_patchList =`
18+
3. Edit the result that you got from executing the code to include this at the start: `["life_server",`
19+
4. Paste in your results and follow the existing structure.
20+
21+
This should fix any issues with SpyGlass. If you continue to experience issues then please see [contact on Contributing to AsYetUntitled](https://github.com/AsYetUntitled/Framework/blob/master/.github/CONTRIBUTING.md#contact).
22+
23+
24+
<b>Variable checking is deprecated, the following is currently disabled</b>
25+
826
If SpyGlass is kicking on join then make sure that all functions that you have changed in the mission have been whitelisted. Check your *Arma 3* [client RPT](https://community.bistudio.com/wiki/Crash_Files) log file to find message outputs as to why you are being kicked.
927

1028
Example:
@@ -28,19 +46,4 @@ If there are Bohemia Interactive [functions](https://community.bistudio.com/wiki
2846
BIS_Functions[] = {"",""};
2947
```
3048

31-
... and so on.
32-
33-
If *Arma 3* has updated then it may be possible that the developers have included new files into the game.
34-
If this is the case then launch *Arma 3* and go to the editor (you do not need to load a mission.)
35-
Open the debug console and paste in the following code, then locally execute:
36-
37-
```sqf
38-
_cfgPatches = []; _binConfigPatches = configFile >> "CfgPatches"; for "_i" from 0 to count (_binConfigPatches)-1 do { _patchEntry = _binConfigPatches select _i; if (isClass _patchEntry) then { _cfgPatches set [count _cfgPatches,(configName _patchEntry)]; }; }; copyToClipboard str(_cfgPatches);
39-
```
40-
41-
1. Paste the results into a source code editor such as [Notepad++](https://notepad-plus-plus.org/) or [Atom](https://atom.io/).
42-
2. Open SpyGlass/[fn_initSpy.sqf](https://github.com/AsYetUntitled/Framework/blob/master/Altis_Life.Altis/SpyGlass/fn_initSpy.sqf) and find `_patchList =`
43-
3. Edit the result that you got from executing the code to include this at the start: `["life_server",`
44-
4. Paste in your results and follow the existing structure.
45-
46-
This should fix any issues with SpyGlass. If you continue to experience issues then please see [contact on Contributing to AsYetUntitled](https://github.com/AsYetUntitled/Framework/blob/master/.github/CONTRIBUTING.md#contact).
49+
... and so on.

0 commit comments

Comments
 (0)