Posts: 4
Threads: 2
Joined: Aug 2012
Reputation:
0
Hello guys! I have a serious trouble. On our server we have a desync after moment, when you've visited any /enter property. Like if server will change int\world for you - you'll be desynced. You will see a messages from another players, some player even can see you and KILL you for example, but on your screen you will see only your death without any reasons lol. We tested it on 0.3.8 rc4 and on 0.3dl-rc1. ALso we tested it on another host and we don't have this trouble. I'm using extravm.com hosting for that. Debian 9 on board. Any suggestions?
Posts: 107
Threads: 2
Joined: Oct 2016
Reputation:
0
To anyone who proceeds to have this issue, there’s a simple fix. You need to have OnPlayerFinishedDownload in your script returning 1. In the server configuration files you’re allowing the downloading of models but you don’t have OnPlayerFinishedDownloading in your script. I’ve figured out that this causes a “desync” where you can’t see anyone when your Virtual World changes because OnPlayerFinishedDownloding can’t/isn’t being called.
Edit: Apparently this happens even if you don’t have any custom models.
Posts: 4
Threads: 2
Joined: Aug 2012
Reputation:
0
Ty for answer!
forward OnPlayerFinishedDownloading(playerid, virtualworld);
public OnPlayerFinishedDownloading(playerid, virtualworld)
{
return 1;
}
Used this and this trouble still exist :c
Posts: 107
Threads: 2
Joined: Oct 2016
Reputation:
0
This was solved in private messages but for anyone who has this issue in the future, here’s the solution:
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.