Happy Snail

A collection of Ikariam Tutorials from a hard-core player and Java Script programmer


Site Owner
Joined Feb 20 2012
General Info

Site Memberships

emotional ai
Happy Snail

Recent Activity

Post a Comment


Oops, you forgot something.


The words you entered did not match the given text. Please try again.

You must be a member to comment on this page. Sign In or Register


Reply Axinar
5:57 PM on December 7, 2014 
Hi there,
Great site. I used to program in REXX for text based BBS games in the 90's. I'm looking forward to using your examples to start building my own scripts, specifically a farming and auto build script.

Thanks again. Any tips or links (or scripts) to assist me learning would be appreciated.

Reply qwerty_jones
5:42 PM on June 3, 2013 
Dear All,
Of course the pirate script is not permitted by the GF, so anybody who is running it does it at their own risk. Having said that I have run the script on the TestServer and on one live server with no problems.

I will be upgrading the script in due time to add extra choices.
Reply Luke101
9:10 AM on April 23, 2013 
@Miki Bihon

OFFTOPIC: You play in Phi don't you??? Can you find out about Bram's account for me.

ONTOPIC: If it work, you are allowed to use it. It is a script like all other scripts such as Ikariam Easy and Ikariam CR converter.
Reply Miki Bihon
7:38 PM on February 20, 2013 
The pirate script still works but they added a way to prevent it using capcha.

Is this safe to use? Im worried that my account will get banned by a GO.
Reply AbadBoy
7:07 PM on January 10, 2013 
The pirates script is not working anymore, just show up the forest and load in loop every 4 seconds.

I'm using it on us server, v 0.5.3
Could you upgrade it?
Also, it would be great to have different scripts for every option in game, 2:30 seconds, 1 hour, 2 hours etc..
Reply Hephaestus
4:43 PM on October 25, 2012 
Hey is there the ambrosia Guide you mentioned in The beginner's Guide?
Reply fmjeros
9:33 AM on October 6, 2012 
hello my friend...excellent job!!
would be too much to ask you for a similar program to calculate the gold upkeep for the navy?
thanks in advance

An Adventure Book set in Ikariam world

Setting of this book is the world of Ikariam. Imagine Ikariam mixed with Second Life and you get a Matrix-like world set in Ancient Greece. There are epic adventures, unexpected turns and revelations. Read the full book description and the first two chapters free on Amazon. This book has 5 star reviews and it is only £0.99.
You can also read a FREE online version here.



House of Cain is a scarily realistic military fiction book about Russia versus NATO war in North-Eastern Europe. The novel's main hero, Arthur Greenberg, is a British expatriate caught in the thick of it. WARNING: this book contains graphic combat scenes.


Ikariam News

v 0.7.0 released December 2015 has an important modification: the barbarians now have a lot of loot, but they can strike back. It seems prudent for a cautious player not to let them get higher than level 9. If we don't attack them for 2 or 3 days their level will drop, but if they have reached level 10, they will decline to level 10 only. Nobody knows what would happen when the barbarians reach level 50, but they could be troublesome at higher levels. Read this post on Ikariam boards for more information.





Domain name change in effect from 12 September 2013  means that some scripts will need to be upgraded.  Scripts on this site have been upgraded and all work.

Test Server new domain name is:   http://test.en.ikariam.gameforge.com/

Regular servers new domain name is: http://en.ikariam.gameforge.com/















A new 0.5.3 version introduced an extra dimension of Piracy to Ikariam around Christmas of 2012.  While Piracy is definitely an optional side-game, it has already sparked a few full-sized alliance wars and innumerable lesser conflicts. Passions run high, as a high military score is no defence aganst pirates; and casual Piracy players get robbed of their Pirate Points again and again by much smaller players who take the new side game of piracy too seriously.  The piracy favours a small player who can afford mobile colonies. Naturally the large players retaliate with military attacks.  This in turn led to pirates changing their player names frequently to avoid revenge. Large players with fully developped cities feel at a disadvantage as they cannot demolish their cities for mobile piracy, as without mobile cities it is not possible to excell at this side game.  Scripts naturally exist to automate piracy point generation, but this had been nipped in the bud, by the Game Forge when they introduced anti-bot CAPCHA measures a month into the game, to stop "dishonest pirates". 

A "dishonest" lover of automation as I am, I had written and deplyed such a script on a day one, and run it non-stop on multiple acconts 24/7. While most of my points was stolen by mibile pirates I still managed to get into the top 20 in the first 2 months.  Alas the CAPCHA had put an end to this noble endevour to automate online game playing. 


A new version has been released early in May  2012. 

Two extra building spaces introduced, plus completely new graphics.  Now it is much easier to build 11 and 12th cities.

Most if not all of the userscrips (legal and otherwise) stopped working. The new version relies heavily on Ajax technology that makes the classical getElemtnById or document.evaluate Xpath experssion followed by element.click() to fail.  Many object identifiers (element id, attribute names etc) have also been changed; however the game is still ideally suited for userscript developpers. As a scripwright I discovered that adding setTimeout and setInterval to various blocks of code makes it all work again. It appears the game loads background image first, and then other elements, such as buildings are loaded asynchronously via Ajax later. A userscript runs immediately on dom ready, before the onload even occurs: before the buildings etc. have loaded. Making a script start looking for its targets after a few seconds delay allows it to find them again.  For example before the new version it was possible to access and click the button that gives daily bonus with this Xpath line:

document.evaluate("//input[@value='Confirm' and @type='submit' and contains(@class, 'button okButton')]", document, null, 9, null).singleNodeValue.click();

it not longer works now, because when the page loads there is still no input element we want.  But if we put the code above in a function and run the fuction a few seconds after the page loads it will work again.  If just like myself you are too lazy to click the various buttons yourself let the script do it for you.  

I am currently rewriting my favorite function neighborAutoFarm() 

My other projects

Subversive Medicine  is a series of esseys on medicine, dentistry and futurism. Is modern dentistry a fraud? Are robots going to make us all unemployed? Read all about it there.


Emotional AI is an AI project developing virtual conversation agent in .hta and javascript. This is a downloadable application that allows building off-line chatbots and virtual agents. There is a fuzzy string matching demo.

Simple Stylometry WebApp Free Proofreading and Editing App for aspiring authors. Use this proofreading and editing tool to analyze your writing for overused and glue words. Hunt down and destroy those pesky adverbs to make your great story even better! It can be used for editing business letters and school essays too.

Share on Facebook