Lineage 2 Tower Forum

Full Version: LF PLUGIN ONLY: AEORE AUTO RES
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi!

Please dont get me wrong, I always use SEARCH function. But most search results are scripts, obviously im not a VIP member. Tongue

This post is intended to look only for PLUGIN that auto resurrects dead party members. NOT script.

If there is none, then OK Big Grin
(02-14-2014 08:39 AM)mujiduka07 Wrote: [ -> ]Hi!

Please dont get me wrong, I always use SEARCH function. But most search results are scripts, obviously im not a VIP member. Tongue

This post is intended to look only for PLUGIN that auto resurrects dead party members. NOT script.

If there is none, then OK Big Grin

So... None? Tongue
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.
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!
(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;

Yeah exactly.

Then decide when you want to tun the above script, so you can convert it to a plugin.
From example is you want every 1s, import the code into OnLTick1s() function.
(02-21-2014 13:17 PM)TheQQmaster Wrote: [ -> ]
(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;



this is plugin??
plugins can't use sleep if u don't have function sleepinplugin Smile
(02-21-2014 13:17 PM)TheQQmaster Wrote: [ -> ]
(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;




How do i use this as plugin exactly? Please help :|
(02-24-2014 07:56 AM)mujiduka07 Wrote: [ -> ]
(02-21-2014 13:17 PM)TheQQmaster Wrote: [ -> ]
(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;




How do i use this as plugin exactly? Please help :|

UP

(02-24-2014 07:56 AM)mujiduka07 Wrote: [ -> ]
(02-21-2014 13:17 PM)TheQQmaster Wrote: [ -> ]
(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;




How do i use this as plugin exactly? Please help :|

UP
Pages: 1 2
Reference URL's