diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-10-17 23:41:13 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-10-19 22:25:49 +0200 |
commit | 210e33c8b32f3bbc696e5ffd1affef65a7d66b5d (patch) | |
tree | 2b9eb5447860e7ea92c8ec378ebe03d8ddf8636e /src | |
parent | 943fdc0eb7237790a469a81fba4c914f9e085977 (diff) | |
download | manaserv-210e33c8b32f3bbc696e5ffd1affef65a7d66b5d.tar.gz manaserv-210e33c8b32f3bbc696e5ffd1affef65a7d66b5d.tar.bz2 manaserv-210e33c8b32f3bbc696e5ffd1affef65a7d66b5d.tar.xz manaserv-210e33c8b32f3bbc696e5ffd1affef65a7d66b5d.zip |
Prevent server crash by not having beings talk after spawn for now
At the moment it is the responsibility of the script to make sure any
references to beings passed into script functions are valid.
This means you can't schedule delayed scripts like the one making
maggots say 'Roaaarrrr!!!', since the being might have been removed
before the script gets executed. In the case of this bug the maggots are
removed by some script code testing 'mana.monster_remove'.
We should of course fix the way actor handles are used in Lua so that
scripts can't end up crashing the server.
Mantis-issue: 384
Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions