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
dd solo script
Author Message
Archerakosss Offline
Goblin Grave Robber
*

Posts: 10
Joined: Sep 2014
Reputation: 0
Version: 1.4.2.133
Post: #1
dd solo script

ok guyz so i happen to find the following script to party invite my iss and dismiss him after he makes his buffs.
it works OK but theres a problem. after it dismiss him it invite him back and leave again, and it goes like this all the time without DD needing any buffs
anyone can help me telling me where the problem is in the script?
Code:
ShowToClient("AUTO BUFF","NORMAL MODE ON");


-- CONFIG --
PPName = "ISS name"; -- Your ISS name, he will accept party from DD (IMPORTANT: MyISS is not equal myISS, so write like u writed nick in game)
DDName = "DD name"; -- Your DD name (IMPORTANT: MyDD is not equal MyDD, so write like u writed nick in game)
HarmonyID = 11524; -- 11524 Warrior's Harmony, 11525 Wizard's Harmony, 11523 Knight's Harmony (copy harmony id, if u will set in party buffs warriors harmony, then there set that too, wizard in party buffs, than set here too, if u dont do it correct ur ISS will stay in party)
WhoToInv = nil;




function checkbuff()
    if(GetMe():GotBuff(11524) == false) -- 11524 Warrior's Harmony, 11525 Wizard's Harmony, 11523 Knight's Harmony, 11595    Knight's Frenzied Harmony, 11596    Warrior's Frenzied Harmony, 11597    Wizard's Frenzied Harmony
    or (GetMe():GotBuff(11517) == false)    -- Horn Melody
    or (GetMe():GotBuff(11518) == false)    -- Drum Melody
    or (GetMe():GotBuff(11519) == false)    -- Pipe Organ Melody
    or (GetMe():GotBuff(11520) == false)    -- Guitar Melody
    or (GetMe():GotBuff(11521) == false)    -- Harp Melody
    or (GetMe():GotBuff(11522) == false)    -- Lute Melody
    or (GetMe():GotBuff(11565) == false)    -- Elemental Resistance
    or (GetMe():GotBuff(11566) == false)    -- Holy Attack Resistance
    or (GetMe():GotBuff(11567) == false)    -- Mental Attack Resistance
    --or (GetMe():GotBuff(11529) == false)    -- Prevailing Sonata
    --or (GetMe():GotBuff(11530) == false)    -- Daring Sonata
    --or (GetMe():GotBuff(11532) == false)    -- Refreshing Sonata
    or (GetMe():GotBuff(11610) == false)    -- Prevailing Dance
    or (GetMe():GotBuff(11611) == false)    -- Daring Dance
    or (GetMe():GotBuff(11612) == false)    -- Refreshing Dance
    --or (GetMe():GotBuff(11607) == false)    -- Prevailing Song
    --or (GetMe():GotBuff(11608) == false)    -- Daring Song
    --or (GetMe():GotBuff(11609) == false)    -- Refreshing Song
    --or (GetMe():GotBuff(11600) == false)    -- Frenzied Prevailing Sonata
    --or (GetMe():GotBuff(11601) == false)    -- Frenzied Daring Sonata
    --or (GetMe():GotBuff(11602) == false)    -- Frenzied Refreshing Sonata
    then
return true;
    end;
return false;

    
end;

    
    
    
repeat
    if(GetUserByName(PPName) == nil)then
repeat
Sleep(1000);
until (GetUserByName(PPName) ~= nil);
WhoToInv = GetUserByName(PPName);

    elseif(GetUserByName(PPName) ~= nil)then
WhoToInv = GetUserByName(PPName);
    end;

if (checkbuff()== true) then
Sleep(100);
while (WhoToInv:IsMyPartyMember()== false) do
Command("/invite "..PPName);
Sleep(450);
end;



    repeat
Sleep(100);

    until ((GetMe():GotBuff(HarmonyID))
    and (GetMe():GotBuff(11517))
    and (GetMe():GotBuff(11518))
    and (GetMe():GotBuff(11519))
    and (GetMe():GotBuff(11520))
    and (GetMe():GotBuff(11521))
    and (GetMe():GotBuff(11522))
    and (GetMe():GotBuff(11565))
    and (GetMe():GotBuff(11566))
    and (GetMe():GotBuff(11567))
    and (GetMe():GotBuff(11529))
    and (GetMe():GotBuff(11530))
    and (GetMe():GotBuff(11532)) )
    and (WhoToInv:IsMyPartyMember() == true);

Sleep(1500);
Command("/dismiss "..PPName);
Sleep(400);
    end;
    
    Sleep(1000);
until false;
(This post was last modified: 09-11-2014 20:53 PM by Archerakosss.)
09-11-2014 20:52 PM
Find all posts by this user Quote this message in a reply
schubbel2208 Offline
Expired VIP Member
**

Posts: 154
Joined: Jun 2012
Reputation: 35
Version: 1.4.3.143
Post: #2
RE: dd solo script

(09-11-2014 20:52 PM)Archerakosss Wrote:  ok guyz so i happen to find the following script to party invite my iss and dismiss him after he makes his buffs.
it works OK but theres a problem. after it dismiss him it invite him back and leave again, and it goes like this all the time without DD needing any buffs
anyone can help me telling me where the problem is in the script?
Code:
ShowToClient("AUTO BUFF","NORMAL MODE ON");


-- CONFIG --
PPName = "ISS name"; -- Your ISS name, he will accept party from DD (IMPORTANT: MyISS is not equal myISS, so write like u writed nick in game)
DDName = "DD name"; -- Your DD name (IMPORTANT: MyDD is not equal MyDD, so write like u writed nick in game)
HarmonyID = 11524; -- 11524 Warrior's Harmony, 11525 Wizard's Harmony, 11523 Knight's Harmony (copy harmony id, if u will set in party buffs warriors harmony, then there set that too, wizard in party buffs, than set here too, if u dont do it correct ur ISS will stay in party)
WhoToInv = nil;




function checkbuff()
    if(GetMe():GotBuff(11524) == false) -- 11524 Warrior's Harmony, 11525 Wizard's Harmony, 11523 Knight's Harmony, 11595    Knight's Frenzied Harmony, 11596    Warrior's Frenzied Harmony, 11597    Wizard's Frenzied Harmony
    or (GetMe():GotBuff(11517) == false)    -- Horn Melody
    or (GetMe():GotBuff(11518) == false)    -- Drum Melody
    or (GetMe():GotBuff(11519) == false)    -- Pipe Organ Melody
    or (GetMe():GotBuff(11520) == false)    -- Guitar Melody
    or (GetMe():GotBuff(11521) == false)    -- Harp Melody
    or (GetMe():GotBuff(11522) == false)    -- Lute Melody
    or (GetMe():GotBuff(11565) == false)    -- Elemental Resistance
    or (GetMe():GotBuff(11566) == false)    -- Holy Attack Resistance
    or (GetMe():GotBuff(11567) == false)    -- Mental Attack Resistance
    --or (GetMe():GotBuff(11529) == false)    -- Prevailing Sonata
    --or (GetMe():GotBuff(11530) == false)    -- Daring Sonata
    --or (GetMe():GotBuff(11532) == false)    -- Refreshing Sonata
    or (GetMe():GotBuff(11610) == false)    -- Prevailing Dance
    or (GetMe():GotBuff(11611) == false)    -- Daring Dance
    or (GetMe():GotBuff(11612) == false)    -- Refreshing Dance
    --or (GetMe():GotBuff(11607) == false)    -- Prevailing Song
    --or (GetMe():GotBuff(11608) == false)    -- Daring Song
    --or (GetMe():GotBuff(11609) == false)    -- Refreshing Song
    --or (GetMe():GotBuff(11600) == false)    -- Frenzied Prevailing Sonata
    --or (GetMe():GotBuff(11601) == false)    -- Frenzied Daring Sonata
    --or (GetMe():GotBuff(11602) == false)    -- Frenzied Refreshing Sonata
    then
return true;
    end;
return false;

    
end;

    
    
    
repeat
    if(GetUserByName(PPName) == nil)then
repeat
Sleep(1000);
until (GetUserByName(PPName) ~= nil);
WhoToInv = GetUserByName(PPName);

    elseif(GetUserByName(PPName) ~= nil)then
WhoToInv = GetUserByName(PPName);
    end;

if (checkbuff()== true) then
Sleep(100);
while (WhoToInv:IsMyPartyMember()== false) do
Command("/invite "..PPName);
Sleep(450);
end;



    repeat
Sleep(100);

    until ((GetMe():GotBuff(HarmonyID))
    and (GetMe():GotBuff(11517))
    and (GetMe():GotBuff(11518))
    and (GetMe():GotBuff(11519))
    and (GetMe():GotBuff(11520))
    and (GetMe():GotBuff(11521))
    and (GetMe():GotBuff(11522))
    and (GetMe():GotBuff(11565))
    and (GetMe():GotBuff(11566))
    and (GetMe():GotBuff(11567))
    and (GetMe():GotBuff(11529))
    and (GetMe():GotBuff(11530))
    and (GetMe():GotBuff(11532)) )
    and (WhoToInv:IsMyPartyMember() == true);

Sleep(1500);
Command("/dismiss "..PPName);
Sleep(400);
    end;
    
    Sleep(1000);
until false;

Increase the sleep time or add a function for check buffs on dd 1st
09-11-2014 21:28 PM
Find all posts by this user Quote this message in a reply
Archerakosss Offline
Goblin Grave Robber
*

Posts: 10
Joined: Sep 2014
Reputation: 0
Version: 1.4.2.133
Post: #3
RE: dd solo script

