Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

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 для чтения текущего значения.

Pascal

procedure SetAutoBuyDelay(Value: Word);

Python

def SetAutoBuyDelay(Value: int) -> None: ...

Pascal Example

begin
  SetAutoBuyDelay(500);
  AddToSystemJournal('AutoBuy delay: ' + IntToStr(GetAutoBuyDelay) + 'ms');
end.

Python Example

SetAutoBuyDelay(500)
AddToSystemJournal(f'AutoBuy delay: {GetAutoBuyDelay()}ms')

See Also

GetAutoBuyDelay, AutoBuy, AutoBuyEx