-
Posts
2607 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
100%
Team Cape last won the day on November 9 2016
Team Cape had the most liked content!
Profile Information
-
Gender
Male
Recent Profile Visitors
10755 profile views
Team Cape's Achievements
-
sajjad sajjad started following Team Cape
-
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
-
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
-
Looking forward to inquiring about your services. Discord Team Cape#2088
-
Looking forward to inquiring about your service. Discord Team Cape#2088
-
KOMODOBYTE / Graphics / Forum Designs / Web Designs
Team Cape replied to KomodoByte's topic in Market
Still making graphics? @KomodoByte please DM me on Discord Team Cape#2088 -
Trial given
-
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!
-
Script is back up and functioning well! Put below if you'd like a trial