SRL Archive - Reflection

[PUB][R2]Smarter Burier


fartmanner

2011-08-29 19:47:56

This is a lag friendly burier built in R2 on a comparison with minibury it has

  1. An are bones in inventory check
  2. It scrolls the bank
  3. Speed Changer
  4. Any bones at all
  5. Breaking
  6. Any bank that R2 supports

it doesn't yet have srl stats but i think it works well

My Proggie using big bones

~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~
Bones Buried : 2016
EXP : 30240
EXP Per Bone : 15
Time running : 42 Minutes and 31 Seconds
~!~!~!~By fartmanner~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~

Credits

Coh3n - His tut and his anti ban system
Marpis - Inspiration
I luffs yeww - Breaking

bolshak25

2011-08-29 20:17:04

2 you misspelled bank.

and i will test this out after there is a proggy system, and when breaks are added if they arent already in it

fartmanner

2011-08-30 01:54:10

Proggie system implemented

bolshak25

2011-08-30 10:40:26

is there breaks?

fartmanner

2011-08-30 16:07:41

No because i have no idea how to track time in simba

mat_de_b

2011-08-30 16:12:08

MarkTime(T);
Then
TimeFromMark(T)

Thats i think the simplest way to do it by time, otherwise you could do it by amount buried that is VERY simple as you can justt use your progress report variables.

i luffs yeww

2011-08-30 17:36:18

Just in case you don't get it..

MarkTime(T); (T is an integer variable that you must make, it can be whatever, as long as it's an integer, obviously) will store the current time (GetSystemTime) in ms to the variable you give it. TimeFromMark(T); simply does GetSystemTime - T to get how many ms it has been since the last time you checked the time. It doesn't start a timer or anything, but it will give you what you need. :)

Hopefully that didn't confuse you.. For breaks you can do something like..


var
T: Integer;

MarkTime(T);
while (TimeFromMark(T) <= 6 * 1000 * 60) do // This will wait for six minutes.
Wait(Random(50000)); // Just because you don't want to wait EXACTLY six minutes ;)

The 6 * 1000 * 60 is just simple math. I want six minutes, so I start with 6, there are 1000 ms in a second, so * 6 to get six seconds, and there are 60 seconds in a minute, which gets me 6 minutes.

fartmanner

2011-08-30 23:29:59

Just added break + credits to i luffs yeww

bolshak25

2011-08-30 23:51:38

as soon as 10k big bones buy on ge, ill test it out

fartmanner

2011-08-31 00:37:45

I just finished burying 10k big bones :p

bolshak25

2011-09-02 13:15:48

it keeps failing to get bones from the bank. i can only get 300 done at most

marpis

2011-09-10 08:42:22

Eventhough I'm very inactive these days, I'm very happy to see my simple scripts inspire new coders :)
The script looks good, keep up the good work and you'll go a long way.