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
LF PLUGIN ONLY: AEORE AUTO RES
Author Message
TheQQmaster Offline
Trolling the Trolls
*****

Posts: 1,532
Joined: Jun 2012
Reputation: 642
Version: 1.4.2.133
Post: #5
RE: LF PLUGIN ONLY: AEORE AUTO RES

(02-21-2014 10:27 AM)mujiduka07 Wrote:  IM not really familliar with LUA programming. Im more on Java. But ill try to see some codes. Smile

(02-17-2014 21:05 PM)Koyfo Wrote:  Why not write one?

- Check every 1second for dead party members
- Check their distance to bishop
- Use res skill if it is ready


Post here what you found, to convert it to plugin.

Hi man, I see from other post you can do LUA programming. Any chance you can make a plugin for this auto resu?

Thanks!

    LUA Programming
---- CONFIG ----
ResSkillId = 11784;				-- Aoero Blessed Resurrection, skill who will ress
ResSkill = GetSkills():FindById(ResSkillId);	-- Getting skill of ress
RessInRange =  1300;				-- Range for search dead pt members
 
---- MAIN ----
repeat
	if (GetMe():IsAlikeDeath() == true)then --if i am dead
			Sleep(10*1000) -- i do 10 sec sleep
		repeat -- i repeat sleep
			Sleep(1000);
		until (GetMe():IsAlikeDeath() == false); -- until i am not dead and i can ress
	end;
PlayerList = GetPartyList(); -- getting party members list
for user in PlayerList.list do -- i do it for all pt members
 
	if (user:IsAlikeDeath()) and (ResSkill ~= nil) and (ResSkill:CanBeUsed()) and (GetMe():GetRangeTo(user) < RessInRange) then -- if pt member is dead, i have ress skill, i am not in stun etc, and dead user is from me in range
		repeat -- i repeat 
			ClearTargets(); -- clearing targets
			Target(user); -- targetting user
			Sleep(500);
			UseSkillRaw(ResSkillId, false, false); -- using skill 
			Sleep(500);
		until user:IsAlikeDeath() == false; -- until member is alive
		ClearTargets();
		Sleep(1000);
	end;
end;
 
Sleep(5000)
until false;


PUSH [Image: knUu53] IF HELPED
02-21-2014 13:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: LF PLUGIN ONLY: AEORE AUTO RES - Koyfo - 02-17-2014, 21:05 PM
RE: LF PLUGIN ONLY: AEORE AUTO RES - TheQQmaster - 02-21-2014 13:17 PM
RE: LF PLUGIN ONLY: AEORE AUTO RES - Koyfo - 02-21-2014, 23:06 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Auto Augment - Services / AIO NPC. 2pho3nix 11 18,882 07-27-2020 09:37 AM
Last Post: z3renity
  Interlude Augment script/plugin - l2mid anheoo 4 9,814 04-05-2020 10:59 AM
Last Post: icarox3
  Healer Fix plugin problem aa300598 1 3,305 02-20-2016 13:21 PM
Last Post: Vinter
  Craft plugin? aa300598 4 4,374 02-13-2016 11:32 AM
Last Post: TheQQmaster
  Help, with "Auto" De-level script JavaFan 3 3,574 11-12-2015 17:18 PM
Last Post: JavaFan
WTB WTB SCRIPT OR PLUGIN ON CC khialove 0 1,878 08-26-2015 16:01 PM
Last Post: khialove
  [HELP] Auto Saved DC ! nikevers 0 2,237 07-28-2015 00:32 AM
Last Post: nikevers
  AUTO RES ACCEPT sonsfully 17 12,822 07-15-2015 19:59 PM
Last Post: Maveco
  Auto Accept Res Not working aywka 32 18,848 07-10-2015 08:16 AM
Last Post: TheQQmaster
Information pet auto attack alexanderkalm 0 2,923 07-09-2015 06:14 AM
Last Post: alexanderkalm



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