Posts: 192
Threads: 2
Joined: Sep 2010
Quote:
Originally Posted by Kyle
This should be altered so it's only actually called when downloads have taken place.
|
This isn't ideal for servers that set up cinematic cameras while prompting a user to register or login. It should absolutely be called during the initial server connection because that makes it easier to set up proper login/register scripts. During initial testing, I had concerns about the download box appearing over login dialogs during a player's first connection. This callback was added to make transitioning from these stages more fluid. I do agree that a virtual world change shouldn't call it unless a download actually happens, but I'm sure everyone is capable of throwing together code to prevent unwanted execution. For my server I did this:
Code:
public OnPlayerFinishedDownloading(playerid, virtualworld)
{
if(!Logged{playerid})
{
//etc
}
}