Jump to content

Vilius

Scripter II
  • Posts

    1494
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Posts posted by Vilius

  1. 2 hours ago, Czar said:

    A huge chunk of barrows is configs IIRC, so you should easily be able to find out your path to the center chest via configs and the rest is just widget handler for the puzzles etc etc.

    No configs for available areas. Pathing can be determined when the region loads as it loads all objects at the same time. So mapping out all areas available and using a pathfinding algo to find the walkable areas/path is the way to go.

    Barrows does have a config for loot potential/barrows kills.

    • Like 1
  2. Scripting is a good place to start programming, but it wont take you long to realize its just lacking the freedom of having your own project and trying new things. So if you want to advance in just general programming knowledge, take up a project of your own, be it refractor someone elses code to new practices or create something of your own. Read wikipedia articles, watch pluralsight videos or anything of that sort. I do reccomend reading a few books like "Head first into java", "effective java" and so on. But programming is a long windy road, there really arent any shortcuts to take, you just need to put in work and try new stuff.

    Wrapping it up, drop scripting for now, learn from your own projects, other opensource projects and then come back to scripting. This in term should allow you to create your own elaborate scripts, rather than relying on other peoples code snippets.

    Also variables (data types) have much more to it than you think, if you start digging into mutables/immutables, where in the jvm they are allocated and stuff like that. So 6 months about variables is reasonable as I suspect it should cover much more than the different data types.

    • Like 1
  3. 21 minutes ago, Ragnar Lothbrok said:

    Why would some names be like this and not others - doesn't make much sense but I'll give it a go thanks!

    Cause \u00a0 is a non breaking space, as in if its at the end of the line it blocks the text editor from breaking the word. In other words, non breaking space is counted as a part of the word.

    Also it should be username.replaceAll("\\u00a0", " ") because you need to escape the back slash.

    • Like 1
×
×
  • Create New...