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

Thread Closed 
 
Thread Rating:
  • 12 Vote(s) - 2.58 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Send Ressurection to Party.
Author Message
lwcdr Away
Lord Vamp
***

Posts: 214
Joined: Jan 2012
Reputation: 15
Version: 1.4.2.137
Post: #11
RE: Send Ressurection to Party.

    LUA Programming
repeat
	PlayerList = GetPlayerList();
	for user in PlayerList.list do 
          if(user:IsMyPartyMember() == true) and 
            (user:IsAlikeDeath() == true) and                       
            (GetMe():GetRangeTo(user) < 900) then
                        Sleep(800);
			Target(user);
			Sleep(900);
			UseItem(737); --	Scroll of Resurrection
		end
	end;
	Sleep(1000);
until false;



this is working with sroll if i use a skill it will work too ?

[Image: user.gif]
08-21-2012 19:43 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,871
Joined: Mar 2012
Reputation: 601
Version: 1.4.3.143
Post: #12
RE: Send Ressurection to Party.

(08-21-2012 19:43 PM)lwcdr Wrote:  
    LUA Programming
repeat
	PlayerList = GetPlayerList();
	for user in PlayerList.list do 
 if(user:IsMyPartyMember() == true) and 
 (user:IsAlikeDeath() == true) and 
 (GetMe():GetRangeTo(user) < 900) then
 Sleep(800);
 Target(user);
 Sleep(900);
 UseItem(737); --	Scroll of Resurrection
 end
	end;
	Sleep(1000);
until false;



this is working with sroll if i use a skill it will work too ?

    LUA Programming
ResSkillId = 11564; -- Angel's Resurrection
ResSkill = GetSkills():FindById(ResSkillId);
-----------------------------------------------------
ResSkillId = 11784; -- Blessed Resurrection
repeat
PlayerList = GetPlayerList(); 
for user in PlayerList.list do 
      if(user:IsMyPartyMember() == true)and
        (user:IsAlikeDeath() == true)and
        (GetMe():GetRangeTo(user) < 900)then
    Target(user);
    Sleep(300);
    UseSkillRaw(11784, false, false); -- Angel's Resurrection
 
  end;
end;
until false;



this uses aero's skill...
08-21-2012 19:51 PM
Find all posts by this user
lwcdr Away
Lord Vamp
***

Posts: 214
Joined: Jan 2012
Reputation: 15
Version: 1.4.2.137
Post: #13
RE: Send Ressurection to Party.

ty

[Image: user.gif]
08-21-2012 19:53 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,871
Joined: Mar 2012
Reputation: 601
Version: 1.4.3.143
Post: #14
RE: Send Ressurection to Party.

(08-21-2012 19:51 PM)darkpd Wrote:  if you want Use Skill chnge UseItem to UseSkill(skillnumber);

skills number you get


from this script:

skills=GetSkills();
for skill in skills.list do
ShowToClient("Skill", skill.name.."(ID: " .. skill.skillId .. ")");
end;

Remember ++++ ^^

useless
(This post was last modified: 08-21-2012 19:57 PM by TheBl4ckPhoenix.)
08-21-2012 19:54 PM
Find all posts by this user
darkpd Offline
Ratman Chieftain
*

Posts: 25
Joined: Aug 2012
Reputation: 0
Version: 1.4.1.92
Post: #15
RE: Send Ressurection to Party.

somebody can help?Tongue
08-21-2012 19:55 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,871
Joined: Mar 2012
Reputation: 601
Version: 1.4.3.143
Post: #16
RE: Send Ressurection to Party.

(08-21-2012 19:31 PM)TheBl4ckPhoenix Wrote:  i don't think, check if there is same option but with "pet" word

    LUA Programming
repeat
	PetList = GetPetList();
	for pet in PetList.list do 
 if(pet:IsPet() == true) and 
 (pet:IsAlikeDeath() == true) and 
 (GetMe():GetRangeTo(pet) < 800) then
 Sleep(800);
 Target(pet);
 Sleep(900);
 UseItem(737); --	Scroll of Resurrection
 end
	end;
	Sleep(1000);
until false;



try this,and don't forget ++++ Big Grin


----- now works
08-21-2012 19:59 PM
Find all posts by this user
ForsakenArcher Offline
Fallen Donator

Posts: 10
Joined: Aug 2012
Version: 1.4.1.88
Post: #17
RE: Send Ressurection to Party.

WHat that Plugin/Script do??
Player res pet?
08-21-2012 20:37 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,871
Joined: Mar 2012
Reputation: 601
Version: 1.4.3.143
Post: #18
RE: Send Ressurection to Party.

.....read first page/title...??
08-21-2012 20:58 PM
Find all posts by this user
lwcdr Away
Lord Vamp
***

Posts: 214
Joined: Jan 2012
Reputation: 15
Version: 1.4.2.137
Post: #19
RE: Send Ressurection to Party.

    LUA Programming
ResSkillId = 11564; -- Angel's Resurrection
ResSkill = GetSkills():FindById(ResSkillId);
-----------------------------------------------------
ResSkillId = 11784; -- Blessed Resurrection
repeat
PlayerList = GetPlayerList(); 
for user in PlayerList.list do 
      if(user:IsMyPartyMember() == true)and
        (user:IsAlikeDeath() == true)and
        (GetMe():GetRangeTo(user) < 900)then
    Target(user);
    Sleep(300);
    UseSkillRaw(11784, false, false); -- Angel's Resurrection
 
  end;
end;
until false;





this script is givem me a
c++ Exception

[Image: user.gif]
(This post was last modified: 08-21-2012 21:34 PM by lwcdr.)
08-21-2012 21:33 PM
Find all posts by this user
darkpd Offline
Ratman Chieftain
*

Posts: 25
Joined: Aug 2012
Reputation: 0
Version: 1.4.1.92
Post: #20
RE: Send Ressurection to Party.

Thanks work, because have 1 more problem, if ressurection my pet, hes on target, and PVE and Assist Attack dont Work, dont change a target, im need manual click x on target. and bot work
08-21-2012 21:36 PM
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information How to get 'PARTY MEMBER TARGET'? Caaioc 9 6,579 01-24-2016 09:57 AM
Last Post: TheQQmaster
  //cfg party buffs cant make them work (help) drake182 3 3,772 01-02-2016 05:47 AM
Last Post: Wazzapkhv
  How i do to prophet heal the party player ? sectorzueira 2 2,963 09-11-2015 13:40 PM
Last Post: sectorzueira
  party buffs stopped work buybuy 2 2,687 09-01-2015 19:54 PM
Last Post: buybuy
  Good party with Ertheia ( Eviscerator) cuongbeo88 12 11,240 05-24-2015 23:42 PM
Last Post: rhadamants
  Help Auto Buff Or Heal For Not In Party Verheiden 3 4,392 04-27-2015 16:58 PM
Last Post: Hebdzik
  script sumon select party erickalisetc 8 4,638 01-23-2015 22:17 PM
Last Post: tophersoccer
  select member of party to summon bistabil 6 4,331 12-10-2014 22:49 PM
Last Post: bistabil
Exclamation Auto Accept Party / Change party leader DONT WORK! JuZioo 2 3,273 10-28-2014 23:39 PM
Last Post: JuZioo
  Full party lvl 90+ vito54 1 2,262 08-21-2014 19:32 PM
Last Post: capucine



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