L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
L2Tower getting paused
Author Message
sekyyy Offline
Goblin Grave Robber
*

Posts: 15
Joined: May 2012
Reputation: 0
Version: 1.4.3.143
Post: #1
L2Tower getting paused

Well, the subject says it all. I'm having trouble with my L2tower getting paused randomly, so my bot stops hitting and dies, and that he doesn't go to town for rebuffs and the things i have set in my script, because my script waits for the char to be tpted into the town, but he never does while the pause is set "ON". I tried resolving the issue this way, but it doesn't work...any suggestions how to fix it ?

Code:
while(GetMe():IsAlikeDeath() == false) do
        SetPause(false);
end;

This code is set after the char starts to farm, and before the code which executes on death.
02-19-2014 04:00 AM
Find all posts by this user Quote this message in a reply
Botter100 Offline
Expired VIP Member
**

Posts: 129
Joined: Aug 2013
Reputation: 27
Version: 1.4.2.142
Post: #2
RE: L2Tower getting paused

SetPause is a premium function. Are u premium account?
02-19-2014 10:39 AM
Find all posts by this user Quote this message in a reply
kerberos464 Offline
Bug revealer

Posts: 1,538
Joined: Jun 2012
Reputation: 576
Version: 1.4.3.143
Post: #3
RE: L2Tower getting paused

according information from l2towerhelp.exe, SetPause is part of Free API.

Everything is possible. The impossible just takes longer.
02-19-2014 11:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sekyyy Offline
Goblin Grave Robber
*

Posts: 15
Joined: May 2012
Reputation: 0
Version: 1.4.3.143
Post: #4
RE: L2Tower getting paused

I don't know about that, while i'm doing it on a friends PC for him, but i know it works...here's the whole script. I mean the char keeps rebuffing and farming untill the pause gets set randomly on "on"
Code:
moveDistance = 30;
repeat
    --Pridemo zmeraj do iste pozicije
    MoveTo(146830, 26858, -2210, moveDistance);
--Target NPC Buffer and BUFF
    SetPause(true);
    UseItem(487); -- Tattoo of Resolve
    TargetNpc("Laena", 7023);
    Talk();
    ClickAndWait("npc_268469024_getbuff 1204 130","Wind Walk");
    ClickAndWait("npc_268469024_getbuff 1068 130", "Might");
    ClickAndWait("npc_268469024_getbuff 1035 130", "Mental Shield");
    ClickAndWait("npc_268469024_getbuff 1086 130", "Haste");
    ClickAndWait("npc_268469024_getbuff 1242 130", "Death Whisper");
    ClickAndWait("npc_268469024_getbuff 1268 130", "Vampiric Rage");
    ClickAndWait("npc_268469024_getbuff 1040 130", "Shield");
    ClickAndWait("npc_268469024_getbuff 1036 130", "Magic Barrier");
    ClickAndWait("npc_268469024_getbuff 1045 130", "Bless the Body");
    ClickAndWait("npc_268469024_getbuff 1062 130", "Berserker Spirit");
    ClickAndWait("npc_268469024_getbuff 1077 130", "Focus");
    ClickAndWait("npc_268469024_getbuff 1259 130", "Resist Shock");
    ClickAndWait("npc_268469024_getbuff 275 130", "Fury");
    ClickAndWait("npc_268469024_getbuff 274 130", "Fire");
    ClickAndWait("npc_268469024_getbuff 310 130", "Vampire");
    ClickAndWait("npc_268469024_getbuff 271 130", "Warrior");
    ClickAndWait("npc_268469024_getbuff 268 130", "Wind");
    ClickAndWait("npc_268469024_getbuff 269 130", "Hunter");
    ClickAndWait("npc_268469024_getbuff 304 130", "Vitality");
    ClickAndWait("npc_268469024_getbuff 264 130", "Earth");
    ClickAndWait("npc_268469024_getbuff 267 130", "Warding");
    ClickAndWait("npc_268469024_restore", "Heal");

    --Target GK and TP in ER
    TargetNpc("Belladonna", 30256);
    Talk();
    ClickAndWait("npc_268455784_goto 11045", "Elven Ruins");
    Sleep(10000);
    TargetNpc("Siff", 30427);
    Talk();
    ClickAndWait("npc_268461278_goto 30", "Teleport into the ruins");
    Sleep(10000);

