mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-18 21:15:21 +00:00
At the last Toolbox Tournament, @MrStonedOne pointed out some big performance consumers. Some are disablable through easy means, but others were not. This adds two easy ones to the mix.
21 lines
1.1 KiB
Plaintext
21 lines
1.1 KiB
Plaintext
// All of the possible Lag Switch lag mitigation measures
|
|
// If you add more do not forget to update MEASURES_AMOUNT accordingly
|
|
/// Stops ghosts flying around freely, they can still jump and orbit, staff exempted
|
|
#define DISABLE_DEAD_KEYLOOP 1
|
|
/// Stops ghosts using zoom/t-ray verbs and resets their view if zoomed out, staff exempted
|
|
#define DISABLE_GHOST_ZOOM_TRAY 2
|
|
/// Disable runechat and enable the bubbles, speaking mobs with TRAIT_BYPASS_MEASURES exempted
|
|
#define DISABLE_RUNECHAT 3
|
|
/// Disable icon2html procs from verbs like examine, mobs calling with TRAIT_BYPASS_MEASURES exempted
|
|
#define DISABLE_USR_ICON2HTML 4
|
|
/// Prevents anyone from joining the game as anything but observer
|
|
#define DISABLE_NON_OBSJOBS 5
|
|
/// Limit IC/dchat spam to one message every x seconds per client, TRAIT_BYPASS_MEASURES exempted
|
|
#define SLOWMODE_SAY 6
|
|
/// Disables parallax, as if everyone had disabled their preference, TRAIT_BYPASS_MEASURES exempted
|
|
#define DISABLE_PARALLAX 7
|
|
/// Disables footsteps, TRAIT_BYPASS_MEASURES exempted
|
|
#define DISABLE_FOOTSTEPS 8
|
|
|
|
#define MEASURES_AMOUNT 8 // The total number of switches defined above
|