mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 13:34:38 +02:00
Found out the second weather packet value is a transition time.
This commit is contained in:
parent
b45390adb6
commit
f0ec2125ac
5 changed files with 42 additions and 36 deletions
|
@ -455,13 +455,13 @@ namespace FFXIVClassic_Lobby_Server
|
|||
return; // catch any invalid warps here
|
||||
}
|
||||
|
||||
private void doWeather(ConnectedPlayer client, string weatherID)
|
||||
private void doWeather(ConnectedPlayer client, string weatherID, string value)
|
||||
{
|
||||
long weather = Convert.ToInt64(weatherID);
|
||||
ushort weather = Convert.ToUInt16(weatherID);
|
||||
|
||||
if (client != null)
|
||||
{
|
||||
client.queuePacket(BasePacket.createPacket(SetWeatherPacket.buildPacket(client.actorID, weather, true), true, false));
|
||||
client.queuePacket(BasePacket.createPacket(SetWeatherPacket.buildPacket(client.actorID, weather, Convert.ToUInt16(value)), true, false));
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -582,7 +582,7 @@ namespace FFXIVClassic_Lobby_Server
|
|||
{
|
||||
try
|
||||
{
|
||||
doWeather(client, split[2]);
|
||||
doWeather(client, split[2], split[3]);
|
||||
return true;
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue