Jump to content

House

Trade With Caution
  • Posts

    510
  • Joined

  • Last visited

  • Feedback

    97.4%

Everything posted by House

  1. You cant fail if you never stop typing
  2. This is basic java. String.toLowerCase().equals(String.toLowerCase()) And to answer how you can implement picking up items with values over X, You need to access a database of item values and when you find a new item on the ground which you have not stored the value of you query the value. You then make an item filter for nearby items and filter them based on their value you got earlier. (do NOT re-query every item every loop cycle but rather store the value if read once) Also for ideal income you should create your own unit of measurement for an items "worth" to pick up. What if you have an item worth 2M that is 10 tiles away and an item worth 1M 1 tile away. You generally want to grab the closer one if the worth of it is not too low. This can ofc be expanded and tweaked to your liking.
  3. I mentioned a solution i use above already
  4. If you are worried about that then you can check if you initiated the trade already and if you have then if the trade is closed and the items you are expecting to be gone are gone or gained then you can set it to stop trading otherwise re-trade because the trade closed unexpectedly.
  5. Use a MessageListener to see if the trade was completed, there is a specific line the game writes in chat when a trade it completed. Don't forget to register it in the Bot instance!
  6. I'm just saying, deboned spareribs should be a new pizza topping PS. fix your signature
  7. I like pineapple on my pizza because it gives it more flavor and you can taste sweet and salty at the same time. If you think sweet things don't belong on pizza then my argument is why is honey good on spareribs?
  8. http://www.userbenchmark.com/UserRun/2717684 good enough for me I can use this to show my e-penis size off though.
  9. House

    Script CLI

    It sets a random world on initialization by default does it not? Also "-world <world_number>" lets you manually set a world.
  10. Holy fuck lol hardcoding the areas, looks painful!
  11. I'm going to guess it will run around by entering the dungeon from edgeville
  12. it handles obstacles when traversing. And im not 100% sure but i recall alek saying he does not plan on ever supporting the stronghold of security.
  13. @Solution could pass as a 16 year old
  14. Maybe this can help: http://osbot.org/api/org/osbot/rs07/api/Client.html#getCurrentTick-- Otherwise if this is not close enough to what you want you could try using http://osbot.org/api/org/osbot/rs07/api/Client.html#getCurrentPacketOpcode-- And finding out the correct value that matches a cycle start
  15. My point was that it is resolved unless i misunderstood what sofakin is saying and what we are talking about. I told him that his post was not clear about it being resolved by just saying to remove my TWC so he will probably post soon about it. Also it does hinder me since i can not run multiple instances / access VIP i payed for. This is needed for me because multiple instances are required to run in order for me to further work on the errors which came up while i was away and which he wants fixed. (muling support and such requires this sort of client functionality and if you want i will gladly argue and show you how so) Again the dispute was not made because of a bad service or a problem of such nature but rather that he thought i left him alone while i was just on holiday as i have said multiple times to multiple people before i left as well as to him. Sofakin agrees to remove my TWC and should be posting soon to clear up that him and i are cool and nothing is wrong! TL:DR @SofaKin made this dispute and requested me to be placed under TWC in so i can see it. I requested him to be clear about the outcome of this on here and he should be posting soon!
  16. The reason i was TWC'd was to get me to see this as i was on holiday and he thought i ran away to Mexico
  17. We have resolved the issue that is why my TWC should be removed Also it does affect me since i can not run multiple instances of the client which i have access to with my VIP.
  18. General: Looking at this after being contacted by a site member / friend of mine. I have no been able to attend my forum duties since the 28th of December due to off site reasons. (along the lines of holidays and family) I will contact anyone affected by this as soon as i can in the next few days as i get the time to do it properly and not half assed. To properly address this specific dispute made, his script was made and completed. Some issues were present before my absence which lead to this dispute. Just want to make it clear the problem in this dispute is my absence and not unresolved problems otherwise. @SofaKin and i have agreed on a conclusion prior to my leave so we will continue with that now. @SofaKin, you have purchased scripts from me before and i made sure they were up to your standards then too so i hope you know that nothing malicious is going on in this case either. Conclusion: @SofaKin is still getting what we agreed on and i understand the nature of the dispute but this should we resolved soon now as i can become more active again. If there is any evidence needed the mods can instruct me to provide any. Notes: The evidence you gave was valid and was present in our conversation however the way you presented it is a bit misleading, probably to get your case to resolve for you which i understand. And to end it off it seems fit to put a big apology to specifically @SofaKin but also anyone affected!
  19. private Position getNearestFire(){ ArrayList<Position> matched = new ArrayList<Position>(); int dist = 513; int objIndex = 0; List<Position> pos = fireZone.getPositions(); for(int i=0;i<pos.size();i++){ for(int j=0;j<fireSpots.length;j++){ if(pos.get(i) == fireSpots[j]){ matched.add(fireSpots[j]); int temp = map.distance(fireSpots[j]); if(temp < dist){ dist = temp; objIndex = matched.size() - 1; } } } } return matched.get(objIndex); } ?????? http://osbot.org/api/org/osbot/rs07/api/EntityAPI.html#closest-org.osbot.rs07.api.map.Area-java.lang.String...- RS2Object fire_inside_area = getObjects().closest(fireZone, "Fire"); This is probably the first error you are getting i'm not sure though, there is a lot of stuff wrong / inefficient through out your code :l When you are trying to find solutions for things to be done in your script try referring to the API docs. You also keep calling getNearestFire() over and over again, you could just call it once per loop and store it in a variable. private Position[] fireSpots = { new Position(3166,3492,0), new Position(3163, 3492, 0), new Position(3162, 3492, 0), new Position(3162, 3491, 0), new Position(3161, 3490, 0), new Position(3161, 3489, 0), new Position(3162, 3488, 0), new Position(3162, 3487, 0), new Position(3163, 3487, 0), new Position(3164, 3486, 0), new Position(3165, 3486, 0), new Position(3166, 3487, 0), new Position(3167, 3487, 0), new Position(3167, 3488, 0), new Position(3168, 3489, 0), new Position(3168, 3490, 0), new Position(3167, 3491, 0), new Position(3167, 3492, 0), new Position(3166, 3492, 0), new Position(3165, 3493, 0), new Position(3164, 3493, 0), new Position(3163, 3492, 0)}; ^ just declare an area you can light a fire in and get a random / nearest position inside it instead Also use item names rather than ids which are subject to possibly change over time. Look into ConditionalSleep rather than all those static sleeps as sell. http://osbot.org/api/org/osbot/rs07/utility/ConditionalSleep.html
  20. You already made a thread in the correct section, please stick to it
  21. I don't wana be that guy but Script#getDirectoryData() Nice snippet though
×
×
  • Create New...