User Tools

Site Tools


maps:howto:apartments_for_everyone

This is an old revision of the document!


Unique Apartments ?

There are a few permanent apartments available throughout Bigworld's towns and cities,
being available to every player; but there are also regions and towns, that only have a couple
of “unique” flats and chambers available, meaning: first comes, first takes.
These “unique” estates can add a bit of excitement to the game, when the number of users
is fixed and below - let's say a dozen.
But on world wide reachable servers, with hiscore lists being completely filled
and new players need to reach level 32 and more to be listed in the TOP-1000, these “unique” apartments
are too few !

What is the secret, that a player has an ' _path_apartment ' file inside the var/crossfire/players/<player name>
directory, and other files inside 'apartment' directories of other cites in the maps package do not show up there ?

The answer is confusing, but it is the unique attribute of the EXIT archetype leading to the apartment map file.

Whenever the EXIT has the unique attribute set to 1 , then the player is getting an “unique” file ( copy )
of the map, the exit leads to, inside the var/crossfire/players/<player name> directory of the server .

Whenever this unique field is missing or set to 0 ( zero ), inside the arch-attributes-end block
of an exit type of a map file, the map is not copied into the player's status directory on the server and stays “globally unique” .


Cities

Cities that have only a fixed amount of apartments available are Stoneville and CityDeClouds .
There the player on the Metalforge server will as of today only be able to drop large amounts of gems
to be swallowed into the nirvana just for a gate to open and no generator implemented to give something for the sacrificed monetaries. ← :!: BUG ! :-(

What to do ?
Implementing it at home @ localhost !


Stoneville

Stoneville has four permanent apartments available : house1, apartment2, apartment3, housebrxzl .
Stoneville's Adventurer's Guild has a few permanent chambers available, but offers only one key each chamber.

The four permanent apartments are accessible from the world map tile world/world_103_127 :
diff -p -C 7 /usr/games/crossfire-1.60.0/share/crossfire/maps/world/world_103_127 /usr/games/crossfire-1.70.0/share/crossfire/maps/world/world_103_127

*** /usr/games/crossfire-1.60.0/share/crossfire/maps/world/world_103_127	Mon Apr  9 10:03:28 2018
--- /usr/games/crossfire-1.70.0/share/crossfire/maps/world/world_103_127	Mon Apr  9 07:23:14 2018
*************** end
*** 320,333 ****
--- 320,334 ----
  arch house_small
  name House by the Well
  slaying /dragonisland/apartment3
  hp 6
  sp 1
  x 1
  y 23
+ unique 1
  end
  arch grass
  x 1
  y 24
  end
  arch grass
  x 1
*************** end
*** 1063,1076 ****
--- 1064,1078 ----
  arch house_2
  name House With Apartment
  slaying /dragonisland/apartment2
  hp 7
  sp 15
  x 4
  y 13
+ unique 1
  end
  arch cobblestones2
  x 4
  y 14
  end
  arch cobblestones2
  x 4
*************** end
*** 2374,2387 ****
--- 2376,2390 ----
  arch barrack_small
  name Little house
  slaying /dragonisland/house1
  hp 1
  sp 2
  x 9
  y 18
+ unique 1
  end
  arch grass
  x 9
  y 19
  end
  arch grass
  x 9
*************** end
*** 3060,3073 ****
--- 3063,3077 ----
  arch darkhold_sym
  name Brxzl's home
  slaying /dragonisland/housebrxzl
  hp 10
  sp 18
  x 12
  y 9
+ unique 1
  end
  arch cobblestones2
  x 12
  y 10
  end
  arch cobblestones2
  x 12

Brxzl's Home

Brxzl's home has several stairs leading to other storeys on the same map file.
These stairs act as exits, and need to be set unique 1 too.
A workaround could be considered by making the slaying field relative path inside the new location as
slaying _dragonisland_housebrxzl , but this works when the map finally is copied into the player_name/ directory.
The map files stay in RAM for seconds and minutes, before they will be copied to the player's directory,
and until then, the stairs would complain being “closed” .

So, housebrxzl needs to be patched also :
diff -p -C 7 /usr/games/crossfire-1.60.0/share/crossfire/maps/dragonisland/housebrxzl /usr/games/crossfire-1.70.0/share/crossfire/maps/dragonisland/housebrxzl

*** /usr/games/crossfire-1.60.0/share/crossfire/maps/dragonisland/housebrxzl	Fri Jan 28 05:07:29 2011
--- /usr/games/crossfire-1.70.0/share/crossfire/maps/dragonisland/housebrxzl	Mon Apr  9 07:07:30 2018
*************** unique 1
*** 1799,1812 ****
--- 1799,1813 ----
  end
  arch stair_3_up
  slaying housebrxzl
  hp 30
  sp 30
  x 7
  y 30
+ unique 1
  end
  arch blackmarble
  x 7
  y 31
  end
  arch wall_1_4
  x 7
*************** unique 1
*** 1842,1855 ****
--- 1843,1857 ----
  end
  arch stair_3_up
  slaying housebrxzl
  hp 30
  sp 36
  x 7
  y 36
+ unique 1
  end
  arch blackmarble
  x 7
  y 37
  unique 1
  end
  arch blackmarble
*************** unique 1
*** 3512,3525 ****
--- 3514,3528 ----
  end
  arch stair_3_up
  slaying housebrxzl
  hp 36
  sp 30
  x 13
  y 30
+ unique 1
  end
  arch blackmarble
  x 13
  y 31
  end
  arch wall_1_3
  x 13
*************** unique 1
*** 3555,3568 ****
--- 3558,3572 ----
  end
  arch stair_3_up
  slaying housebrxzl
  hp 36
  sp 36
  x 13
  y 36
+ unique 1
  end
  arch blackmarble
  x 13
  y 37
  unique 1
  end
  arch blackmarble
*************** unique 1
*** 3945,3970 ****
--- 3949,3976 ----
  end
  arch stair2_up
  slaying housebrxzl
  hp 55
  sp 15
  x 15
  y 14
+ unique 1
  end
  arch blackmarble
  x 15
  y 15
  unique 1
  end
  arch stair2_down
  slaying housebrxzl
  hp 36
  sp 12
  x 15
  y 15
+ unique 1
  end
  arch blackmarble
  x 15
  y 16
  end
  arch wall_2_1_2
  x 15
*************** unique 1
*** 4102,4115 ****
--- 4108,4122 ----
  end
  arch stair_3_down
  slaying housebrxzl
  hp 55
  sp 14
  x 15
  y 38
+ unique 1
  end
  arch blackmarble
  x 15
  y 39
  end
  arch swall_1_3_half
  x 15
*************** unique 1
*** 7703,7716 ****
--- 7710,7724 ----
  end
  arch stair_3_down
  slaying housebrxzl
  hp 7
  sp 30
  x 30
  y 30
+ unique 1
  end
  arch blackmarble
  x 30
  y 31
  end
  arch swall_1_3_half
  x 30
*************** unique 1
*** 7751,7764 ****
--- 7759,7773 ----
  end
  arch stair_3_down
  slaying housebrxzl
  hp 7
  sp 36
  x 30
  y 36
+ unique 1
  end
  arch blackmarble
  x 30
  y 37
  unique 1
  end
  arch blackmarble
*************** unique 1
*** 9197,9210 ****
--- 9206,9220 ----
  end
  arch stair_3_up
  slaying housebrxzl
  hp 15
  sp 15
  x 36
  y 12
+ unique 1
  end
  arch blackmarble
  x 36
  y 13
  unique 1
  end
  arch cave2
*************** unique 1
*** 9311,9324 ****
--- 9321,9335 ----
  end
  arch stair_3_down
  slaying housebrxzl
  hp 13
  sp 30
  x 36
  y 30
+ unique 1
  end
  arch blackmarble
  x 36
  y 31
  end
  arch swall_1_4_half
  x 36
*************** unique 1
*** 9359,9372 ****
--- 9370,9384 ----
  end
  arch stair_3_down
  slaying housebrxzl
  hp 13
  sp 36
  x 36
  y 36
+ unique 1
  end
  arch blackmarble
  x 36
  y 37
  unique 1
  end
  arch blackmarble
*************** unique 1
*** 12807,12832 ****
--- 12819,12846 ----
  end
  arch stair2_up
  slaying housebrxzl
  hp 15
  sp 38
  x 55
  y 14
+ unique 1
  end
  arch blackmarble
  x 55
  y 15
  unique 1
  end
  arch stair2_down
  slaying housebrxzl
  hp 15
  sp 14
  x 55
  y 15
+ unique 1
  end
  arch blackmarble
  x 55
  y 16
  end
  arch wall_1_4
  x 55

Key Sale House

The Keysale house in Stoneville offers a few keys for the Stoneville Apartments.
The Key's “nrof” is only '1' , and whenever the player looses the key,
on a reset random map for example, the key will be lost forever.

The Altars are not set unique, nor the floor, they stand upon;
meaning being available for droppings after next map reset.
But the Keys and the floor tiles below them have unique 1 set,
meaning, there will be no new keys after next map reset.

FIXME TODO

Adventurer's Guild

FIXME TODO

City De Clouds

The City de Clouds has several types of apartments available.

maps/howto/apartments_for_everyone.1523268287.txt.gz · Last modified: 2018/04/09 05:04 by karl