Page 5 of 7 FirstFirst ... 34567 LastLast
Results 101 to 125 of 171

Thread: SRL Updates

  1. #101
    Join Date
    Dec 2011
    Posts
    505
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    yeah that worked

    hey is it normal that I do not get the black *Log window?

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

    Default

    Quote Originally Posted by blinkblink View Post
    yeah that worked

    hey is it normal that I do not get the black *Log window?
    The what window? U mean the console window? Just press the console button and it'll show..
    I am Ggzz..
    Hackintosher

  3. #103
    Join Date
    Dec 2011
    Posts
    505
    Mentioned
    0 Post(s)
    Quoted
    26 Post(s)

    Default

    Quote Originally Posted by Brandon View Post
    The what window? U mean the console window? Just press the console button and it'll show..
    :P alright no more questions.. forgot about the button, kinda used to the old way of it being automatically opened when starting simba

  4. #104
    Join Date
    Jun 2012
    Location
    Portugal
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey I have just setup simba with the new fix but I have a problem. the new smart works perfectly but how do I run a script with it? I mean, ive entered some script to start smart, but what now? How do I run a script on that SMART? Help me plz im new here and sorry for my english.

    Thanks

  5. #105
    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 henrik30796 View Post
    Hey I have just setup simba with the new fix but I have a problem. the new smart works perfectly but how do I run a script with it? I mean, ive entered some script to start smart, but what now? How do I run a script on that SMART? Help me plz im new here and sorry for my english.

    Thanks
    Press the Green Arrow button. For more info:

    http://villavu.com/forum/showthread.php?t=81508

  6. #106
    Join Date
    Jun 2012
    Location
    Portugal
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    Press the Green Arrow button. For more info:

    http://villavu.com/forum/showthread.php?t=81508
    lol not that. Ive setup all according to the guide but when I start a script it gives an error like smart hasnt been updated

  7. #107
    Join Date
    Dec 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    few problems i have seen when you close the smart client the process dosnt end if a script fails and you try to restart it half the time it carnt find it so says Please Wait.. Smart Is Currently Loading even though its fully loaded and the other problem i see is how much CPU usage it uses compered to version 6.9 wldnt mind if it was a few % not 50% more than what smart 6.9 used

    on the plus side memory usage seems to be down by about 10%
    Last edited by krisg05; 07-18-2012 at 12:12 AM.

  8. #108
    Join Date
    Jan 2012
    Posts
    2,568
    Mentioned
    35 Post(s)
    Quoted
    356 Post(s)

    Default

    Quote Originally Posted by krisg05 View Post
    few problems i have seen when you close the smart client the process dosnt end if a script fails and you try to restart it half the time it carnt find it so says Please Wait.. Smart Is Currently Loading even though its fully loaded and the other problem i see is how much CPU usage it uses compered to version 6.9 wldnt mind if it was a few % not 50% more than what smart 6.9 used

    on the plus side memory usage seems to be down by about 10%
    Yeah its trying to open a new SMART, ggzz said we need to use libsmartremote instead.

  9. #109
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    fixed bugs:

    Simba Code:
    Function GetXPBar(CounterNum: integer): LongInt;
    var
      TPA: TPointArray;
      B: TBox;
      S: String;
      P: integer;
    begin
      if ToggleXPBarEx(true, CounterNum) then
      begin
        FindColorsTolerance(TPA, 14474460, 407, 60+(CounterNum-1)*22, 489, 74+(CounterNum-1)*22, 0);
        B := GetTPABounds(TPA);
        S := Replace(GetTextAtExWrap(B.x1, B.y1, B.x2, B.y2, 0, 1, 4, 14474460, 0, UpChars), ' ', '');
        P := Pos('x', S);
        if P > 0 then
          Result := StrToIntDef(ExtractFromStr(Copy(s, P, Length(S)), Numbers), 0)
        else
          Result := StrToIntDef(ExtractFromStr(S, Numbers), 0);
      end;
    end;
    Simba Code:
    function ToggleXPBarEx(Open: Boolean; CounterNum: integer): Boolean;
    var
      TPA: TPointArray;
      P: TPoint;
      T: Integer;
    begin
      if Open xor IsXPBarOpenEx(CounterNum) then
      begin
        TPA := TPAFromBox(IntToBox(521, 101, 546, 125));
        FilterPointsPie(TPA, 0, 360, 0, 12, 534, 113);
        P := TPA[Random(Length(TPA))];
        Mouse(P.X, P.Y, 0, 0, mouse_left);
        T := GetSystemTime + 300;
        repeat
          wait(1);
          Result := Open = IsXPBarOpenEx(CounterNum);
        until Result or (GetSystemTime > t);
      end else
        Result := true;
    end;
    Simba Code:
    function IsXPBarOpenEx(CounterNum: integer): Boolean;
    begin
      Result := CountColor(14474460, 481, 50+(CounterNum-1)*22, 489, 72+(CounterNum-1)*22) > 6;
    end;

    there are MANY static y coords that need to be changed in gametab.simba . almost every function still needs to be updated.

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

    Default

    Quote Originally Posted by x[Warrior]x3500 View Post
    fixed bugs..
    there are MANY static y coords that need to be changed in gametab.simba . almost every function still needs to be updated.
    The official fix for SRL will not require these. But these are good temporary fixes.
    I am Ggzz..
    Hackintosher

  11. #111
    Join Date
    Mar 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by krisg05 View Post
    few problems i have seen when you close the smart client the process dosnt end if a script fails and you try to restart it half the time it carnt find it so says Please Wait.. Smart Is Currently Loading even though its fully loaded and the other problem i see is how much CPU usage it uses compered to version 6.9 wldnt mind if it was a few % not 50% more than what smart 6.9 used

    on the plus side memory usage seems to be down by about 10%
    I agree with you on the CPU usage. The new smart is using much more CPU then v6.9. I checked the task manager I found out there are two processes running which are Simba.exe and smartremote32.exe. Well I dont know what smartremote32.exe does. So is there a way to cut down the cpu usage or disable smartremote32? In simba 0.984 there is only simba.exe running and now there are two...
    Last edited by Arepirpi; 07-19-2012 at 09:44 AM.

  12. #112
    Join Date
    May 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    i dont know, if this already had been fixed... but whenever save a script, i get the text:

    "Smart Cannot Spawn Clients"

    but when i run the script, without saving it, it work just fine....

    thanks in advance.

  13. #113
    Join Date
    May 2012
    Location
    Somewhere in, PA
    Posts
    1,810
    Mentioned
    9 Post(s)
    Quoted
    226 Post(s)

    Default

    Quote Originally Posted by iraqownz View Post
    i dont know, if this already had been fixed... but whenever save a script, i get the text:

    "Smart Cannot Spawn Clients"

    but when i run the script, without saving it, it work just fine....

    thanks in advance.
    http://villavu.com/forum/showthread.php?t=86387

    Here ya go, just follow what it says
    My First Build!, Selling Downloadable Games
    -------------------------------------

  14. #114
    Join Date
    May 2012
    Posts
    78
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    thank you

  15. #115
    Join Date
    May 2012
    Posts
    12
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    If you're getting high CPU usage, try minimizing and normalizing the SMART window. E.g. click SMART's 'Minimize' button and then restore the window by clicking the SMART button on the Taskbar. From my experience, that refreshes the 'canvas' and frees up some resource.

    I'm not sure if that is a bug or normal behaviour though?

  16. #116
    Join Date
    Jun 2012
    Location
    Portugal
    Posts
    125
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey! I have a problem with the new fix for simba. I have all set but I still get this error:

    [Error] C:\Documents and Settings\Administrator\Desktop\Scripts\High-Alch.simba(127:20): Unknown identifier 'SmartGetDebugDC' at line 126
    Compiling failed.





    This line gets highlighted:

    Canvas.Handle := SmartGetDebugDC;




    Im using Teh's Alcher btw



    Hope you can help me and thanks


    EDIT: This error appears after I delete Smart_server, Smart_members, Smart_signed, Smart_superdetail and
    change {$I SRL/SRL/Misc/PaintSmart.Simba} To {$I SRL/SRL/Misc/SmartGraphics.Simba}

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

    Default

    Give me a minute I'll update the post to reflect how to deal with canvases. I noticed a lot of people haven't adapted to SetPersistentMemory yet. I'll write something up.

    It's not simba or srl. Smart just doesn't use DC's aka Device Contexts anymore for rendering.

    EDIT: Finished. Please read the example posted on the first post to see how drawing manually is done. If you do not wish to draw manually on Smart, Simply using Smart_DrawBitmap and Smart_DrawTextMulti will work equally well. Drawing On Smart manually is not for the faint of heart. You need to have good knowledge of scripting.

    EDIT2: Added Drawing using SmartGraphics. Now you can contrast both examples and see the differences. Both functions do the exact same thing. Scripts using Simba 0.98 will not require an update but everyone is going to be forced to 0.99 soon enough since Jagex came out with some stupid bar at the top.

    Also note that the drawing thing is not my choice. If we had a choice, I'd leave everything as is. Smart has changed not SRL and as such we need to adapt. I hope I made everything clear for drawing. Any questions just post here or PM me and I'll see if I can help out more or make things easier.

    EDIT3: When SRL is fixed and updated (When Wizzup pushed 0.99 fixed), I may update scripts for users automatically if I have free time.
    Last edited by Brandon; 07-20-2012 at 07:33 PM.
    I am Ggzz..
    Hackintosher

  18. #118
    Join Date
    Mar 2012
    Posts
    25
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The new Six hour fix is not working correctly. It cannot login player and the script stopped. In fact smart didnt startup and therefore cannot login. Also, the new smart is now paired so both simba and smart now uses the CPU. I just want to know if
    this will be fixed or no??
    Last edited by Arepirpi; 07-21-2012 at 02:55 PM.

  19. #119
    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
    The new Six hour fix is not working correctly. It cannot login player and the script stopped. In fact smart didnt startup and therefore cannot login. Also, the new smart is now paired so both simba and smart now uses the CPU. I just want to know if
    this will be fixed or no??
    1. It doesn't log you in because SRL is broken right now. If it's fixed, it will log you in.
    2. Ben might work on a way to forcefully terminate that extra process stuff. It's Zombie clients and it isn't SRL's fault.
    3. Compiling Smart would most likely fix it since there is less zombies. Right now Simba isn't shipping Smart 7.2 with the flag fix. So compile smart manually and it will have less of that process crap. http://villavu.com/forum/showthread....=compile+smart
    I am Ggzz..
    Hackintosher

  20. #120
    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

    Why am i getting this my script compiles but

    Simba Code:
    SRL Compiled in 0 msec
    ** Fatal Error: Pairing Clients; Terminating Script **
    Successfully executed.

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

    Default

    Quote Originally Posted by Scaper View Post
    Why am i getting this my script compiles but

    Simba Code:
    SRL Compiled in 0 msec
    ** Fatal Error: Pairing Clients; Terminating Script **
    Successfully executed.
    Because the smart being distributed with Simba is outdated.. https://github.com/BenLand100/SMART/...b0f44f9a26bd18
    The changes specified by that link fixes this problem 100% of the time when opening via Simba.

    Compile smart yourself and it will work. There's a tutorial on how to do it in the C++/Programming section.
    I am Ggzz..
    Hackintosher

  22. #122
    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

    Brandom i have tried that can you take a look the tut you compiled because mine wont compile says there no such file but i have my variables set and the smart folder is on my desktop <3

  23. #123
    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


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

    Default

    Quote Originally Posted by Scaper View Post
    ....

    I'm not sure that you read what I said in the last post..

    You're still putting one slash. You need either 1 forward slash or two backslashes.. Or just wait until Wizzup Updates Simba to ship with the latest smart. I can't teamviewer right now.. I'm at work.
    Last edited by Brandon; 07-24-2012 at 10:32 PM.
    I am Ggzz..
    Hackintosher

  25. #125
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Brandon, Wizzup? and I have gotten Simba and SRL working in the browser (details here, Wizzup?'s post, and mine below it). However, with that setup, I can't load SMART (only setup I tried). I get this error:

    Progress Report:
    Compiled successfully in 515 ms.
    SRL Compiled in 16 msec
    *** Fatal Error: Pairing Clients; Attempting To Kill All Clients ***
    Count = 1
    Failed To Kill Client: 2968
    Successfully executed.

    I can run Ben's test script without problems, so I'm assuming it's an issue within the new SMART include, and since you helped write it, I figure you know more about it.

    I'm done for the night, but hopefully we can completely fix SRL in the next few days.

Page 5 of 7 FirstFirst ... 34567 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
  •