[Bug] InteractNPC and InteractSpecificNPC

Post Reply
Orion33
Contributor
Contributor
Posts: 653
Joined: Sat Jan 07, 2017 4:00 pm

[Bug] InteractNPC and InteractSpecificNPC

Post by Orion33 » Sat Jan 12, 2019 11:01 am

Need to increase possible interact distance. This action is constantly interrupted in the quests of the new campaign. For example, when rescuing a nobleman and interacting with the beholder in the same incarnation. In the first case, the barrier is a cell, in the second - collision objects are too large.

Elephanteau
Frenetic botter
Frenetic botter
Posts: 91
Joined: Wed May 30, 2018 6:10 am

Re: [Bug] InteractNPC and InteractSpecificNPC

Post by Elephanteau » Sun Jan 13, 2019 4:12 am

+1
May the force be with you.

michaelprog
Contributor
Contributor
Posts: 705
Joined: Wed Aug 31, 2016 7:32 am

Re: [Bug] InteractNPC and InteractSpecificNPC

Post by michaelprog » Sun Jan 13, 2019 12:45 pm

+5
This is an insurmountable obstacle in some case.

User avatar
Jarod46
Administrator
Administrator
Posts: 1761
Joined: Fri Aug 13, 2010 12:31 pm

Re: [Bug] InteractNPC and InteractSpecificNPC

Post by Jarod46 » Thu Jan 17, 2019 8:04 am

I don't understand, you are talking about npcs which are moving while interaction ?
Only account support via private messages
Low English level, sorry

Orion33
Contributor
Contributor
Posts: 653
Joined: Sat Jan 07, 2017 4:00 pm

Re: [Bug] InteractNPC and InteractSpecificNPC

Post by Orion33 » Thu Jan 17, 2019 9:09 am

No, about standing behind the barrier, when there is no opportunity to come close. After interaction, the bot tries to get closer and the action is interrupted and begins anew.

freitag
Frenetic botter
Frenetic botter
Posts: 62
Joined: Mon Sep 19, 2016 10:09 am

Re: [Bug] InteractNPC and InteractSpecificNPC

Post by freitag » Thu Jan 17, 2019 3:32 pm

Orion33 wrote:
Thu Jan 17, 2019 9:09 am
No, about standing behind the barrier, when there is no opportunity to come close. After interaction, the bot tries to get closer and the action is interrupted and begins anew.
you can notice it when collecting map chests in omu for example. The bot will stand on top of the chest because it has the possibility to do so.
but if there is some obstacle, or boundingboxes are too big, the bot can't reach the provided xyz.

just some lazy visualisation:

X= free space, can move on it
O= InteractNode/Npc
P= Player
H=Obstacle/Boundingbox

works:

XXX
XOX < P
XXX

P can move to exact O.

sometimes "bugs":

XHHHX
XHOHX < P
XHHHX

P can't move to exact O because of H. Bot tries to reach O but it isn't possible.

The problem is that interact uses exact object position. The player has an interact radius and this one seems to be ignored.

so in numbers:

Object: X=1.000, Y=1.000, Z=0
InteractX will move Player to X=1.000, Y=1.000, Z=0 and then interact with the object.

Better would be:
Object: X=1.000, Y=1.000, Z=0
PlayerInteractradius: 0.5
InteractX will move Player to X=1.000+-0.5, Y=1.000+-0.5, Z=0 and then interact with the object. Results in Player not standing exactly on Object: X=1.000, Y=1.000, Z=0 but still can interact.

Post Reply

Who is online

Users browsing this forum: Orion33 and 25 guests