π³ SD, remove client remote delay
A tiny little bit different compared to clubs, just names, but here it is XD
go to CreatePacketHandler.cs
find this
Then just replace all of the thing below it, and it self with this code
now go to
LoadPacketHandler.cs
and find this
and where it says client.Stage = ProtalStage.Ready;
replace this code up to that point.
go to CreatePacketHandler.cs
find this
Code:
if (ok)
{
World target = client.Manager.Worlds[client.targetWorld];
Code:
if (ok)
{
World target = client.Manager.Worlds[client.targetWorld];
{
client.SendPacket(new CreateSuccessPacket()
{
CharacterID = client.Character.CharacterId,
ObjectID = target.EnterWorld(client.Player = new Player(client))
});
};
client.Stage = ProtocalStage.Ready;
}
else
{
SendFailure(client, "Failed to create character.");
client.Disconnect();
}
}, PendingPriority.Emergent);
}
}
}
LoadPacketHandler.cs
and find this
Code:
World target = client.Manager.Worlds[client.targetWorld];
replace this code up to that point.
Code:
World target = client.Manager.Worlds[client.targetWorld];
{
client.SendPacket(new CreateSuccessPacket()
{
CharacterID = client.Character.CharacterId,
ObjectID = target.EnterWorld(client.Player = new Player(client))
});
};
client.Stage = ProtocalStage.Ready;