Then they have a different jbotAPI to you.
I have the default API file, and I get the same error as you.
Union Client Scripts
Moderator: Phades
-
borka
- Posts: 9965
- Joined: Thu Feb 03, 2011 7:47 pm
- Location: World of Sprucecap
Re: Union Client Scripts
does this help with woodcutter ?!?
this goes into your script right under the line where jbotAPI gets included
the next code put in empty Notepad and call it header.japi
place it in the same folder where jbotAPI.japi is (think it scripts folder):

this goes into your script right under the line where jbotAPI gets included
Code: Select all
include("header");place it in the same folder where jbotAPI.japi is (think it scripts folder):
Code: Select all
function travelToHF(){
jSendDoubleAction("theTrav", "hearth");
jWaitProgress(10000);
}
function extend(Child, Parent) {
var F = function() { }
F.prototype = Parent.prototype
Child.prototype = new F()
Child.prototype.constructor = Child
Child.superclass = Parent.prototype
}
Last edited by borka on Sat Mar 29, 2014 9:43 pm, edited 2 times in total.
Avatar by SacreDoom
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
Java 8 - manually downloads - good to check for actual versions url here:
viewtopic.php?f=42&t=40331
Remember what the dormouse said: Feed your head Feed your head
-
Leny-m
- Posts: 109
- Joined: Sat Dec 17, 2011 8:04 pm
Re: Union Client Scripts
I admire Borka for helping you after you posted this ^shampizle wrote:woodcutter works fine with EVERYONE else that uses it and this one is new so dont get all fucking snippy with me its a new error if u dont want to help then dont talk
and yes i have no idea about coding

Leny
-
shampizle
- Posts: 590
- Joined: Sat Oct 20, 2012 1:14 am
Re: Union Client Scripts
Thanks borka some ppl want to be all assholey and automatically assume they are at there level of coding then try to put me on blast when you ask the simplest question now
Borka how do I make the .japi file do I need a special program?
Borka how do I make the .japi file do I need a special program?
-
Lordtimo
- Posts: 437
- Joined: Wed Jun 01, 2011 12:00 pm
Re: Union Client Scripts
Just name it .japi, im not sure but i think its just made so you wont find e.g. the "JBotApi.japi" in your client, but can use funtioncs in other scripts where you include it
-
Arcanist
- Posts: 2664
- Joined: Mon Mar 19, 2012 2:01 pm
Re: Union Client Scripts
also add this
I updated my post:
viewtopic.php?f=27&t=31132&p=465076#p465076
Code: Select all
function MoveRandomDirection(tiles){
jMoveStep(jCoord(1, 0));
jWaitMove(1000); }
function drinkWine() {
if (travelCount() < 85) return;
inventory = checkInventory();
var buckets = inventory.getItems("bucket-wine");
if (buckets.length > 0) {
inventory.sortItems(buckets, "amount", false);
var bucket = buckets[0];
var bucket_coord = bucket.coord();
if (bucket.isActual()) {
bucket.take();
jWaitDrag();
var flasks = inventory.getItems("glass-winee");
if (flasks.length > 0) {
var flask = flasks[0];
if (flask.isActual()) {
flask.itemact(0);
jSleep(500);
inventory.drop(bucket_coord);
jWaitDrop();
}
}
}
}
var flasks = inventory.getItems("glass-winef");
if (flasks.length > 0) {
var flask = flasks[0];
if (flask.isActual()) {
flask.iact();
if (jWaitPopup(actionTimeout)) {
jSleep(500)
jSelectContextMenu("Drink");
jWaitProgress();
//winecount++;
} else {
// No water
stopFlag = true;
}
}
}
if (travelCount() < 85) return;
drinkWine();
}viewtopic.php?f=27&t=31132&p=465076#p465076
-
ramones
- Posts: 3077
- Joined: Fri Jul 09, 2010 10:03 pm
- Location: I am a man who walks alone'
Re: Union Client Scripts
I suggest people stop using Union client and change their passwords (also from email), since quite few lost their accounts due to it.
W16.1 - Pet Sematary (hermit)
W8 - Hermitage
W7 - Emerald City
W6 - Gomorrah
W5 - Pandemonium
W4 - Angkor
W3 - Angkor
W8 - Hermitage
W7 - Emerald City
W6 - Gomorrah
W5 - Pandemonium
W4 - Angkor
W3 - Angkor
-
Arcanist
- Posts: 2664
- Joined: Mon Mar 19, 2012 2:01 pm
Re: Union Client Scripts
who are these people that lost their accounts due to union client?
-
ramones
- Posts: 3077
- Joined: Fri Jul 09, 2010 10:03 pm
- Location: I am a man who walks alone'
Re: Union Client Scripts
I can't say names, they can write here if they want to on their own, but besides Troll who I saw some drama on forums, I had 2 people PM me same thing. They were using Union, someone was on their acc and bashed half of the village before they managed to get in. It could be something else, but I doubt it.
W16.1 - Pet Sematary (hermit)
W8 - Hermitage
W7 - Emerald City
W6 - Gomorrah
W5 - Pandemonium
W4 - Angkor
W3 - Angkor
W8 - Hermitage
W7 - Emerald City
W6 - Gomorrah
W5 - Pandemonium
W4 - Angkor
W3 - Angkor
-
Arcanist
- Posts: 2664
- Joined: Mon Mar 19, 2012 2:01 pm
Re: Union Client Scripts
I'm pretty sure that was the guys who didn't secure their accounts after using rizen.