General Index
What is General For?
Confederate History
Posting Rules
IRC / Discord Chat Channel
Affiliation Web Pages
How to .....
Setting up a forum.
Using Phoenix Nexus.
Zones of Moderation
Halo Periphery
Advert for Phoenix
XML Interface
Download turns in python
XML Interface

XML interface is accessed by going to Personal -> XML Access and generating a full access code.
This then creates a <ID> and <Code> that allows you to access the site data via your user details.

The general request to get the XML pages is:<ID>&code=<Code>&sa=<request>

The <request> is either:

  • info_data - gets current info that you know about
  • order_data - gets current order data
  • pos_list - gets a list of your positions and locations
  • send_orders - sends a set of orders posted as XML
  • game_status - gets teh game status
  • turn_data&tid=<position number>- gets a self contained HTML turn
  • pending_orders&pid=<position number>- gets the pending orders for a turn
  • notes - gets the notifications for your account
  • items - gets all the items and their data that you know about
  • systems - gets all the systems and cbodies that you know about
  • base_data - gets all items in bases + extra info

[1] turn_data can have a &type=file which makes it return the filename of the html fragment on the site, to download this file use<returned filename>
[2] when turn_data fails it now returns all the possible turns with file names / last update stamps
[3] Pending orders returns the pending orders (as seen on the turns) if there is no current queued orders. Otherwise it returns the orders in the current queued turn. If you add type=turn you always get the orders that the off-line game has stacked for you and if you add type=current you only get the current orders that are queued.

Notifcations defines  [Recruit]

NOTE_TURN_DATA => 1			- position_id,system_id,type,squad
NOTE_NEW_POSITION => 2 - position_id,system_id,type,squad
NOTE_ACTIVE_MISSION => 3 - mission_id,pos_number
NOTE_NEW_MISSION => 4 - mission_id
NOTE_BATTLE => 5 - location_name,number ships,system_id
NOTE_DELIVERY => 6 - position_id,system_id,quant,item_id,deliver_to_id
NOTE_PICKUP => 7 - position_id,system_id,quant,item_id,picked_up_from_id
NOTE_BUY => 8 - position_id,system_id,quant,item_id,bought_from_id,stellars
NOTE_SELL => 9 - position_id,system_id,quant,item_id,sold_to_id,stellars
NOTE_TRANSFER_IN => 10 - position_id,stellars
NOTE_POSITION_TRANSFER => 11 - position_id,system_id,type,transfer_id
NOTE_RELATIONS_CHANGE => 12 - aff_id,status
NOTE_SYSTEM_CHARTER => 13 - aff_id,status,charter_id - disabled
NOTE_RESTRICTED_STARBASE => 14 - position_id
NOTE_RESTRICTED_CBODY => 15 - system_id,cbody_id
NOTE_RESTRICTED_ITEM => 17 - item_id
NOTE_RESTRICTED_ORDER => 18 - order_id
NOTE_RESTRICTED_MISSION => 19 - mission_id
NOTE_DELIVERED_TO => 21 - position_id,system_id,quant,item_id,by_id
NOTE_PICKED_UP_FROM => 22 - position_id,system_id,quant,item_id,by_id
NOTE_BOUGHT_FROM => 23 - position_id,system_id,quant,item_id,by_id,stellars
NOTE_SOLD_TO => 24 - position_id,system_id,quant,item_id,by_id,stellars
NOTE_BOARDED => 25 - loc,system_id,position_id
NOTE_RAIDED => 26 - loc,system_id,position_id
NOTE_COMBAT_TRANSACTION => 27 - loc,system_id,position_id
NOTE_SEL_POSITION => 28 - position_id,amount

