Is there a way to resolve " Could not select the Specialty Trader NPC" without python script?

Hello, I’m using scripts for trading due to reloggin rewards resons, but sometimes bot gets stuck constantly saying:

Conditions: Executing script [Ht-Jg.txt]
Script: Walking to 149, 87
Script: Lag detected, waiting
Trade: Could not select the Specialty Trader NPC

The char is very in front of the NPC, and simply relogging resolves the issue. But I have to do it manually.
So I’d like to know that if I’ll have to write a python script that dcs the char when this message appears or is there a way to resolve this in vanilla bot.

Which server and what is the name of it?

It’s a private server called Chillout-Silkroad

What is the name of the NPC?