Compiler Server Commands
Compiler Server Commands are special commands typed into the CLI on the Console Panel, and are only recognized by the HeroScript compiler servers.
There are two compiler server processes: one for client-side scripts and one for server-side scripts.
- To route commands to the Client HeroScript Compiler Server process, for client-side scripts, use the "|" CLI prefix.
- To route commands to the HeroScript Compiler Server process, for server-side scripts, use the "hscs " prefix.
testcompileall
This is a special command that you can send to a compiler server over the CLI channel. It causes the latest stored version of every script to be compiled but does not store anything. Any compile errors show up in the Master Control logs.
For client-side scripts:
|testcompileall
For server-side scripts:
hscs testcompileall
recompileallscripts
WARNING: This will make every script show up as being last modified today!
WARNING: This will make everyone's next login take longer!
This is a special command that you can send to a compiler server over the CLI channel. It causes the latest stored version of every script to be compiled AS A NEW VERSION. Any compile errors show up in the Master Control logs.
recompileallscriptsbytecode
WARNING: This will make everyone's next login take longer!
This is a special command that you can send to a compiler server over the CLI channel. It is used in certain publishing scenarios. It causes the latest stored version of every script to be compiled, but only updates the Repository. Unlike recompileallscripts, no new version of the source is created. Since the Repository is not used for server-side byte code, this command is like testcompileall for the server-side compiler. Any compile errors show up in the Master Control logs.