[TOOL] L2J AIOLS - v2.2 - 10.10.15

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
User avatar
zatei
Posts: 103
Joined: Sat Apr 10, 2010 11:25 am
Location: Russia

Re: [TOOL] L2J AIOLS - v0.9 - 01.07.12

Post by zatei »

If anyone catched new bugs in v0.9 please report here or PM me if you want. I havent found any errors by myself but i still want to make my work even better, feel free to criticize it plz.
Ay kan saey dat dis qest is bollsit cauise itz vaery problames in coaer drunk bear vodka matreshka balalaika...
Sorry for bad English :D
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: [TOOL] L2J AIOLS - v0.9 - 01.07.12

Post by UnAfraid »

Code: Select all

^M
problem mostly comes from editing with windows editors such as notepad/notepad++ that's because of \r\n.
linux uses just \n clear them through mcedit and you won't have any problems :P

http://stackoverflow.com/questions/6474 ... d-of-lines

Great job btw!
Image
User avatar
zatei
Posts: 103
Joined: Sat Apr 10, 2010 11:25 am
Location: Russia

Re: [TOOL] L2J AIOLS - v0.9 - 01.07.12

Post by zatei »

I'm using AkelPad and never have a problems with UNIX line endings before (editing lot's of debian configs every day :)). Maybe it's because of copypasted parts from SecureCRT terminal, thanks for reply, will check and update the script (soon :P).
Ay kan saey dat dis qest is bollsit cauise itz vaery problames in coaer drunk bear vodka matreshka balalaika...
Sorry for bad English :D
User avatar
zatei
Posts: 103
Joined: Sat Apr 10, 2010 11:25 am
Location: Russia

Re: [TOOL] L2J AIOLS - v1.0b1 - 25.07.13

Post by zatei »

+ = Added ! = Removed ^ = Changed # = Fixed

25.07.13 : v1.0b1
+ Added predefined answers support with ability to pass answers as arguments.
+ Added actual exit codes on success/error.
^ Some reworks to support some planned functions.
# Fixes, mistypes, quoting, etc.

24.07.13 : v1.0a4
+ Added logrotate config
! Code cleanup

24.07.13 : v1.0a3
^ Rewrited start/stop function, again :)
Now you don't need loader and loop script from DP, all integrated in AIOLS code.
+ Added some new configs

23.07.13 : v1.0a2
# Many tests and fixes

16.07.13 : v1.0a1
^ Script core fully reworked from scratch
^ Rewrited to newest bash syntax
+ Added new startup parameters
+ Added ftp support
+ Added some checks
Ay kan saey dat dis qest is bollsit cauise itz vaery problames in coaer drunk bear vodka matreshka balalaika...
Sorry for bad English :D
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: [TOOL] L2J AIOLS - v1.0b1 - 25.07.13

Post by Zoey76 »

I like the tools logo!
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
zatei
Posts: 103
Joined: Sat Apr 10, 2010 11:25 am
Location: Russia

Re: [TOOL] L2J AIOLS - v1.0b1 - 25.07.13

Post by zatei »

27.07.13 : v1.0b2
# Many tests and fixes
Ay kan saey dat dis qest is bollsit cauise itz vaery problames in coaer drunk bear vodka matreshka balalaika...
Sorry for bad English :D
Morus
Posts: 21
Joined: Fri Sep 18, 2009 8:53 pm

Re: [TOOL] L2J AIOLS - v1.0b2 - 27.07.13

Post by Morus »

thanks
User avatar
kadaz
Posts: 32
Joined: Wed Oct 23, 2013 11:05 am
Location: Athens
Contact:

Re: [TOOL] L2J AIOLS - v1.0b2 - 27.07.13

Post by kadaz »

thanks a lot!Its working!!!
Image
Inspire
Posts: 11
Joined: Mon Feb 02, 2009 7:21 am

Re: [TOOL] L2J AIOLS - v1.0b2 - 27.07.13

Post by Inspire »

thanks
User avatar
Zephyr
L2j Veteran
L2j Veteran
Posts: 331
Joined: Wed Sep 19, 2012 10:44 pm
Location: Argentina

Re: [TOOL] L2J AIOLS - v1.0b2 - 27.07.13

Post by Zephyr »

Useful script :D Thanks!
User avatar
zatei
Posts: 103
Joined: Sat Apr 10, 2010 11:25 am
Location: Russia

Re: [TOOL] L2J AIOLS - v2.0b1 - 27.09.15

Post by zatei »

29.07.15 : v2.0.b1
+ Added ability to use GIT repo and pull project to build it later
+ Added ability to build project using new Gradle build system
^ Changed workflow basics, now you can use more flexible way to run commands
^ Script heavily rewrited and optimized, added many failure checks
# Fixed database installer path to dbinst_** cause old database_installer was deprecated

Yo Dawg, I herd you like GIT, so I put an GIT in my script so you can build while you build.
As always bug reports are welcome :wink:
Ay kan saey dat dis qest is bollsit cauise itz vaery problames in coaer drunk bear vodka matreshka balalaika...
Sorry for bad English :D
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: [TOOL] L2J AIOLS - v2.0b1 - 27.09.15

Post by Zoey76 »

