Jump to content

swagg

Registered
  • Content count

    1,901
  • 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

384 Excellent

About swagg

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

Personal

  • Sex
    Male
  • Location
    Sweden

Recent Profile Visitors

5,447 profile views
  1. swagg

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

    Just stun and curse if I'm not incorrect. Could however relatively easily check through the source and add support for other curse spells if you have scripted before.
  2. Try restart the client and when the script stops check the bot debug (bottom of the tribot window)
  3. 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
  4. 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; }
  5. swagg

    where can i buy fastly proxy ip??

    google.com google.com google.com
  6. swagg

    Mass Account Creation Help

    You should be able to buy some completed accounts at sythe, I'd go with that
  7. 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
  8. swagg

    SwagSplasher - An AFK splashing script

    nope, not really looking to add any features
  9. 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
  10. 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.
  11. 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
  12. 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.
×