Comments by Ungihr on scripts

2 comments

Comment on:
Auto-Farmscript

Feb 25, 2008

The getEigen function you have to change this:

function getEigen()
{
var x = 31;
var y = 126;
return (x+y);
};

Comment on:
Auto-Farmscript

Feb 25, 2008

if you have just one vilage you have to delet this
# var code = document.getElementById('lright1').innerHTML;
#
# code = code.substring(code.indexOf("class=\"active_vl\"")+1);
# //alert (code.substr(code.indexOf(">("),code.indexOf("center dlist2")));
# var x = code.substring(code.indexOf(">(")+2, code.indexOf("center dlist2")-17);
# var y = code.substring(code.indexOf("left dlist3")+13, code.indexOf(")"));;

to

var x = -12//your village x coordinat
var y = -12//you village y coordinat.
You can find under the function getEigen()
if you make the seconde village, you have to rewrite, this work whit one village.