zatei wrote:29.07.15 : v2.0.b1
+ Added ability to use GIT repo and pull project to build it later
+ Added ability to build project using new Gradle build system
^ Changed workflow basics, now you can use more flexible way to run commands
^ Script heavily rewrited and optimized, added many failure checks
# Fixed database installer path to dbinst_** cause old database_installer was deprecated

Yo Dawg, I herd you like GIT, so I put an GIT in my script so you can build while you build.
As always bug reports are welcome :wink:
Thanks pro! :+1:
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
zatei
Posts: 103
Joined: Sat Apr 10, 2010 11:25 am
Location: Russia

Re: [TOOL] L2J AIOLS - v2.0b2 - 05.10.15

Post by zatei »

05.10.15 : v2.0.b2
# Fixed wrong chmod, copy, remove targets
# Fixed archive unzipping over existing files
# Fixed short commands execution order
# Fixed typos and wrong newlines
# Other little fixes
Ay kan saey dat dis qest is bollsit cauise itz vaery problames in coaer drunk bear vodka matreshka balalaika...
Sorry for bad English :D
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: [TOOL] L2J AIOLS - v2.0b2 - 05.10.15

Post by Zoey76 »

zatei wrote:05.10.15 : v2.0.b2
# Fixed wrong chmod, copy, remove targets
# Fixed archive unzipping over existing files
# Fixed short commands execution order
# Fixed typos and wrong newlines
# Other little fixes
If you think is good let's add them to server tools :+1:
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
deurk
Posts: 5
Joined: Mon May 21, 2007 7:52 am

Re: [TOOL] L2J AIOLS - v2.0b2 - 05.10.15

Post by deurk »

Very nice initiative.
I'm running into an issue using it but it might be because I am missing a component.

When running ./aiols.sh make, I have the following error:

Code: Select all

Chmod successfull.

Downloading https://services.gradle.org/distributions/gradle-2.6-rc-1-bin.zip
..................................................................................................................................................................................................................................
..................................................................................................................................................................................................................................
..................................................................................................................................................................................................................................
..................................................................................................................................................................................................................................
..................................................................................................................................................................................................................................
..................................................................................................................................................................................................................................
..................................................................................................................................................................................................................................
..................................................................................................................................................................................................................................
..................................................................................................................................................................................................................................
...........................................................................................................................................................................................................
Unzipping /root/.gradle/wrapper/dists/gradle-2.6-rc-1-bin/cgffopeie1i1bgrh0v2d1j2cf/gradle-2.6-rc-1-bin.zip to /root/.gradle/wrapper/dists/gradle-2.6-rc-1-bin/cgffopeie1i1bgrh0v2d1j2cf
Set executable permissions for: /root/.gradle/wrapper/dists/gradle-2.6-rc-1-bin/cgffopeie1i1bgrh0v2d1j2cf/gradle-2.6-rc-1/bin/gradle
Build in build/distributions/L2J_DataPack_2015-10-07.zip
Download https://repo1.maven.org/maven2/c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.pom
Download https://repo1.maven.org/maven2/com/sun/mail/javax.mail/1.5.4/javax.mail-1.5.4.pom
Download https://repo1.maven.org/maven2/com/sun/mail/all/1.5.4/all-1.5.4.pom
Download https://repo1.maven.org/maven2/net/java/jvnet-parent/1/jvnet-parent-1.pom
Download https://repo1.maven.org/maven2/com/zaxxer/HikariCP/2.4.0/HikariCP-2.4.0.pom
Download https://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/7/oss-parent-7.pom
Download https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.36/mysql-connector-java-5.1.36.pom
Download https://repo1.maven.org/maven2/org/bitlet/weupnp/0.1.3/weupnp-0.1.3.pom
Download https://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.4.2/ecj-4.4.2.pom
Download https://repo1.maven.org/maven2/org/python/jython/2.2.1/jython-2.2.1.pom
Download https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.pom
Download https://repo1.maven.org/maven2/org/slf4j/slf4j-parent/1.7.12/slf4j-parent-1.7.12.pom
Download https://repo1.maven.org/maven2/org/slf4j/slf4j-jdk14/1.7.12/slf4j-jdk14-1.7.12.pom
Download https://repo1.maven.org/maven2/c3p0/c3p0/0.9.1.2/c3p0-0.9.1.2.jar
Download https://repo1.maven.org/maven2/com/sun/mail/javax.mail/1.5.4/javax.mail-1.5.4.jar
Download https://repo1.maven.org/maven2/com/zaxxer/HikariCP/2.4.0/HikariCP-2.4.0.jar
Download https://repo1.maven.org/maven2/mysql/mysql-connector-java/5.1.36/mysql-connector-java-5.1.36.jar
Download https://repo1.maven.org/maven2/org/bitlet/weupnp/0.1.3/weupnp-0.1.3.jar
Download https://repo1.maven.org/maven2/org/eclipse/jdt/core/compiler/ecj/4.4.2/ecj-4.4.2.jar
Download https://repo1.maven.org/maven2/org/python/jython/2.2.1/jython-2.2.1.jar
Download https://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.jar
Download https://repo1.maven.org/maven2/org/slf4j/slf4j-jdk14/1.7.12/slf4j-jdk14-1.7.12.jar
Build in build/distributions/L2J_Server_2015-10-07.zip
:L2J_Server:compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':L2J_Server:compileJava'.
> Could not find tools.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 39.05 secs
Datapack building failed with error.
Any pointer for me?

Thanks a bunch.
Post Reply