-
sajjad sajjad started following Team Cape
-
-
whats up
- whats up
- Before and After conditional sleep
This really isn't the purpose of a ConditionalSleep - it might help to copy/paste some pseudocode or the code itself that you're working with, so people can get a better idea of the question you're asking- return isnt working properly??
So, a few problems. I'll go in order of least important to most important: (1) Your code is prone to null pointer exceptions: CT.contains(SC) && SC != null Switch this to check if the object is null first. You should do this for all of your code. (2) (a) The sand crab is quite possibly also not in range. If you're not currently fighting the sand crab, somebody else probably is. How far away are the sand crabs you're trying to interact with? My guess is that they're reasonably far, or not easily visible. (b) Similarly, Sand crabs aren't actually NPCs until you turn them agro by standing beside them. You'll only attack a sand crab if it's already up and around. (3) You sleep for up to an entire minute in between even checking the actions, totally tossing aside actually doing them. return random(3000, 60000); Make this wayyyy less. There are very few scenarios where it would actually make sense to have a gap this big, and this is not one of them. (4) Please look into a state-based system. There are quite a few tutorials on it in the tutorials section. It'll make the code a lot easier to follow when you/others debug. Similarly, revise your variable names if you want others to be able to read your code. I don't know what CT, RSA, or BT are. Side note: This should reset agro anytime there isn't an active sand crab around you, given you have >= 35% HP, and have Salmon/are in some area CT.WhoseThisGuy started following Team Cape- [Back Open!] §§ Cape's Private Scripts ~ Sleek, GUI/ Advanced CLI ∫ Experienced, Fast, Cheap, Reliable ∫ Fast Delivery §§
Bump- ***BLAKA'S LIL GFX SHOP*** BTC/OSGP/CSGO/PAYPAL/SKRILL
Looking forward to inquiring about your services. Discord Team Cape#2088- Motion & Graphic Design Services! [Affordable/Quality]
Looking forward to inquiring about your service. Discord Team Cape#2088- 5 replies
-
- design
- gfx
- designer
- graphic design
-
Tagged with:
- KOMODOBYTE / Graphics / Forum Designs / Web Designs
Still making graphics? @KomodoByte please DM me on Discord Team Cape#2088- Cape's Progressive Woodcutter
Trial given- Cape's Progressive Woodcutter
If you're looking to powerchop in the area, or there's no major barrier (e.g. paying 100 trading sticks) between the bank and the chopping area, then it is equipped to handle that!- Cape's Progressive Woodcutter
Script is back up and functioning well! Put below if you'd like a trial- [Back Open!] §§ Cape's Private Scripts ~ Sleek, GUI/ Advanced CLI ∫ Experienced, Fast, Cheap, Reliable ∫ Fast Delivery §§
Bump! Back on the market- Is making scripts illegal?
The FBI is already tracking your location, you sick fuck.- :) COME HERE FAST
What the fuck. Is this a new memelvl7botter started following Team Cape- I got hacked...
Definitely not the SDN for a few reasons. 1) SDN code is all heavily reviewed before it even touches the SDN. 2) Scripters have a lot to lose by even trying to put something like that into their scripts, and with the code reviews after every update, they would not be successful. 3) Developers and those who review the code have even more to lose than scripters. 4) If any of the above people really wanted to hack somebody, they would go for one of the numerous goldfarmers that use the OSBot client and regularly have thousands in OSGP on their accounts, not one random person. It's much, much more likely that you accidentally downloaded a keylogger or clicked on a phishing link. Be careful!