Union Client Scripts

Forum for alternative clients, mods & discussions on the same.

Moderator: Phades

Re: Union Client Scripts

Postby Arcanist » Sat Mar 29, 2014 3:58 am

Then they have a different jbotAPI to you.
I have the default API file, and I get the same error as you.
User avatar
Arcanist
 
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

Re: Union Client Scripts

Postby borka » Sat Mar 29, 2014 9:23 am

does this help with woodcutter ?!?

this goes into your script right under the line where jbotAPI gets included
Code: Select all
include("header");


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):
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
User avatar
borka
 
Posts: 9965
Joined: Thu Feb 03, 2011 7:47 pm
Location: World of Sprucecap

Re: Union Client Scripts

Postby Leny-m » Sat Mar 29, 2014 1:27 pm

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


I admire Borka for helping you after you posted this ^
Image Image Image Image Image
Leny
User avatar
Leny-m
 
Posts: 109
Joined: Sat Dec 17, 2011 8:04 pm

Re: Union Client Scripts

Postby shampizle » Sat Mar 29, 2014 3:27 pm

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?
User avatar
shampizle
 
Posts: 590
Joined: Sat Oct 20, 2012 1:14 am

Re: Union Client Scripts

Postby Lordtimo » Sat Mar 29, 2014 4:54 pm

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
User avatar
Lordtimo
 
Posts: 437
Joined: Wed Jun 01, 2011 12:00 pm

Re: Union Client Scripts

Postby Arcanist » Sat Mar 29, 2014 7:02 pm

also add this

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();
   }


I updated my post:
viewtopic.php?f=27&t=31132&p=465076#p465076
User avatar
Arcanist
 
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

Re: Union Client Scripts

Postby ramones » Mon Apr 07, 2014 10:13 am

I suggest people stop using Union client and change their passwords (also from email), since quite few lost their accounts due to it.
W8 - Hermitage
W7 - Emerald City
W6 - Gomorrah
W5 - Pandemonium
W4 - Angkor
W3 - Angkor
User avatar
ramones
 
Posts: 3053
Joined: Fri Jul 09, 2010 10:03 pm
Location: I am a man who walks alone'

Re: Union Client Scripts

Postby Arcanist » Mon Apr 07, 2014 10:22 am

who are these people that lost their accounts due to union client?
User avatar
Arcanist
 
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

Re: Union Client Scripts

Postby ramones » Mon Apr 07, 2014 10:31 am

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.
W8 - Hermitage
W7 - Emerald City
W6 - Gomorrah
W5 - Pandemonium
W4 - Angkor
W3 - Angkor
User avatar
ramones
 
Posts: 3053
Joined: Fri Jul 09, 2010 10:03 pm
Location: I am a man who walks alone'

Re: Union Client Scripts

Postby Arcanist » Mon Apr 07, 2014 10:34 am

I'm pretty sure that was the guys who didn't secure their accounts after using rizen.
User avatar
Arcanist
 
Posts: 2664
Joined: Mon Mar 19, 2012 2:01 pm

PreviousNext

Return to The Wizards' Tower

Who is online

Users browsing this forum: Ahrefs [Bot], Claude [Bot] and 0 guests