[DiscordArchive] Would it in theory be possible on a typical TC ...
[DiscordArchive] Would it in theory be possible on a typical TC ...
Archived author: Needle • Posted: 2024-12-13T17:05:47.051000+00:00
Original source
Archived author: Needle • Posted: 2024-12-13T17:05:47.569000+00:00
Original source
Thread automatically created by Drikish in <#415944535718494208>
Archived author: Rymercyble • Posted: 2024-12-13T17:07:54.020000+00:00
Original source
it is possible and its easy but it will break ingame calendar
Archived author: stoneharry • Posted: 2024-12-13T17:15:15.438000+00:00
Original source
I can share examples later if you remind me, but it's a simple packet that sets the current time and how long a day lasts. There is a minimum value, I was trying to do stupidly quick day night cycles for a reversing time effect and it wouldn't let me go faster than about a minute per day. It does break any logic dependent on game time like the in game calendar
Archived author: Rymercyble • Posted: 2024-12-13T17:39:46.006000+00:00
Original source
wont calendar missalign with real day if you do faster/slower game time ?
Archived author: stoneharry • Posted: 2024-12-13T17:40:25.458000+00:00
Original source
That's exactly what I said. But you can do like project epoch where you just rewrite the calendar
Archived author: Drikish • Posted: 2024-12-13T18:11:53.506000+00:00
Original source
```c++
class LoginSetTimeSpeed final : public ServerPacket
{
public:
LoginSetTimeSpeed() : ServerPacket(SMSG_LOGIN_SET_TIME_SPEED, 20) { }
WorldPacket const* Write() override;
float NewSpeed = 0.0f;
int32 ServerTimeHolidayOffset = 0;
uint32 GameTime = 0;
uint32 ServerTime = 0;
int32 GameTimeHolidayOffset = 0;
};
```
Archived author: Drikish • Posted: 2024-12-13T18:12:10.073000+00:00
Original source
Based on other stuff I saw this looks like it might be the packet in this core
Archived author: Drikish • Posted: 2024-12-13T18:12:36.907000+00:00
Original source
```c++
WorldPackets::Misc::LoginSetTimeSpeed loginSetTimeSpeed;
loginSetTimeSpeed.NewSpeed = 0.01666667f;
loginSetTimeSpeed.GameTime = GameTime::GetGameTime();
loginSetTimeSpeed.ServerTime = GameTime::GetGameTime();
SendDirectMessage(loginSetTimeSpeed.Write());
````
Archived author: Drikish • Posted: 2024-12-13T18:13:16.546000+00:00
Original source
I was hoping to be able to use this to set like 1 hour day time 1 hour night time kinda thing and hope that client side that it would take these packets and change things like skyboxes etc