forked from dreamnation/xmrengine
-
Notifications
You must be signed in to change notification settings - Fork 1
/
xmrengine.ini.example
38 lines (32 loc) · 1.35 KB
/
xmrengine.ini.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
;; Modify OpenSim.ini to select XMREngine as default script engine
;; or you can specify XMREngine on a script-by-script basis
;; by putting //XMREngine: on first line of script
DefaultScriptEngine = "XMREngine"
;; XMREngine parameters
;; Add to OpenSim.ini, such as after [XEngine] section
;; UThreadModel = sys (the default) works on mono and windows
;; sys = use system threads to run scripts
;; nul = use stack smashing to run scripts
;; con = use mono continuations to run scripts
;; memcpy()s stack
;; mmr = use patched mono microthreads to run scripts
;; swaps stack pointer
;; available in https://www.dreamnation.net/downloads
;; if you have mono, you can use sys, nul or con
;; if you have patched mono, you can use sys, nul, con or mmr
;; Before using con or mmr,
;; 1) rename prebuild1.xml to prebuild1.xml.hide
;; 2) delete bin/XMREngine.dll* and bin/Mono.Tasklets.dll*
;; 3) rebuild XMREngine
[XMREngine]
Enabled = true
UThreadModel = nul
ScriptStackSize = 256
ScriptHeapSize = 256
UseSourceHashCode = true
;; any of this sort of thing you want...
AllowMODFunctions = true
AllowOSFunctions = true
Allow_osGetNotecardLine = true
; MinTimerInterval = 0.1 ;; default 0.5
OSFunctionThreatLevel = VeryLow