mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 01:27:51 -05:00
feat: discord linking, @tags, music and sfx sliders, required device ids
- Discord: the account page links a player's Discord account through Discord's sign-in (lib/discord.js); only linked names are shown on cards (typed ones are cleared). A bot keeps the Server Booster badge on linked accounts that boost. The game tells the client where the player is, for the client's Discord rich presence (flashvars discordAppId). - @username tags in chat, chat balloons and wall posts: only real players' names (asked of the server, "xmn"), names with spaces too, drawn on a blue box; a click opens the player's card. - Settings: separate Music and SFX volume sliders for the old one. - Device ids required: a launcher that sends none (before 1.3.0) is told at the game's login "Your client is outdated. Update at https://burrow.moe/download". AJ_REQUIRE_DEVICE=0 turns it off. - Panels: clear a player's Jammer Wall posts; turning away masterpieces and player items asks first. - Item Giver: negative colour ids (the same colour written signed). - buildVersion 71; the client rebuilt with Snipzil's sitting fix.
This commit is contained in:
1 parent
1d9b70f32e
commit
33f56074a4
35 files changed
+2076
-101
No files matched your search
@@ -194,7 +194,8 @@ package game
|
||||
}
|
||||
else
|
||||
{
|
||||
_loc5_ = Number(_soundVolume[_loc8_]);
|
||||
// times the sound effects setting (AJClient.sfxLevel)
|
||||
_loc5_ = Number(_soundVolume[_loc8_]) * AJClient.sfxLevel();
|
||||
}
|
||||
_loc7_ = new SoundTransform(_loc5_,0);
|
||||
if(_soundLimit > 0)
|
||||
@@ -234,7 +235,7 @@ package game
|
||||
}
|
||||
else
|
||||
{
|
||||
_loc4_ = Number(_soundVolume[_loc7_]);
|
||||
_loc4_ = Number(_soundVolume[_loc7_]) * AJClient.sfxLevel();
|
||||
}
|
||||
_loc6_ = new SoundTransform(_loc4_,0);
|
||||
if(_soundLimit > 0)
|
||||
@@ -276,9 +277,8 @@ package game
|
||||
gMainFrame.stage.removeEventListener("enterFrame",doFadeIn);
|
||||
}
|
||||
var _loc2_:Number = _musicVolume[_fadeInStream] * _loc4_;
|
||||
var _loc5_:SoundChannel = _fadeInStream.sc;
|
||||
var _loc3_:SoundTransform = new SoundTransform(_loc2_,0);
|
||||
_fadeInStream.sc.soundTransform = _loc3_;
|
||||
// through SBMusic's volume, which takes the music setting
|
||||
_fadeInStream.volume = _loc2_;
|
||||
if(_loc4_ == 1)
|
||||
{
|
||||
_fadeInStream = null;
|
||||
@@ -301,8 +301,7 @@ package game
|
||||
gMainFrame.stage.removeEventListener("enterFrame",doFadeOut);
|
||||
}
|
||||
var _loc2_:Number = _musicVolume[_fadeOutStream] * (1 - _loc4_);
|
||||
var _loc3_:SoundTransform = new SoundTransform(_loc2_,0);
|
||||
_fadeOutStream.sc.soundTransform = _loc3_;
|
||||
_fadeOutStream.volume = _loc2_;
|
||||
if(_loc4_ == 1)
|
||||
{
|
||||
_fadeOutStream.sc.stop();
|
||||
@@ -374,7 +373,7 @@ package game
|
||||
_loc6_ = new SoundTransform(_loc5_,0);
|
||||
if(_fadeOutStream.sc != null)
|
||||
{
|
||||
_fadeOutStream.sc.soundTransform = _loc6_;
|
||||
_fadeOutStream.volume = _loc5_;
|
||||
return _fadeOutStream.sc;
|
||||
}
|
||||
return null;
|
||||
@@ -397,7 +396,8 @@ package game
|
||||
return null;
|
||||
}
|
||||
_musicChannel[param1] = param1.sc;
|
||||
param1.sc.soundTransform = _loc6_;
|
||||
// the stream's volume through SBMusic, which takes the music setting
|
||||
param1.volume = _loc6_.volume;
|
||||
if(SBAudio.isMusicMuted)
|
||||
{
|
||||
param1.mute();
|
||||
|
||||
Reference in new issue
Block a user