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: 218
Joined: Jan 2012
Reputation: 15
Version: 1.4.2.137
Post: #1
Send Ressurection to Party.

i was trying many kinds of scripts but i cant manage a script to res all party menbers, could i have a litte help here ?


Ty.
07-15-2012 21:43 PM
Find all posts by this user
Hebdzik Offline
Tester

Posts: 1,235
Joined: Aug 2011
Reputation: 265
Version: 1.4.3.143
Post: #2
RE: Send Ressurection to Party.

did you try something like this?
this is simple version, not tested
    LUA Programming
repeat
	PlayerList = GetPlayerList();
	for user in PlayerList.list do 
		if(user:IsMyPartyMember() == true) and (GetMe():GetRangeTo(user) < 900)then
			Target(user);
			Sleep(500);
			UseItem(737); --	Scroll of Resurrection
		end
	end;
	Sleep(1000);
until false;

07-16-2012 07:47 AM
Find all posts by this user
darkpd Offline
Ratman Chieftain
*

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

not work, somebody will repair this?

all time its "Inwalid Target"
08-21-2012 18:07 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

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

first of all there is already a script posted few days ago by me (but it uses aero's skill not scroll)

second : mmh, he missed to write the condition when party member is death....
    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;

08-21-2012 18:42 PM
Find all posts by this user
 Reputed by : Nevka(+2)
darkpd Offline
Ratman Chieftain
*

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

thanks, pet too ressurection?
08-21-2012 19:18 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

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

no...
08-21-2012 19:18 PM
Find all posts by this user
darkpd Offline
Ratman Chieftain
*

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

how to add to this pet ressurection?

PlayerList = GetPlayerList(); and GetPetList(); ?
(This post was last modified: 08-21-2012 19:24 PM by darkpd.)
08-21-2012 19:22 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

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

it is kinda useless becouse you will need to accept the ress (like when your char die) (maybe there is an option to accept pet ress too, i don't remember now..)
08-21-2012 19:23 PM
Find all posts by this user
darkpd Offline
Ratman Chieftain
*

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

in menu of l2tower /cfg its Ressurection section and here its option AutoAccept ON Smile

maybe this working too for pets?
08-21-2012 19:28 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

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

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
(This post was last modified: 08-21-2012 19:59 PM by TheBl4ckPhoenix.)
08-21-2012 19:31 PM
Find all posts by this user
 Reputed by : resimen31(+1)
Thread Closed 


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



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