Results 1 to 9 of 9

Thread: Script is compiling, nothing is happening

  1. #1
    Join Date
    Jan 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Script is compiling, nothing is happening

    Simba Code:
    program Astralcrafter;
      {$i srl/srl.simba}
    var
       x, y, Banker: Integer;


      aFound: Extended;

    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name := '';
      Players[0].Pass := '';
      Players[0].Nick := '';
      Players[0].Active := True;
      Players[0].Pin := '';
      Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];

    end;

    procedure SetDTM;
    begin
      Banker := DTMFromString('mQwAAAHicY2ZgYGBjZGBgBGJuIA4B8gOhePHcBoZJC0sZmmszGJABIxIGAgDYfgXi');
    end;

    procedure FrDTM;
    begin

      FreeDTM(Banker);
    end;

    procedure ClickOn(PX:Integer; Click: Boolean);
    begin
      if FindDTMRotated(PX, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
      begin
        Mouse(x, y, 3, 3, Click);

      end;
    end;

    procedure Bank
    ;begin

      SetDTM;

      MouseSpeed := 18;
      MakeCompass('n');
      ClickOn(Banker, True);
      ChooseOption('Bank');
      FrDTM;
    End;


      Var
        z, v, PureEss: Integer;


    begin
      PureEss := DTMFromString('mlwAAAHicY2dgYOCBYlYGCJACYnGoGAgwI2EQ4ABiPiDOTk9nSE1MZIgOD2dwc3ZmmDFpEkNlSQmDjZUVAz7AiAdDAQCy+giK');
        if FindDTM(PureEss, z, v, MIX1, MIY1, MIX2, MIY2) then
       Mouse(x, y, 4, 4, False);
        ChooseOption('All');
        FrDTM;
    end.

  2. #2
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I assume you are not trying to use SMART? Because you are not activating/including it

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  3. #3
    Join Date
    Jan 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Just on my web browser for now ^_^

  4. #4
    Join Date
    Feb 2011
    Location
    Wisconsin
    Posts
    398
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    You have to include your procedures in your main loop

  5. #5
    Join Date
    Jan 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    How would I do that? Sorry, new to this whole scripting thing.

  6. #6
    Join Date
    Dec 2011
    Location
    Nj
    Posts
    2,341
    Mentioned
    1 Post(s)
    Quoted
    18 Post(s)

    Default

    You have to call your script in your main execution section.
    Also, use the window tool in simba to select your browser.

    For the basics of the basics of pascal, try my TuT. ||Photoshop Editing ||MapleResourceDung Script || Book a flight! BuySellTrip

  7. #7
    Join Date
    Jan 2012
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Simba Code:
    program Astralcrafter;
      {$i srl/srl.simba}
    var
      x, y, Banker: Integer;
      z, v, PureEss: Integer;

      aFound: Extended;

    procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name := '';
      Players[0].Pass := '';
      Players[0].Nick := '';
      Players[0].Active := True;
      Players[0].Pin := '';
      Players[0].BoxRewards := ['Xp', 'mote', 'ostume', 'oins', 'aphire', 'ssence'];

    end;

    procedure SetDTM;
    begin
      Banker := DTMFromString('mQwAAAHicY2ZgYGBjZGBgBGJuIA4B8gOhePHcBoZJC0sZmmszGJABIxIGAgDYfgXi');
    end;

    procedure FrDTM;
    begin

      FreeDTM(Banker);
    end;
    procedure FrDTM1;
    begin
      FreeDTM(PureEss);
    end;

    procedure ClickOn(PX:Integer; Click: Boolean);
    begin
      if FindDTMRotated(PX, x, y, MSX1, MSY1, MSX2, MSY2, -Pi, Pi, Pi/30, aFound) then
      begin
        Mouse(x, y, 3, 3, Click);

      end;
    end;

    begin

      ClearDebug;
      SetupSRL;
      DeclarePlayers;
      LoginPlayer;
      SetDTM;

      MouseSpeed := 18;
      MakeCompass('n');
      ClickOn(Banker, True);.
      ChooseOption('Bank');
      FrDTM;
      PureEss := DTMFromString('mlwAAAHicY2dgYOCBYlYGCJACYnGoGAgwI2EQ4ABiPiDOTk9nSE1MZIgOD2dwc3ZmmDFpEkNlSQmDjZUVAz7AiAdDAQCy+giK');
      if FindDTM(PureEss, z, v, MIX1, MIY1, MIX2, MIY2) then
        begin Mouse(x, y, 4, 4, False);
          ChooseOption('All');

        end;
        FrDTM1;
    end.
    Put everything in main loop and still not doing anything?

  8. #8
    Join Date
    Oct 2010
    Posts
    1,255
    Mentioned
    0 Post(s)
    Quoted
    15 Post(s)

    Default

    You'd probably get more help if you weren't posting in the section "Tutorials for Beginners"

    Throw in some Writeln() and TerminateScripts in there randomly, that'll help.
    I'm back

  9. #9
    Join Date
    Feb 2012
    Location
    DON'T PM ME ASKING FOR STUFF
    Posts
    2,170
    Mentioned
    38 Post(s)
    Quoted
    423 Post(s)

    Default

    Quote Originally Posted by smurg View Post
    You'd probably get more help if you weren't posting in the section "Tutorials for Beginners"

    Throw in some Writeln() and TerminateScripts in there randomly, that'll help.
    is this a joke? :P

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •