Jump to content

Flamezzz

Members
  • Posts

    763
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Flamezzz

  1. -1 Nov 09 2016 08:44 PM Bought his Farming Script, doesn't work at all and he's refusing to answer PM's Buyer: nlMichael I received feedback regarding an SDN script. Please remove it, thanks
  2. 12 now, France got lucky but Germany will still win.
  3. I think SealedObject is what you're looking for.
  4. Yes, in most cases it's rather trivial, and a lot of frameworks exist to make it even easier. It also has very little to do with Computer Science, more with design, user experience, usability and all of that crap.
  5. https://docs.python.org/2/tutorial/ or https://docs.python.org/3/tutorial/ You can learn most of the stuff you'll ever need to use in ~ 2 days, good luck If you have to create the content yourself, be aware that there are many (often graphical) learning environments for kids you can use. Also, you'd eventually have to learn python anyway. One can not survive in the world of CS without writing python code ;) You'll appreciate the language once you see its potential.
  6. For examining class files you can download http://bytecodeviewer.com/, it comes with several disassemblers and decompilers. The class file format is documented here, that document also includes a lot of details on how you would implement a VM to execute java bytecode, including opcodes/operands and what they should do. From this you could for example create a small interpreter which takes a class with one main method and starts executing it. I think it's nice to look into a stack-based 'assembly' language as well, it's quite a common model amongst interpreted languages (and it's even used in malware to defeat static code analysis, although the VM is a lot simpler in that case). Oh I almost forgot, there's not only decompilers/disassemblers for java, but also an assembler Jasmin which lets you create class files from scratch
  7. Yes you can disable the autologin handler and create your own handler or perhaps modify the current account, although it's not trivial to implement and can only be used in a private script. http://osbot.org/forum/topic/93387-onstart-not-being-called-before-user-is-logged-in/
  8. You need java 8. smth like sudo apt-get install oracle-java8-installer
  9. If your goal is to write scripts and not to learn a programming language, you can just learn the bare minimum Java you need in order to start writing a script: methods/control flow/variables/statements. You can skip pretty much the entire OOP part of Java, and still write great scripts (since it's mostly the logic which defines a good script, not the design). Some people post their source in the Downloadable/Local Scripts section, I strongly advise you to look up some example scripts there (decompile them if there is no source ).
  10. To do this they would have to store passwords in such a way they're comparable, which is typically unsafe so I think it's highly unlikely they do this.
  11. Well if you do WebWalkEvent evt = new WebWalkEvent(Manager.routeFinder, new Position(1500, 1700, 0), new Position(1000, 1000, 0), new Position(2222,2222,0); it will stop at any of the destinations you specified, (1500,1700) (1000,1000) and (2222,2222). If you want to walk from A to B passing some waypoints you could just execute multiple WWevents, one for each waypoint right? Another option might be to change the costs for waypoints, similar to how it's done for avoidproxy which basically sets the cost to 999999 for specific nodes, you could try to set it to a small or negative value. Not sure if this would work tho...
  12. There's api.webwalk.impl.AvoidProxy which you can use to avoid certain areas. MGI posted this as an example: INodeRouteFinder finder = INodeRouteFinder.createAdvanced(); for (INodeScript script : finder.scripts()) { finder.remove(script); finder.add(new AvoidProxy(script, true, BLOCK_AREA_1, BLOCK_AREA_2)); }
  13. Like this if(myPlayer().getPosition().equals(new Position(x,y,z))) { // do this shit }
  14. Yes if you implement this in the most straightforward way, but you can ofc prevent this by for example implementing onRespnseCode() like AutoLogin does.
  15. There's no way to modify Autologin in SDN scripts, with some hacks it is possible for private scripts tho. Preventing it from stopping the script can be difficult but what about restarting the script when this happens? If onExit() is called you can spawn a thread and restart your script.
  16. I guess the inv didn't load properly after logging back in, there have been a lot of issues with this in the past. You might want to double check by clicking another tab and re-opening the inv, that should refresh it.
  17. You might want to look at GraphicUtilities#getSuitablePoint(MouseDestination destination). For an entity it calls GraphicUtilities#getModelMeshTriangles and checks what is within MAIN_SCREEN_CLIP, I think that's what you want.
×
×
  • Create New...