code/_compile_options.dm
BYPASS_JOB_LIMITS_WHEN_DEBUGGING | //////////////////// DEBUGGING & PROFILING
By using the testing("message") proc you can create debug-feedback for people with this
uncommented, but not visible in the release version)
Enables the ability to cache datum vars and retrieve later for debugging which vars changed.
If this is uncommented, will profile mapload atom initializations
Enables debug messages for every single reaction step. This is 1 message per 0.5s for a SINGLE reaction.
Useful for tracking down bugs/asking me for help in the main reaction handiler (equilibrium.dm).
|
---|---|
MULTIZAS | Force codex SQLite generation and loading despite being a debug server. Also forces the codex to always regenerate on world start.
Enable DEBUG_AI_LOG
//////////////////// REFERENCE TRACKING
Used to find the sources of harddels, quite laggy, don't be surpised if it freezes your client for a good while
Used for doing dry runs of the reference finder, to test for feature completeness
Slightly slower, higher in memory. Just not optimal
|
ZMIMIC_MULTIZ_SPEECH | //////////////////// ZMIMIC Enables multi-z speech |
MAX_ATOM_OVERLAYS | //////////////////// MISC PERFORMANCE A reasonable number of maximum overlays an object needs If you think you need more, rethink it |
PRELOAD_RSC | 0 to allow using external resources or on-demand behaviour; 1 to use the default behaviour; 2 for preloading absolutely everything; |
Define Details
BYPASS_JOB_LIMITS_WHEN_DEBUGGING
//////////////////// DEBUGGING & PROFILING
By using the testing("message") proc you can create debug-feedback for people with this
uncommented, but not visible in the release version)
Enables the ability to cache datum vars and retrieve later for debugging which vars changed.
If this is uncommented, will profile mapload atom initializations
Enables debug messages for every single reaction step. This is 1 message per 0.5s for a SINGLE reaction.
Useful for tracking down bugs/asking me for help in the main reaction handiler (equilibrium.dm).
Requires TESTING to be defined to work
If defined, we will compile with FULL timer debug info, rather then a limited scope
Be warned, this increases timer creation cost by 5x
If this is uncommented, force our verb processing into just the 2% of a tick
We normally reserve for it
NEVER run this on live, it's for simulating highpop only
Uncomment this to force all verbs to run into overtime all of the time
Essentially negating the reserve 2%
Requires VERB_STRESS_TEST to be defined
Uncomment this to enable a set of debugging verbs for client macros
This ability is given to all clients, and I'm not going to bother vetting how safe this is.
This will generate a compile warning.
Uncomment this to wire the ruin budgets to zero. This prevents them spawning.
Useful for measuring performance of specific systems with more reliability.
Uncomment this to assert INSTANCES_OF() is running on valid lists.
Uncomment this to enable debugging tools for map making.
Set this value to FALSE to test job requirements working.
MAX_ATOM_OVERLAYS
//////////////////// MISC PERFORMANCE A reasonable number of maximum overlays an object needs If you think you need more, rethink it
MULTIZAS
Force codex SQLite generation and loading despite being a debug server. Also forces the codex to always regenerate on world start.
Enable DEBUG_AI_LOG
//////////////////// REFERENCE TRACKING
Used to find the sources of harddels, quite laggy, don't be surpised if it freezes your client for a good while
Used for doing dry runs of the reference finder, to test for feature completeness
Slightly slower, higher in memory. Just not optimal
Requires REFERENCE_TRACKING to be defined
Run a lookup on things hard deleting by default.
If this is uncommented, we set up the ref tracker to be used in a live environment
And to log events to [log_dir]/harddels.log
//////////////////// UNIT TESTING
//////////////////// AUTO WIKI
If this is uncommented, Autowiki will generate edits and shut down the server.
Prefer the autowiki build target instead.
//////////////////// ZONE ATMOSPHERIC SYSTEM
Enables verbose debugging and the debug overlay. NOTE: Debug Overlay does not report MultiZAS information at this time.
Enables multi-Z air movement. Zones do not merge across Z levels.
PRELOAD_RSC
0 to allow using external resources or on-demand behaviour; 1 to use the default behaviour; 2 for preloading absolutely everything;
ZMIMIC_MULTIZ_SPEECH
//////////////////// ZMIMIC Enables multi-z speech