-
Notifications
You must be signed in to change notification settings - Fork 21
Map Room 2
ReactX edited this page Dec 12, 2024
·
1 revision
The following properties are used to define a user-owned cell on the world map.
File location: server/src/controller/maproom/v2/cells/userCell.ts
// User ID
// @type: {number}
// @values: userId - real player | 0 - Wild Monsters | 0 - Other
uid: 1
// Base types
// @type: {number}
// @values: Wild Monster: 1 | Main Yard: 2 | Outpost: 3
b: 2
// Facebook ID
// @type: {string}
fbid: "0"
// Invite Pending ID
// @type: {number}
pi: 0
// Base ID
// @type: {number}
// @values: 'save.homebaseid' loads user's home cell | otherwise loads data for id
bid: 0
// Alliance ID
// @type: {number}
aid: 0
// Cell terrain based on heights
// @type: {number}
// @values: Water < 100 | water1: < 80 | water2: < 90 | else: water3
// @values: Sand: sand1: < 105 | sand2: < 110
// @values: Land: land1: < 120 | land2: < 140 | land3: < 160 | land4: < 170
// @values: Rock: land5: < 175 | else: land6
i: 139
// Player owned cell
// @type: {number}
// @values: 0 - not owned | 1 - owned
mine: 1
// Flinger Level
// @type: {number}
// @values: 1 - 4
f: 1
// Catapult Level
// @type: {number}
// @values: 1 - 4
c: 1
// Truce
// @type: {number}
// @values: 0 - no active truce | 1 - active truce
t: 0
// Base name
// @type: {string}
// @values: username | Dreadnaut | Kozu | Legionnaire | Abunakki
n: "Player name"
// Friends amount
// @type: {number}
fr: 0
// Online
// @type: {number}
// @values: 0 - offline | 1 - online
on: 0
// Damage Protection
// @type: {number}
// @values: 0 - unprotected | 1 - protected
p: 0
// Resources available
// @type: {Object}
r: {}
// Monsters available
// @type: {Object}
m: {}
// Level
// @type: {number}
// @values: 1 - 56
l: 1
// Base destroyed
// @type: {number}
// @values: 0 - fine | 1 - destroyed
d: 0
// Locked
// @type: {number}
// @values: 0 - unlocked| 1 - locked
lo: 0
// Damage percentage
// @type: {number}
// @values: 0 - 100
dm: 0
// Picture
// @type: {string}
pic_square: ""
// Picture Image
// @type: {string}
im: ""
Donate to the development of this project at: https://bymrefitted.com