Page 1 of 1

script crashes stealth after 3+ hours

Posted: 22.05.2018 23:24
by themaskedwolf
this code seems to crash stealth after some time. it works perfectly till sometime after i go to sleep basicly a auto party invite.

Code: Select all

Program New;
var
i,k: Integer;
plist:array [1..12] of Integer;
flaginparty: Boolean;

begin
  plist[1]:=1477405;     
  plist[2]:=845656;     
  plist[3]:=472288;      
  plist[4]:=424031;      
  plist[5]:=1437837;    
  plist[6]:=1743999;   
  plist[7]:=2701064;    
  plist[8]:=1157204;    
  plist[9]:=2047781;    
  plist[10]:=1324970;    
  plist[11]:=731296;     
  plist[12]:=5755626;    
  while true do
  begin
    for i:=1 to 12 do
    begin

      if (IsObjectExists(plist[i])) and (GetDistance(plist[i])<7) then
      begin
        if InParty() then
        begin
          flaginparty:=false;
          for k:=0 to PartyMembersList.Count-1 do
          begin
            if IntToStr(plist[i])=PartyMembersList[k] then 
            begin
                flaginparty:=true;
            end;
          end;
          if flaginparty=false then
          begin
            InviteToParty(plist[i]); 
            AddToSystemJournal('Inviting: ' + GetName(plist[i]));
            wait(1000)
          end;
        end
        else
        begin
          InviteToParty(plist[i]); 
          AddToSystemJournal('Inviting: ' + GetName(plist[i]));
          wait(1000)
        end;
      end;
      wait(10);
    end;

     if(not Hidden) then
  begin
    UseSkill('Hiding');
  end;
  end; 
end.

Re: script crashes stealth after 3+ hours

Posted: 11.06.2018 5:19
by themaskedwolf
no one has any ideas? :(

Re: script crashes stealth after 3+ hours

Posted: 14.06.2018 21:03
by GeeZeR
the code looks ok, try to gather some info (Settings -> Logs -> logs checkboxes) and send the logfiles to Vizit0r after crashes

Re: script crashes stealth after 3+ hours

Posted: 06.07.2018 7:02
by Vizit0r
awaiting for char(s?) from author to test it on my dev PC.