Help - Dropping Target

Philippines

Moderators: waferbaron, Moderators

Forum rules
This server is currently not maintained and tables folder (including connection info) is outdated. Read the wiki for instructions on how to update those information. Please contribute your updated info. Contact Cozzie to join the team as a regular server supporter.
Pornograffitti
Noob
Noob
Posts: 18
Joined: 02 Apr 2011, 07:22
Noob?: No

Help - Dropping Target

#1 Post by Pornograffitti »

So there's a bug in our server New Iris that you can see monsters that aren't really there, either its dead or its far away just like a body relocation bug where you can still see and target it. It happens to both client and bot. My problem is that my character is attacking a non-existent monster and gets mobbed but doesn't do anything for 12 sec until it drops the target and attacks the rest in the mob. And also it tries to target monsters from behind a wall at juperos. Now I tried to work around this through this:

ai_attack_giveup 3
attackCheckLOS 1
attackChangeTarget 1

unfortunately only attackCheckLOS somewhat work, the rest does not work at all. It still takes 12 sec before dropping a target and does not change target to the closer aggressive mob.

OT:
my priest slave disconnect every time i enter midcamp and man_fild thru an npc. Im running multiple bots from the same start.exe and i use the orig start.exe or my main character but it doesn't disconnect.

ps.
I use the latest svn of kore, downloaded 2 days ago

Can someone help?
krisma
Human
Human
Posts: 36
Joined: 05 Mar 2009, 07:47
Noob?: Yes

Re: Help - Dropping Target

#2 Post by krisma »

c4c1n6kr3m1
The Way Of Human
The Way Of Human
Posts: 150
Joined: 24 Mar 2012, 04:13
Noob?: Yes

Re: Help - Dropping Target

#3 Post by c4c1n6kr3m1 »

seems ai_attack_giveup timeout can not solve cause i used mon_control 2 0 0
this is my macro, it will relog if double "Can't reach or damage target"

automacro nostuck1 {
console /Can't reach or damage target/i
aggressives < 1
macro_delay 0.01
exclusive 1
run-once 1
overrideAI 1
orphan reregister
priority 1
call {
# $stucked = @random ("east 3", "north 3", "south 3", "west 3")
do conf attackAuto 0
# do $stucked

do conf attackCheckLOS 1
do conf attackAuto 2
release cestuck
release nostuck2
}
timeout 30
}
automacro cestuck {
console /(You attack Monster)|(You use Arrow Storm)|(You use Double Strafing)/i
macro_delay 0.01
exclusive 1
run-once 1
overrideAI 1
orphan reregister
priority 2
call {
do conf attackCheckLOS 0
release nostuck1
lock nostuck2
}
timeout 30
}
automacro nostuck2 {
console /Can't reach or damage target/i
macro_delay 0.01
exclusive 1
run-once 1
overrideAI 1
orphan reregister
priority 3
call {
do conf attackCheckLOS 0
release nostuck1
lock cestuck
do relog 6
do eval AI::clear
}
timeout 30
}

about @random part, i want to use it on greatest general map, but never test with xkore.