0.3.8 RC Bug - Custom model issues
#1

So I don't know if this has been reported already nor if the BETA team is aware of these bugs, but here's a few things that are really disturbing me;

Server "unexpected" shutdown
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.)
Reply
#2

another bug:

function IsValidObject is not working with custom objects..
Reply
#3

Quote:
Originally Posted by papedo
View Post
another bug:

function IsValidObject is not working with custom objects..
Actually, it is working:

Code:
[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
PHP Code:
main() {
    return print(
"> Executed Battlefield Forest CORE engine ("SCRIPT_VERSION")");
}
public 
OnGameModeInit() {
    
AddSimpleModel(-119379, -2001"m4a1.dff""m4a1.txd");
    new 
object CreateObject(-20010.00.00.00.00.00.0);
    
printf("Is valid: %s", (IsValidObject(object) == 1)?("Yes"):("No"));
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)