Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


  • Content count

  • Joined

  • Last visited

  • Feedback


Community Reputation

10 Good

1 Follower

About RedHawkLuffy

  • Rank
    Experienced Botter
  • Birthday 12/03/1990


  • Sex

Recent Profile Visitors

705 profile views
  1. Just bought a proxy, created one acc and started doing tutorial island. Account was locked within 3 minutes. Could it be because bad proxy or because I created the account from my home IP and logged in with the proxy IP? How do I create the account with the proxy?
  2. CPU seems about the same or more but I could just be being paranoid here. Should I increase the paint delay?
  3. I don't have looking glass so sadly I have not been able to test it. Script works perfect without lg though.
  4. Well that could be it, works without lg
  5. Logs in fine for me and most people. Are you using looking glass?
  6. Oh sorry, fixing it. /e should be fixed now.
  7. Thanks! Oh weird, that's probably a tribot bug. But I will try fixing the logging out thing so it doesn't happen as often and thanks!
  8. Strange, was there any log?
  9. That's really nice to hear, I will look into your suggestions!
  10. oops accidentally posted here /e looks like a great script tho!
  11. New paint coming soon!
  12. 1) Snipplets: [SOURCE] (Link to thread) None2) Tutorials: [sOURCE] (Link to thread) None worth mentioning.3) Randoms/updates submitted: [sOURCE] (Link to thread) I remember I submitted a random to Trilez a couple years ago but it was through pm and don't have code either.4) Scripts available to the public: [sOURCE] (Link to thread) RedSandCrabs RedPlanker RedCooker Link to source for all scripts: https://github.com/razahamza/tribot5) Short biography / Coding Experience: [1-2 short paragraphs] I started coding about 6 years ago off and on. I started with nexus (IMPSoft) and was a script developer there until it shut down. I moved on to powerbot and was a script writer there but went inactive and then when I came back I moved onto tribot and but quit shortly after as well because my accounts got banned on runescape but I recently came back and decided to help the community a bit. I think I have written a pretty successful sand crab script, have personally gotten over 50+ hours on it. I have been coding for 6+ years as I've stated which obviously influenced by current undergraduate degree in engineering. I am in third year in computer engineering and planning to get an internship in software development next year. I know I have a lot to improve and will continue working hard to improve myself.6) Reasons why you feel you deserve Scripter: [1-3 short paragraphs] I was a developer on IMPSoft and powerbot as stated and I can write scripts that work well. I may not be an expert in Java but my scripts do function, I feel, as good as some premium scripts such as my sand crab script. I have many personal scripts I wrote but I did not release them yet because I have to update them before releasing them since they were customized to me. But I plan on releasing them all to the community when I polish them up. 7) What you plan to provide the community with: [1-3 short Paragraphs] Seems like I keep answering the question below be before I get to it.. Many of my private scripts I plan on polishing and releasing in the future as well as providing useful help as I am beginning to really understand the tribot api.8) Do you agree to continue to not only update, but provide more free, open sourced scripts to the community? [YES/NO] Yes Also I already know someone will point out why I used a textfile for saving and loading profiles which I know isn't very good but it works I just didn't know how else to handle it at the time. I've just recently saw properties configuration in the java api and plan on switching to it in the next sandcrabs update. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- @xCode The getItem method was something I used a very long time ago when I wasn't very knowledgeable about the API, but if you look through the code you will see I never actually use the method. I do use Inventory.find(). I should have probably removed it but I seem to have forgotten about it. You are absolutely right about the Player p, that was a mistake I forgot there was a loop and there is no need to recreate the object and I will fix that but I do hope you don't assume that was caused by my ineptitude of Java, rather it was a simple mistake that I missed when reviewing my code. This method is for stray crabs that only occur once every say 30-40 minutes in the script. It does not need to run this method every single time you need to fight a crab as the crabs are aggressive. I agree it looks really iffy and I'm not personally fond with this method either. I honestly did not like the way I was doing it when I was writing it but I couldn't really think of another way to do it. There is a 0.5 second delay between the crabs spawn and its interaction with a player if I don't use a timer how will I know whether it is a stray crab running around or its someone else's crab that just spawned? I don't want it to keep attacking someone else's crab, when I ran it without the timer every time it was not in combat and someone else's crab spawned it would attack it. So I just coded this as a failsafe to wait and see whether it is an attackable crab (stray) or one that's already taken. If there is a better way, which there probably is please let me know I will switch to it. I do agree a fixed timer is not ideal I should have randomized it. @Final Caliburpoint taken to make it simple, though my method and variable names are pretty self explanatory for the most part, really shouldn't be that difficult to read the code most of the if statements result from checks (array length checks, null checks, is on screen checks, interface up checks) which are all necessary and required to be nested but I do understand it could be made cleaner @c#2Bot 1) You're right, don't know how I missed that 2) Again I don't know how I missed that, I rushed the cooker as I only needed it for like 30 cooking levels for a quest I should have looked at it more carefully. It would be better if you looked at my sand crabs script as I've spent much more time on that 3) Oops, I just forgot to check 4) If they have the same id's and distance it will simply return the first one in the array, not really sure how this is a problem. 5) Yea, I will work on that most of it is just failsafes but I can probably make it cleaner 6) Banking.openBank() returns true if the bank is already open. (tested it) In practice though, I see why you would think to have a failsafe first since you don't know the actual code of openBank() and certainly I would have included a check but you have to give Trilez some credit I'm sure he coded his api with checks. 7) True.. don't know how I didn't see that 8) I just prefer'd it for future changes, having an extra task doesn't necessarily reduce performance. I mean its negligible really. 9) Already stated earlier, I don't use that method in the code, it's there by mistake but never used. Though I honestly don't seem to see it as a big concern that I left it there but everyone else seems to think otherwise o-o @Final CaliburYou're right, I fixed it let me know if this is suitable. @Final CaliburFixed some more stuff, did not know tribot didn't return null elements in the array so I removed them and consequently the code looks much cleaner now. Hopefully I got them all. Fixed the magic numbers you mentioned, there are probably some more in my code but I will look at it after I get back and will fix it. @Encoded I updated the code with your suggestions and I understand your point, I should not have created a Method class, I don't really know what I was thinking there I just didn't want to reuse the walk method over and over again in multiple classes but I should have named the class relating to the functions that will be in the class it such as Walking @laniax I generate them during the walk method of my sandcrab script. https://github.com/razahamza/tribot/blob/master/autosandcrabs/tasks/Walk.java#L44 Trilez's guide says it should be generated after clicking something which you have to wait a variable time and since this is a afk sand crab script after you click your tile you have to wait until the sandcrabs lose aggro but since you don't want to make it log out automatically, I set the waiting time to 60 seconds.
  13. lol fixedddd
  14. You'll just have to try it and find out. Jk
  15. RedCooker This script cooks food! Features: Cooks all fish (Enter the cooked fish's name) Rogues den and alkharid supported Click here to add to your repository