Results 1 to 8 of 8

Thread: [Rs3][MemoryError] Portable mixer

  1. #1
    Join Date
    Jul 2009
    Posts
    164
    Mentioned
    5 Post(s)
    Quoted
    67 Post(s)

    Default [Rs3][MemoryError] Portable mixer

    Well I thought I share my portable "do stuff" script.

    In rs3 bankstanding skill are rather easy. To do some herblore you set up your bank preset to withdraw herbs/logs/sharks so on and then click portable to do stuff.

    So...
    1)Get plugin. https://github.com/pp9999/MemReading/releases
    2)Set up bank preset 1
    3)Look for a world where is portable allready standing (w84).

    This script currently is set up for making unfinished ranarr potions, at lumby market. But it can be easily modified to do other stuff.
    Look for item1:=227 first ingredient and item2:=257 second. Open Inv debug to see item ids. To make finished prayer potions we change ids. item1:=99 Ranarr potion(unf) and item1:=231 Snape grass.

    To make script burn logs. Modify it. Set item1 and item2 to yew logs id 1515. Modify portable target in FindAobj to 98286 which is portable brazier. Also change uptext check to from Mix to Add.

    Hey if had time I would add some gui to it.

    Simba Code:
    program Test;
    //{$I srl-6/SRL.simba}
    {$loadlib MemoryError}
    var
    Count,Count2,Count3,Count4,item1,item2,BitsStart,samexpcount:Int32;
    ByeBye:Boolean;


    Procedure Checkxpgained(dist:Int32);
    begin
    if(ReadPSettings(3513)<>BitsStart)then
    begin
    BitsStart:=ReadPSettings(3513);
    samexpcount:=0;
    end else
    begin
    samexpcount:=samexpcount+1;
    end;
    if(samexpcount>dist)then begin writeln('xp stuck');ByeBye:=True;end;
    end;

    begin
    SetupRSReading(True,0);
    ByeBye:=False;
    repeat
    wait(340+random(4500));

    //idle
    if (random(100)>96)then begin writeln('P');PlayerIdle(); end;

    //seren spirit lookout
    if (FindNPCs1([26022,27228],2,20,[0,0],[0,0],False,0,'Capture')) then
    begin
    wait(1240+random(5500));
    writeln("Found spirit");
    Beep1();
    end;

    //no infinite loops!
    Checkxpgained(10);
    if (count>6) then begin Writeln('end1');ByeBye:=True; end;
    if (count2>6) then begin Writeln('end2');ByeBye:=True; end;

    //main action
    if (CheckPAnim(159)) then begin wait(100+random(1500)) end else
    begin
    Count:=Count+1;
    //vial of water 227, clean ranarr 257
    item1:=227;//
    item2:=257;//
    if ((InvItemcount(item1)>0) and (InvItemcount(item2)>0)) then
    begin
    //Find portable workstation, herb mix 89770, craft 98284
    if FindAobj([89770],1,5,[0,0],[0,0],False,0,'Mix') then
    begin
    Count2:=0;
    Count3:=0;
    wait(1900+random(5500));
    KeyPress(" ");//press space to when portable do stuff comes up
    Count3:=Count3+1;
    if (count3>2) then begin Writeln('1');Count3:=0; KeyPress(" "); end;
    end;
    end else
    begin
    //Find bank, Lumby market chest 79036
    if FindDobj([79036],1,6,[0,0],[0,0],False,0,'Bank') then
    begin
    Count2:=Count2+1;
    wait(1900+random(5500));
    Count:=0;
    Count4:=0;
    KeyPress("1");//press 1 at bank to withdraw stuff
    end;
    Count4:=Count4+1;
    if (count4>2) then begin Writeln('2');Count4:=0; KeyPress("1"); end;
    end;
    end;
    until(ByeBye)
    end.
    Attached Files Attached Files

  2. #2
    Join Date
    Jul 2009
    Posts
    164
    Mentioned
    5 Post(s)
    Quoted
    67 Post(s)

    Default

    Same as above but modified to make mahogonany tables from Mahogany planks.

    1)Go manually through making one batch
    2)Let the script do next thousand.
    Attached Files Attached Files

  3. #3
    Join Date
    Apr 2015
    Posts
    10
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    im not sure what im doing wrong but i just get xp stuck, end 1. any help please?

    end1
    2
    xp stuck
    end1
    xp stuck
    end1
    Last edited by willin275; 11-07-2020 at 11:20 PM.

  4. #4
    Join Date
    Jul 2009
    Posts
    164
    Mentioned
    5 Post(s)
    Quoted
    67 Post(s)

    Default

    Does it try to withdraw? Hmm You need install mouse inception also. Extract command folder from plugins.7z and "run as admin" as admin by right clicking and running as admin. It installs mouse inception driver. Restart your computer and it should be in right place ready to be used by simba.

  5. #5
    Join Date
    Apr 2015
    Posts
    10
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    i have now managed to get the script working, is there any chance you can speed up the delays between actions, after banking it waits a few seconds before finding the workbench and after clicking the workbench it waits a few seconds before pressing enter and again after it has finished making the tables it waits again before clicking the bank, other than the slightly long delays between actions the script works flawless

  6. #6
    Join Date
    Jul 2009
    Posts
    164
    Mentioned
    5 Post(s)
    Quoted
    67 Post(s)

    Default

    Quote Originally Posted by willin275 View Post
    i have now managed to get the script working, is there any chance you can speed up the delays between actions, after banking it waits a few seconds before finding the workbench and after clicking the workbench it waits a few seconds before pressing enter and again after it has finished making the tables it waits again before clicking the bank, other than the slightly long delays between actions the script works flawless
    You can modify those wait times. But it might mess up. I changed it couple seconds faster, here:
    Attached Files Attached Files

  7. #7
    Join Date
    Jul 2009
    Posts
    164
    Mentioned
    5 Post(s)
    Quoted
    67 Post(s)

    Default

    Re-added all files there was some dumbuser logic faults. v2

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

    Default

    Hey superb script thank you for sharing... Is there documentation on how to make scripts like this?

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
  •