Virtual world 0.3DL
#1

Hello guys, i have problem with the virtual world in this version. If im turn off the ( useartwork 1 = useartwork 0 ) all work's fine, but if im tturn on this back, virtual world command bugged. Command is fine, sql save too changed, but i dont see player's / vehicle's when using useartwork 1.
So please help me, what's wrong?
Reply
#2

If I remember right, I had some problems with this myself. Try adding this somewhere in your script: Then I guess it will work when you use useartwork.

This is a callback added in 0.3.DL.

PHP код:
public OnPlayerFinishedDownloading(playeridvirtualworld)
{
    return 
1;

Reply
#3

Thank you for you'r try, but i have some that problem. Im placed this on the script, but nothing, when im using the command and set the vw 0-1 dont see vehicles or player's, so its wrong, or just im very **** for using this. Maybe anything else?
Reply
#4

Did you remember to restart your server? Because if it works when you have userartwork turned off, then this is pretty much the only logical explanation. It is called each time a change in the virtual world occurs.

The way I stumbled onto this problem: I tried entering a house, and each time I exited the virtual world would be zero, the same world for every other player and vehicles but I could still not see players/vehicles. Everything disappeared. The problem was fixed right after I added this, after reading the scripting wiki.

Oh. Do you have any custom objects to actually download? In that folder?
Reply
#5

Quote:
Originally Posted by CantBeJohn
Посмотреть сообщение
If you're running 0.3.DL and are experiencing virtualworld issues, then make sure you've got this done:

Update your includes to 0.3.DL.
Add “OnPlayerFinishedDownloading” somewhere in your script.
Add in the “models” folder from the 0.3.DL’s package.

And it should be fixed. The issue is basically that you’re making the server download models through the server configuration while not having a models folder or not having “OnPlayerFinishedDownloading” in your script, causing virtualworld/syncing issues.
Follow these steps.
Reply
#6

@CantBeJohn oh yeah,, thank you.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)