Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
Also fix another possible memory leak
|
|
|
|
|
|
Multiplayer games has the server add some flags to the cmd value during the handling.
These flags should not be included in the verification, mask them out. Without this
masking out, scripts tend to die when executing their first command in multiplayer.
|
|
|
|
|
|
This can avoid out-of-memory situations due to single scripts using up the entire address space.
Instead, scripts that go above the maximum are killed.
The maximum is default 1 GB per script, but can be configured by a setting.
|
|
|
|
be of type integer instead of boolean
|
|
|
|
file io code instead of assuming MAX_PATH is okay
|
|
and strecat.
|
|
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
|
|
|
|
|
|
|
progressing, thus break-on-log now works also for Game Scripts.
|
|
(Hirundo)
|
|
|
|
|
|
|
|
GameScript
|
|
script.script_max_opcode_till_suspend
|
|
|
|
|
|
duplication (and in time, different values)
|
|
reusable by other script API instances
|