10 Commits

Author SHA1 Message Date
Hipposgrumm
65eeb7dd53 Added support for Red Alert and Disco Alert (#3)
Revamped entire room Alerts system.
Merged RoomWithAlert into Room (as part of the revamp).

This added support for Red Alert and Disco Alert.
This meant that I had to revamp the room alerts system to allow for multiple alerts per room.
Events hopefully shouldn't overlap each other in the same room.
An extra feature is that an alert will start for a player that has just entered the room (with a duration reduced based on when the alert initially started). I shoved this functionality's working into SetUserVariablesHandler on line 30. This feature doesn't seem to work when leaving a non-MMO rooms such as minigames (may be related to missed JL command).
2024-08-12 10:19:46 +00:00
Robert Paciorek
518c01c43f add support for dance alert 2024-08-12 10:19:41 +00:00
Spirtix
854d1c0b0a management commands 2024-04-07 15:42:28 +02:00
Robert Paciorek
d0c1839b11 use async handlers, add delay in PingHandler
client do NOT like ping < 16ms (considers it to be zero and this disables updates to other players' positions) ... so add some delay in PNG handler
2024-04-07 15:42:25 +02:00
Robert Paciorek
82e83722da fix client stay in room and add Room.Send
- fix client stay in room:
  - replace Client.JoinRoom and Client.LeaveRoom by Client.SetRoom
  - do not call Client.LeaveRoom / Client.SetRoom(null) for SheduleDisconnect cases
    (only quietly remove client from room and the rest do in disconnect realisation)
- add Room.Send for send message to all clients in room
  - replace Room.Client sending loops by calls Room.Send
2024-03-24 21:29:57 +00:00
Robert Paciorek
fb2596d3be add config options: ListenIP, AllowChaos, ...
and FirstEventTimer
2024-03-01 02:10:28 +00:00
Spirtix
30cbc54eca more fixes 2023-09-09 23:28:19 +02:00
Spirtix
d162ce80aa packet buffering and fixes 2023-09-09 16:12:53 +02:00
Spirtix
3b93594c8b GenericMessage handler and various fixes 2023-09-05 19:02:38 +02:00
Spirtix
af5007e3b7 initial code release 2023-09-02 22:52:48 +02:00