Jump to content
  • 0

Won't Create Databases [L2Jhellas] + L2Jfrozen (Can't Compile)


Question

Posted

For l2jhellas:

 

After compiling perfectly, creating a database called "l2jhellas", opening "Database Installer", putting every MySQL .. data.. (MySQL password, bla bla)

*Enter, Enter, Enter, Enter, Enter,*, After doing that, says "successfuly bla bla vars.txt", "Trying to BackUp you Server Database":

 

Error:

Backup attempt failed! A possible reason for this to happen, is that your DB doesn't exist yet. I could try to create l2jhellas for you, but maybe you prefer to continue with last part of script.

ATTEMPT TO CREATE l2jhellas SERVER DATABASE?

<y> Yes
<n> No
<r> Reconfigure
<q> Quit

Choose <default yes>:

NOTE: I ALREADY CREATED DB CALLED l2jhellas but... wtf?

 

After clicking *Enter*:

There was some problem while executing:

"""C:\xampp\mysql\bin"\mysql.exe" -h localhost -u root --password=(my pw) -e "CREATE DATABASE l2jhellas " --default-character-set=utf8 2>NUL"

I'd suggest you to look for correct values and try this
script again later. But maybe you'd prefer to go on now.

<c> Continue running the script
<r> Reconfigure
<q> Quit now

Choose <default quit>:

Clicking *Enter* ... :S

 

 

 

------------------------------------------

For L2JFrozen:

 

Did every step on video and the tutorial from here: Click Me

On step 5), -Run it

 

Right clicking the "main", Run as Maven Build 2

- It runs it .. till then -:

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] \Users\PwnnZ\git\l2jfrozen2\game\src\main\java\com\l2jfrozen\gameserver\model\base\PlayerClass.java:[241,34] error: cannot access Race
[ERROR] \Users\PwnnZ\git\l2jfrozen2\game\src\main\java\com\l2jfrozen\gameserver\model\base\PlayerClass.java:[242,21] error: cannot find symbol
[ERROR] \Users\PwnnZ\git\l2jfrozen2\game\src\main\java\com\l2jfrozen\gameserver\model\base\PlayerClass.java:[245,21] error: cannot find symbol
[INFO] 3 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] main .............................................. SUCCESS [8.642s]
[INFO] common ............................................ SUCCESS [55.826s]
[INFO] database .......................................... SUCCESS [5.151s]
[INFO] login ............................................. SUCCESS [34.091s]
[INFO] game .............................................. FAILURE [1:30.017s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:15.443s
[INFO] Finished at: Sat May 03 01:30:22 EEST 2014
[INFO] Final Memory: 18M/43M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project game: Compilation failure: Compilation failure:
[ERROR] \Users\PwnnZ\git\l2jfrozen2\game\src\main\java\com\l2jfrozen\gameserver\model\base\PlayerClass.java:[241,34] error: cannot access Race
[ERROR] \Users\PwnnZ\git\l2jfrozen2\game\src\main\java\com\l2jfrozen\gameserver\model\base\PlayerClass.java:[242,21] error: cannot find symbol
[ERROR] \Users\PwnnZ\git\l2jfrozen2\game\src\main\java\com\l2jfrozen\gameserver\model\base\PlayerClass.java:[245,21] error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :game

Any help ideas? :D

5 answers to this question

Recommended Posts

  • 0
Posted

the error in hellas is because you did something wrong in one of those: username, password, dbname, mysql path.

pick one and fix it

  • 0
Posted (edited)

the error in hellas is because you did something wrong in one of those: username, password, dbname, mysql path.

pick one and fix it

Here it is man:

REM GAME SERVER

set gsuser=root

set gspass=1712988

set gsdb=l2jhellas

set gshost=localhost

 

My MySQL password, username, database and host.. are the same!'

 

About mysql path, if i change it to "%ProgramFiles%\MySQL\MySQL Server 5.6\bin", it doesn't even open the installer.. :S

 

Anyway, I just want to create l2jfrozen server, how can I fix that problem? :S

Edited by PwnnZ
  • 0
Posted

#BUMP

 

Well you can always execute all SQL's and don't use this tool simple by selecting multiple execution in MySQL.

That's what i would recommend you and for future.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock