Jump to content

Recommended Posts

Posted

 

Help please with error ERROR com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'account_name' cannot 
 
All files are properly poured, at character creation, this error.

 

import /authserver/sql/install/*.sql   to  db newcore

Posted (edited)

 

I have Error :/

 

Starting GameServer.
 
[19:26:01]  INFO =================================================
[19:26:01]  INFO Project Revision: ........ L2s [8508]
[19:26:01]  INFO Build Revision: .......... 'F:\tools' doesn't exist
[19:26:01]  INFO Update: .................. Chapter 3: Lindvior
[19:26:01]  INFO Build date: .............. 2013.10.02 23:27
[19:26:01]  INFO Compiler version: ........ 23.21-b01 (Oracle Corporation)
[19:26:01]  INFO =================================================
Exception in thread "main" java.lang.NoClassDefFoundError: l2s/gameserver/utils/
Clients
        at l2s.gameserver.GameServer.<init>(GameServer.java:158)
        at l2s.gameserver.GameServer.main(GameServer.java:399)
Caused by: java.lang.ClassNotFoundException: l2s.gameserver.utils.Clients
        at java.net.URLClassLoader$1.run(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)
        ... 2 more
 
Server terminated abnormaly ...
 
 
Server terminated ...
 
Press any key to continue . . .

 

 exact the same issue  .... 

 

Solved -=C/Paste the gameserver into libs=- Cheers

Edited by hanzo
Posted

Why do u thing u will get the files for free ? High Five too.

Also no sources = useless

 

true that..

its java you can make source :poker face: 

 

and about the error lol i didnt tryed and i wont because i am on interlude mostly but for newbies i have to say dont use packs that you dont know who coded them and what he coded inside.

packs like this are only for ripping porpuses :dat:

  • 2 months later...
Posted

Server works only in local when trying online gserver gives this err

 

 

[10.10.14 23:04:04:188] ERROR dao.CharacterDAO:
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'account_name' cannot be null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1041)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4187)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4119)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2815)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2458)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2375)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2359)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)
at l2s.gameserver.dao.CharacterDAO.insert(CharacterDAO.java:79)
at l2s.gameserver.model.Player.create(Player.java:4820)
at l2s.gameserver.network.l2.c2s.CharacterCreate.runImpl(CharacterCreate.java:64)
at l2s.gameserver.network.l2.c2s.L2GameClientPacket.run(L2GameClientPacket.java:49)
at l2s.commons.net.nio.impl.MMOExecutableQueue.run(MMOExecutableQueue.java:39)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

 

Posted

that's works fine but i dont know how to set access level because i try add to character acc lvl 100,1000,1 and this acc lvls dont works u know how this works? or u knows this values for admin privileges?

  • 3 weeks later...
Posted

that's works fine but i dont know how to set access level because i try add to character acc lvl 100,1000,1 and this acc lvls dont works u know how this works? or u knows this values for admin privileges?

can you share the newcore db please becouse im stuck at char creation problem after inporting  , ,,,

  • 3 weeks later...
Posted

 

Help please with error ERROR com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'account_name' cannot 

 

 

Same error. And i added login sqls also from Install and such...

Posted (edited)
"ERROR com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'account_name' cannot be null"

Go to database and with PHPMyAdmin or Navicat or other software that you are using(i use PHPMyAdmin) and search 'characters' table...open table structure and where there is 'account_name' field modify it with NOT NULL; after it should work :P

Edited by mircowwwa
Posted
xception in thread "main" java.lang.NoClassDefFoundError: l2s/gameserver/utils/
Clients
        at l2s.gameserver.GameServer.<init>(GameServer.java:158)
        at l2s.gameserver.GameServer.main(GameServer.java:399)
Caused by: java.lang.ClassNotFoundException: l2s.gameserver.utils.Clients
        at java.net.URLClassLoader$1.run(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)
        ... 2 more

This is a class modify error,class has been editated with notepad XD,L2Script use this class,Clients.java,for save Server "License" IP,so with this control one IP per Pack,you need to extrat .class form jar modify only an existing ip string and re-put into jar...easy :D

this is from another shared L2Script-Hi5 Pack

package l2s.gameserver.utils;

import java.util.ArrayList;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Clients
{
  private static final Logger _log = LoggerFactory.getLogger(Clients.class);
  private static List<String> _knownIps = new ArrayList();
  private static String client1 = "178.32.250.206";
  private static String client2 = "127.0.0.1";
  private static String client3 = "127.0.0.1";
  private static String client4 = "176.99.5.239";
  private static String client5 = "195.211.222.28";
  private static String client6 = "127.0.0.1";
  private static String client7 = "83.69.139.146";
  private static String client8 = "23.92.221.138";
  private static String client9 = "173.238.156.79";
  private static String client10 = "186.2.165.168";
  private static String client11 = "178.32.56.74";
  private static String client12 = "62.140.234.96";
  private static String client13 = "127.0.0.1";
  private static String client14 = "127.0.0.1";
  private static String client15 = "94.198.109.166";
  
  public static void Load()
  {
    _knownIps.add(client1);
    _knownIps.add(client2);
    _knownIps.add(client3);
    _knownIps.add(client4);
    _knownIps.add(client5);
    _knownIps.add(client6);
    _knownIps.add(client7);
    _knownIps.add(client8);
    _knownIps.add(client9);
    _knownIps.add(client10);
    _knownIps.add(client11);
    _knownIps.add(client12);
    _knownIps.add(client13);
    _knownIps.add(client14);
    _knownIps.add(client15);
  }
  
  public static List<String> getIps()
  {
    return _knownIps;
  }
}
 

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



  • Posts

    • Good luck with your project!
    • Hola Fissban , che queria preguntarte algo estoy tratando de hacer que el testserver ande pro que cuando logeo y voy a elejir el servidor no aparece y he estado con la ia incluso buscando que puede ser pero no e logrado decifrarlo me darias una mano o alguien ?  
    • The Return of L2Elixir – A Legacy Reborn in 2025 Read more features: https://l2elixir.org/features/ It’s time to relive the magic. Many of you remember L2Elixir, first launched in 2008 – a server that brought players together, created friendships, rivalries, and unforgettable memories. For two+ incredible years, until its closure in 2010, Elixir was more than just a server… it was home. In 2018, a fake project borrowed the name and damaged that legacy, but the true memories of L2Elixir never died. Today, in 2025, we are proud to announce that a new dedicated team has taken up the mantle to bring L2Elixir back to life – with respect for the past and a fresh vision for the future.   What to Expect We’re not here to be “just another server.” Our mission is to bring back nostalgia with innovation, offering a unique progression experience: Interlude-Like start, capturing that classic old-school feeling. A natural evolution into Gracia Final. Followed by Gracia Epilogue, keeping the journey alive without losing balance. This is not a copy-paste server – it’s a carefully crafted world designed to honor the spirit of Lineage II while introducing fresh ideas to keep the gameplay alive and rewarding. Why L2Elixir? A balanced environment where community comes first. A project built with passion, not profit. A server that values longevity, fairness, and nostalgia.   📅 Launch Date & Details Closed Beta: Online. Open Beta & Rewards: November 15 & 21:00 UTC +2 Launch: November 28 & 21:00 UTC +2   🔗 Join the Community Be part of history once again. Follow our Discord, join the discussion, and prepare to step back into the world where legends were made.   https://l2elixir.org/ https://discord.gg/5ydPHvhbxs L2Elixir 2025 – Honoring the Past. Building the Future.
    • 10-24-2025 - OUR TOPIC IS RELEVANT! CONTACT US BY THE CONTACTS BELOW
    • Can someone decompile in classes this LineageSkilleffect.u ? I am willing to pay if needed,  protocol god any. https://wormhole.app/BEj0pr#osVXtnL9Q-AmmVmxOcEZfw found, ty
  • Topics

×
×
  • 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