Page 2 of 5 FirstFirst 1234 ... LastLast
Results 26 to 50 of 121

Thread: How To Compile Smart.

  1. #26
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Arepirpi View Post
    So after doing this I can run scripts without running simba as administrator? I tried and when I try to directly open a script.simba and run, Smart wont run but if I first open simba.exe and open my script, smart will run. Am I doing anything wrong?
    Nope that's correct. I'm thinking of a better way atm to make smart run from any directory. I'll ask benland if I can pass it different parameters. Maybe something like SmartSpawnClient(PluginsPath,......); etc..
    I am Ggzz..
    Hackintosher

  2. #27
    Join Date
    Mar 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you Brandom, you have been very helpful to this community...

  3. #28
    Join Date
    Oct 2007
    Location
    If (Online) then Loc := ('On comp') else Loc := ('Somewhere else!');
    Posts
    2,020
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    am i missing somthing follow exact instruction the folder"s" is smart on desktop but says no such file :/


  4. #29
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Quote Originally Posted by Scaper View Post
    am i missing somthing follow exact instruction the folder"s" is smart on desktop but says no such file :/
    Try / instead of \
    Working on: Tithe Farmer

  5. #30
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by masterBB View Post
    Try / instead of \
    This..

    @Scaper \ is an escape character. Inorder to represent a back-slash \ in a path you need two..

    C:\\Users\\Whatever\\desktop\\smart

    C:/Users/Whatever/Desktop/Smart.
    I am Ggzz..
    Hackintosher

  6. #31
    Join Date
    Oct 2007
    Location
    If (Online) then Loc := ('On comp') else Loc := ('Somewhere else!');
    Posts
    2,020
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thanks guys I manged I think I downloaded your smart plugins and added them and everything is fine

  7. #32
    Join Date
    Jul 2011
    Location
    Boston, Massachusetts
    Posts
    140
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by rewopelet View Post

    http://imgur.com/rR7QC

    i get 1 error and 2 warning
    error -build/java/java/awt/canvas.class
    I'm getting this too. Idk why.

    Edit: Use JDK 6 33

    Got the files to compile...

    SRL Compiled in 0 msec
    ** Fatal Error: Pairing Clients; Terminating Script **
    Successfully executed.
    Last edited by PotentPK; 07-27-2012 at 09:55 AM.
    "The Potent Effect."

  8. #33
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    I got the "Could not Spawn Client" error.
    A friend recommended this thread but i am having trouble following it.
    My makefile already looks like the one in the pic and the files from Github don't have smart/remote...
    any help please?
    Crit
    I want to make a working script. Lets hope i can be bothered anytime soon

  9. #34
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Can't get it to work.

    I download the SMART file (from your link) and it is called BenLand100-SMART-v7.1-28-g8d5ba90. I have the same problem as Scaper, however I'm using the correct slashes.

    Within that folder there is another folder called BenLand100-SMART-8d5ba90.

    Which folder do I link it to? Main or subfolder?

  10. #35
    Join Date
    Aug 2007
    Location
    England
    Posts
    1,038
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    Can't get it to work.

    I download the SMART file (from your link) and it is called BenLand100-SMART-v7.1-28-g8d5ba90. I have the same problem as Scaper, however I'm using the correct slashes.

    Within that folder there is another folder called BenLand100-SMART-8d5ba90.

    Which folder do I link it to? Main or subfolder?
    I would say the sub-folder. Just make sure your pointing to the folder with the make file.
    Today is the first day of the rest of your life

  11. #36
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by Jakkle View Post
    I would say the sub-folder. Just make sure your pointing to the folder with the make file.
    Still doesn't seem to be working. Could it be that there is a period (.) in my username? Or does that have no effect?


    EDIT: I'm gonna re - download SMART however the folder looks nothing like Brandons...
    Last edited by Abu; 08-30-2012 at 10:52 PM.

  12. #37
    Join Date
    Aug 2007
    Location
    England
    Posts
    1,038
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    Still doesn't seem to be working. Could it be that there is a period (.) in my username? Or does that have no effect?


    EDIT: I'm gonna re - download SMART however the folder looks nothing like Brandons...
    Did you get it sorted in the end or are you still having this problem ?

    I just downloaded the SMART 8.0 ZIP file from Github, extracted it to my desktop, then renamed the folder to SMART.
    After that I did as Brandon said with setting the path after installing mingw.
    Then opened msys and directed it to the SMART folder on my desktop making sure the folder I was pointing to had the make file within it. I then entered make windows and it compiled it for me.
    If you do that for both make files it should work. Oh and remember to edit the make files to what Brandon has showed in the OP.
    Sorry for the late reply
    Last edited by Jakkle; 09-07-2012 at 03:04 PM.
    Today is the first day of the rest of your life

  13. #38
    Join Date
    Aug 2012
    Location
    Santa Cruz, CA
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Very confused, slightly frustrated. I've been using simba problem free for months, and then bam, I get the "smart cannot spawn clients error". I compiled smart myself following this wonderful guide, placed it in the plugins folder, but the error won't go away. I'm using Smart v8.0, Simba 991, everything's updated, and I run simba as administrator, then opening the script. Does anyone have a clue what's going on?
    thanks!

  14. #39
    Join Date
    Aug 2009
    Location
    Nova Scotia, Canada
    Posts
    604
    Mentioned
    0 Post(s)
    Quoted
    56 Post(s)

    Default

    Quote Originally Posted by rewopelet View Post

    http://imgur.com/rR7QC

    i get 1 error and 2 warning
    error -build/java/java/awt/canvas.class
    Did you ever get this resolved, and if so: how? I get the exact same output/error as you.
    Never ever approach a computer saying or even thinking "I will just do this quickly".

  15. #40
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Bixby Sayz View Post
    Did you ever get this resolved, and if so: how? I get the exact same output/error as you.

    Do not compile it with Java 7. Java 6 is required to compile Smart.
    I am Ggzz..
    Hackintosher

  16. #41
    Join Date
    Aug 2009
    Location
    Nova Scotia, Canada
    Posts
    604
    Mentioned
    0 Post(s)
    Quoted
    56 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Do not compile it with Java 7. Java 6 is required to compile Smart.
    Figured this was the case. Occurred to me after I posted.
    Never ever approach a computer saying or even thinking "I will just do this quickly".

  17. #42
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Edit: Says compiled fine, I replace plugins, no changes. e.e
    Last edited by NKN; 12-23-2012 at 06:17 AM.

  18. #43
    Join Date
    Apr 2012
    Posts
    113
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    is there something else besides minGW we can use? ive tried installing a few times now and it fails over n over =/ its not able to dl all req files so and also i tried b4 i realized and was unable to find the makefile? in simba folder and smart ?

  19. #44
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by unknownrpg View Post
    is there something else besides minGW we can use? ive tried installing a few times now and it fails over n over =/ its not able to dl all req files so and also i tried b4 i realized and was unable to find the makefile? in simba folder and smart ?

    Just saw your visitor message on my profile. Is there a particular reason you're compiling smart? This tutorial was made long before Smart 8 was officially out. It was made for Smart 8 because of the problems users had with Spawning clients, but that's all fixed now..

    I don't know of anything half as good as Mingw on Windows.


    I'm not sure what you're doing wrong but this tutorial still works. There's only 2 DLL's you get when you compile Smart and they are in the dist folder. You drag them to Simba's plugin folder.
    I am Ggzz..
    Hackintosher

  20. #45
    Join Date
    Apr 2012
    Posts
    113
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    Just saw your visitor message on my profile. Is there a particular reason you're compiling smart? This tutorial was made long before Smart 8 was officially out. It was made for Smart 8 because of the problems users had with Spawning clients, but that's all fixed now..

    I don't know of anything half as good as Mingw on Windows.


    I'm not sure what you're doing wrong but this tutorial still works. There's only 2 DLL's you get when you compile Smart and they are in the dist folder. You drag them to Simba's plugin folder.
    i was told maybe some of my functions were not working properly because i didnt have smart 8 but if smart is litterally just for spawning clients do you by chance know of any other reason off the top of your head that certain functions in my simba would not be working with simba installed correctly? are there additional items i need to add into my simba folder to make functions like chooseoption work? its not that they do something wrong they even compile its just when i run the scripts i try to put them in it wont do it its like the line of code was blank?

    for example.

    Simba Code:
    program SupaHeata;
      {$I SRL/SRL.SIMBA}

    var
      x,y,IronOre,Coal,Bag: Integer;

    begin

      SetupSRL;
      ActivateClient;

      Coal := DTMFromString('mlwAAAHicY2dgYBAAYkYGCOAEYlEglgZiBSBmBWJmIOYFYiEozQFVq6ggwYALcOHBjHgwFAAAgcgBVA==');

      if FindDTM(Coal, x, y, MBX1, MBY1, MBX2, MBY2) then
      begin
        WriteLn('Yes! we have Coal!');
        MMouse(x, y, 5, 5);
        if IsUpText('Coal') then
        Wait(RandomRange(400, 500));
        Mouse(x, y, 0, 0, false);
        WaitOption('on', 500)
        Wait(RandomRange(400, 500));
        FreeDTM(Coal);
      end;
    end.

    here waitoption does nothing on my simba it just sits there and says script completed, so i have had to do mmouse to wherever the withdrawl option i want is and add a low tolerance so it doesnt misclick however trying to hide that its a bot. like this

    Simba Code:
    program SupaHeata;
      {$I SRL/SRL.SIMBA}

    var
      x,y,IronOre,Coal,Bag: Integer;

    procedure Ore;

    begin

      SetupSRL;
      ActivateClient;

      Coal := DTMFromString('m6wAAAHic42ZgYBAAYkkgloZiUagYJxTDABMQswAxMxCzAzE3EHNB1QpC+TxAzApVr6giwUALwEgCRgIAAJ8BbA==');
      Bag := DTMFromString('m1gAAAHic42JgYOAEYi4gFgBiESjmA2J2BghgBGJWIBaE8mFqxYFYGoolgJgfatac0iAGYoAkUaog9hODEQAAd2ACnw==');
      IronOre := DTMFromString('m6wAAAHic42ZgYFjByMAwC4hnQPFCKAaJrwXizVC8EYjvANXfAOK7QPwEiB8D8UsgfgHEj6D8+0B8G4gNZQQYaAEYScBIAABw+hFH');

      begin
        if FindDTM(Coal, x, y, MBX1, MBY1, MBX2, MBY2) then
        WriteLn('Yes! we have Coal!');
        MMouse(x, y, 5, 5);
        if IsUpText('Coal') then
        Wait(RandomRange(400, 500));
        Mouse(x, y, 0, 0, false);
        Wait(RandomRange(400, 500));
        Mouse(447, 235, 17, 3, true);
      end;

      begin
        if FindDTM(Bag, x, y, MIX1, MIY1, MIX2, MIY2) then
        WriteLn('Dungeoneering blows!');
        MMouse(x, y, 5, 5);
        if IsUpText('bag') then
        Wait(RandomRange(400, 500));
        Mouse(x, y, 0, 0, False);
        Wait(RandomRange(400, 500));
        Mouse(621, 305, 17, 3, true);
        FreeDTM(Bag);
      end;

      begin
        if FindDTM(IronOre, x, y, MBX1, MBY1, MBX2, MBY2) then
        WriteLn('Yes! we have iron ore!');
        MMouse(x, y, 5, 5);
        if IsUpText('Iron') then
        Wait(RandomRange(400, 500));
        Mouse(x, y, 0, 0, False);
        Wait(RandomRange(400, 500));
        Mouse(400, 210, 17, 3, true);
        FreeDTM(IronOre);
      end;

      begin
        if FindDTM(Coal, x, y, MBX1, MBY1, MBX2, MBY2) then
        WriteLn('Yes! we have Coal!');
        MMouse(x, y, 5, 5);
        if IsUpText('Coal') then
        Wait(RandomRange(400, 500));
        Mouse(x, y, 0, 0, false);
        Wait(RandomRange(400, 500));
        Mouse(447, 235, 17, 3, true);
        FreeDTM(Coal);
        Mouse(488, 55, 1, 1, true)
        Wait(RandomRange(1000, 1500));
      end;
    end;


    procedure SupaHeata;

    begin

      IronOre := DTMFromString('m6wAAAHic42ZgYFjByMAwC4hnQPFCKAaJrwXizVC8EYjvANXfAOK7QPwEiB8D8UsgfgHEj6D8+0B8G4gNZQQYaAEYScBIAABw+hFH');

      if FindDTM(IronOre, x, y, MIX1, MIY1, MIX2, MIY2) then
      WriteLn('Im busy Supaheatin');
      MMouse(x, y, 0, 0);
      SendKeys('1', 100, 100);
      Mouse(x, y, 0, 0, true);
      Wait(RandomRange(1200, 1250));
    end;

    procedure CheckInv;

    begin
      if FindDTM(IronOre, x, y, MIX1, MIY1, MIX2, MIY2) then
      repeat SupaHeata;
      until (FindDTM(IronOre, x, y, MIX1, MIY1, MIX2, MIY2)=false);
      FreeDTM(IronOre);
    end;










    begin
      Ore;
      SupaHeata;
      CheckInv;
    end.

    sry to post so much on off topic thread but anyhelp would be much appreciated thx i have unistalled and reinstalled several times to the specs on the thread here http://villavu.com/forum/showthread.php?t=47714
    so i dont know if im just dumb or what?

  21. #46
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Well you can try something like this.. Also, your script does not call Smart so I'm not sure what you mean by "functions were not working properly because i didnt have smart 8".

    I'd like to know who told you that.. LOL.

    Try this:

    Simba Code:
    {$I SRL/SRL.SIMBA}

    Function ClickMyDTM(DTM: Integer; Uptexts: TStringArray): Boolean;
    var
      X, Y: Integer;
    Begin
      Result := False;

      If WaitDTMEx(DTM, X, Y, MBX1, MBY1, MBX2, MBY2, 50, 500) Then
      Begin
        WriteLn('DTM Found!');
        MMouse(X, Y, 5, 5);

        If WaitUpTextMulti(Uptexts, 600) Then
        Begin
          ClickMouse2(MOUSE_RIGHT);
          Result := WaitOptionMulti(['On', 'on'], 600);
        End;
      End;
    End;

    var
      Coal: Integer;

    Begin
      SetupSRL;
      ActivateClient;

      Coal := DTMFromString('mlwAAAHicY2dgYBAAYkYGCOAEYlEglgZiBSBmBWJmIOYFYiEozQFVq6ggwYALcOHBjHgwFAAAgcgBVA==');
      If (ClickMyDTM(Coal, ['Coal', 'oal', 'coal', 'coa'])) Then
        Writeln('Clicked The DTM');

      FreeDTM(Coal);
    End.
    I am Ggzz..
    Hackintosher

  22. #47
    Join Date
    Nov 2012
    Location
    USA
    Posts
    153
    Mentioned
    1 Post(s)
    Quoted
    33 Post(s)

    Default

    Well done, I thought about making a bunch of different tutorials for compiling everything Simba, SRL, SMART etc ...

    Hopefully this encourages people to get involved in programming SRL/Simba/SMART/Lape and maybe we see a stable Linux version soon

  23. #48
    Join Date
    Apr 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Great guide, i did few changes on Smart8.0.

  24. #49
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    Finally managed to compile SMART 8 or atleast the newest version on Github. Problem was that I was using JDK 7 first. Installed JDK 6 but 7 was on my variables path. So I removed JDK 7 on path and now that only 6 was on it it compiled succesfully. Now to edit some stuff myself for fun

    Script source code available here: Github

  25. #50
    Join Date
    Mar 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by J J View Post
    Finally managed to compile SMART 8 or atleast the newest version on Github. Problem was that I was using JDK 7 first. Installed JDK 6 but 7 was on my variables path. So I removed JDK 7 on path and now that only 6 was on it it compiled succesfully. Now to edit some stuff myself for fun
    I had to uninstall 7 an ins 6, but where is the variable path you talk about? I might have this issue to? Not sure

Page 2 of 5 FirstFirst 1234 ... LastLast

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
  •