Jump to content

Dreamliner

Trade With Caution
  • Posts

    1642
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by Dreamliner

  1. public ItemWatcher watcher = null; public Thread wt = null; public void onStart() { this.watcher = new ItemWatcher(this); this.wt = new Thread(this.watcher); this.wt.start(); } public int onLoop() { System.out.println(this.watcher.getCollected()); return 600; } public void onExit() { this.watcher.kill(); } ItemWatcher.java public class ItemWatcher implements Runnable { private Script s; private int start_item = 0; private int item_now = 0; private int collected_items = 0; private int item = 1337; private boolean run = true; public ItemWatcher(Script s) { this.s = s; this.start_item = s.client.getInventory().getAmount(item); } public void run() { while (run) { this.items_now = s.client.getInventory().getAmount(item); if (items_now > start_item) { this.collected_items += (items_now - start_item); this.start_item = items_now; } Thread.sleep(600); } } public void kill() { this.run = false; } public int getCollected() { return collected_items; } } ignore any typos, it was done in the osbot reply
  2. Considering it's new content, it's probably optimized to use their new anti bot software.
  3. correct
  4. I think it's because I'm not 12
  5. No.
  6. Why does the entire site need to know? If they did, why did you post in spam?
  7. This is a completely unnecessary thread. Why can't you pm him?
  8. It's against convention to have more than one return per method. The reason of that, it to make debugging easier. You don't have your methods randomly exiting at different lines.
  9. Because that's what the function returns.
  10. int[] parentIDs = {1,2,3,4}; public boolean parentIsValid() { boolean result = false; for(int i : parentIDs){ if(client.getInterface(i).isValid() || client.getInterface(i.isVisible()){ result = true; break; } } return result; }
  11. Welcome to the wonderful world of arrays and lists! Now every script you make will be filled with them
  12. I disagree. Any SDN scripter should be the same caliber as an official scripter. The only difference is # of scripts one has edit: No I don't expect SDN scripter to know everything. Nor do I expect official scripter to know everything. Should both know at the very least the basics of java? Yes.
  13. But you don't know what arrays and lists are used for? sketchy
  14. How are you an SDN scripter?
  15. int x, y, z = 30; .. or List<Integer> int_list = new ArrayList<Integer>(); int_list.add(10); int_list.add(20); int_list.add(35); int_list.add(22); .. or int[] int_array = {0,2,4,6};
  16. If you take shots of tequila with salt and lime, there'd be no difference to salt and vinegar chips
  17. smells like vinnegar
  18. The pin solver is a tad slow. If he's going for performance, that could be a reason. Then again, most methods in the API are also slow.
  19. did another one First one was starting at 20mph on a highway enterance ramp Second one was starting (turning) at a red light
  20. I don't have a turbo. Also don't have a GTI. In about a year I'm buying either a B5 or B6/7 S4. Can't decide if I want the V8 or V6TT Also, how is this saving me money? And I guess you hate Audi styling, because my car shares the same curves as the C5 A6 vs.
  21. It's a product by Ross Tech, but I have a knockoff cable for a 10th of the price. The only downside is I can't update it, but I don't plan on buying a 2014+ audi/vw any time soon.
  22. Dreamliner

    Wut

    hez tryong 2 skam
  23. Hey guys, My VAGCOM cable came in the mail today so I couldn't resist playing with it It's basically the cable that dealers use to interact with the cars' computers and all of the modules, such as the ECU, airbags, immobilizer, and basically anything electronic in the car. The cable also has capabilities of monitoring engine parameters and can log them to a *.csv file. You can use this file to plot it in excel to see a real life visualization of what's going on in the engine. This is a graph showing Engine Speed in RPM (blue) Throttle Position in % of WOT (green) Engine Load in % (red) and Cylinder 1 spark timing in degrees before top dead center This shows a moderate acceleration run from first gear to fourth. I max out at about 80% engine load while the clutch is engaged (probably due to elevation correction and humidity). During first gear, I didn't have the pedal to the floor, as I wasn't trying to do a full out run, but during second gear, I said the hell with it and put the pedal to the floor resulting in 100% throttle postion. Didn't continue with Wide open throttle (WOT) into 3rd gear because of speed limits. Also my car redlines at 6500 RPM so it wasn't a true holeshot. When the weather is better I'll do one and post results to here This image shows the calculated speed of the car per rpm of the engine - it was calculated with gear ratios and tire size If this kind of stuff interests anyone, please say so and I'll do more did another one, the weather was nice :P
  24. because a morning fuck is called a quickie
×
×
  • Create New...