SetAutoBuyDelay
Sets the delay (in milliseconds) between automatic buy operations triggered by AutoBuy / AutoBuyEx.
Value — delay in milliseconds.
When the auto-buy system processes vendor buy lists, this delay is applied between individual purchase operations to avoid server-side flood protection.
Use GetAutoBuyDelay to read the current value.
Устанавливает задержку (в миллисекундах) между автоматическими покупками, запускаемыми AutoBuy / AutoBuyEx.
Value — задержка в миллисекундах.
Когда система автопокупки обрабатывает списки покупок у NPC-торговца, эта задержка применяется между отдельными операциями покупки для предотвращения flood-защиты сервера.
Используйте GetAutoBuyDelay для чтения текущего значения.
procedure SetAutoBuyDelay(Value: Word);
def SetAutoBuyDelay(Value: int) -> None: ...
begin
SetAutoBuyDelay(500);
AddToSystemJournal('AutoBuy delay: ' + IntToStr(GetAutoBuyDelay) + 'ms');
end.
SetAutoBuyDelay(500)
AddToSystemJournal(f'AutoBuy delay: {GetAutoBuyDelay()}ms')