[Idle/Unsolved]Player trigger ignoring distance?

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Message
Author
kimmylee
Noob
Noob
Posts: 19
Joined: 02 Jun 2010, 08:18
Noob?: Yes

[Idle/Unsolved]Player trigger ignoring distance?

#1 Post by kimmylee »

hi trying to write a macro with the player trigger:

player ("<player name>" | /<regexp>/) [, <distance> ]
Triggers when <player name> is on screen and not more than <distance> blocks away.
Multiple lines are treated as AND conditions.



but it seems to be intermediately working like

player "example" 7

it should activate when the said player is 7 cells aways, but sometimes it works and alot of times or most of the time it doesnt :confused:

if a player cast liek a spell or soemthing within range it works, but if they walk by and stop it does nothing

what can be wrong? or is there a different trigger that works better to replace this one? thanks

lensam
Noob
Noob
Posts: 17
Joined: 23 Feb 2011, 23:35
Noob?: Yes

Re: player trigger intermediat??

#2 Post by lensam »

if you want to teleport when player in your sight; try use config.txt
teleportAuto_allPlayers 1

lensam
Noob
Noob
Posts: 17
Joined: 23 Feb 2011, 23:35
Noob?: Yes

Re: player trigger intermediat??

#3 Post by lensam »

Try ","
Player "xxxx",7

DrKN
Developers
Developers
Posts: 79
Joined: 06 Oct 2010, 09:22
Noob?: No

Re: player trigger intermediat??

#4 Post by DrKN »

It only trigger once the player appear in your sight.

kimmylee
Noob
Noob
Posts: 19
Joined: 02 Jun 2010, 08:18
Noob?: Yes

Re: player trigger intermediat??

#5 Post by kimmylee »

The player would be already on screen for more than a second sometimes 2-3 sec before activating

Less than 4 cells away

Could kore be not refreshing player list fast enough?

EternalHarvest
Developers
Developers
Posts: 1798
Joined: 05 Dec 2008, 05:42
Noob?: Yes

Re: player trigger intermediat??

#6 Post by EternalHarvest »

If there's still some delay before receiving player's name, it can affect anything that depends on names.

kimmylee
Noob
Noob
Posts: 19
Joined: 02 Jun 2010, 08:18
Noob?: Yes

Re: player trigger intermediat??

#7 Post by kimmylee »

EternalHarvest wrote:If there's still some delay before receiving player's name, it can affect anything that depends on names.
Is there a way to change how often they scan?

Post Reply