Jump to content

JustJ

Premium Scripter
  • Posts

    252
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

JustJ's Achievements

Senior Botter II

Senior Botter II (7/14)

  • Reacting Well
  • First Post
  • Collaborator
  • Week One Done
  • One Month Later

Recent Badges

107

Reputation

  1. Let me know if this is still happening. I haven't updated the script so hopefully it was just a short client bug. Send me a pm with your preset if you don't mind
  2. The "Stop At Quantity" is a way of only buying the shop down to x amount. For example, if you only want to buy the first 50 out of 100 coal in the shop because it's too expensive otherwise. Sorry - this really couldn't have a better name. There isn't currently a feature for this but I'll look into it. Would you want it to buy until there's a certain number in your bank? Or buy until you've bought that many items in a session? Have you got any logs? Would be great if you send me the logs zip after this happens as I can't reproduce it
  3. JustJ

    Just Tempoross

    Hi all, looks like there's been an intermittent issue with loading images from a server. I've switched the image loading to use local files now so that there's no connection needed and shured up the error handling so the script can still function even if this were to error in future. This should now be fixed - if you have any other issues let me know. Apologies for the long delay, I've been out of town for a little bit.
  4. JustJ

    Just Tempoross

    Just added this, if you put the profile name as an argument it will load it
  5. Feel free to PM me your setup and I'll show you what you're missing. You need to pick which NPC/option opens to shop. It's done this way to be generic across all types of shops across the game
  6. Mind pm'ing me some screenshots of exactly where you're standing and your GUI setup etc?
  7. JustJ

    Just Tempoross

    Fixed this for you 🙂 If you're an ultimate it will no longer try and manage your inventory in the bank
  8. I think I'm not explaining very well - given you only have one thread active at one time, the max memory usage of both of them will be basically identical. However as you said since we're creating and throwing away a bunch of threads it creates more garbage which means that the gc has to run more (increasing CPU usage). To get proper GC stats you probably want to use some external benchmarking tool
  9. The actual "memory overhead" of a single thread running at a time is very small - default jvm settings have a stack size of 1mb. That'll make up the large majority no matter how you create the thread.
  10. JustJ

    Just Tempoross

    Just added the ability to use the crystalised fish method
  11. Just a couple things on this. Firstly, I'd be wary of trusting Runtime.getRuntime() etc for this as most of the values here are proximations. If you want to get into benchmarking I would recommend trying something like Java Flight Recorder. Oracle actually have a decent if a bit old article which is relevant but there's loads of resources: https://www.oracle.com/technical-resources/articles/java/architect-benchmarking.html In terms of actual "total" memory usage creating a thread vs using a SingleThreadExecutor are going to be basically identical - so much so that it's really not worth thinking about. However, when you're creating and then "throwing away" a thread each time you're going to create a lot of garbage. The garbage collector can (and will) collect this up whenever it needs/wants/can, but creating that garbage is going to increase the amount that the garbage collector is going to run. The specifics of when exactly the gc will run and what exactly it will do will depend on what GC your using (I _think_ tribot sets it to G1GC but can't remember). It's worth realising that having memory being "used" isn't actually a bad thing if there's nothing requesting that memory. If the GC tried to keep your memory usage to a minimum no matter what % full it is and how much it was being requested then it would have a massive impact on CPU usage. Just looking at your results, but not too closely, what you're probably observing is that creating new threads is causing the GC is be run much more aggressively and more often which is making it appear as if it's lower memory usage. I'm definitely no expert in all of this but happy to try and expand on any points if you want (Or happy to be corrected!) Really, there's functional differences between the two anyway. When you use an executor it forces the queueing mechanism which may or may not be desirable. If you don't want to queue but still was planning on creating a bunch of new threads (and wasn't worried about thread local stuff) then you'd probably want to use a newCachedThreadPool anyways. Am I being silly or are you describing what a single thread pool executor does?
  12. JustJ

    Just Tempoross

    Apologies, just moved house and due to internet companies being crap unexpectedly didn't have internet for a while. Just to go through your issues: If you can figure out a way to reproduce this that would be great - I haven't seen it happen personally and am not sure why it would do so If this happens again, can you take a screenshot of where exactly you are? I had this reported ~2 years ago and made some changed but it hasn't cropped up since then. Again, a screenshot would be useful. I am aware the fire walking logic isn't amazing so will take a look at improving it. The loader can be full? Honestly I wasn't aware of this. I do know that the script doesn't avoid the torrent attack though which stuns you, I'll look into this. I'll look at adding an option to only fill buckets at the start of a game Can you get debug of this? The script should always run onto the island first at the start It shouldn't be doing this, will take a look
  13. Message Dentist or Jamie, the premium scripters. Sometimes they offer tribot credit for GP
  14. JustJ

    Just Tempoross

    Just Tempoross Plays the tempoross mini-game for points, profit and xp View in Store Features Cooks fish Avoids fires Avoids waves Grabs up missing or lost tools Requirements 35 Fishing If you have any suggestions or issues, please contact JustJ#0519 on discord or send a private message. View in Store
  15. Just Shopper AIO Shop Buyer/Seller View on Repository Features Buying Selling Buying and opening packs Customisable World Hopping World Hopping Delay Customisable waiting when hitting "Too many login attempts" Select your wanted worlds or use a preset Banking Argument support (Use the profile name as the argument) Requirements When first setting up the script, you must be at the shop you plan to buy/sell from. View on Repository
×
×
  • Create New...