@kongking
Ive added it to my post
All credits still go to Deathscytex and members who posted updates
@kongking
Ive added it to my post
All credits still go to Deathscytex and members who posted updates
now has anybody figured out how to check the random event gift and use them so this doesnt break after randoms?
I think there is a problem with that part, but its still possible to do without using inbuild procedures. You just have to make a dtm/bmp of the box or just use mouseitem then click on the desired reward.
i havent learned scripting yet. thats this summers project. till then ill try but i dont know any computer languages
Another thing you could do is setup your scrip so that it logs out every now and then which will reduce the chance of the script finding randoms and hence stuffing up
it stuffs up just because it doesnt open the lamp or box from the random. it works and does everything else fine. it just tries to deposit the lamp which you cant.
Edit the script so that instead of deposit(slot from,slot, varian) it uses r_depositallbutid() and put the id's of nature rune and mystery box. Or you could make the script find the box and click it.
I find it rather annoying every time you want to restart the script it close the used SMART and reload SMART the code below gives u the ability to re-run the script without SMART getting closed
Replace:
With:Code:begin ClearDebug; MainInitForm; if (EndInitForm) then TerminateScript; FreeBitmap(b); SetUpSRL; {$IFDEF SMART} SMART_Server := 81; SMART_Members := True; SMART_Signed := True; {$ENDIF} DeclareOres; MainLoop; LogOut; end.
Code:begin ClearDebug; MainInitForm; Smart_Server := 1; Smart_Members:= true; Smart_Signed := true; Smart_SuperDetail := false; SetupSRL; DeclareOres; MainLoop; LogOut; end.
Last edited by crezzur; 12-24-2010 at 12:29 AM.
Last edited by crezzur; 12-26-2010 at 08:53 PM.
crezzur i noticed with part A of what needs adjustment, it seems to be after any random any item it gets it tries to bank but fails.
noticed the same i'm looking into other scripts maybe i could find some good random handler or maybe someone els know the code to use a xp lamp, or gift??
I have added the Favorite world function, when u have a favorite world selected the program will join that world
Code:// Favorite world code has been used from Tickyy his "Varrock East Miner" script // all credits go to Tickyy Function JoinFavoriteWorld: Boolean; Var x, y: integer; B : TBox; Begin If(not(LobbyScreen))then LoginPlayerToLob; While(not(LobbyScreen)) Do (Wait(100)); Wait(2500); // Extra wait I.S.H. (Incase Shit Happens(Lag or something...)) If(FindColorTolerance(x, y, 6525549, 605, 443, 649, 478, 29))Then Begin Writeln('Favorite world found.'); Wait(RandomRange(1000, 1500)); B := IntToBox(610, 453, 649, 478) MouseBox(B.X1, B.Y1, B.X2, B.Y2, 1); While(not(LoggedIn)) Do (Wait(100)); Wait(2500); // Extra wait I.S.H. (Incase Shit Happens(Lag or something...)) Result := (LoggedIn); If (Result) then begin if (SRL_Logs < 1) then SRL_Logs := 1; Exit End Else LoginPlayer; end else Writeln('Favorite World was not found, turning normal mode'); LoginPlayer; end; // End of Favorite world code.
Last edited by crezzur; 12-24-2010 at 04:35 PM.
Its not just this scrip that has troubles with the mystery box, its a problem with the includes.
I have 17k steel bars that need smelting (just finished getting all that iron and coal--and 85 mining--this afternoon), so I will definitely try this out. I promised to give my bot Christmas off, but when next I bot I will give a proggie.
check frequently because after any random it will log out because failed banking the random item
How long have you been botting for? Because if you abuse it too much, your account might look suspicious.
~ Solved
Last edited by crezzur; 12-26-2010 at 08:25 PM.
it doesnt open. maybe make an if statement for the bank. if a magical force text appears, then exit bank and open and whatnot
Changes made that all players suggested
I DO NOT THAKE CREDIT FOR THIS!!!
Download Attachment below V3.001
If this is the first time u use this script u have to download the original script first and then
replace the AutoSuperheat.simba file with the one attached
Things that may need adjustment:
*ToDo: When you run the script for the first time and your Withdraw X function on your primary ore is not correct (like when making steel it has to be 9) it will fail and result in only withdrawing coal
Temporary solution for this is do a withdraw X yourself for 1 time after that the bot will run without any problems
*ToDo: Break function not 100% correct, more info: http://villavu.com/forum/showpost.ph...&postcount=136
*ToDo: Add a system that controls that u have the required amount of primary and secondary ore in your inventory so when smelting steel
bars u wont make iron when the system fails to take the coal.
*ToDo: Add a system that looks if u have enough primary ore and secondary ore in bank to superheat, if not logs out.
* ToDo: After successfully completing the event "Pillory" and getting a xp lamp the script try to bank it, but runescape does not allow this, the script will stop running.
Updates on skill lamp handler: the code seems to work, however after opening the box it does not look at the skill lamp this needs some fine tuning so it rub's the lamp and choose the skill.
Changes made:
Bonfield: http://villavu.com/forum/showpost.ph...3&postcount=69
What does it do?: this fix the cast-loop error (Not in Magic Tab! >:/)
Bonfield: http://villavu.com/forum/showpost.ph...2&postcount=77
What does it do?: Wont log out when random happens [no info yet]
Kongking: http://villavu.com/forum/showpost.ph...3&postcount=78
What does it do?: 3 different ways your character banks so it look more human like
kongking: http://villavu.com/forum/showpost.ph...&postcount=100
What does it do?: Improve the castloop when trying to search for randoms)
crezzur: http://villavu.com/forum/showpost.ph...&postcount=108
What does it do?: Abilty to Re-run a script using the SMART screen that already is running. (does not close SMART screen to reload it)
crezzur: http://villavu.com/forum/showpost.ph...&postcount=111
What does it do?: Ability to let your bot join the world u chose using favorite world function
crezzur: http://villavu.com/forum/showpost.ph...&postcount=119
What does it do?: genie lamp handler, might solve the random problem
Last edited by crezzur; 12-28-2010 at 04:00 PM.
we need it to open the lamp like you stated, but before that we need it to unclick from superheat. it tries to superheat it and it fails eventually forcing a log out. it needs to click normal on inv and then open item. for the lamp one, it needs to wait after opening the box, then locate and use lamp.
i saw it. i came out of random and it was in magic menu and clicked superheat, then it tried superheating the box. it continued for a long time. after i got out of the superheat manually, it opened box and went to bank but tried banking the lamp. now ive stopped it and i still have the lamp and im working on fixing the bank part.
that very good il have a look at it too maybe i find it
I found the solution to open the box, now it opens the box and chose genie lamp
this is what i did : (This update has been added into V3.001)
now il search for the skill lamp problem for some reason it doesnt do anything with it.function CastLoop(): Boolean;
var
Bitmap, DTM, i, t, f: Integer;
P, CP: TPoint;
ClickBox: TBox;
begin
DTM := CreateOre(TOreArray[0].Color, TOreArray[0].Tolerance);
Bitmap := BitmapFromString(14, 7, 'meJw9kDEKwkAQRdmNJrFIbpBecPE' +
'MizewtRAsUnsAsbH1CKmtrdNYpYq9jYXYKEFE1EZZEN86IAzh zf9/' +
'Z2ej41ynpR5tqUD1I1sHswvV0pZKehuUaPXUcQ6TgVFUZ44Ch 92DV' +
'hktR+Ss13/gk6bACseLwe7uLZXJhPbwBjAfMamaf5Ka7q+EuQsLwJ' +
'JlAPP64PplGGJreH08Sxhgjr/UFHxJOucIyFtwadPTmyQgy5CUZcS' +
'dLB+0AK0k/eSq4Tn8li8k64Ze');
GameTab(28);
i := 0;
f := 0;
if (FindNormalRandoms) then
GameTab(tab_Inv);
if (TOreArray[0].Amount = 27) then
ClickBox := InvBox(27)
Last edited by crezzur; 12-27-2010 at 05:13 PM.
It doesn't work for me. It just takes a full bag of the secondary ore and tries to cast Superheat on it.
There are currently 1 users browsing this thread. (0 members and 1 guests)