Yoko

All sides of Injection
It is currently 2024-03-28 13:19:41

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Сбор ID чаров
PostPosted: 2013-01-08 21:18:10 
Offline
User avatar

Joined: 2012-12-31 00:17:09
Posts: 93
Помнится Визер писал скрипт, который запускаешь и он собирает ID всех чаров, что увидит. Скрипт не берет ID тот, которы уже у него есть в отдельной файле. Так оставить на пару суток чара и у тя все ид есть ) Есть у кого такой скрипт? Поиском не нашел

зы: ну вот, не в том разделе создал


Top
   
PostPosted: 2013-01-08 23:02:52 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Сильно не в том.
Он был на стелсе.
Code:
{$Include 'WriteToFile.inc'} 

var
 counter : Integer ;
 Tmp,FileList : TStringList;
 a : String ;

Begin
   FileList := TStringList.Create();
   Tmp := TStringList.Create();
   FileList.LoadFromFile('Chars.log');
   For counter:=0 To (FileList.count-1) Do
   Begin
      StrBreakApart(FileList.Strings[counter], '   ', Tmp);
      Ignore(StrToInt(Tmp.Strings[0]));
   End ;
   FileList.Free;
   Tmp.Free;

   Repeat
      FindDistance:=15;
      FindVertical:=50;
      If FindType($0190,$FFFFFFFF)>0 Then
      Begin
         ClickOnObject(FindItem);
         Wait(1000);
         a:=GetName(FindItem);
         If a<>'' Then Begin WriteToFile('Chars.log',IntToStr(FindItem)+Replicate('   ',1-(Length(IntToStr(FindItem))/8))+'   [M]   '+a+Replicate('   ',3-(Length(a)/8))+'   | ID: '+IntToHex(FindItem,8)+ #13#10); Ignore(FindItem); End ;
      End ;
      If FindType($0191,$FFFFFFFF)>0 Then
      Begin
         ClickOnObject(FindItem);
         Wait(1000);
         a:=GetName(FindItem);
         If a<>'' Then Begin WriteToFile('Chars.log',IntToStr(FindItem)+Replicate('   ',1-(Length(IntToStr(FindItem))/8))+'   [W]   '+a+Replicate('   ',3-(Length(a)/8))+'   | ID: '+IntToHex(FindItem,8)+ #13#10); Ignore(FindItem); End ;
      End ;
      Wait(333);
   Until False;
End .

хз без инклюды будет ли работать.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
PostPosted: 2013-01-09 16:52:03 
Offline
User avatar

Joined: 2012-12-31 00:17:09
Posts: 93
где взять инклюду? :oops:


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited