Everything posted by andrewboss
-
Coding speed - lines/hour
Haha, your right. Even if 100-200 is the code I write per hour, then I usually stare for 2 hours to fix bugs
-
Coding speed - lines/hour
Thanks guys for the replies. I now understand that it is totally irrelevant. However, I would like clarification on why in freelancer website and such, people ask for a fast programmer that could type like ~80WPM. Also, as an advice, do I need to plan and write down an algorithm step by step of how the script should work before coding or just normal thinking?
-
Coding speed - lines/hour
I want to know where my level is compared to people. I write 200 lines per hour and my level is a beginner. How many lines do you approximately right per hour, and what is your programming level?
-
looking for aged lvl 3 accounts
I have nearly 100 accounts that are 2 months old.. Contact me!
-
Looking to buy TUT accounts
I have about 100 that are 2 months old. Selling each for about 75k.
-
Creating a Function
Why do you just use if statement without else if? This might be the problem... Not sure though.
-
Code Check
Exactly what I was looking for, thanks! Any guides where I can have some more information on how to get the widget dynamically?
-
Code Check
I read the API and I know that this function already exists. I just want to practice doing my own method and playing with it. So from above, does it look like good?
-
Code Check
I would like to know if my code is proper or not, so criticism replies are allowed and much appreciated for improvement. If this could be done in a better way, please share your knowledge and led my life with advice public boolean deposit_worn_items() throws Exception { RS2Widget deposit = script.getWidgets().get(BANK_PARENT, BANK_CHILD_DEPOSIT_BUTTON); if (deposit != null && deposit.isVisible()) deposit.interact("Deposit inventory"); new ConditionalSleep(5000, 500) { @Override public boolean condition() { return script.getEquipment().isEmpty(); } }.sleep(); return script.getEquipment().isEmpty(); }
-
Keeping track of a global variable
That doesn't make sense..
-
Script review
So many stuff need changing.. :/
-
Bank item visibility
Figured it out!! If anyone still wants to add his/her own method of doing it, feel free to do so.
- Macro Recorder (Open Source)
-
getState() with multiple if statements
Why?
-
Bank item visibility
@Explv Thanks but it still returns false for the first row
-
Bank item visibility
There is no way you could check if it is visible or not by that method. It will always return the slot number if exists, even if not visible.
-
Bank item visibility
Here is the code that I currently use: public boolean isVisible(String name) { return getBank().isSlotVisible(bot, getBank().getSlot(name), getBank().getSlot(name)); } It returns whether the item is visible or not. However, if the item is in the first row, it will always return false. Any ideas what is wrong, or any better implementation for checking?