fix(core): Tightens the network stack (#479)
- [X] Removes network pause/resume - [X] Adds back packet profiler - [X] Adds state machine to keep track and trace netstates - [X] Changes NetState.Running back to using an interlock exchange - [X] Adds preliminary packet throttling support ### Packet Throttling - `[GetThrottle <packetId>` to get the delay in milliseconds for that packet - `[SetThrottle <packetId> <delay>` to set the delay in milliseconds for that packet The settings are saved to `Configuration/throttles.json`
This commit is contained in:
parent
1736469ac0
commit
8903028b5f
36 changed files with 1018 additions and 405 deletions
|
|
@ -206,16 +206,14 @@ namespace Server.Engines.Doom
|
|||
eable.Free();
|
||||
|
||||
e.Mobile.SendMessage("Generating Lamp Room puzzle...");
|
||||
|
||||
NetState.FlushAll();
|
||||
|
||||
new LeverPuzzleController().MoveToWorld(lp_Center, Map.Malas);
|
||||
|
||||
if (!installed)
|
||||
{
|
||||
e.Mobile.SendMessage("There was a problem generating the puzzle.");
|
||||
}
|
||||
else
|
||||
{
|
||||
e.Mobile.SendMessage("Lamp room puzzle successfully generated.");
|
||||
}
|
||||
e.Mobile.SendMessage(
|
||||
!installed ? "There was a problem generating the puzzle." : "Lamp room puzzle successfully generated."
|
||||
);
|
||||
}
|
||||
|
||||
public static Item AddLeverPuzzlePart(int[] loc, Item newitem)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue