[Guide] Complete C3 server setup guide Setup L2J 

Status
Not open for further replies.
how can i be GM and what are the commands and how i can add shops or monsters
 
ok i found fron an other forum how to open the GM Control Panel. Just type //admin and voila!! but first you must paste the data folder from the Datapack, in the l2j folder and overwrite.

But i dont know how i can be GM and stats :( i have spawn Anthara in front of me :))

How can i make a GM with high stats ? from MySQL i out them but when i logged on with the char are the same they dont change :(
 
Damn I don't know what to do, I can conet to my database with navicat everything is okey, I got lot's of java **** when I'm trying to start up my server.. it's somethign like this:

java.sql.SQLException: Syntax error or access violation message from server: "Un
known database 'l2jdb'"
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1997)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1906)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:2520)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:817)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1786)
at com.mysql.jdbc.Connection.<init>(Connection.java:450)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:411)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag
erDataSource.java:66)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:76)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C
3P0PooledConnectionPool.java:66)
at com.mchange.v2.resourcepool.BasicResourcePool.assimilateResource(Basi
cResourcePool.java:787)
at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResou
rcePool.java:548)
at com.mchange.v2.resourcepool.BasicResourcePool.access$000(BasicResourc
ePool.java:35)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicRe
sourcePool.java:972)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thre
adPoolAsynchronousRunner.java:148)
java.sql.SQLException: Syntax error or access violation message from server: "Un
known database 'l2jdb'"
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1997)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1906)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:2520)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:817)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1786)
at com.mysql.jdbc.Connection.<init>(Connection.java:450)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:411)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag
erDataSource.java:66)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:76)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.acquireResource(C
3P0PooledConnectionPool.java:66)
at com.mchange.v2.resourcepool.BasicResourcePool.assimilateResource(Basi
cResourcePool.java:787)
at com.mchange.v2.resourcepool.BasicResourcePool.acquireUntil(BasicResou
rcePool.java:548)
at com.mchange.v2.resourcepool.BasicResourcePool.access$000(BasicResourc
ePool.java:35)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicRe
sourcePool.java:972)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thre
adPoolAsynchronousRunner.java:148)
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@aa9835 -- Unexpectedly
Broken!!!
While trying to acquire a needed new resource, we failed
to succeed more than the maximum number of allowed
com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@1eec612 -- Unexpectedl
y Broken!!!
While trying to acquire a needed new resource, we failed
to succeed more than the maximum number of allowed
acquisition attempts (30).
com.mchange.v2.resourcepool.BasicResourcePool@5ffb18 -- Unexpectedly broken!!!
acquisition attempts (30).
com.mchange.v2.resourcepool.ResourcePoolException: Unexpected Break Stack Trace!

at com.mchange.v2.resourcepool.BasicResourcePool.unexpectedBreak(BasicRe
sourcePool.java:431)
at com.mchange.v2.resourcepool.BasicResourcePool.access$100(BasicResourc
ePool.java:35)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicRe
sourcePool.java:985)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thre
adPoolAsynchronousRunner.java:148)
com.mchange.v2.resourcepool.BasicResourcePool@5ffb18 -- Unexpectedly broken!!!
com.mchange.v2.resourcepool.ResourcePoolException: Unexpected Break Stack Trace!

at com.mchange.v2.resourcepool.BasicResourcePool.unexpectedBreak(BasicRe
sourcePool.java:431)
at com.mchange.v2.resourcepool.BasicResourcePool.access$100(BasicResourc
ePool.java:35)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicRe
sourcePool.java:985)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thre
adPoolAsynchronousRunner.java:148)
com.mchange.v2.resourcepool.BasicResourcePool@5ffb18 -- close() called multiple
times.
com.mchange.v2.resourcepool.BasicResourcePool@5ffb18 -- an attempt to checkout a
resource was interrupted: some other thread must must have either interrupted t
he Thread attempting checkout or called close() on the pool.
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAcquire(BasicResou
rcePool.java:776)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicR
esourcePool.java:198)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicR
esourcePool.java:170)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConne
ction(C3P0PooledConnectionPool.java:172)
at com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedData
Source.java:58)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:90)
at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:109)
at net.sf.l2j.Server.main(Server.java:70)
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAcquire(BasicResou
rcePool.java:776)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicR
esourcePool.java:198)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicR
esourcePool.java:170)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConne
ction(C3P0PooledConnectionPool.java:172)
at com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedData
Source.java:58)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:90)
at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:109)
at net.sf.l2j.Server.main(Server.java:70)
Exception in thread "main" java.sql.SQLException: java.lang.InterruptedException

at java.lang.Object.wait(Native Method)
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAcquire(BasicResou
rcePool.java:776)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicR
esourcePool.java:198)
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicR
esourcePool.java:170)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConne
ction(C3P0PooledConnectionPool.java:172)
at com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedData
Source.java:58)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:90)
at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:109)
at net.sf.l2j.Server.main(Server.java:70)

at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:62)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConne
ction(C3P0PooledConnectionPool.java:174)
at com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedData
Source.java:58)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:90)
at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:109)
at net.sf.l2j.Server.main(Server.java:70)
Press any key to continue . . .
 
my wyvern fly with my speed but he need to fly with speed 300++ any one know how i can to do that? and.. stats can't change in //admin.. there can change only hp/mp but p.aspeed p.atk m.atk etc can't change..in mysql can't change too, any 1 know how to change>? :eh:
 
godson said:
Hey ikkey

I have downloaded the new Java SDK, but i still get that same error that other dude got

Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sf/l2j/Se
rver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknow n Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Press any key to continue . . .

Can you be able to help me out?

Thanks
I get same errors, and try 3 versions of Sun Java.
With last version 1.05 aka five version work nice.
 
Karl Kory said:
if u can't connect to ur server, may be u use PTS client, if so....
try this in hosts file
127.0.0.1 L2testauthd.lineage2.com

I think GameGuard of C3 client need internet connection to update some or check license.
My WinProxy detect that C3 client request connect to
update.lineage2.com but i can not edit my host:
127.0.0.1 update.lineage2.com
It don't understand my host.
 
hi , i got l2j ru server running good ,but potion isn't working.
anybody knows how to fix this.
thanks alot.
 
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@18558d2 [ con
nectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@1bd
747e [ acquireIncrement -> 3, autoCommitOnClose -> true, connectionTesterClassNa
me -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation ->
null, forceIgnoreUnresolvedTransactions -> false, idleConnectionTestPeriod -> 60
000, initialPoolSize -> 1, maxIdleTime -> 600000, maxPoolSize -> 5, maxStatement
s -> 100, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManage
rDataSource@18a47e0 [ description -> null, driverClass -> null, factoryClassLoca
tion -> null, jdbcUrl -> jdbc:mysql://localhost/l2jdb, properties -> {user=root,
password=** ] , propertyCycle -> 300, testConnectionOnCheckout -> false ] , fact
oryClassLocation -> null, numHelperThreads -> 3 ]
java.sql.SQLException: Syntax error or access violation message from server: "Un
known database 'l2jdb'"
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1997)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1906)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:2520)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:817)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1786)
at com.mysql.jdbc.Connection.<init>(Connection.java:450)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java


what dose this mean i need help i feel i am really close lol I have MSSQL and MYSQL... some times MYSQL dosent work and says "cannot create windows service for MySQL. error: 0" I set the "full_instal.bat" to "C:\Program Files\MySQL\MySQL Server 4.1\bin" i dont know whats wrong... **I just tried it on another computer that didnt have sql on it same problem.. i cant figure this one out...**
Installing new content.
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
ERROR 1049 (42000): Unknown database 'l2jdb'
getting this pm the full_install.bat **Ok I think i know what the problem was the conection name was l2jdb but not the data base i am redoing it now i will tell you how it goes :eat_arrow ***OMFG IT WORKED WOOT!** alittle self help right here lol ;-)
 
Last edited:
ahah beat your Minimum Req. server is

600Mhz PIII
256MB ram
64MB ATI radion 9600
30+10GB hard drive good

Good old IBM 300GL ;-) i dont know why you made the specs so high its just a dos promt windows you dont neet to play the game on the server...
 
arideus said:
i told u... its not emulators fault... Its umm let me explain do u know what encryption of l2.ini file is? and the new gameguard? and the 412 Algorithms? belvie me i tried everything... but i couldnt get that decryptor to work :(:(:( and ye i have tried all posible ways of connecting, by using programs like L2Proxy, Sockap V2 etc etc i changed my lan ip like 100 times the host method wont work.. the c3 clinet's l2.ini is encrypted in 412 and we need someone to help us and lear us how to use the frikin l2encdec254... gg k thnx bye :chair:

Which l2.ini are you using? the one from the pts or the normal client?

What does your hosts file contain l2testauthd.lineage2.com?

Let me know or add me on msn [email protected]

I will help you out.
 
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sf/l2j/Se
rver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Press any key to continue . . .

what does that mean
 
kaluven said:
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/sf/l2j/Se
rver (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Press any key to continue . . .

what does that mean

Means you need to update/install JDK to jdk1.5.0_*
 
tomingesas said:
Just target yourself and in Character List( in //admin panel) press on your name to access character edit panel :)

when i press in my name the window closed and nothing happens :(((
 
Status
Not open for further replies.
Back