oDrop Item Management System (JavaScript/Java)
Posted: Thu Jan 12, 2012 3:55 am
Hello!
I'm happy to announce the application I have been working on for the past year (or actually even longer).
oDrop is an open-source and free JavaScript-application for managing items (and possibly accounts and characters and much more later on) in Lineage 2 (up to High 5, but I think it'd be easy to make it work with GoD).
It runs basically in every webbrowser. However: I haven't tested anything besides IE8/IE9 and FF4+.
This application is written using GWT (Google Web Toolkit, a java-to-javascript-compiler and -framework) and Java (for backend). It runs on tomcat (I've tested it on version 7.0) and connects to the database using JNDI, meaning you can simply change the configuration in the "context.xml" and "web.xml" files, which you can find in the META-INF and WEB-INF folders.
In some cases you might also want to readjust the folders etc. Please note: some folder paths are still hardcoded, since this program is far from being done.
In fact: there is no binary version of the program just yet, but I think I might release a version that can be used without any debugging tools and without compilation very soon (probably in a week or two).
Currently the program can do the following:
Oh - before I forget it: this program is not meant to be used in productive environments just yet, as I'm not sure about its security. While I have sessions working, I still didn't manage to actually let the program check every now and then whether the user is allowed to do what he does. I will work on this once I'm done with recipes and characters/character-details.
Below you can find a few screenshots of this application. Since it's basically a Javascript file, it can be made to appear on any page and since it does not need reloading (all data is fetched asynchronously using AJAX and GWT-RPC) you won't have any trouble. The only thing is that you do need to login as of now - there is no way around it (at the moment). This may be awkward if your user already logged in into your website.

If you want to help, feel free to drop by on https://code.google.com/p/odrop/.
Things that need to be done before this program may be used in production environment:
Basically you will need the GWT 2.4 SDK and some knowledge to get this project up and running.
This application will be distributed under GPLv3 license. All files (except third-party-files) - even those that lack the license-header - fall under GPLv3 license. If you checkout this project or use the binary files later, you agree to the license.
I'll be updating this thread as I progress.
See you soon and have a nice day!
Hyrelius.
P.s.: in theory this program would even be able to run on HTML5-enabled phones, but - amongst many other things - I didn't yet test it.
P.s.2: Dear Admins and Moderators: if this topic by any means offended you or broke the rules, please tell me so I can fix it. I do not have any bad intentions, I just want to contribute to a game/game system that I've been playing for about 7 years now. Thank you!
I'm happy to announce the application I have been working on for the past year (or actually even longer).
oDrop is an open-source and free JavaScript-application for managing items (and possibly accounts and characters and much more later on) in Lineage 2 (up to High 5, but I think it'd be easy to make it work with GoD).
It runs basically in every webbrowser. However: I haven't tested anything besides IE8/IE9 and FF4+.
This application is written using GWT (Google Web Toolkit, a java-to-javascript-compiler and -framework) and Java (for backend). It runs on tomcat (I've tested it on version 7.0) and connects to the database using JNDI, meaning you can simply change the configuration in the "context.xml" and "web.xml" files, which you can find in the META-INF and WEB-INF folders.
In some cases you might also want to readjust the folders etc. Please note: some folder paths are still hardcoded, since this program is far from being done.
In fact: there is no binary version of the program just yet, but I think I might release a version that can be used without any debugging tools and without compilation very soon (probably in a week or two).
Currently the program can do the following:
- Login one or several accounts
- Show characters and let the user pick the characters he wants to work with
- Show the character-belongings
- Let the user filter the view by showing/hiding columns
- Let the user filter the view by choosing item properties (e.g.: show only items of certain grades)
- Let the user type in an item name or part of it in order to filter the output (e.g.: "adena" would return all items containing that string)
- Supports multiple languages (easily translatable using property-files; the application needs to be recompiled afterwards though; currently I include localization for German and English)
Oh - before I forget it: this program is not meant to be used in productive environments just yet, as I'm not sure about its security. While I have sessions working, I still didn't manage to actually let the program check every now and then whether the user is allowed to do what he does. I will work on this once I'm done with recipes and characters/character-details.
Below you can find a few screenshots of this application. Since it's basically a Javascript file, it can be made to appear on any page and since it does not need reloading (all data is fetched asynchronously using AJAX and GWT-RPC) you won't have any trouble. The only thing is that you do need to login as of now - there is no way around it (at the moment). This may be awkward if your user already logged in into your website.








If you want to help, feel free to drop by on https://code.google.com/p/odrop/.
Things that need to be done before this program may be used in production environment:
- Check and probably fix security issues concerning the rather weak login system
- Preferably, though not essential: write JUnit-tests (sorry - I was too lazy for that)
- Check compatibility with the other major browsers (Chrome, Opera and Safari)
- Get L2J-owners permission to distribute the Skill- and Item-XML files along (at the moment you will have to get both the item- and skill-xml files (#####-#####.xml) yourself and put them into the corresponding resource-folders)
- Find out if it'd be okay to distribute the icon-images of skills and items along with this program (currently you will have to get them yourself using whatever means)
- And finally: create a binary package that is easy to setup and upload to a tomcat-enabled environment
Basically you will need the GWT 2.4 SDK and some knowledge to get this project up and running.
This application will be distributed under GPLv3 license. All files (except third-party-files) - even those that lack the license-header - fall under GPLv3 license. If you checkout this project or use the binary files later, you agree to the license.
I'll be updating this thread as I progress.
See you soon and have a nice day!
Hyrelius.
P.s.: in theory this program would even be able to run on HTML5-enabled phones, but - amongst many other things - I didn't yet test it.
P.s.2: Dear Admins and Moderators: if this topic by any means offended you or broke the rules, please tell me so I can fix it. I do not have any bad intentions, I just want to contribute to a game/game system that I've been playing for about 7 years now. Thank you!