Basically, if you tend to unexpectedly shut your server console down. (pressing X in the windows UI)
Then your objects will disappear /IF/ you're already reconnecting and IF the objects are custom models, however if you use for i.e. OnPlayerSpawn to attach a player object, then it'll work gucci. But if you're using CreateObject with negative models, they will not show up if you unexpectedly shut the server down and then boot it up.
Another issue with restarting the server is that, you will not be checked to download any models and custom models will just display a question mark. (In case you didn't understand; If I add models and then restart my server with players online, they will not have those objects downloaded because they've reconnected basically.)
another bug:
function IsValidObject is not working with custom objects.. |
[artwork:crc] m4a1.dff CRC = 0x928E5F0B [artwork:crc] m4a1.txd CRC = 0x508420E1 Is valid: Yes > Executed Battlefield Forest CORE engine (0.9.0) Number of vehicle models: 0
main() {
return print("> Executed Battlefield Forest CORE engine ("SCRIPT_VERSION")");
}
public OnGameModeInit() {
AddSimpleModel(-1, 19379, -2001, "m4a1.dff", "m4a1.txd");
new object = CreateObject(-2001, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
printf("Is valid: %s", (IsValidObject(object) == 1)?("Yes"):("No"));
return 1;
}