mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-18 17:27:50 -05:00
feat: two worlds, rooms of 40, random spawn with space
- rooms hold 40 players. a player not starting in their den arrives in a random room of config.spawnRooms that has space (AJ_SPAWN_ROOMS overrides); with every one full, the emptiest, over the cap. - two worlds, Aldan and Congo (AJ_WORLDS sets how many): each its own copy of every land, dens and parties shared. a player arrives in a random world with space and keeps it through dens and parties. - the settings menu's World row is back: the server sends the worlds' names (generic list 16) and the world list (rm), and the client asks for the names once at login. a buddy's "go to" leads into their world, whose name the buddy card shows. "Find Open World" (on by default) joins a full room in a world with space. - the panels show the world with the room. the test harness pins one world and the township. buildVersion 60.
This commit is contained in:
1 parent
b813d89cfa
commit
31cbd87ff8
7 files changed
+161
-25
No files matched your search
@@ -218,15 +218,13 @@ package gui
|
||||
"frame":"redeemCode",
|
||||
"labelTxt":24819,
|
||||
"btnTxt":24820
|
||||
/* the game's "World" row (choose a server) is out: there is one
|
||||
world, this server does not answer the list it asks for (rm),
|
||||
and the picker then waited behind its spinner for ever.
|
||||
},{
|
||||
// the world picker (gui.ServerSelector): the server's worlds,
|
||||
// config.shards, listed by the server's answer to "rm"
|
||||
"type":TOGGLE_TYPE_JOIN,
|
||||
"frame":"world",
|
||||
"labelTxt":6395,
|
||||
"btnTxt":6366
|
||||
*/
|
||||
},{
|
||||
"type":TOGGLE_TYPE_TOGGLE_BTN,
|
||||
"frame":"nameBadge",
|
||||
|
||||
@@ -145,6 +145,9 @@ package room
|
||||
|
||||
private var _shardId:int;
|
||||
|
||||
// whether the worlds' names were asked for (chosenLoginFinished)
|
||||
private static var _askedWorldNames:Boolean;
|
||||
|
||||
public var _gotNewShardId:Boolean;
|
||||
|
||||
private var _forceInvisMode:Boolean;
|
||||
@@ -2603,6 +2606,17 @@ package room
|
||||
{
|
||||
if(_mainBackObj == null)
|
||||
{
|
||||
// the worlds' names (generic list 16), which the game asked for on
|
||||
// its world screen at login: this server has none, and without
|
||||
// them the settings menu's World row and the world picker
|
||||
// (ServerSelector) have no names, and the picker never opens.
|
||||
// asked once: with the names in, fillNamesArray asks for the
|
||||
// world list instead, whose answer needs the picker open.
|
||||
if(!_askedWorldNames)
|
||||
{
|
||||
_askedWorldNames = true;
|
||||
ServerSelector.fillNamesArray();
|
||||
}
|
||||
if(!gMainFrame.userInfo.avtDefsCached)
|
||||
{
|
||||
if(ItemXtCommManager.itemDefsHaveLoaded)
|
||||
|
||||
Reference in new issue
Block a user