Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

Непонятные задержки

тут можно задать вопрос по скриптингу
Post Reply
Drunk Iguana
Neophyte
Neophyte
Posts: 32
Joined: 09.10.2006 13:56
Contact:

Непонятные задержки

Post by Drunk Iguana »

Вощем макр на спаринг стоят двое пинают друг друга.
У мя во время хила почему то появдяються непонятные задержки хз вощем или я чето туплю или стелс вот кусок кода.

Code: Select all

	while (Life < 100) do
	begin
	                addtosystemjournal('Íà÷àëî õèëà heal1');
		canceltarget;
//		addtosystemjournal('heal2');
		usetype(Bint,0);
//		addtosystemjournal('heal3');
		waitfortarget(1000);
//		addtosystemjournal('heal4');
		targettoobject(self);
//		addtosystemjournal('heal5');
		wait(1000);
		addtosystemjournal('heal6');
		attack(Vrag);
		addtosystemjournal('heal7');
		usetype(Shit,0);
		addtosystemjournal('heal8');
		wait(600);
		addtosystemjournal('heal9');
		UseObject(Backpack);
		addtosystemjournal('heal10');
		wait(1800);
		addtosystemjournal('heal11');
                end;
Вот что выдает журнал

Code: Select all

4:26:17 [xxx]: Начало хила heal1
4:26:20 [xxx]: heal6
4:26:20 [xxx]: heal7
4:26:20 [xxx]: heal8
4:26:24 [xxx]: heal9
=>4:26:24 [xxx]: heal10
=>4:26:31 [xxx]: heal11
4:26:31 [xxx]: Начало хила heal1
4:26:33 [xxx]: heal6
4:26:33 [xxx]: heal7
4:26:33 [xxx]: heal8
4:26:34 [xxx]: heal9
=>4:26:34 [xxx]: heal10
=>4:26:36 [xxx]: heal11
в первом случаеш пауза 7 сек вов тором 2 как и положено. ПРичем задержка бывает от 2(типа норма) и до 15 дето
Post Reply