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

Post Reply 
 
Thread Rating:
  • 10 Vote(s) - 2.8 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alguem Me Ajude Com Uma Solução ?
Author Message
jeannn Offline
Goblin Grave Robber
*

Posts: 10
Joined: Aug 2012
Reputation: 0
Version: 1.4.3.143
Post: #1
Alguem Me Ajude Com Uma Solução ?

Estou com um Problema que eu precisava de alguma configuração para meu caracter matar somente um determinado mob, pois o administrador colocou alguns mob com hp infinito no meio dos mobs, por favor eu preciso de ajuda !!!! Uma Print Vê ai !!! //prntscr.com/1675j8
05-23-2013 01:55 AM
Find all posts by this user Quote this message in a reply
napzpt Offline
Expired VIP Member
**

Posts: 40
Joined: Feb 2013
Reputation: 10
Version: 1.4.3.143
Post: #2
RE: Alguem Me Ajude Com Uma Solução ?

é so pesquisar no forum, usa o do fairy e altera os nomes e id's
pode ser que funcione.

Code:
NpcName1 = "Large Cocoon";
NpcName2 = "Cocoon";
CocconId1 = 32919;
CocconId2 = 32920;
range = 1500;
--------------------------------------------------------------------------------
MakeCancel = false;
--------------------------------------------------------------------------------
function CountMonstersInRange(r)
    local l = GetMonsterList();
    local c = 0;

    for user in l.list do
if ((user:IsAlikeDeath() == false) and (user:GetRangeTo(GetMe()) < r)) then
c = c + 1;
end;
    end;
    return c;
end;
--------------------------------------------------------------------------------
function GetCocon(r)
    local NpcL = GetNpcList();
    local a = {};
    local r1 = r;
    
    for user in NpcL.list do
r2 = GetMe():GetRangeTo(user);
if(r2 <= r) and (r2 <= r1) then
if ((user:GetName() == NpcName1) or (user:GetName() == NpcName2) or (user:GetNpcId() == CocconId1)or (user:GetNpcId() == CocconId2)) then
r1 = r2;
a[0] = user:GetId();
a[1] = user:GetHp();
end;
end;
    end;
    return a;
end;

--------------------------------------------------------------------------------
repeat
    if(IsPaused() == false)then
MyTr = GetTarget();

if(MyTr == nil) and (CountMonstersInRange(range) < 1)then
if(GetCocon(range)[0] ~= nil) and (GetCocon(range)[1] > 1) then
Target(GetCocon(range)[0]); --Target fouded cocon
repeat
Action(22, false, true);    --Summons Attack
Sleep(300);
until GetTarget():GetHp() == 0;

ClearTargets();
CancelTarget(false);
end;
end;
if(MyTr ~= nil) and (MyTr:GetHp() == 0)then
ClearTargets();
CancelTarget(false);
Sleep(500);
end;
    end;
until false;
05-23-2013 15:19 PM
Find all posts by this user Quote this message in a reply
NaoJogoMais Offline
I'm Watching You!
**

Posts: 924
Joined: Oct 2012
Reputation: 194
Version: 1.4.2.132
Post: #3
RE: Alguem Me Ajude Com Uma Solução ?

Depois quando eu falo certas coisas vem um muleque mimado feito esse bothoryu e fala gracinha comigo.

Olha o exemplo: http://forum.l2tower.eu/thread-horyu-7x

Tudo isso porque o cara prefere ficar esperando a boa vontade de alguém do que procurar e resolver o problema de uma vez.

Tente /ignore, mais rápido, prático e funcional.

.


[ RETIRED ]
...from retail!



[Image: 201628.png]
05-23-2013 16:33 PM
Find all posts by this user Quote this message in a reply
jeannn Offline
Goblin Grave Robber
*

Posts: 10
Joined: Aug 2012
Reputation: 0
Version: 1.4.3.143
Post: #4
RE: Alguem Me Ajude Com Uma Solução ?

Ta Bls Obrigado Pela Atenção, Arrumei Um Pluguin Que Deu Certo Aki !! Flww Pode Dar Closed !!
05-27-2013 00:33 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Alguem conseguiu usar no L2 centos?? jeucken99 0 1,513 05-31-2019 14:11 PM
Last Post: jeucken99
  Alguém conseguiu fazer funcionar o l2tower no Lineage 2 classic talking island ? botdoido 1 4,838 12-08-2018 21:16 PM
Last Post: Paralyzer
  Alguém abre e roda no NA server? Iwashington 0 3,161 05-10-2016 12:21 PM
Last Post: Iwashington
Information Alguem consegue ativar no l2blood/anyone can turn on l2 blood ?? filhinho 3 2,779 02-26-2016 01:02 AM
Last Post: xxridiulx
  Alguem sabe porque não funciona no l2 prada renanz00r 2 4,437 07-17-2015 21:31 PM
Last Post: renanz00r
  alguem tem algum script de tyr akozaki 0 1,520 06-10-2015 21:16 PM
Last Post: akozaki
  ESPERO QUE AJUDE combo 2 2,262 05-09-2015 02:00 AM
Last Post: combo
  Novo sistema de proteção fecha l2tower alguém sabe como ajudar? pablosalmeida 5 8,891 02-15-2015 16:59 PM
Last Post: SpyrakoC
  serve privado me ajude leandrorl 5 3,033 11-26-2014 17:41 PM
Last Post: naathans
F.A.Q. Alguem tem Script pickup que nao de ban? kinara102 0 1,554 10-13-2014 02:27 AM
Last Post: kinara102



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