GithubHelp home page GithubHelp logo

Comments (2)

Morlok8k avatar Morlok8k commented on May 26, 2024

i understand that a lot of MLG isn't standard java code. And i already knew this.

Java isn't my standard language. In fact it's the first java program i ever worked on. I hadn't coded in any language in years before working with MLG. My last language was QBASIC, back in the DOS days. (except for a little HTML/JS/CSS here and there.)

I also have no formal Java training. Everything I've done has been from looking at other example code and a Java for Dummies book i bought. (And looking at a lot of JavaDocs)

I'll work on some of your suggestions.
For the update section, I wanted a unified piece of code that worked for all platforms. It was never my intent for MLG to have an installation package and use native update methods. I wanted a single file that you can put in any folder, and it can work there.

as for the /TP command... I looked at that myself. you need an active user logged into the server to move around. So, it doesn't work in this case. Also, note that this program is now almost 2 years old now. it comes from back in the old Alpha days, and is compatible with every version of the server (except the unreleased buggy versions of Beta 1.9)

as for having a lot of custom or manual code - I don't want to import a lot of libraries - this is why i've avoided apache commons, etc. MLG only relies upon the base Java framework, and the JNBT library. This way, if i have a bug, I know its my code - and not some blackbox library.
Maybe its because i'm used to having to make everything myself, back in the day.

as for the Rcon stuff and github branches - I'm not even going to go near github branches with a 10 foot pole. i' actually going to remove the Rcon stuff, as it just seems overkill. All that framework just to send a stop command...

anyways, I took on this project originally because the program was no longer supported by the original author, and it needed an "!" removed. I originally had no intention of expanding it or continually re-factoring it for this long. But i have, and i will continue trying to make it better. (I do look at my code i made a year ago, and ask - why did i do it this way? -- oh yeah, Its the first way that worked!)

And so for your general topic on MLG not being up to normal Java coding standards: I find myself in this position: I have coded in many many languages over the years, never fully mastering one, largely self-taught in all. (I've also noticed that I code very verbosely in all languages - aka, the hard way) So I'm beyond the typical beginners tutorial ("hello world"), and good Intermediate tutorials are hard to come by.

from minecraftlandgenerator.

Morlok8k avatar Morlok8k commented on May 26, 2024

oh, and to reply to the title "This code is broken":

It works.
I have hundreds of users download it everyday. very few complaints - and usually due to user error.

from minecraftlandgenerator.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.