<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://war.app/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Master+of+the+Dead</id>
	<title>War.app Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://war.app/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Master+of+the+Dead"/>
	<link rel="alternate" type="text/html" href="https://war.app/wiki/Special:Contributions/Master_of_the_Dead"/>
	<updated>2026-04-18T19:58:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://war.app/wiki/index.php?title=Query_game_API&amp;diff=4088</id>
		<title>Query game API</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Query_game_API&amp;diff=4088"/>
		<updated>2017-08-04T06:17:06Z</updated>

		<summary type="html">&lt;p&gt;Master of the Dead: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;WarLight can provide programmatic access to the details about multi-player WarLight games.  This allows for the more technical users to write a program that can analyze information about games.  This data is only available for ladder games, tournament games, games created by the [[Create game API]], or games that you played in.&lt;br /&gt;
&lt;br /&gt;
There&#039;s nothing the feed can see that isn&#039;t already available through the game&#039;s normal interface.  This is just a way to write custom analyzers which allows for a broader analysis across games. &lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&lt;br /&gt;
To access the data, use a URL like this: https://www.warlight.net/API/GameFeed?GameID=1212978&lt;br /&gt;
&lt;br /&gt;
This will return data describing basic details(id, state, name, numberOfTurns, lastTurnTime*, templateID, players) about the game.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; - lastTurnTime is the timestamp of the last turn or the game finish date&lt;br /&gt;
&lt;br /&gt;
If you want to get the entire turn history of the game, add an additional querystring parameter &#039;&#039;&#039;GetHistory=true&#039;&#039;&#039;.  Adding this will cause the API to return you details about every turn of the game.&lt;br /&gt;
&lt;br /&gt;
If you want to get a game&#039;s settings, add an additional querystring parameter &#039;&#039;&#039;GetSettings=true&#039;&#039;&#039;.  Adding this will cause the API to return you details about the settings of the game.&lt;br /&gt;
&lt;br /&gt;
==JSON Definition==&lt;br /&gt;
&lt;br /&gt;
* A &#039;&#039;&#039;standing&#039;&#039;&#039; is the state of the board at any given point in time.  This contains one entry per territory that contains the number of armies on that territory, who controls it, and the fog level. &lt;br /&gt;
* A &#039;&#039;&#039;turn&#039;&#039;&#039; is just a collection of orders.  This includes all the orders each player submitted, mixed together in the sequence they played out. &lt;br /&gt;
* An &#039;&#039;&#039;order&#039;&#039;&#039; is obviously one order that a player submitted.  But it can also include other things, such notifications when a player gets eliminated, or when cards are received, etc.  Essentially, this represents what you see in the &#039;&#039;&#039;Orders&#039;&#039;&#039; panel on the right side of a game when viewing history. &lt;br /&gt;
In the JSON, you&#039;ll find: &lt;br /&gt;
* The players in the game (their names, color, their state, etc.) &lt;br /&gt;
* All of the details of the map (it&#039;s name, all of its territories and what they connect to, all of its bonuses and what territories are in each bonus) &lt;br /&gt;
* The &#039;&#039;&#039;distribution standing&#039;&#039;&#039;: This is what the map looked like when it was time to pick the territories you started with.  This is only present for manual distribution games. &lt;br /&gt;
* The picks: This tells you which territories each player picked, and in what order.  Like the distribution standing, this is only present for manual distribution games. &lt;br /&gt;
* Standing 0: This tells you what the map looked like at the beginning of the game. &lt;br /&gt;
* Turn 0: This is all of the orders that played out on the first turn of the game. &lt;br /&gt;
* Standing x/turn x:  Standings and turns then alternate for each turn of the game, all the way until the final standing. &lt;br /&gt;
&lt;br /&gt;
== Game State ==&lt;br /&gt;
&lt;br /&gt;
This API returns a &amp;quot;state&amp;quot; attribute on the game.  This will be one of the following values:&lt;br /&gt;
* WaitingForPlayers: This game is in the lobby and has not yet begun.&lt;br /&gt;
* DistributingTerritories: This game is waiting for players to make their territory selections.  This state will not exist for games with automatic distribution.&lt;br /&gt;
* Playing: The game is in progress.&lt;br /&gt;
* Finished: The game has finished.&lt;br /&gt;
&lt;br /&gt;
== Player States ==&lt;br /&gt;
&lt;br /&gt;
This API returns a &amp;quot;players&amp;quot; collection which contains information about each player in the game.  Each player will have a &amp;quot;state&amp;quot; attribute with one of the following values:&lt;br /&gt;
* Invited: The game is waiting on this player to accept or decline the game.  This state will only ever be present for games still in the lobby.&lt;br /&gt;
* Playing: This player is in the game, and still alive.  This state will never be present in a game that has finished.&lt;br /&gt;
* Eliminated: This player has been eliminated from the game.&lt;br /&gt;
* SurrenderAccepted: This player has surrendered and is no longer in the game.&lt;br /&gt;
* Booted: This player was booted from the game.&lt;br /&gt;
* Won: This player has won the game.  This state will only be present in games that have finished.&lt;br /&gt;
* EndedByVote: This player, along with the other remaining players in the game, have voted to end the game.&lt;br /&gt;
* Declined: This player declined the game and did not play.&lt;br /&gt;
* RemovedByHost: This player was removed by the host via the &amp;quot;Add/Remove Players&amp;quot; button and did not play.  If you created the game via the Create Game API, you don&#039;t have to worry about this state since you&#039;re the host, and only you could remove players.&lt;br /&gt;
&lt;br /&gt;
Each finished game is guaranteed to have at least one player with a Won state or a VotedToEnd state.&lt;br /&gt;
&lt;br /&gt;
==Getting a list of Game IDs==&lt;br /&gt;
&lt;br /&gt;
In order to use the game feed, you&#039;ll need to know the game ID.  This can be obtained through the graphical WarLight client by opening up the Settings panel and examining the &amp;quot;Link to Game&amp;quot; field.  At the end of this field, you&#039;ll see GameID= followed by a number.&lt;br /&gt;
&lt;br /&gt;
To find game IDs programmatically, you can use the [[Game ID feed API]].&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Game ID feed API]]&lt;br /&gt;
&lt;br /&gt;
[[Category:API]]&lt;/div&gt;</summary>
		<author><name>Master of the Dead</name></author>
	</entry>
	<entry>
		<id>https://war.app/wiki/index.php?title=Seasonal_Ladder&amp;diff=4086</id>
		<title>Seasonal Ladder</title>
		<link rel="alternate" type="text/html" href="https://war.app/wiki/index.php?title=Seasonal_Ladder&amp;diff=4086"/>
		<updated>2017-07-28T20:56:23Z</updated>

		<summary type="html">&lt;p&gt;Master of the Dead: /* Rankings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Seasonal Ladder&#039;&#039;&#039; is a kind of ladder which was announced by Fizzer on the 23rd of November, 2011&amp;lt;sup class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://www.warlight.net/blog/index.php/2011/11/announcing-the-seasonal-ladder/]&amp;lt;/sup&amp;gt;. Unlike the other ladders, which are never-ending grinds for top spot, the seasonal ladder is divided into a 60 days seasons, where each season will use different [[settings]]. The first season started on 9 December, 2011&amp;lt;sup class=&amp;quot;plainlinks&amp;quot;&amp;gt;[https://www.warlight.net/LadderSeason?ID=4000]&amp;lt;/sup&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Games ==&lt;br /&gt;
Each player that plays in a season will get 20 games &amp;lt;sup&amp;gt;[[#Notes|*]]&amp;lt;/sup&amp;gt;, and will never play the same opponent more than once.&lt;br /&gt;
&lt;br /&gt;
On the first day of a season, every player will get 4 games. Every 4 days after that, one more game is added until all players have 20 games. If a player joins the season late or leaves it early, they are not guaranteed to get 20 games. However, the ladder will try to catch them up with the crowd.&lt;br /&gt;
&lt;br /&gt;
=== Force-finish ===&lt;br /&gt;
In order to ensure a winner can be declared and the rankings can be finalized, all games in a season must end by the ending date, which is exactly 60 days after it began. If a game isn&#039;t finished when the season ends, WarLight will immediately end it. The winner will be determined by adding up how many armies each player controls on the [[map]], then adding in each player&#039;s income times two.&lt;br /&gt;
&lt;br /&gt;
Players are expected to make a reasonable effort to finish a game before the season ends.  If you try to intentionally win a game by force-finish that you would have otherwise lost, the win will be taken away from you.&lt;br /&gt;
&lt;br /&gt;
== Rankings ==&lt;br /&gt;
The rankings are determined using the same ELO scale that the existing [[ladders]] use, with one small modification, players who play fewer than 20 games (due to leaving the ladder early or joining late) get a penalty of 65 rating points per game. It’s best to join the season before it starts and stay in it for the whole 60 days to ensure you do not receive a penalty. The penalty exists to ensure that players can&#039;t get a game from the system by intentionally joining the season late and riding to a high-rank by getting a few lucky games.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; - some players may get more games, since there are cases where it&#039;s not mathematically possible to give everyone exactly the same amount without duplicates. Getting more games is neither an advantage nor disadvantage. &amp;lt;!---Explain this statement [[User:DanWL60]]--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== List of winners ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: left;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Season !! Winner !! Started&lt;br /&gt;
|-&lt;br /&gt;
| Season I || Rubik87	 || 12/9/2011 &lt;br /&gt;
|-&lt;br /&gt;
| Season II || PaniX	 || 2/9/2012&lt;br /&gt;
|-&lt;br /&gt;
| Season III || Rubik87	|| 4/13/2012&lt;br /&gt;
|-&lt;br /&gt;
| Season IV || Fizzer	|| 6/19/2012&lt;br /&gt;
|-&lt;br /&gt;
| Season V || professor dead piggy || 8/21/2012&lt;br /&gt;
|-&lt;br /&gt;
| Season VI || unknownsoldier ||  10/22/2012&lt;br /&gt;
|-&lt;br /&gt;
| Season VII || fatality ||  1/2/2013&lt;br /&gt;
|-&lt;br /&gt;
| Season VIII  || Heyheuhei || 3/5/2013&lt;br /&gt;
|-&lt;br /&gt;
| Season IX    || brisk • apex || 5/7/2013&lt;br /&gt;
|-&lt;br /&gt;
| Season X   || The Duke of Ben || 7/9/2013&lt;br /&gt;
|-&lt;br /&gt;
| Season XI || Yeon || 9/10/2013&lt;br /&gt;
|-&lt;br /&gt;
| Season XII  || Ruthless Bastard || 11/12/2013&lt;br /&gt;
|-&lt;br /&gt;
| Season XIII || Krzychu || 1/15/2014&lt;br /&gt;
|-&lt;br /&gt;
| Season XIV  || Killua Zaoldyeck || 3/31/2014&lt;br /&gt;
|-&lt;br /&gt;
| Season XV || JV || 6/10/2014&lt;br /&gt;
|-&lt;br /&gt;
| Season XVI   || Verzehrer	 || 8/12/2014&lt;br /&gt;
|-&lt;br /&gt;
| Season XVII || Gol D. Roger || 11/4/2014&lt;br /&gt;
|-&lt;br /&gt;
| Season XVIII || timon92 || 1/23/2015&lt;br /&gt;
|-&lt;br /&gt;
| Season XIX  || Rento || 4/22/2015&lt;br /&gt;
|-&lt;br /&gt;
| Season XX   || Latnox || 7/10/2015&lt;br /&gt;
|-&lt;br /&gt;
| Season XXI || #Master [QB] || 9/28/2015&lt;br /&gt;
|-&lt;br /&gt;
| Season XXII  || master of desaster || 12/10/2015&lt;br /&gt;
|-&lt;br /&gt;
| Season XXIII || Master Jz || 2/11/2016&lt;br /&gt;
|-&lt;br /&gt;
| Season XXIV || MisterT || 5/16/2016&lt;br /&gt;
|-&lt;br /&gt;
| Season XXV || timon92 || 8/15/2016&lt;br /&gt;
|-&lt;br /&gt;
| Season XXVI || &#039;&#039;In progress&#039;&#039; || 11/2/2016&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[1 v 1 Ladder]]&lt;br /&gt;
* [[2 v 2 Ladder]]&lt;br /&gt;
* [[Real-Time Ladder]]&lt;br /&gt;
&lt;br /&gt;
{{Seasonal Ladder seasons}}&lt;br /&gt;
&lt;br /&gt;
[[:Category:Ladders]]&lt;/div&gt;</summary>
		<author><name>Master of the Dead</name></author>
	</entry>
</feed>