PHP aocon & aolib examples. The following includes/code is required:
<?php
require_once('aocon-1.2.0.inc.php');
$aocon = new AOCon();
?>
PHP Call: $aocon->getPlayerId('king'); Cannot connect to http://player.aevumobscurum.com/player?action=getId&username=king
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
Warning: fopen(http://player.aevumobscurum.com/player?action=getId&username=king) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
PHP Call: $aocon->getPlayerInfo(10001); Cannot connect to http://player.aevumobscurum.com/player?action=getInfo&id=10001
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 307
Warning: fopen(http://player.aevumobscurum.com/player?action=getInfo&id=10001) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 307
PHP Call: $aocon->getPlayerInfo('10001-10002-10003'); Cannot connect to http://player.aevumobscurum.com/player?action=getInfos&ids=10001-10002-10003
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://player.aevumobscurum.com/player?action=getInfos&ids=10001-10002-10003) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getPlayerGames(10001, 'longhaul'); Cannot connect to http://player.aevumobscurum.com/player?action=getGames&id=10001&realm=longhaul
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://player.aevumobscurum.com/player?action=getGames&id=10001&realm=longhaul) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getClanId('RoyalFamily'); Cannot connect to http://clan.aevumobscurum.com/clan?action=getId&name=RoyalFamily
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
Warning: fopen(http://clan.aevumobscurum.com/clan?action=getId&name=RoyalFamily) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
PHP Call: $aocon->getClanInfo(7); Cannot connect to http://clan.aevumobscurum.com/clan?action=getInfo&id=7
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 307
Warning: fopen(http://clan.aevumobscurum.com/clan?action=getInfo&id=7) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 307
PHP Call: $aocon->getClanMembers(7); Cannot connect to http://clan.aevumobscurum.com/clan?action=getMembers&id=7
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://clan.aevumobscurum.com/clan?action=getMembers&id=7) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getClanMembersByLastLogin(7, 0); Cannot connect to http://clan.aevumobscurum.com/clan?action=getMembersByLastLogin&id=7&start=0
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://clan.aevumobscurum.com/clan?action=getMembersByLastLogin&id=7&start=0) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getPlayerRankings(0); Cannot connect to http://ranking.aevumobscurum.com/listing?action=getPlayerRankings&clanid=-1&start=0
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://ranking.aevumobscurum.com/listing?action=getPlayerRankings&clanid=-1&start=0) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getPlayerRankings(0, 7); Cannot connect to http://ranking.aevumobscurum.com/listing?action=getPlayerRankings&clanid=7&start=0
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://ranking.aevumobscurum.com/listing?action=getPlayerRankings&clanid=7&start=0) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getClanRankings(0); Cannot connect to http://ranking.aevumobscurum.com/listing?action=getClanRankings&start=0
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://ranking.aevumobscurum.com/listing?action=getClanRankings&start=0) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getGameId('league', 'GameName1'); Cannot connect to http://game.aevumobscurum.com/league-admin?action=getId&name=GameName1
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
Warning: fopen(http://game.aevumobscurum.com/league-admin?action=getId&name=GameName1) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
PHP Call: $aocon->getGameInfo('league', 3356); Cannot connect to http://game.aevumobscurum.com/league-admin?action=getInfo&id=3356
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 307
Warning: fopen(http://game.aevumobscurum.com/league-admin?action=getInfo&id=3356) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 307
PHP Call: $aocon->getGamesByOwner('longhaul', 10001); Cannot connect to http://game.aevumobscurum.com/longhaul-admin?action=getGamesByOwner&userid=10001
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://game.aevumobscurum.com/longhaul-admin?action=getGamesByOwner&userid=10001) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getGamesByClan('longhaul', 7, 0); Cannot connect to http://game.aevumobscurum.com/longhaul-admin?action=getGamesByClan&clanid=7&start=0
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://game.aevumobscurum.com/longhaul-admin?action=getGamesByClan&clanid=7&start=0) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getGameStandings('league', 3356); Cannot connect to http://game.aevumobscurum.com/league-admin?action=getStandings&id=3356
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://game.aevumobscurum.com/league-admin?action=getStandings&id=3356) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->createLeagueGame('league', 10000, 'password', 'GameName1', 'Europe-X17', 86400, 1, 3, 2, 32, '0-10000-1-1-10001-0-2-10002-0-3-10003-1-4-10004-1-5-10005-0'); Cannot connect to http://game.aevumobscurum.com/league-admin?action=createLeagueGame&userid=10000&password=password&name=GameName1&scenario=Europe-X17&turntime=86400&random=1&numplayers=3&numteams=2&maxturns=32&setup=0-10000-1-1-10001-0-2-10002-0-3-10003-1-4-10004-1-5-10005-0
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
Warning: fopen(http://game.aevumobscurum.com/league-admin?action=createLeagueGame&userid=10000&password=password&name=GameName1&scenario=Europe-X17&turntime=86400&random=1&numplayers=3&numteams=2&maxturns=32&setup=0-10000-1-1-10001-0-2-10002-0-3-10003-1-4-10004-1-5-10005-0) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
PHP Call: $aocon->deleteGame('league', 10000, 'password', 3356); Cannot connect to http://game.aevumobscurum.com/league-admin?action=deleteGame&userid=10000&password=password&id=3356
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
Warning: fopen(http://game.aevumobscurum.com/league-admin?action=deleteGame&userid=10000&password=password&id=3356) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
PHP Call: $aocon->getTournaments(); Cannot connect to http://tourney.aevumobscurum.com/tournament?action=getTournaments
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://tourney.aevumobscurum.com/tournament?action=getTournaments) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getTournamentsByPlayer(10001); Cannot connect to http://tourney.aevumobscurum.com/tournament?action=getTournamentsByPlayer&userid=10001
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://tourney.aevumobscurum.com/tournament?action=getTournamentsByPlayer&userid=10001) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getTournamentGames(7); Cannot connect to http://tourney.aevumobscurum.com/tournament?action=getGames&id=7
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://tourney.aevumobscurum.com/tournament?action=getGames&id=7) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getTournamentPlayers(7, 0, 'e'); Cannot connect to http://tourney.aevumobscurum.com/tournament?action=getPlayers&id=7&start=0&type=e
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://tourney.aevumobscurum.com/tournament?action=getPlayers&id=7&start=0&type=e) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->cheatDetection(10001, 10002); Cannot connect to http://cheat.aevumobscurum.com/cheat?action=compare&userid1=10001&userid2=10002
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 307
Warning: fopen(http://cheat.aevumobscurum.com/cheat?action=compare&userid1=10001&userid2=10002) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 307
PHP Call: $aocon->disableCheater(10000, 'password', 10001, 10002); Cannot connect to http://cheat.aevumobscurum.com/cheat?action=disable&userid=userid&password=password&userid1=10001&userid2=10002
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
Warning: fopen(http://cheat.aevumobscurum.com/cheat?action=disable&userid=userid&password=password&userid1=10001&userid2=10002) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 288
PHP Call: $aocon->getNewsAnnouncements(); Cannot connect to http://news.aevumobscurum.com/news?action=getAnnouncements
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://news.aevumobscurum.com/news?action=getAnnouncements) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
PHP Call: $aocon->getSignatureURL('king');
PHP Output: http://sig.aevumobscurum.com/sig/king.png
PHP Call: $aocon->getMapURL(5537, 'longhaul');
PHP Output: http://map.aevumobscurum.com/longhaul-map/Map-5537.png
PHP Call: $aocon->getClanIconURL('RoyalFamily');
PHP Output: http://clan.aevumobscurum.com/clanicon/RoyalFamily.png
PHP Call: $aocon->getWebstartURL();
PHP Output: http://www.aevumobscurum.com/original/webstart/AevumObscurum.jnlp
Play AO
PHP Call: $aocon->getTournamentImageURL(7);
PHP Output: http://www.aevumobscurum.com/original/webstart/extra/tournaments/Tourney-7-Image.png
PHP Call: $aocon->getTournamentIconURL(7);
PHP Output: http://www.aevumobscurum.com/original/webstart/extra/tournaments/Tourney-7-Icon.png
PHP Call: $aocon->getNewsBannerURL();
PHP Output: http://www.aevumobscurum.com/original/webstart/extra/AOAdBannerImage.png
PHP Call: $aocon->getNewsInfo(); Cannot connect to http://www.aevumobscurum.com/original/webstart/extra/AOAdBanner.properties
PHP Output:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326
Warning: fopen(http://www.aevumobscurum.com/original/webstart/extra/AOAdBanner.properties) [function.fopen]: failed to open stream: no suitable wrapper could be found in /homepages/15/d163072249/htdocs/ageofconquest.com/api/aocon-1.2.0.inc.php on line 326