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

Thread Closed 
 
Thread Rating:
  • 2 Vote(s) - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Res Script stop work?
Author Message
EnvyObscene Offline
VIP Member
***

Posts: 81
Joined: Jan 2013
Reputation: 14
Version: 1.4.3.143
Post: #1
Res Script stop work?

only me have this problem? if i start res script.. and char die in next 5-10min aeore start res 1time.. but then he stop..

i use both: once with "getplayerlist" & with Name 1/2/3/...

same problem on both
06-28-2013 07:04 AM
Find all posts by this user
AcidBurn Offline
DavidNeottAJ
*

Posts: 99
Joined: May 2011
Reputation: 33
Version: 1.4.1.118
Post: #2
RE: Res Script stop work?

Post the script so we can take a look
06-28-2013 08:04 AM
Visit this user's website Find all posts by this user
EnvyObscene Offline
VIP Member
***

Posts: 81
Joined: Jan 2013
Reputation: 14
Version: 1.4.3.143
Post: #3
RE: Res Script stop work?

ShowToClient("SYS","Script Ress Party Started");
ResSkillId = 11784; -- Aeore Blessed Resurrection = 11784; Iss Angel's Resurrection = 11564;
-----------------------------------------------------------
PlayerList = GetPlayerList();
ResSkill = GetSkills():FindById(ResSkillId);
repeat
if (GetMe():IsAlikeDeath() == true)then
ShowToClient("SYS","Your char is dead, w8ing for res");
Sleep(10000)
repeat
Sleep(1000);
until (GetMe():IsAlikeDeath() == false);
ShowToClient("SYS","Your char is now alive");
end;
for user in PlayerList.list do
if(user:IsMyPartyMember() == true)then
if (user:IsMyPartyMember()) and (user:IsAlikeDeath() == true)and(ResSkill ~= nil) and(ResSkill:CanBeUsed()) then
Target(user);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);
end;
end;
end;
Sleep(5000)
until false;

same problem with both

CharName1 = ""; -- Char Name who must Be Ressed
CharName2 = ""; -- Char Name who must Be Ressed
CharName3 = ""; -- Char Name who must Be Ressed
CharName4 = ""; -- Char Name who must Be Ressed
CharName5 = ""; -- Char Name who must Be Ressed
CharName6 = ""; -- Char Name who must Be Ressed

ResSkillId = 11784; -- 11784 Blessed Resurrection

ResSkill = GetSkills():FindById(ResSkillId);

repeat
if (ResSkill ~= nil) and (ResSkill:CanBeUsed()) and (GetUserByName(CharName1):IsAlikeDeath() == true) then

Target(CharName1);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);


elseif (ResSkill ~= nil) and (ResSkill:CanBeUsed()) and (GetUserByName(CharName2):IsAlikeDeath() == true) then

Target(CharName2);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);


elseif (ResSkill ~= nil) and (ResSkill:CanBeUsed()) and (GetUserByName(CharName3):IsAlikeDeath() == true) then

Target(CharName3);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);

elseif (ResSkill ~= nil) and (ResSkill:CanBeUsed()) and (GetUserByName(CharName4):IsAlikeDeath() == true) then

Target(CharName4);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);


elseif (ResSkill ~= nil) and (ResSkill:CanBeUsed()) and (GetUserByName(CharName5):IsAlikeDeath() == true) then

Target(CharName5);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);

elseif (ResSkill ~= nil) and (ResSkill:CanBeUsed()) and (GetUserByName(CharName6):IsAlikeDeath() == true) then

Target(CharName6);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);



end;
Sleep(500);
until false;
(This post was last modified: 06-29-2013 13:40 PM by EnvyObscene.)
06-29-2013 13:39 PM
Find all posts by this user
yota Offline
Expired VIP Member
**

Posts: 38
Joined: Jun 2012
Reputation: 3
Version: 1.4.3.143
Post: #4
RE: Res Script stop work?

so have many ppl in u res list? if < then 6, delete some lines here^
Code:
CharName1 = ""; -- Char Name who must Be Ressed
CharName2 = ""; -- Char Name who must Be Ressed
CharName3 = ""; -- Char Name who must Be Ressed
CharName4 = ""; -- Char Name who must Be Ressed
CharName5 = ""; -- Char Name who must Be Ressed
CharName6 = ""; -- Char Name who must Be Ressed
and here
Code:
elseif (ResSkill ~= nil) and (ResSkill:CanBeUsed()) and (GetUserByName(CharName5):IsAlikeDeath() == true) then

Target(CharName5);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);

elseif (ResSkill ~= nil) and (ResSkill:CanBeUsed()) and (GetUserByName(CharName6):IsAlikeDeath() == true) then

Target(CharName6);
Sleep(500);
UseSkillRaw(ResSkillId, false, false);
Sleep(500);
ClearTargets();
Sleep(500);
(This post was last modified: 07-24-2013 12:13 PM by yota.)
07-24-2013 12:12 PM
Find all posts by this user
Gendeck Offline
VIP Member
***

Posts: 5
Joined: Jul 2012
Reputation: 0
Version: 1.4.2.131
Post: #5
RE: Res Script stop work?

(06-28-2013 07:04 AM)EnvyObscene Wrote:  only me have this problem? if i start res script.. and char die in next 5-10min aeore start res 1time.. but then he stop..

i use both: once with "getplayerlist" & with Name 1/2/3/...

same problem on both

Same problem since lindvior update... I test all ISS OOP finded in this forum and noone works
07-24-2013 18:39 PM
Find all posts by this user
EnvyObscene Offline
VIP Member
***

Posts: 81
Joined: Jan 2013
Reputation: 14
Version: 1.4.3.143
Post: #6
RE: Res Script stop work?

@vota thats ofc not the problem.. i run full pt.. so yeah i need it for 6ppl..

but still same sh1t here.. script work for the first ~ 1-2h, then stop

or example: i was spicula - tank/dd died - healer used res. -> they died again -> script stop to work
07-24-2013 20:08 PM
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  work on l2skryde tower???? dimitris_sate 0 1,580 10-18-2022 23:30 PM
Last Post: dimitris_sate
Information Download Link dont work element2018 0 1,800 10-21-2018 13:57 PM
Last Post: element2018
  L2tower work on classic L2? mhart35 0 5,738 08-06-2018 20:47 PM
Last Post: mhart35
Heart L2Tower don't work at Official Server L2Helios psychoticqueen 1 3,373 02-12-2017 03:11 AM
Last Post: TheQQmaster
  /cfg wont work amenchocon 1 3,061 12-12-2016 23:55 PM
Last Post: diegomadmax
  CP/Mana Stop Working Crnogorac 3 3,738 04-08-2016 10:36 AM
Last Post: TheQQmaster
  //cfg party buffs cant make them work (help) drake182 3 3,649 01-02-2016 05:47 AM
Last Post: Wazzapkhv
F.A.Q. L2Tower Stuck and work all time teris19942 0 2,413 12-15-2015 23:38 PM
Last Post: teris19942
  l2woe - tower don't work urso110 0 2,005 11-23-2015 01:44 AM
Last Post: urso110
  l2tower does not work on lineage.ru gf x7 test52 0 2,102 10-18-2015 19:05 PM
Last Post: test52



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