--Move to the farm zone
MoveTo(45969, 248460, -6360, moveDistance);
MoveTo(46003, 248580, -6360, moveDistance);
MoveTo(46039, 248923, -6360, moveDistance);
MoveTo(45247, 249145, -6360, moveDistance);
    SetPause(false);
    UseItem(492); -- Tattoo of Soul
    while(GetMe():IsAlikeDeath() == false) do
        SetPause(false);
    end;
    MoveTo(45483, 248983, -6360, moveDistance);
    ClearTargets();
    MoveTo(45483, 248983, -6360, moveDistance);
    WaitForTeleport();
    MoveTo(147447, 27114, -2204, moveDistance);
until false;
(This post was last modified: 02-19-2014 11:25 AM by sekyyy.)
02-19-2014 11:22 AM
Find all posts by this user Quote this message in a reply
Fox Away
Fraka-kaka-kaka-kaka-kow!
******

Posts: 5,632
Joined: Oct 2011
Reputation: -6666548
Version: 1.4.2.142
Post: #5
RE: L2Tower getting paused

He uses insert for skills etc?

Heart
02-19-2014 11:48 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sekyyy Offline
Goblin Grave Robber
*

Posts: 15
Joined: May 2012
Reputation: 0
Version: 1.4.3.143
Post: #6
RE: L2Tower getting paused

(02-19-2014 11:48 AM)Fox Wrote:  He uses insert for skills etc?

What do u mean with that ?
02-19-2014 12:07 PM
Find all posts by this user Quote this message in a reply
Fox Away
Fraka-kaka-kaka-kaka-kow!
******

Posts: 5,632
Joined: Oct 2011
Reputation: -6666548
Version: 1.4.2.142
Post: #7
RE: L2Tower getting paused

look at your keyboard

Heart
02-19-2014 12:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sekyyy Offline
Goblin Grave Robber
*

Posts: 15
Joined: May 2012
Reputation: 0
Version: 1.4.3.143
Post: #8
RE: L2Tower getting paused

(02-19-2014 12:10 PM)Fox Wrote:  look at your keyboard

Nope, and nothin hapeens when i click it. I'm usin //Cfg
(This post was last modified: 02-19-2014 13:04 PM by sekyyy.)
02-19-2014 12:22 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information When injecting L2tower freezes davidquinti 1 2,726 09-13-2019 15:46 PM
Last Post: tyrhones
  L2Tower on C2 blester83 0 2,098 10-29-2018 23:28 PM
Last Post: blester83
  L2tower work on classic L2? mhart35 0 5,995 08-06-2018 20:47 PM
Last Post: mhart35
  L2j server for L2Tower scripters tuxevil 0 2,728 07-23-2017 16:23 PM
Last Post: tuxevil
  Future of L2Tower Vinter 51 32,670 05-16-2017 02:58 AM
Last Post: Vinter
  L2Tower isn't working on Lineage II Mafia Shico 0 2,726 02-28-2017 18:56 PM
Last Post: Shico
  Disconnect when running l2tower after 5-10 minutes xBiker 2 3,407 02-25-2017 08:27 AM
Last Post: xBiker
Heart L2Tower don't work at Official Server L2Helios psychoticqueen 1 3,561 02-12-2017 03:11 AM
Last Post: TheQQmaster
  l2tower premium eBonics 0 6,384 11-01-2016 19:22 PM
Last Post: eBonics
  SIMPLE SHOUT SCRIPT L2TOWER wtfunoob2 1 2,935 07-07-2016 16:36 PM
Last Post: blaaam



User(s) browsing this thread: 1 Guest(s)