Monday, September 28, 2009

How to make a "Fake" Script, By Publisher

Fake Scripts?

Fake scripts are scripts used by Premium users to mass fake a fellow TW player.
What this fake Script does is when you put it in your quick bar and go to the rally point, then click it, it will randomly add in the Co-ords of the villages you listed in the script. And also your selected unit you would wish to fake the player's village with.

The village you want to fake should be in this section of the script:

javascript:coords='687|695%20675|475%20';var%20doc=document;if(window.frames.length>0)doc=window.main.document;url=document.URL;if(url.indexOf('screen=place')==-1)alert('This%20script%20needs%20to%20be%20run%20from%20the%20rally%20point');coords=coords.split("%20");index=Math.round(Math.random()*(coords.length-1));coords=coords[index];coords=coords.split("|");doc.forms[0].x.value=coords[0];doc.forms[0].y.value=coords[1];insertUnit(doc.forms[0].ram,%201);end();

As you can see in this example I am only faking two villages there because only two villages listed in the script. I am faking these two villages with Rams.

If you wanted to Fake the player with Cats or something else, insertUnit(doc.forms[0].ram,%201);end(); <-- You would remove the word "ram" and add catapult in its place on the script. Where does this script belong?
Go to Settings --> Edit Quickbar --> Click "add new link" and add the finished script in the Target-URL. Also scroll down to know how to make this script as well.




Notes:
This script is very useful when attacking a player with 30+ villages. You also need premium to work this script.

If you want to know how to make a fake script please look down:


Ok first of all you need the enemy’s village co-ords.

Example

oJvCos village 687|695 9.675

You only need the 687|695 bit, not the points or the name.

once you have done that you need to get the co-ords and shove a %20 on the back end of it.

Just like this
687|695%20

Then once you do that add a few more village co-ords in

example 687|695%20675|475%20 Yadda yadda until you get how many villages you want to fake.

The it should end up like this:

Spam this player:

javascript:coords='687|695%20675|475%20';var%20doc=document;if(window.frames.length>0)doc=window.main.document;url=document.URL;if(url.indexOf('screen=place')==-1)alert('This%20script%20needs%20to%20be%20run%20from%20the%20rally%20point');coords=coords.split("%20");index=Math.round(Math.random()*(coords.length-1));coords=coords[index];coords=coords.split("|");doc.forms[0].x.value=coords[0];doc.forms[0].y.value=coords[1];insertUnit(doc.forms[0].ram,%201);end();

That should do the trick.


Clean fakescript:

javascript:coords='enter co-ords here.';var%20doc=document;if(window.frames.length>0)doc=window.main.document;url=document.URL;if(url.indexOf('screen=place')==-1)alert('This%20script%20needs%20to%20be%20run%20from%20the%20rally%20point');coords=coords.split("%20");index=Math.round(Math.random()*(coords.length-1));coords=coords[index];coords=coords.split("|");doc.forms[0].x.value=coords[0];doc.forms[0].y.value=coords[1];insertUnit(doc.forms[0].ram,%201);end();

REFERENCE:
http://forum.tribalwars.net/showthread.php?t=86748

1 comment: