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
How to??
Author Message
Guaymallen Offline
VIP Member
***

Posts: 56
Joined: Apr 2012
Reputation: 0
Version: 1.4.1.109
Post: #1
How to??

Hello friends..
How to dont target this? not formor, i want to dont target all special mobs with colored ring
[Image: zc35.jpg]
Thx so much
12-09-2013 18:47 PM
Find all posts by this user Quote this message in a reply
MtnDew Offline
VIP Member
***

Posts: 500
Joined: Mar 2012
Reputation: 110
Version: 1.4.2.141
Post: #2
RE: How to??

if .ignore doesn't work your SOL.

+1 or +2 me if I helped you or you think I'm an ass. Tongue
12-09-2013 20:02 PM
Find all posts by this user Quote this message in a reply
Guaymallen Offline
VIP Member
***

Posts: 56
Joined: Apr 2012
Reputation: 0
Version: 1.4.1.109
Post: #3
RE: How to??

Ignore dont work.. i want to kill all formor elders.. but i dont want to kill elders with red rings
12-09-2013 20:10 PM
Find all posts by this user Quote this message in a reply
Kookie Offline
Enbugger
**

Posts: 257
Joined: Oct 2013
Reputation: 89
Version: 1.4.1.115
Post: #4
RE: How to??

@nadmaster101: Not true. Smile

@Guaymallen: Firstly, use meaningful topic titles. "How to??" doesn't help anyone and just wastes peoples time.

Secondly, to block champion mobs, you can, typically, match a string in the title and then use SetBlock() to avoid attacking them. However, it looks like that server is using the Duel animation around them. In which case, you should be able to use GetDuelTeam()

Create a script with a loop that checks if your target is on a duel team...

Untested example:
    LUA Programming
local myTarget = nil;
 
while( true ) do 
    myTarget = GetTarget();
 
    if( myTarget ~= nil and myTarget:IsMonster() and myTarget:GetDuelTeam() ~= 0 ) then
        myTarget:SetBlock( true );
        Sleep( 500 );
    end
end


There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.
(This post was last modified: 12-11-2013 04:52 AM by Kookie.)
12-11-2013 04:36 AM
Find all posts by this user Quote this message in a reply
Guaymallen Offline
VIP Member
***

Posts: 56
Joined: Apr 2012
Reputation: 0
Version: 1.4.1.109
Post: #5
RE: How to??

(12-11-2013 04:36 AM)Kookie Wrote:  @nadmaster101: Not true. Smile

@Guaymallen: Firstly, use meaningful topic titles. "How to??" doesn't help anyone and just wastes peoples time.

Secondly, to block champion mobs, you can, typically, match a string in the title and then use SetBlock() to avoid attacking them. However, it looks like that server is using the Duel animation around them. In which case, you should be able to use GetDuelTeam()

Create a script with a loop that checks if your target is on a duel team...

Untested example:
    LUA Programming
local myTarget = nil;
 
while( true ) do 
 myTarget = GetTarget();
 
 if( myTarget ~= nil and myTarget:IsMonster() and myTarget:GetDuelTeam() ~= 0 ) then
 myTarget:SetBlock( true );
 Sleep( 500 );
 end
end


Thx for answer, now i need a patch to show champions in title...
im playing a h5 private server ¿u have these files? thx again
12-11-2013 06:35 AM
Find all posts by this user Quote this message in a reply
Kookie Offline
Enbugger
**

Posts: 257
Joined: Oct 2013
Reputation: 89
Version: 1.4.1.115
Post: #6
RE: How to??

Try making it yourself, if you get stuck, show us what you've got and we'll help. Or, just search the forums as it's been said a dozen times before.

There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.
(This post was last modified: 12-11-2013 07:59 AM by Kookie.)
12-11-2013 07:58 AM
Find all posts by this user Quote this message in a reply
Guaymallen Offline
VIP Member
***

Posts: 56
Joined: Apr 2012
Reputation: 0
Version: 1.4.1.109
Post: #7
RE: How to??

i know, but, some files dont exist anymore.. so im asking again...
12-11-2013 08:14 AM
Find all posts by this user Quote this message in a reply
Kookie Offline
Enbugger
**

Posts: 257
Joined: Oct 2013
Reputation: 89
Version: 1.4.1.115
Post: #8
RE: How to??

Everything you need exists on the forum, like I said, do a simple search or try to make it yourself.

There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.
12-11-2013 15:06 PM
Find all posts by this user Quote this message in a reply
Fox Away
Fraka-kaka-kaka-kaka-kow!
******

Posts: 5,632
Joined: Oct 2011
Reputation: -6666548
Version: 1.4.2.142
Post: #9
RE: How to??

he's suspended for 1 week Big Grin

Heart
12-11-2013 16:39 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: