~~ Tim0's Buy'N'Light! ~~
Tim0suprem0
2007-07-29 03:30:03
Tim0's Buy'N'LightBy: Tim0Suprem0
THIS SCRIPT IS OUTDATED! FEEL FREE TO USE ALL/ANY OF THE CODE IN YOUR OWN SCRIPTS AS I DO NOT PLAY RUNESCAPE ANYMOREVERSION 1.35 IS OUT! Starts at Varrock West Bank and walks to General Store where it buys the logs of your choice and then burns them!SETUP: Start in West Varrock Bank at any of the first 3 bankslots with Tinderbox in your first inventory space and your money in the second. Then select which type of logs to burn and how many loads to do per player
Proggy (mine):
[]-----------Tim0's BuyNLight----------------[]
Worked For : 2 hours 8 Minutes and 27 seconds
Complete Loads Done : 25
Logs Burned : 650
Estimated Money Spent : 8112
Switched Worlds : 0 Times
g***** is Broke
[]--------------------------------------------[]
By Submersal:
[]-----------Tim0's BuyNLight----------------[]
Worked For : 1 Hours, 20 Minutes and 32 Seconds
Complete Loads Done : 13
Logs Burned : 361 Willow
Estimated Money Spent : 4332
Switched Worlds : 0 Times
******* is Lost
[]--------------------------------------------[]
V1.3 updates-little bit of Anti-ban
-FIXED: SRL stats
-Minor tweaks (progress report, script speed, etc.)
V1.2 updates-World Switcher works 90%+ of them time
-Better Proggies
-Dynamic DDTM treefinding
-Detects if you're out of money and changes players
-Better burning technique
-Replaced Flag with FFlag
-SRL Stats!
-FIXED:No longer gets lost after finding the incorrect anvil symbol
Known problems:Future updates:-Forms!
-A Lumbridge BuyerLighter!
Credits To:-JAD for his awesome Tuts
-SantaClause for proofreading/help editing
-WT-Fakawi and Tarajunky for procedures/ideas in script
-masquerader's RunDesktopProgram which helped me with my WorldSwitcher procedure
exppo
2007-07-29 04:14:51
WHAT IF THERE ARE NO LOGS IN THE GENERAL STORE? :p
Santa_Clause
2007-07-29 07:08:26
What if you just post something nice, not in caps…
Good work Timo…
Tim0suprem0
2007-07-29 12:01:14
From: exppo
WHAT IF THERE ARE NO LOGS IN THE GENERAL STORE? :p
just check beforehand…. its not that hard lol, if your REALLY lazy then run the script and stop it after it walks to store :p
passiondrive
2007-07-31 05:49:38
Cool, I'll test sometime soon, I'm making a new army atm :p
ShowerThoughts
2007-07-31 06:42:10
lookst nice but i dont gonna test it srry
if you need help with changeworld problem then go to scar misc and go to worlswitcher
Tim0suprem0
2007-07-31 11:59:47
Thanks hermpie :) And I'll probably be updating as soon as I go to my mom's since the treefinding has been really weird lately, and a couple other little things to hopefully clean it up.
Tim0suprem0
2007-07-31 17:24:34
Ok just changed the treefinding a little, still a bit unreliable as I did a quick fix, but should work better now. Please redownload :)
Cdexswzaq555
2007-07-31 17:29:07
From: tim0suprem0
Ok just changed the treefinding a little, still a bit unreliable as I did a quick fix, but should work better now. Please redownload :)
It goes to the varrock center and then it says "no trees found" and then goes bank to the bank and log out, wtf.
Tim0suprem0
2007-07-31 19:04:03
From: Cdexswzaq555
It goes to the varrock center and then it says "no trees found" and then goes bank to the bank and log out, wtf.
Wtf is right, how are you going to quote me saying REDOWNLOAD and then still use the older version that doesnt work and get mad about it?
ovrlookd
2007-08-01 11:04:59
i have been testing but cant get it to work the most i got was 4 fire…it seems to click to fast and always wonders off to random spots
Tim0suprem0
2007-08-01 12:06:41
Hmm it works fine on mine, and was public chat set to friends? BEcause then it just waits for 'you succesfully lit a fire' in the chatbox before starting the next log. I'll look into it as soon as I'm back from camp, maybe the DTM is bad or something.
ExecutionerOz
2007-08-02 04:51:43
this works good just that I think you could save alot of time if instead of everytime it says you cannot light a fire here and it runs back to the general store it should check if you have any logs in your inventory and then if so go back and try to light fires again
Tim0suprem0
2007-08-04 14:30:11
Executioner, thats a good idea, so if for some reason it cant light it just goes back to general store and if there are still logs to be burned, goes back to the middle and burns them again? I'll put that in the next update now that I'm back home.
Tim0suprem0
2007-08-09 12:48:26
[]-----------Tim0's BuyNLight----------------[]
Worked For : 31 Minutes, and 22 Seconds
Loads Done : 7
Logs Burned : 154
******* is at Bank
[]--------------------------------------------[]
This was with makecompass and setchat fixes that I did myself, but it worked pretty well. I only spent 3k on the logs.
Tim0suprem0
2007-08-12 12:21:16
VERSION 1.1 Out!!!
And it's like 100x better :D
Tim0suprem0
2007-08-20 15:42:27
Now Compatible with SRL 4.0!
Plus a few other things:
Added FTWait, only counts as a full load if youve burned 26 logs so you dont get incomplete loads, standards.
drnewheart
2007-08-20 22:02:15
Thanks for updating it Tim0. Now i have to update my cokefiller script. :p as soon as im done with my varrok project anyways. Looks good glad you updated it.
Edit: I just ran it. I got 1 load done FLAWLESSLY, but then it went to general store and bought 5 bronze kite shields. Lol. Ya so i stopped it maybe you should update the DTMs?
kodeejs
2007-08-21 03:16:45
Works fine! But i suggest fix buying procedures, because it`s sometimes buy incorrect things and burning procedures there is errors! But with me its works like 20 minutes, only then starts errors.
mihkel50
2007-08-21 10:45:18
Well:
first trip went well, bought some bronze kites also :P, i would recomm DTM and remember the slot in the shop, The burning is unnatural. On higher levels it's terribly slow.
without the bronze kite bug i'd say it's quite good =)
Tim0suprem0
2007-08-21 20:12:50
Hahaha I got the bronze kite thing this morning, sorry guys! I'll have DTM fixed by tomorrow, hope you like armoring your army :p
@mihkel and drnewheart
What logs were you using? I want to know if it's just one DTM or all of them, because it might be a tolerance thing, which is really easy to fix.
@kodeejs
what were the burning errors? Since the burning is the most important thing pretty much, can you tell me what went wrong? The problem I had was off axis clicking with the new SRL so it would like click like 100 pixels off and just completely mess up, but I know not everyone is having SRL problems.
Thanks for the feedback! Hopefully once SRL is bug free I'll get some proggies :D
drnewheart
2007-08-21 20:43:21
From: tim0suprem0
Hahaha I got the bronze kite thing this morning, sorry guys! I'll have DTM fixed by tomorrow, hope you like armoring your army :p
@mihkel and drnewheart
What logs were you using? I want to know if it's just one DTM or all of them, because it might be a tolerance thing, which is really easy to fix.
@kodeejs
what were the burning errors? Since the burning is the most important thing pretty much, can you tell me what went wrong? The problem I had was off axis clicking with the new SRL so it would like click like 100 pixels off and just completely mess up, but I know not everyone is having SRL problems.
Thanks for the feedback! Hopefully once SRL is bug free I'll get some proggies :D
It was with Willow logs. It probably is a tolerance thing just reduce the tolerance and maybe add
If (IsUpTextMulti('ill','ow','ogs')) then Buylogs;
That way the bug is fixed REALLY easy.
hey im gettin this..
Line 709: [Error] (13215:8): Unknown identifier 'Loads' in script
probably some nooby error, easy to fix but just thought id let u know..
mihkel50
2007-08-22 02:35:53
Same, i was using willows also.
Tim0suprem0
2007-08-22 15:43:35
Ok, sorry for the hold up! I'll reduce tol (it's really high if I remember right because I was accidently playing on low brightness) on the DTM's and make it search for text.
I'm going to my mom's house tonight, so I'll do it in about 6 hours.
@rdk
WOW I AM DUMB lol, until I update tonight, turn line 709 from
until (Loads > (LoadsToBurn+random(3)-1));
to
until ((Burned/26) > (LoadsToBurn+random(3)-1));
Haxor
2007-08-22 20:16:58
cool, good job with updating. im gonna test on my llv 5 choob.
haxor
Tim0suprem0
2007-08-23 05:31:19
Ok guys all updated, it should work, if not let me know. Please redownload.
Things I did:
-Made the Willow DTM more reliable
-Fixed WorldSwitcher (should now work 95% of the time)
- Got rid of the "Unknown identifier 'Loads' in script"
Enjoy! Hopefully I can get some proggies now!
It would help if you made a progress report ;)
Varrock RoadColor = 7502203
Varrock RoadColor = 7502203
Varrock RoadColor = 7502203
Varrock RoadColor = 7502203
Varrock RoadColor = 7370361
Varrock RoadColor = 7370361
Varrock RoadColor = 7501947
Varrock RoadColor = 7501947
Successfully executed
pretty good script, still has some bugs…if there is people already burning logs in the center…it runs into the shops to the north, or the the fountain to the ne…If you tweak the script a bit more, few more fail safes, I'll put a few players on it and give you a good proggy ;) Also…needs something different then switching the chats all the time…although it works…it's very suspicious. i was very impressed on how well it found the store keepers everytime, even when it was quite crowded :)
~RAM
drnewheart
2007-08-23 21:40:43
Pretty good but didn't run for very long. Still has bugs to work out.
heres a proggie:
[]———–Tim0's BuyNLight—————-[]
Worked For : 9
Loads Done : 2
Logs Burned : 55
Dr.Newheart is at Bank
[]——————————————–[]
It ended itself It was NOT a manual shut down.
Then I got this error.
[Runtime Error] : divide by Zero in line 36 in script
Hope It helps!
Tim0suprem0
2007-08-24 18:24:01
Yeah it finds the anvil symbol to the northeast and then screws up, I'll be releasing v1.2 soon with that fixed. Maybe I'll make the burning procedure a little more random.
Also, can anyone help me add SRL stats? i don't understand the custom variables thing.
drnewheart
2007-08-25 23:05:17
Another bug worth fixing is the one that makes your player go back to the general store if it finds "you cannot light a fire here" instead maybe just like make it walk to this spot and try again instead of al the way to the shop.
EDIT:
I dont quite understand stats custom variables either so once you get help pm me about it cause I need a little help
Tim0suprem0
2007-08-26 14:23:11
drnewheart, unless your using KYAB, walking back to that exact spot would be insanely difficult. I chose slow and reliable over speedy and unreliable.
Anyways, guys this script wont run super long on its own yet. I got it to go for about a half hour again, but it should work much better with version 1.2. So please be patient while I make it better :)
drnewheart
2007-08-26 21:20:03
Sweet can't wait for the update. I understand but I don't have KYAB and I think its for SRL members so I can't even fathom its details. But really wan the update!:p
Tim0suprem0
2007-08-27 14:49:26
Ok so in the next update (which should be released in the next couple days) there will be:
-Less detectable burning (the public chat will no longer be set to 'friends'), but still quick to detect when the log has been burned
-Fixed the problem where it would find the anvil symbol to the northeast and get completely lost
-Progress reports after every load
-FFlag instead of Flag
-DDTM for treefinding procedure (more reliable)
-SRL stats
Hope to get this done as soon as possible! I've already done most of it, so should be released very soon.
Tim0suprem0
2007-08-28 13:27:42
Ok well V1.2 is coming along well, however it might be a little longer before I can finish because I'm going out of town, but hopefully it will still be soon.
drnewheart
2007-08-29 18:32:04
Can't wait for the update! And have a good time. I think alot of people are going to be gone because of labor day weekend.
yay my skiller now has 56firemaking thanks to you :D
cant wait for the next update.
drnewheart
2007-09-08 15:19:44
Tim0, Your back right? When can we expect the updated version :p I am really looking forward to it. I have 60 firemaking cause of your script, I have been running it like crazy!
ShowerThoughts
2007-09-08 15:49:29
you could use run(true,('N')
and then run back to get in and out of the shop…
[]———–Tim0's BuyNLight—————-[]
Worked For : 34
Loads Done : 13
Logs Burned : 363
****** is at Bank
[]——————————————–[]
.
Tim0suprem0
2007-09-13 17:10:43
WOW sorry guys! School's been super busy! Hopefully update within next couple days! Thanks for being patient!
drnewheart
2007-09-13 22:04:26
Yup! This a good script. Im so busy with school I havent even worked on my script for like 2 weeks :eek: I am so busy with soccer and school and grades! I know how you feel but I can't wait for the update!
Tim0suprem0
2007-09-14 00:47:41
Wow, so I just decided not to do homework tonight, but here's the script :)
LOTS OF UPDATES
too tired to type them right now, anyways it's working for me, post any problems you have (if any) and progress reports would be lovely.
Enjoy ;)
hi, new update not working to well for me :confused: gets to general store lags badly then says no logs at store - when there is…
hmmm today when i tried it i walked from the bank to the varrock centre then stoped.
"[Runtime Error] : Out Of Range in line 304 in script C:\Program Files\SCAR 3.11\Scripts\Tim0's Buy'N'Light V1.2.scar"
Tim0suprem0
2007-09-15 20:37:13
From: rdk
hi, new update not working to well for me :confused: gets to general store lags badly then says no logs at store - when there is…
It will lag the first trip to the general store because it uses a bitmap to make the DDTM of the tree by the general store, after that, unless you switch worlds, it won't lag there again ;) So I would guess that you lagged and lost connection or something? Because it won't search for logs unless it finds the shopscreen.
From: rdk
hmmm today when i tried it i walked from the bank to the varrock centre then stoped.
"[Runtime Error] : Out Of Range in line 304 in script C:\Program Files\SCAR 3.11\Scripts\Tim0's Buy'N'Light V1.2.scar"
I dunno man… works perfectly for me, only thing was I messed up coords for treefinding. The out of range and no logs in store thing shouldn't be happening. I ran a test out, here's the proggy:
[]-----------Tim0's BuyNLight----------------[]
Worked For : 8 Minutes
Complete Loads Done : 2
Logs Burned : 53
Estimated Money Spent : 936
Switched Worlds : 0 Times
g***** is Broke
[]--------------------------------------------[]
^^ got me to 50 Firemaking ;)
Is he crazy or is anyone else having these problems?
i must be crazy…tried hopping worlds and running it several times in each world. same error :( ….clicks on fountain spot the lags and error :(
Tim0suprem0
2007-09-16 01:09:11
Ok I figured it out, it's because it can't find the tree bitmap. I'm working on it, it's either a question of how deformed the tree is because of the compass angle or the tolerance or something, I dunno, it usually doesn't happen, but I'm getting it on this world too.
EDIT: try it now? I made a quick fix, but I'm not sure if it works 100% of the time. It's there for download.
Bleh.. I'm tired, good luck I hope it works for you.
Found Compass
Successfully compiled
Line 350: [Hint] (12856:1): Variable 'I' never used in script C:\Program Files\SCAR 3.11\Scripts\Tim0's Buy'N'Light V1.2.scar
SRL Compiled in 172 msec
Varrock RoadColor = 8554892
Varrock RoadColor = 8554892
[Runtime Error] : Out Of Range in line 339 in script C:\Program Files\SCAR 3.11\Scripts\Tim0's Buy'N'Light V1.2.scar
:confused:
Tim0suprem0
2007-09-16 11:54:32
Shoot, ok thats not good, basically it looks for a bitmap of the tree on the Minimap, finds the tree and then searches the area around the tree for the tree's colors. It then uses those colors as a DDTM. the problem is for you, it isn't even finding the tree at all.
I dunno man, maybe it's your comp because it works perfectly for me. When it doesn't work I just switch worlds and then it works.
The quickfix was BS it was unnecessary, so i removed it and uploaded the original script.
drnewheart
2007-09-18 17:53:04
Ok Im gonna try it out to test and see if its the script or if its rdk.
[Offtopic] Im back! I was gone for a LONNNNNNNNGGGGGGGG time. I was 80 activity and now am at 45 :eek: Aww well I Have lots of homework and soccer so I will sneak on the computer every now and then to help out and do stuff lol[/Offtopic]
Tim0suprem0
2007-09-18 19:36:02
Thanks, or just use the new Scarscape and this script will be flawless ;)
Tim0suprem0
2007-09-20 12:21:51
Ran it overnight with the new scarscape and got from 50-56 on just oaks ;) Spent 10k.
drnewheart
2007-09-22 08:44:27
Nice! I ran it before and it ran for about a half hour. I'm gonna try to run it when I go to this horseshow thing for 4 hours.
Tim0suprem0
2007-09-22 18:46:55
Ive been running it for the last three nights overnight on Scarscape and went from 50-60 fm on 25k, half on oaks half on willows. Not ONE of my players has been in a random, they all ran out of money or couldn't find the bankers DTM, dunno if it's just dumb luck or what.
Id post a proggy but my comp gets shut down by my mom when she wakes up ;)
Ill be releasing v1.3 soon, with real SRL stats, since I screwed mine up, plus a few little things.
nething
2007-09-23 18:48:56
From: rdk
Found Compass
Successfully compiled
Line 350: [Hint] (12856:1): Variable 'I' never used in script C:\Program Files\SCAR 3.11\Scripts\Tim0's Buy'N'Light V1.2.scar
SRL Compiled in 172 msec
Varrock RoadColor = 8554892
Varrock RoadColor = 8554892
[Runtime Error] : Out Of Range in line 339 in script C:\Program Files\SCAR 3.11\Scripts\Tim0's Buy'N'Light V1.2.scar
:confused:
I haven't looked at the script yet so I'm not sure but normally out of range is a problem with your player setup. This might not be the problem but you might wanna double check.
If that is what is wrong then here are a few tips:
# of players is the number of player slots in the script whether they are active or not
Make sure the nickname is correct.
Other than that I don't know. I'll look at the script and see what happens.
Tim0suprem0
2007-09-23 18:56:46
nething that happens if it doesnt find the deformed bitmap of the tree.
Hence, use scarscape or reload a couple times.
Tim0suprem0
2007-09-25 22:57:40
V1.3 out! Just minor updates, but SRL stats works now and it has a little tiny bit of anti ban :p
Tim0suprem0
2007-10-14 12:27:19
Ok I fixed so it works with the updated store options (Buy 50, player stock etc).
Proggies pl0x :p
mark9510
2007-10-15 08:57:24
not a bad script with all my money and my low firemaking level i need it
Submersal
2007-10-21 04:36:03
It's working alright for me….stops randomly, but I'll give it a few more goes.
[]———–Tim0's BuyNLight—————-[]
Worked For : 10 Minutes and 34 Seconds
Complete Loads Done : 2
Logs Burned : 52 Willow
Estimated Money Spent : 624
Switched Worlds : 0 Times
******* is Lost
[]——————————————–[]
Tried it again, went awesome…
[]———–Tim0's BuyNLight—————-[]
Worked For : 1 Hours, 20 Minutes and 32 Seconds
Complete Loads Done : 13
Logs Burned : 361 Willow
Estimated Money Spent : 4332
Switched Worlds : 0 Times
******* is Lost
[]——————————————–[]
Getting much better. =]
EDIT: For some reason, your script plays up after a while. If it is unable to light a log somewhere, it goes to the bank, goes psycho in the bank, right clicking on the bankers and stuff, and terminates…..
Tim0suprem0
2007-10-21 12:40:26
If it cant light a log it goes to the bank, is supposed to find the bankers, log out and reset itself.
However it sounds like it couldn't find the bankers for you so got all screwed up. I'll take a look at the banker detection and update, since I think its from pre-SRL4 I think.
Anyways, thanks for the proggy! :D
Submersal
2007-10-21 18:21:31
No problem - I hope you can fix it…I absolutely love this script. :D
Good luck fixing it, I'll take a look myself and see what I can do, if you like…
Tim0suprem0
2007-10-24 09:49:38
Go for it, I've been super busy, but take a look inside SRL for any bankfinding procedures and see if they work better ;) Otherwise I'll try and get on it in a couple days.
proresearch
2007-10-24 10:02:04
sweet i been waiting a long time for a script like this.
proresearch
2007-10-24 10:03:17
If only i could get a log buyer for varrock and banker, so u can resell them logs on free servers to members
Submersal
2007-10-24 17:48:27
From: proresearch
If only i could get a log buyer for varrock and banker, so u can resell them logs on free servers to members
That wouldn't be that hard to make, I don't think…
Just remove the firemaking procedure and add a bank deposit in…
If you like, I'll see what I can do.
Tim0suprem0
2007-10-27 01:05:18
I've purposely not released that :p
If you know enough about SCAR/SRL, an autobuyer will be really easy to make from this script, like submersal said.
Also just a varrock burner (no buying) could also be made.
Submersal
2007-11-18 18:14:24
I'm going to make that Varrock Buyer 'N' Banker now…
I was busy doing other things, I'll start to do it now =]]
Tim0suprem0
2007-11-24 01:26:42
Since I'm not around much these days, take as much code from my script as you want :)
sk80rdie76
2007-11-25 03:01:02
submersal, you think you could make this into just a varrock burner?
From: elf5380
it works fine for me but i dont think i could gte 99 anytime soon with this :Z
Works for you? Is it even updated with SRL rev#10 ?:confused: