Page 1 of 1

Compiling problem (Stealth 3.2.4)

Posted: 22.11.2010 19:17
by canabisman
Hi all, im having a problem to 'play' my macros in stealth. well, in this new version i press the play button and gives this message

14:11:12:140 [LW]: Error Include: File Not Exist
14:11:12:140 [LW]: C:\Documents and Settings\dalva\Meus documentos\ULTIMA ONLINE\Stealth 3.2.4\Scripts\Include\all.inc


but if i use this macro in other version from stealth it works ok, why? can someone help me?

Posted: 22.11.2010 19:40
by canabisman
i almost forgot..

14:38:31:390 [LW]: Compiler: [Error] (TEST SCRIPT.SC at 22:6): Unknown identifier 'CheckSave'
14:38:31:390 [LW]: Compiling failed
14:38:31:406 [LW]: Script TEST SCRIPT.SC stopped successfuly

Posted: 22.11.2010 19:55
by CFA
C:\Documents and Settings\dalva\Meus documentos\ULTIMA ONLINE\Stealth 3.2.4\Scripts\Include\all.inc - this file really exists? if not see first post here

Posted: 22.11.2010 21:08
by canabisman
i discovered that checksave doesnt work anymore, it was changed to another one?

Posted: 23.11.2010 6:40
by CFA
CheckSave not Stealth function, it's defined in include. See my link. Or 'doesnt work anymore' - work incorrect?

Posted: 23.11.2010 6:52
by Fenix
Some servers don't send message "Saving World State". Stealth have built-in method:

Code: Select all

CheckLag(TimeToWait: Cardinal);
Try it.

Posted: 24.11.2010 17:43
by canabisman
Fenix wrote:Some servers don't send message "Saving World State". Stealth have built-in method:

Code: Select all

CheckLag(TimeToWait: Cardinal);
Try it.
so its something like:

Code: Select all

procedure BLABLABLABLA;
  begin
   UseObject(backpack);
   If (FindType(aaaaa, backpack) <> 0) then
    begin
     CheckLag(10000);
     MoveItem(Finditem, 0, chester, 0, 0, 0);
    end 
  end;
right?

Posted: 25.11.2010 6:48
by Fenix
Beеter like this:

Code: Select all

procedure BLABLABLABLA;
begin
  UseObject(backpack);
  CheckLag(10000);
  Wait(700);
  If (FindType(aaaaa, backpack) <> 0) then
  begin
    MoveItem(Finditem, 0, chester, 0, 0, 0);
    CheckLag(10000);
    Wait(700);
   end;
end;