//coming soon
NOTE_RESTRICTED_DATA => 29 - restricted_type,data0,data1
NOTE_PLANETARY_SALES => 30 - position_id,system_id,cbody_id,trade_type,stellars
NOTE_NEXUS_CASH => 31 - position_id,stellars
NOTE_GM_NOTE => 32 - position_id,group_id,system_id,cbody_id,subject + msg
NOTE_RUMOUR => 33 - data
NOTE_SPOTTED => 34 - position_id,system_id,location_name - not done yet
NOTE_TURN_ERROR => 35 - position_id,system_id,cbody_id,error_code,txt
NOTE_WARNING => 36 - position_id,system_id,cbody_id,warning_code,txt
NOTE_RESEARCH_FINISHED => 37 - position_id,item_id
NOTE_COMPLEX_VISIT => 38 - position_id,base_id,complex_type (txt)
NOTE_TRANSFER_OUT => 39 - to_position_id,stellars
NOTE_ORBITAL_DROP => 40 - position_id,system_id,quant,item_id,by_id - like deliver
NOTE_ORBITAL_RESUPPLY => 41 - position_id,system_id,quant,item_id,by_id - like deliver to
NOTE_SPECIAL_ACTION => 42 - position_id,header + text
NOTE_MESSAGE => 43 - src_pos_id,to_pos_id + message
NOTE_AGENT_ACTION => 44 - position_id,system_id,action_text + text
NOTE_REMINDER => 45 - position_id,note (80 char) + order at add
NOTE_COMPLEX_CHANGE => 46 - position_id,complex_type,built/scrapped/activated/deactivated,number
NOTE_ACCOUNT_LOW => 47 - cash, account below £10 - not done yet
NOTE_REGISTERED_BASE_ACTIVITY => 48 - position_id,system_id,cbody_id,action_type (attacked/bought/registed/deregistered)
NOTE_OPPORTUNITY_FIRE => 49 - loc,system_id,position_id + txt
NOTE_ESCAPING_COMBAT => 50 - loc,system_id,position_id + txt

WARNING_DEEPCORE_STRUCT => 0 'Insufficient structural modules to deep core'
WARNING_COMPLEXES_NOT_PRODUCING => 1 'Complexes are not producing'
WARNING_SB_EFFICIENCY_LOW => 2 'Base Efficiency has dropped below 100%'
WARNING_SB_SECURITY_LOW => 3 'Base security has dropped below 100%'
WARNING_SHIP_INTEGRITY_LOW => 4 'Ship integrity is low (<25%)'
WARNING_SCOUTED => 5 'Scouted'
WARNING_BASE_SUBVERTED => 6 'Base subverted'

TURN_ERROR_NO_STARGATE_KEY => 0 'has no stargate key'
TURN_ERROR_NO_KNOW_BASE => 1 'has no knowledge of base'
TURN_ERROR_NO_KNOW_SYSTEM => 2 'has no knowledge of system'
TURN_ERROR_NO_KNOW_CBODY => 3 'has no knowledge of celestial body'
TURN_ERROR_INCORRECT_SEC => 4 'has incorrect security clearance'
TURN_ERROR_NO_THRUST => 5 'does not have enough thrust to take off/land'
TURN_ERROR_MAINTENANCE_FAILED => 6 'failed to maintain'


REGISTERED_BASE_ATTACKED => 2 'been attacked'
REGISTERED_BASE_BOUGHT => 3 'been bought'

COMPLEX_VISIT_RECREATION => 0 'used recreation complexes'
COMPLEX_VISIT_REPAIR => 1 'repaired'
COMPLEX_VISIT_REFIT => 4 'refitted'


Flags  [Recruit]

Order Catagory Flags

Position Type

Position Flags

Periphery Names / IDs
Cluster 3
Caliphate 9
Coreward Arm 14
Darkfold 2
Dewiek Home 4
Dewiek Pocket 5
Detinus Republic 6
Flagritz Empire 10
Felini Empire 11
Halo 13
Inner Capellan 1
Inner Empire 8
None 0
Orion Spur 16
Outer Capellan 12
Perfidion Reach 17
Transpiral 15
Twilight 7

Sending Orders  [Recruit]

For send_orders its currently this bit not convinced about sequencing - need to sort that out. {Need to fix so it accepts XML properly}

<turn pos_id="Position Number" seq="1 or 0" seq_after="Pos Num to seq after" append="true/false">
<order id="Order ID" issue_type="Issue Type">
<param>Param 0</param>
<param>Param 1</param>


All atrribute in <turn> are optional except "position number"
Boolean Params Values are: true / false
Turns currently are placed into queue (and can end up with duplicates that delete each other if a turn already exists)
By default if a turn is send twice it overwrites the original - if append is set to append="true" then orders are appended to the end of a turn.
The XML only echos back what it wrote not the whole turn.

Issue Type
Is optional - you do not have to add - if added then it takes following states
For ships/gps:
0 => Continue on Error
1 => Stop on Error
For bases:
0 => Normal Order
1 => Pre Production Order
2 => Post Production Order
3 => End of Week Order

Php i used to send XML  [Recruit]


<turn pos_id=\"12345\" seq=\"0\" seq_after=\"0\">
<order id=\"2040\">

// code is not from live version :)
$headers = array(
"Content-type: text/xml;charset=\"utf-8\"",
"Accept: text/xml",
"Cache-Control: no-cache",
"Pragma: no-cache"

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);

// send xml request to a server

curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);

curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlRequest);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

curl_setopt($ch, CURLOPT_VERBOSE, 0);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
$data = curl_exec($ch);

//convert the XML result into array
if($data === false)
$error = curl_error($ch);
echo $error;
die('error occured');


}catch(Exception $e){
echo 'Message: ' .$e->getMessage();die("Error");

General Account Data  [Recruit]

Test Account

The following services are available from the blank test account:

Is open for business...
user image

***** Inter Galactic News *****

Meklan Unleashed on Mobile Bay

Mad Dewiek scientist Dr Kala released a number of Meklan on the busy world of Mobile Bay in the Yank system. Thousands of civilians have been killed in what is treated by DEN warlords as an amusing practical joke. Rather than take any responsibility for their affiliation’s reckless behaviour, a DEN lord rumoured to be half-meklan himself quipped he would nuke the planet whilst another merely saw it as an opportunity to test some of his greener troops in combat. Surprisingly, the KAS planetary defence force was up to the job of repelling the insidious incursion. Questions remain whether further meklan are stored elsewhere on the planet and whether anybody will challenge the Dewiek’s lack of care for the lives of innocents. Probably not, given how even the mighty IMP are now cowering from a fight with the DEN (see inside this edition).

user image

***** Inter Galactic News *****

Who is behind the AFA?

Following the large scale holiday attack by the AFA against the FET the question of who is behind the attacks has been raised once again. What is clear is that the AFA is using ships that were transferred from the GTT to the IMP. The organisation and expertise of the operation also reduces the pool of potential candidates. Few can go from commanding a handful of broadswords to half a thousand warships and significant army logistics without a long stint in one of the more combative affiliations. With the DEN’s allies the HEX in close relations with the FET and no recent history of animosity between the aliens and FET, at least since the departure of former one-eye big-bun Norozov, it would be a bizarre turn of events if they were behind these attacks. Frankly, there’s no point dancing around it. The IMP are clearly behind the AFA. The question is what can anybody do about this move of significant Imperial resources to a black-flag agency?

user image

***** Inter Galactic News *****

Fox Effects Fantastic Turnaround

With his feet barely under the table, Xavier Fox has managed to dramatically turn things around at the GTT. With year-on-year sales figures up by 23%, manufacturing up 42% and ship production increased by 36%, the megacorporation is running at full steam with noticeable impact on local economies across the Stellar Empire. Political analysts also note that after a period of retrenchment following the disastrous leadership of Ike Krieger, investment in defence is at a five-year high. After such bullish growth, the trick will be for Mr. Fox to recruit C-level executives fast enough to match his ambitions. It is notable in temperament, the current crop of GTT politicals do not exhibit the monomaniacal xenophobia of their predecessors and have resisted repeated provocations by the DEN to enter a pointless spar before they have re-established superiority against the foolhardy aliens.

user image

***** Inter Galactic News *****

Felini flounder in Winter against superior Dewiek forces

The FEL have managed to get their asses kicked by the DEN yet again after provoking the definitely “not cute or cuddly” Dewiek in the Crossley system. The furry punching bags had bought a civilian flagged outpost in the system, without permission or under certain conditions depending on who you ask, and then had the gall to reinforce this error by positioning warships in orbit. The famously patient warlord Halvor did not buy the story these heavy hull armed ships were merely transports and sent a pack to clear the orbit. The mouthy yet green Felini fleet commander Pr'prz fancied his chances against what looked like a light complement of DEN warships and ordered his own warships to engage in the neighbouring Winter system. The result was predictably a wipe out of the FEL forces consisting of forty-seven capital warships at no loss to the DEN. Once again, a series of calamitous decision making resulted in Felini lives being wasted by a leadership barely fit to clean a litter tray. The otherwise untested Halvor can now claim some victory ale although with his penchant for picking on creatures as weak as Gracians, it’s not exactly clear how much glory this new breed of Dewiek warrior can claim against the legends of old.

user image

***** Inter Galactic News *****

Dastardly Dewiek Disregard Yank Neutrality

The governor of a MRC outpost in the Yank system reports that a 400-hull DEN warship called Grey Hunter Axiom entered orbit of Spritzer and opened fire with weapons of mass destruction (WoMD) against a platform, outpost, ground party and ship. Reports indicate significant casualties to Kastorian personnel both in space and on the ground. The KAS Junta is gruffly warning, with a slightly indifferent air, that everybody better stay out of the sector of the outpost for their own health. It is unclear what measures the KAS have or will take against the DEN on this matter. Such a breach of Yank neutrality has in the past caused the Dewiek to froth at the bit against the Empire for their disregard of ‘civilised’ norms. Their current silence on this matter speaks volumes.

user image

***** Inter Galactic News *****

Yenni-bodies Pirates?

A PIR outpost was miraculously discovered by an IMP freighter, of all things, in the Yanni system with several Javelin class warships in orbit. After noticing the IMP freighter and seeing the public post by Jack Jones on subspace, the PIR decided to flee and leave a combined force of IMP and FET forces to capture the outpost. A brain damaged three-year old commentator who still believed in the goodness of people and Santa Claus was quick to commend the IMP on their good work, dismissing those who thought it no more than a convenient clearing up operation signifying* completion of operations in the nearby FET claimed systems of Graydown, Canth and Onissian by IMP puppet Edward Lowe. Meanwhile, the Wolf Lord Lyceum summed up the view of many when he screamed, “What is this amateur b*llshit?” into an uncaring universe.

user image

***** Inter Galactic News *****

Crowe Coups Self

The IMP Viceroy Tiberius Crowe has finally achieved something in his unremarkable tenure by relinquishing even the semblance of wearing big boy pants and instead, appointed Jack Jones as Patrol Commissioner, salty spokesperson and policy maker for the Empire. Crowe will now join CIA Director Laton in riding the special bus to work where the two of them will enjoy long pleasant afternoons sipping cups of tea. Actually, just tepid fruit-scented water as neither of them can be fully trusted with a hot kettle. Occasionally, they might be visited by equally dynamic war “veteran” Admiral Bridge to enjoy mimes presenting the latest comics from the Howl. Meanwhile, Jones is putting pressure on the FET and will soon no doubt find a pretext to deploy his vast mercenary forces against anyone else who is seen working too closely with his most hated of enemies, the HEX.

user image

***** Inter Galactic News *****

Highlord Aadolf Loses Control As Dewiek Break Peace Treaty

Around one hundred DEN warships have launched an attack on a small GTT destroyer squadron of forty ships in the Daggern system. Two GTT ships were destroyed and another fifteen suffered noticeable damage. CEO Xavier Fox issued a restrained but angry statement demanding the DEN explain themselves. Highlord Aadolf’s buffoon-like response amounted to “Dewiek be Dewiek, let’s drink and forget about it.” Cold comfort for the dead crew onboard the GTT ships and their families. Especially, as seems likely at this time, the Empire will settle for some bloody money instead of retribution.

user image

***** Inter Galactic News *****

The Worm Turns

The FET have reduced relations with the IMP to neutral. Sneezy boss Cu Chulainn took the bold step of putting 1 and 1 together by linking recent mercenary attacks in their systems with the IMP scouts seen loitering for some time and refusing to move. Even bolder, hints that they believe “a certain Imperial citizen” is responsible for Edward Lowe’s entire underhand operation were voiced loudly enough that the handsome but hard of hearing Tiberius Crowe had to take note. He was seen grappling in trademark fashion with his skin tight jacket, pulling it down over his partially concealed middle-aged girth, as he sat to issue a terse public statement. Exactly who this citizen may be was left unnamed and no news channel subject to Imperial laws would dare unmask the villain. Luckily dear readers, we are not subject to phony Imperial laws. It’s Jack Jones everybody. Jack Jones, butcher of Naplians and fancier of silver long johns.


Free Ship when you sign-up
Complete missions for in game rewards
Control everything, up to an entire empire
Dedicated human moderators
Player and Moderator driven plotlines
Discover new worlds to explore, exploit & colonise
Over 20 years of content development
Persistent Browser-Based Game (PBBG)

I’ve played on and off for approximately 10 years, over a 20 year spell. After some interesting debate on the in-game forum, I did wonder what, exactly, has kept drawing me back to the game, when for so many others I’ve generally lost interest after a few months.

Ultimately, I think it is a combination of automation (that allows the game to handle thousands of positions to interact on a daily basis) coupled with Special Actions (that allow the story arc to develop in a way that could not be catered for by a set of predefined list of available orders).