Jump to content
  • 0

Question

Posted

Not sure what happened, any clues?? This is that I get when starting the game server!!

Starting L2J-Archid Game Server.

 

Cleaned 0 elements from database.

BitSet ID Factory could not be initialized correctly

com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate

entry '268478895' for key 'PRIMARY'

        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)

        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)

        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)

        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)

        at com.mysql.jdbc.Connection.execSQL(Connection.java:3250)

        at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1355)

        at com.mysql.jdbc.Statement.executeUpdate(Statement.java:1270)

        at com.mchange.v2.c3p0.impl.NewProxyStatement.executeUpdate(NewProxyStat

ement.java:64)

        at com.l2jarchid.gameserver.idfactory.IdFactory.extractUsedObjectIDTable

(IdFactory.java:244)

        at com.l2jarchid.gameserver.idfactory.BitSetIDFactory.initialize(BitSetI

DFactory.java:85)

        at com.l2jarchid.gameserver.idfactory.BitSetIDFactory.<init>(BitSetIDFac

tory.java:73)

        at com.l2jarchid.gameserver.idfactory.IdFactory.<clinit>(IdFactory.java:

114)

        at com.l2jarchid.gameserver.GameServer.<init>(GameServer.java:172)

        at com.l2jarchid.gameserver.GameServer.main(GameServer.java:532)

IDFactory: 102912 id's available.

Could not read object IDs from DB. Please Check Your Data.

Exception in thread "main" java.lang.Exception: Could not initialize the ID fact

ory

        at com.l2jarchid.gameserver.GameServer.<init>(GameServer.java:176)

        at com.l2jarchid.gameserver.GameServer.main(GameServer.java:532)

 

8 answers to this question

Recommended Posts

  • 0
Posted

Is that hard to read the error carefully?

 

com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Duplicate

entry '268478895' for key 'PRIMARY'

 

 

 

  • 0
Posted

Yes I have JDK and I got that one error during the compile then when I installed the server it gave me all that greek...I happen to be American and we don't get to learn all the cool languages in school like other countries :(

  • 0
Posted

this problem is appeart always when u start the server cauz..

in my server sometime appar problems like Duplicate

entry '268478895' for key 'PRIMARY'

 

but i give a new rr to the server and its ok...

  • 0
Posted

Try to repair you'r databases with navicat : Select all of them - and Repair ... should do the trick and you wont get that error anymore :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Hello, I add this code here https://maxcheaters.com/topic/248730-agathions-acis-401-does-not-interfere-with-summons-or-pets/.     but i have problem with agathion movement, agathion does not move when the player moves. The player must stop moving for Agathion to come close him.   i think the problem is here at < _followTask = ThreadPool.scheduleAtFixedRate(new Follow(this), 1000, 1000); >>       public void followToOwner()     {                  if (_followTask == null)             _followTask = ThreadPool.scheduleAtFixedRate(new Follow(this), 1000, 1000);                                  int rnd = Rnd.get(-30, +30);         SpawnLocation loc = _owner.getPosition();                          if (!checkIfInRange(1000, this, _owner))             teleport(_owner, 30);                  if (_owner.isMoving())             getAI().tryToFollow(_owner, false);         else         {             if (!checkIfInRange(75, this, _owner))                 getAI().tryToMoveTo(new Location(loc.getX()+rnd, loc.getY()+rnd, loc.getZ()), null);             else if (checkIfInRange(30, this, _owner))                 getAI().tryToIdle();                              if (Config.AGATHION_HEAL_OWNER && !getCast().isCastingNow())             {                 if (_owner.isInOlympiadMode() || _owner.isInDuel() || _owner.getPvpFlag() != 0 || _owner.isInsideZone(ZoneId.PVP) || _owner.getKarma() != 0)                     return;                                  if ((_owner.getStatus().getHpRatio() < Config.AGATHION_PERCENT_TO_HEAL))                     getAI().tryToCast(_owner, 1011, 18);             }             else if (!Config.AGATHION_ONLY_FOLLOW && Config.AGATHION_ALLOW_SOCIAL && !isMoving() && !getCast().isCastingNow())                 broadcastPacket(new SocialAction(this, 1));         }  
    • Price reduction for Google accounts from 6-12 months after registration - only 0.3157$ each. Top up with Gmail accounts with activated 2FA - 0.3507$ each!
    • We are certainly not an ambulance, but we will definitely cure you of blacklists and empty pockets. Live freely with SX! Each of you will receive a trial version of SX to familiarize yourself with the product, all you have to do is post in this thread
    • Hello everyone! L2 Imagination High Five - New Seasson is here!       OPEN BETA from 17.03.2025 LIVE START 21.03.2025 GMT+1      Rates: XP/SP 25x, Spoil 15x, Drop 10x, Adena 10x   Server Features: Free Auto-Farm, Castle Instance, Daily Reward Calendar, Adena Boxes VIP Gold Color Chat, Unique Olympiad Extra Points Engine, GvG Event Solo Instance, PvP Solo Rift, Automatic GvG Event, Improved Orfen and Core Areas Lair of Antharas and Dragon Valley alternating PvP and Normal  every hour 6:00PM-0:00AM      Website: https://www.l2imagination.com  Discord: https://discord.com/invite/frCaDM4Bhg
  • Topics

×
×
  • Create New...