i came into this world covered in someone else blood and screaming and lemme tell you i’m not afraid to leave it the same way
(Source: drarna)
Never knew how dangerous scissors could be.
can we focus on the fact that the guy said “paper does not have atoms”
once i set the babysitting feature to a variable and was able to fill it properly using a true/false statement —
if GetAmountBox(InvBox(wherearenatures)) <= 5
then
if GetBankItemAmount(0, 0) <= 40
then
if GetBankItemAmount(1, 0) <=5
then
if babysitting = false
then
begin
CloseBank;
Logout;
TerminateScript;
end Else
TerminateScript;
the get amount box you see at the top is what i was talking about making my progress reports work. <3 them. the 3 top functions check all 3 needed supplies to make sure i have enough to complete the next cycle. if i dont, it checks the babysitting feature. if i have it set to true, it wont log out of my account, and turns off the script so i can continue playing myself without having to re-log back in. if i have it set to false, it closes the bank, logs out and turns off the script because if it sits there. its pointless and a waste of RAM.
What is your programming project?
I’m writing a bot for runescape because i tried buying premium scripts and they were all shit, along with, the client was updating like everyday which was extremely annoying. i used to write them a long time ago, figured i’d give it a go.
i know it’s an extremely rare chance, but if i lagg, there’s a chance it will withdraw one too many supplies, thus messing up the amount in my inventory. nothing major honestly. but it bothers me. I have a way to detect it in my banking procedure with—
“if CountItems(‘dtm’, x, []) >= 1”
and that works perfectly. detects it every time. but no matter what function i try, it never clicks on the item. it always right clicks and moves the mouse away. i even tried hardcoding it using—
“MMouseItem(8);
clickmouse2(mouse_right);
getmousepos(x,y);
movemouse(x,y+(17+Random(5)));
wait(500);
clickmouse2(mouse_left);”
but even then it breaks left, canceling out the right clicked option. EVEN THOUGH NOWHERE IN THAT CODE DOES IT SAY GO LEFT. IT SAYS GO DOWN 17 PIXELS YOU PIECE OF SHIT.
sigh.
SAVED MY LIFE. IT’S WORKING PERFECTLY. another 400 spells and we’ll find out if the babysitting feature I added at while I was at work is a success. fingers crossed.
maybe i can use GetAmountBox as a variable to check the amount of spells im starting with on startup, and then every progress report, have it grab that number, and use getAmountBox AGAIN every proggy, and subtract the original from the new one, thus leaving me with the actual amount made.



