Skip to content

Commit

Permalink
Disable SpyGlass variable checks & updated patch list for release (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
BoGuu authored and Jason2605 committed Dec 25, 2019
1 parent 9d4ee25 commit 7569490
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 177 deletions.
35 changes: 19 additions & 16 deletions Altis_Life.Altis/SpyGlass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@ SpyGlass

<b>Notes</b>

If *Arma 3* has updated then it may be possible that the developers have included new files into the game.
If this is the case then launch *Arma 3* and go to the editor (you do not need to load a mission.)
Open the debug console and paste in the following code, then locally execute:

```sqf
_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);
```

1. Paste the results into a source code editor such as [Notepad++](https://notepad-plus-plus.org/) or [Atom](https://atom.io/).
2. Open SpyGlass/[fn_initSpy.sqf](https://github.com/AsYetUntitled/Framework/blob/master/Altis_Life.Altis/SpyGlass/fn_initSpy.sqf) and find `_patchList =`
3. Edit the result that you got from executing the code to include this at the start: `["life_server",`
4. Paste in your results and follow the existing structure.

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).


<b>Variable checking is deprecated, the following is currently disabled</b>

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.

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

... and so on.

If *Arma 3* has updated then it may be possible that the developers have included new files into the game.
If this is the case then launch *Arma 3* and go to the editor (you do not need to load a mission.)
Open the debug console and paste in the following code, then locally execute:

```sqf
_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);
```

1. Paste the results into a source code editor such as [Notepad++](https://notepad-plus-plus.org/) or [Atom](https://atom.io/).
2. Open SpyGlass/[fn_initSpy.sqf](https://github.com/AsYetUntitled/Framework/blob/master/Altis_Life.Altis/SpyGlass/fn_initSpy.sqf) and find `_patchList =`
3. Edit the result that you got from executing the code to include this at the start: `["life_server",`
4. Paste in your results and follow the existing structure.

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).
... and so on.
Loading

0 comments on commit 7569490

Please sign in to comment.