(09-11-2014 21:28 PM)schubbel2208 Wrote:  
(09-11-2014 20:52 PM)Archerakosss Wrote:  ok guyz so i happen to find the following script to party invite my iss and dismiss him after he makes his buffs.
it works OK but theres a problem. after it dismiss him it invite him back and leave again, and it goes like this all the time without DD needing any buffs
anyone can help me telling me where the problem is in the script?
Code:
ShowToClient("AUTO BUFF","NORMAL MODE ON");


-- CONFIG --
PPName = "ISS name"; -- Your ISS name, he will accept party from DD (IMPORTANT: MyISS is not equal myISS, so write like u writed nick in game)
DDName = "DD name"; -- Your DD name (IMPORTANT: MyDD is not equal MyDD, so write like u writed nick in game)
HarmonyID = 11524; -- 11524 Warrior's Harmony, 11525 Wizard's Harmony, 11523 Knight's Harmony (copy harmony id, if u will set in party buffs warriors harmony, then there set that too, wizard in party buffs, than set here too, if u dont do it correct ur ISS will stay in party)
WhoToInv = nil;




function checkbuff()
    if(GetMe():GotBuff(11524) == false) -- 11524 Warrior's Harmony, 11525 Wizard's Harmony, 11523 Knight's Harmony, 11595    Knight's Frenzied Harmony, 11596    Warrior's Frenzied Harmony, 11597    Wizard's Frenzied Harmony
    or (GetMe():GotBuff(11517) == false)    -- Horn Melody
    or (GetMe():GotBuff(11518) == false)    -- Drum Melody
    or (GetMe():GotBuff(11519) == false)    -- Pipe Organ Melody
    or (GetMe():GotBuff(11520) == false)    -- Guitar Melody
    or (GetMe():GotBuff(11521) == false)    -- Harp Melody
    or (GetMe():GotBuff(11522) == false)    -- Lute Melody
    or (GetMe():GotBuff(11565) == false)    -- Elemental Resistance
    or (GetMe():GotBuff(11566) == false)    -- Holy Attack Resistance
    or (GetMe():GotBuff(11567) == false)    -- Mental Attack Resistance
    --or (GetMe():GotBuff(11529) == false)    -- Prevailing Sonata
    --or (GetMe():GotBuff(11530) == false)    -- Daring Sonata
    --or (GetMe():GotBuff(11532) == false)    -- Refreshing Sonata
    or (GetMe():GotBuff(11610) == false)    -- Prevailing Dance
    or (GetMe():GotBuff(11611) == false)    -- Daring Dance
    or (GetMe():GotBuff(11612) == false)    -- Refreshing Dance
    --or (GetMe():GotBuff(11607) == false)    -- Prevailing Song
    --or (GetMe():GotBuff(11608) == false)    -- Daring Song
    --or (GetMe():GotBuff(11609) == false)    -- Refreshing Song
    --or (GetMe():GotBuff(11600) == false)    -- Frenzied Prevailing Sonata
    --or (GetMe():GotBuff(11601) == false)    -- Frenzied Daring Sonata
    --or (GetMe():GotBuff(11602) == false)    -- Frenzied Refreshing Sonata
    then
return true;
    end;
return false;

    
end;

    
    
    
repeat
    if(GetUserByName(PPName) == nil)then
repeat
Sleep(1000);
until (GetUserByName(PPName) ~= nil);
WhoToInv = GetUserByName(PPName);

    elseif(GetUserByName(PPName) ~= nil)then
WhoToInv = GetUserByName(PPName);
    end;

if (checkbuff()== true) then
Sleep(100);
while (WhoToInv:IsMyPartyMember()== false) do
Command("/invite "..PPName);
Sleep(450);
end;



    repeat
Sleep(100);

    until ((GetMe():GotBuff(HarmonyID))
    and (GetMe():GotBuff(11517))
    and (GetMe():GotBuff(11518))
    and (GetMe():GotBuff(11519))
    and (GetMe():GotBuff(11520))
    and (GetMe():GotBuff(11521))
    and (GetMe():GotBuff(11522))
    and (GetMe():GotBuff(11565))
    and (GetMe():GotBuff(11566))
    and (GetMe():GotBuff(11567))
    and (GetMe():GotBuff(11529))
    and (GetMe():GotBuff(11530))
    and (GetMe():GotBuff(11532)) )
    and (WhoToInv:IsMyPartyMember() == true);

Sleep(1500);
Command("/dismiss "..PPName);
Sleep(400);
    end;
    
    Sleep(1000);
until false;

Increase the sleep time or add a function for check buffs on dd 1st
i wish i knew how to add a fuction

increase sleep time i think its easy right?
09-11-2014 21:42 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Rainbow Solo iss+summoner scripts combo welkinds 119 257,297 12-09-2015 02:18 AM
Last Post: redline10
  K90, K95 solo and group script wodzu1982 0 2,704 05-05-2015 23:23 PM
Last Post: wodzu1982
  Kartia Solo Script darkpd 3 5,136 11-05-2012 23:32 PM
Last Post: cobra8co
  Kartia Solo Bug lqlqdodo 2 3,511 06-18-2012 05:38 AM
Last Post: 13dk13



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