thats some trash code lmaoo learn then post
|
I downloaded apollo today and instantly one thing I hated was the use of ruby and I know I'm not alone! Anyways for all of you who wish to remain a java purist I release this...
This is a command system built on top of Apollo similar to the typical vanilla command handling system it's super simple in every aspect from the code to the configuration to the implementation other then adding one java file the server sided modification is laughable minimal and straight forward.
Note: This system will not disable the ruby system you won't have any issues running both at the same time using ruby with java does have its own set of benefits which I encourage you to research this the people who made apollo are pretty good at what they do.
Step 1. Create named org.apollo.game.command.VanillaCommandHandler.java C&P the following
Spoiler for VanillaCommandHandler.java:
Step 2. In CommandDispatcher.java in the constructor place the following code...
Mine now looks like this:Code:new VanillaCommandHandler(this);
Code:public CommandDispatcher() { // not in a plugin so it is harder for people to remove! listeners.put("credits", new CreditsCommandListener()); new VanillaCommandHandler(this); }
thats some trash code lmaoo learn then post
Let's see your improvement then. I've been developing in java and rsps for 10 years but I am open to learning.
Actually this is not what Apollo is intended to be.. Apollo was made to improve the system to be handled through plugins via *RUBY*
By this way you do not need to change core functionallities that much only scripts and plugins in the *RUBY*, I guess Graham can explain this better since his the one who created it.
I think most of the people that has been working with Apollo or currently are would say this is an aweful way that destroys the system layout of plugins.. Because this is more built for Hyperion or PI which you just posted above, which is using pure code in the JAVA files instead using plugins as Apollo are.
Doesn't Apollo use a script language called Ruby for content like this?
Ruby is one thing you need to accept to use Apollo, this anti-ruby mindset just reverses the goals and ends up making Apollo no different than other rsps
You've misunderstood my intentions I know of the ruby system apollo has in place but I don't like it...
It's confusing, unnecessary, and forces you to use it and I'm not alone in this feeling this is not a friendly setup for anyone who doesn't know ruby I support the idea to include ruby because it adds some versatility to the code but I felt that this should be optional.
Because of it's benifits I enocurage you to learn ruby as I have been doing the past day or so...
All of this has been stated before thank you for your feedback.
Really Onime? I didn't know that... I actually like ruby though tbh I love lua and it sort of reminds me of Lua... But alas I can only tinker
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |