Jump to content

swagg

Registered
  • Content count

    1,899
  • Joined

  • Last visited

  • Days Won

    6
  • Feedback

    100%

swagg last won the day on September 24 2017

swagg had the most liked content!

Community Reputation

383 Excellent

About swagg

  • Rank
    aka the Moon Man
  • Birthday 03/06/1997

Personal

  • Sex
    Male
  • Location
    Sweden

Recent Profile Visitors

5,108 profile views
  1. Try restart the client and when the script stops check the bot debug (bottom of the tribot window)
  2. swagg

    Randomize array/list elements snippet

    Wasn't aware of that method actually haha but I guess that could work too, atleast for lists and for arrays too if they are converted to lists
  3. Thought to share these two methods as they are easy to implement and will hopefully help a few people public static <T> ArrayList<T> randomize(ArrayList<T> list) { if (list != null && list.size() > 0) { ArrayList<T> newList = list; ArrayList<T> availableItems = new ArrayList<T>(); for (int i = 0; list.size() > i; i++) { availableItems.add(list.get(i)); } if (newList != null && availableItems != null) { for (int i = 0; list.size() > i; i++) { T randomItem = availableItems.get(General.random(0, availableItems.size()-1)); newList.set(i, randomItem); availableItems.remove(randomItem); } return newList; } } return list; } public static <T> T[] randomize(@SuppressWarnings("unchecked") T... items) { if (items != null && items.length > 0) { T[] newArr = items; ArrayList<T> availableItems = new ArrayList<T>(); for (int i = 0; items.length > i; i++) { availableItems.add(items[i]); } if (newArr != null && availableItems != null) { for (int i = 0; items.length > i; i++) { T randomItem = availableItems.get(General.random(0, availableItems.size()-1)); newArr[i] = randomItem; availableItems.remove(randomItem); } return newArr; } } return items; }
  4. swagg

    where can i buy fastly proxy ip??

    google.com google.com google.com
  5. swagg

    Mass Account Creation Help

    You should be able to buy some completed accounts at sythe, I'd go with that
  6. swagg

    Get RSModel for misc architecture?

    Game.getSceneFlags() might possibly help you, might also not, I have never used or even looked at the method before but this snippet use it to determine if you're inside a building or not so might help
  7. swagg

    SwagSplasher - An AFK splashing script

    nope, not really looking to add any features
  8. swagg

    SwagSplasher - An AFK splashing script

    Not quite sure what you mean but if you're referring to script arguments then no, it's not supported, you need to fill out the options every time you start the script
  9. swagg

    Are ads in scripts allowed?

    Strongly doubt it, would be hypocritical if it was as there's ads on tribot (for non-vip members). I don't see anything wrong with it for non-premium scripters to do as they otherwise can't monetize their published script-work on tribot, though it would be low if premium scripters did it.
  10. Might be more methods that broke from todays runescape update, I'm unsure, however Game#getDestination() is broken, returning a non-null RSTile (returns (3119, 3431, 0) for me personally) when there is no destination flag on the minimap. Many scripts rely somewhat on this method, so it's important that it's fixed as soon as possible. I'll update this thread if I manage to spot any more broken methods. @TRiLeZ @Todd @Usa
  11. swagg

    Disable ABC Functions

    Going kinda "big" to name this concept ABC3 (in comparison to the work put into the official ABC versions) when you're just providing an idea how to toggle certain values. Still useful for some I guess, but I wouldn't really give this simple concept a name though.
  12. swagg

    agility+ alch?

    Of course, if I recall correctly I think alching is already supported in some existing agility scripts on the tribot repo, check them out and see
  13. swagg

    SwagCurseAlch [All NPC's] [100k+ xp/h]

    Up to you but I'd recommend to bot 12 hours max per day if you care about the account
×