Technical Support for installation and running of the EP.
User avatar
Czech Republic EAGLEMUT
ESOC Dev Team
Donator 01
Posts: 1893
ESO: EAGLEMUT
Location: [WPact]

21 Oct 2017, 06:01

This documentation is intended for developers who wish to consume EP Lobbies data, now available from http://eso-community.net/assets/patch/api/lobbies.json
Here is an example JSON output:

[
{
"allow_cheats": false,
"deleted": false,
"game_mode": 0,
"game_speed": 1,
"id": "a568cdbffb854a2fa496e51111044437",
"koth": false,
"last_pong": 1508558282.831,
"map": "Deccan",
"max_hc": -1,
"max_players": 7,
"min_hc": -1,
"monopoly": true,
"name": "Eaglemut_OP's Game",
"no_blockade": false,
"password": null,
"patch": null,
"players": [
"Eaglemut_OP",
"Queen Elizabeth",
"Napoleon",
"Queen Isabella",
"Henry the Navigator",
null,
null,
null
],
"restorable": false,
"scenario": false,
"starting_age": 0,
"treaty_time": 0
}
]


What you get is an array of objects, each of those objects representing one lobby/game room.

Properties of this object are:
bool allow_cheats - Indicates that the Allow Cheats option has been selected.
bool deleted - Internal. Indicates that our server marked this room as to likely be no longer available. These rooms should not be displayed as active rooms on a UI.
int game_mode - Indicates selected game mode. 0 = Supremacy, 1 = Deathmatch.
int game_speed - Indicates selected game speed. 0 = Slow, 1 = Medium, 2 = Fast.
string id - ESO room ID.
timestamp last_pong - Internal. Time of the last received keepalive request from host.
string map - DisplayName of the currently selected map. This name is mostly readable to the end-user, but is not the actual translated name as seen on ESO.
int max_hc - Maximum allowed HC level for this room.
int max_players - Maximum allowed number of players for this room.
int min_hc - Minimum allowed HC level for this room.
bool monopoly - Indicates whether the room has Trade Monopoly victory condition enabled.
string name - Custom player-defined name of this game room.
bool no_blockade - Indicates whether the room has activated No Blockade rule.
bool password - Indicates whether the room is password-protected.
int patch - Internal. Indicates currently active game patch. 1 = ESOC Supremacy Standard Patch, 2 = ESOC Treaty Patch, 3 = EP XPMOD.
string[8] players - Array of player names participating in this game room. The array is sorted according to the actual order of players in this game room, remaining empty/closed spots are filled with null values.
bool restorable - Internal. Indicates that this room was marked as deleted due to an abrupt stop in communication, and may still be restored.
bool scenario - Indicates the room is a Scenario type room.
int starting_age - Indicates the selected starting age for this room. 0 = Discovery, 1 = Colonial, 2 = Fortress, 3 = Industrial, 4 = Post-Industrial, 5 = Imperial, 6 = Post-Imperial.
int treaty_time - Treaty time, in minutes.
Last edited by EAGLEMUT on 30 Oct 2017, 15:09, edited 1 time in total.
Reason: updated with EP XPMOD
Image
User avatar
United States of America musketeer925
ESOC Dev Team
Donator 01
Posts: 1416
ESO: musketeer925

21 Oct 2017, 19:33

It would probably be better to change password to a bool, and let GUIs represent as they please (e.g., "Yes").
User avatar
Czech Republic EAGLEMUT
ESOC Dev Team
Donator 01
Posts: 1893
ESO: EAGLEMUT
Location: [WPact]

21 Oct 2017, 20:50

musketeer925 wrote:It would probably be better to change password to a bool, and let GUIs represent as they please (e.g., "Yes").

Yes, done. :flowers:

The password attribute is now a bool and the patch attribute is functional. Doc updated.
Image
User avatar
Netherlands Jerom
Ninja
Donator 03
Posts: 12360
Location: Utrecht, The Netherlands

27 Oct 2017, 18:07

This is cool and it seems to be working right now

"When life give you incompetence, participate in the betting" - Jerom, winner of autumn betting, 2016
"but wer eyiu playig a gainst someone as magnificent as jerom? thats wha ti thogutb jerom is a beaaitful human being"- Mr_Bramboy
User avatar
United States of America SirCallen
Jaeger
Donator 01
Posts: 3491
ESO: SirCallen
Location: Midwest

27 Oct 2017, 18:20

I can't wait to fix my computer
Image
User avatar
Germany aligator92
Dragoon
Posts: 481
ESO: aligator92

27 Oct 2017, 18:23

So thats why you kept hosting your afk lobby these last couple of days :D
User avatar
Czech Republic EAGLEMUT
ESOC Dev Team
Donator 01
Posts: 1893
ESO: EAGLEMUT
Location: [WPact]

27 Oct 2017, 19:04

aligator92 wrote:So thats why you kept hosting your afk lobby these last couple of days :D

Exactly, haha. Sorry to everyone for being unresponsive.
Image

Forum Info

Return to “ESOC Patch Technical Support”



Who is online

Users browsing this forum: No registered users and 0 guests