Я сталкнулся с новой проблемкой у мня скрипт заработал но когда он начинает точить то сразу выкидывает с игры и пишет что гм будет оповещен
Добавлено через 2 минуты
ууу все я разабрался всем спасибо за помощ примногом блогодарен
Добавлено через 3 минуты
Код:
nik='Ник';
Enchant=1;
var
UseItem, SelectItem, EnchantItem: string;
Count, CurrentEnch, key, ItemID: integer;
Timer01: TTimer;
procedure Init;
begin
Timer01:=TTimer.Create(nil);
Timer01.OnTimer:=@OnTimer01;
Timer01.enabled:=False;
Timer01.interval:=2500;
end;
procedure OnTimer01(Sender: TObject);
begin
case key of
1: begin
buf:=UseItem;
SendToServerEx(nik);
buf:=SelectItem;
SendToServerEx(nik);
end;
2: begin
buf:=EnchantItem;
SendToServerEx(nik);
end;
end;
end;
procedure Free;
begin
Timer01.free;
count:=0;
CurrentEnch:=0;
end;
begin
if FromServer and (pck[1]=#$87) then case ReadD(2) of
0: begin
CurrentEnch:=CurrentEnch+1;
if CurrentEnch=Enchant then Timer01.enabled:=true;
end;
3: CurrentEnch:=0;
end;
if FromServer and (pck[1]=#$FE) then
if ReadD(4)=ItemID then key:=2 else key:=1;
if FromClient and (pck[1]=#$19) then UseItem:=pck;
if FromClient and (pck[1]=#$D0) then
begin
ItemID:=ReadD(4);
SelectItem:=pck;
end;
if FromClient and (pck[1]=#$5F) then EnchantItem:=pck;
if FromClient and (pck[1]+pck[2]=#$56#$0C) then
begin
pck:='';
Timer01.enabled:=not(Timer01.enabled);
end;
end.
вот пакет для грация финал что бы вас не выкидывало с игры
Добавлено через 31 минуту
У меня такая проблемка какую бы я не ставил скорость заточки лн поточит минут 5 и потом выкидывает с игры и пишет что гм будует оповещен не кто не знает как можно это исправить ?