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

Thread Closed 
 
Thread Rating:
  • 5 Vote(s) - 3.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Char no attack MOB Edit for Server
Author Message
vr005 Offline
Goblin Grave Robber
*

Posts: 17
Joined: Dec 2011
Reputation: 0
Version: 1.4.3.143
Post: #11
RE: Char no attack MOB Edit for Server

(08-14-2012 15:28 PM)TheBl4ckPhoenix Wrote:  Mmh
Without l2tower, how you are supposed to kill them? I mean by manual way how you kill them? Ctrl?

in this server l2 tower works on normal mobs but not on edited mobs on custom farm spots. these edited mobs can be killed using double-click or normal attack, its just that they are like npc so "pve target" dont work
08-14-2012 16:01 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,871
Joined: Mar 2012
Reputation: 601
Version: 1.4.3.143
Post: #12
RE: Char no attack MOB Edit for Server

Aaah so tower can't TARGET them, i tough it couldn't hit..
Well let me see if i can do anything
08-14-2012 16:07 PM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,871
Joined: Mar 2012
Reputation: 601
Version: 1.4.3.143
Post: #13
RE: Char no attack MOB Edit for Server

they have all the same name right? Elder Keltir?

    LUA Programming
repeat
me = GetMe()
 
function HowManyMobsAround(range)
	isAnyOfMobsTargetingMe = false;
	local Npclist = GetNpcList();
	local count = 0;
	for npc in Npclist.list do
		if (npc:GetDistance() < range) then
			count = count +1;
			if not (isAnyOfMobsTargetingMe) and (me:GetId() == npc:GetTarget()) then
				isAnyOfMobsTargetingMe = true;
			end;
		end;
	end;
	isAnyOfMobsTargetingMe = true;
	return count;
end;
 
if  
    (HowManyMobsAround(700)>1) then
	Sleep(700);
	TargetNpc("Elder Keltir");
	Sleep(600);
	Command("/attack");
	repeat
	       until
	(GetTarget():IsAlikeDeath() == true);
	end;
	until false;



this should go.
note:
- i don't know if "TargetNpc("Elder Keltir");" is the same as "TargetNpc("Elder Keltir, xxxx(ID)");" --> if you use /recstart_npcid then target One mob then /recstop then open the file "npcid" from script folder in l2t, and write me here the file's txt, i can add the ID.

- this script will target npcs/mobs in range (i setted it "700" but you can change it as you want ------ i suggest you to use normal pve range options + this script, so your char will stay in a fixed area instead of move around until unknow location) and then attack them with normal /attack command. If skill use/melee settings works with these mobs, just delete this line :

    LUA Programming
Command("/attack");




let me know if it is working.
(This post was last modified: 08-15-2012 00:42 AM by TheBl4ckPhoenix.)
08-15-2012 00:14 AM
Find all posts by this user
vr005 Offline
Goblin Grave Robber
*

Posts: 17
Joined: Dec 2011
Reputation: 0
Version: 1.4.3.143
Post: #14
RE: Char no attack MOB Edit for Server

yes they all have the same name. im just a free user of tower and this is what i got in recstart_npcid:
--Premium Only: SCONFIG = L2TConfig.GetConfig();
--Premium Only: SCONFIG_FILE = GetDir() .. '\\scripts\\npcid.l2b';
--Premium Only: L2TConfig.SaveConfig(SCONFIG_FILE);
moveDistance = 30;

Target("Elder Keltir");
MoveTo(-82463, 150653, -3129, moveDistance);
--Premium Only: L2TConfig.LoadConfig(SCONFIG_FILE);


i dont know about leofurios but for me its not working (see attached file)


Attached File(s)
.bmp  Shot00004.bmp (Size: 379.9 KB / Downloads: 272)
(This post was last modified: 08-16-2012 14:37 PM by vr005.)
08-15-2012 03:51 AM
Find all posts by this user
leofurios Offline
Elpy
*

Posts: 4
Joined: Aug 2012
Reputation: 0
Version: 1.4.1.88
Post: #15
RE: Char no attack MOB Edit for Server

(08-14-2012 15:28 PM)TheBl4ckPhoenix Wrote:  Mmh
Without l2tower, how you are supposed to kill them? I mean by manual way how you kill them? Ctrl?

I do not use CTRL to attack, attack the mobs edited normal, equal mobs not edited.
08-15-2012 06:09 AM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,871
Joined: Mar 2012
Reputation: 601
Version: 1.4.3.143
Post: #16
RE: Char no attack MOB Edit for Server

Ok so the script should work, just delete "command("/attack")" and set normal pve stats
08-15-2012 09:28 AM
Find all posts by this user
TheBl4ckPhoenix Offline
(^.^)
****

Posts: 1,871
Joined: Mar 2012
Reputation: 601
Version: 1.4.3.143
Post: #17
RE: Char no attack MOB Edit for Server

You died? Answer and tell us if it is working good or not
08-16-2012 12:06 PM
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
Information New server L2TEON kolompar 1 2,547 04-05-2021 16:42 PM
Last Post: kolompar
Information new server H5 what1v3d0n3 0 1,915 03-19-2021 17:19 PM
Last Post: what1v3d0n3
Question Script for Attack NPC Mob canaldextiger 1 3,041 01-26-2019 19:55 PM
Last Post: fastkill22
  Server with bot allowed cvillian 5 11,517 10-07-2018 19:53 PM
Last Post: Theloverann
  bot will target but not attack. elvis8925 3 3,804 04-09-2018 00:19 AM
Last Post: elvis8925
  Hey guys, I found a server which ALLOW botting QueenOfDarkness 5 5,412 02-27-2018 07:09 AM
Last Post: ovioneson
  LF AutoAugment Script for Interlude Server lefterhs1994 0 2,591 01-15-2018 18:33 PM
Last Post: lefterhs1994
  please help me bot not attack. botasbotas123 0 2,154 12-12-2017 23:40 PM
Last Post: botasbotas123
  Help to Bot for L2rpg Peace 7x new server chusky1989 0 2,123 11-26-2017 18:33 PM
Last Post: chusky1989
  Problems with L2J -Guard new server La2Dream Su spoka 12 12,684 10-27-2017 20:57 PM
Last Post: chohocvo



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