Hello guys , i would like some help here please. I'm working on 350rev acis pack and today i implemented masterio's pvp rank system into it , it's working except from one problem!!! Some tables won't get their data stored on shutdown or restart and i will get an error when the scheduled table update is running. Note : this "pvp system" needs javolution , so i installed the jar via eclipse , *i took javolution from l2j server hi5*
L2DatabaseFactory.java
public Connection getConnection()
{
Connection con = null;
while (con == null)
{
try
{
Line 142 con = _source.getConnection();
}
catch (SQLException e)
{
_log.warning("L2DatabaseFactory: getConnection() failed, trying again " + e);
}
}
return con;
}
PvpTable.java
public int[] updateDB()
{
int[] result = {0, 0, 0};
int insertCount = 0; // count of insert queries
int updateCount = 0; // count of update queries
Connection con = null;
Statement statement = null;
try
{
Line 362 con = L2DatabaseFactory.getInstance().getConnection();
statement = con.createStatement();
Shutdown.java
// Rank PvP System by Masterio:
if (RankPvpSystemConfig.RANK_PVP_SYSTEM_ENABLED)
{
Line 225 int[] up = PvpTable.getInstance().updateDB();
if(up[0] == 0)
{
_log.info("PvpTable: Data saved ["+up[1]+" inserts and "+up[2]+" updates].");
}
}
Shutdown.java
// shutdown: send warnings and then call exit to start shutdown sequence
countdown();
switch (_shutdownMode)
{
case GM_SHUTDOWN:
SingletonHolder._instance.setMode(GM_SHUTDOWN);
SingletonHolder._instance.run();
System.exit(0);
break;
case GM_RESTART:
SingletonHolder._instance.setMode(GM_RESTART);
Line 277 SingletonHolder._instance.run();
System.exit(2);
break;
}
Edit : This error appeared in console 3-4 minutes later.
Hello mate, it's been a while since you appeared on discord, I would like your attention to finalize the ongoing project, if you see this please reply to me.
i think Interlude is better...there are lots of IL pack based on Vanganth old code in this forum,you can find it.
C5 only bugged in there.
Kameal i only know the La2world did that.
HB ,hmmm...the COEP i guess.
Verified and stable decrypter for unpacking files protected by ActiveAnticheat (AA) in Lineage 2. The utility provides direct access to game resources for modification, study, and creating your own content.
Unpacks internal game files: .dat, .u, .ukx, .usx, .ini, and others.
Batch processing: Decrypt an entire client folder at once.
Single-file decryption: For working with individual files.
Important: Antivirus programs may trigger false positives since the tool modifies files. It is recommended to add the utility to your exceptions list.
Proof of functionality:
https://youtu.be/SMSIo4aAmp4
The video clearly demonstrates the entire process: from launching the utility to successfully unpacking the files and their subsequent use.
Purchase Terms:
Price: $150
Promotion: 20% discount for the first buyer!
Payment method: USDT.
How to buy:
Contact me on Telegram: @kiselevwv for a quick response.
I will answer all your questions and provide additional information if necessary.
I guarantee functionality at the time of sale and prompt setup assistance after purchase.
Question
Alexi
Hello guys , i would like some help here please.

I'm working on 350rev acis pack and today i implemented masterio's pvp rank system into it , it's working except from one problem!!!
Some tables won't get their data stored on shutdown or restart and i will get an error when the scheduled table update is running.
Note : this "pvp system" needs javolution , so i installed the jar via eclipse , *i took javolution from l2j server hi5*
L2DatabaseFactory.java
public Connection getConnection() { Connection con = null; while (con == null) { try { Line 142 con = _source.getConnection(); } catch (SQLException e) { _log.warning("L2DatabaseFactory: getConnection() failed, trying again " + e); } } return con; }PvpTable.java
public int[] updateDB() { int[] result = {0, 0, 0}; int insertCount = 0; // count of insert queries int updateCount = 0; // count of update queries Connection con = null; Statement statement = null; try { Line 362 con = L2DatabaseFactory.getInstance().getConnection(); statement = con.createStatement();Shutdown.java
// Rank PvP System by Masterio: if (RankPvpSystemConfig.RANK_PVP_SYSTEM_ENABLED) { Line 225 int[] up = PvpTable.getInstance().updateDB(); if(up[0] == 0) { _log.info("PvpTable: Data saved ["+up[1]+" inserts and "+up[2]+" updates]."); } }Shutdown.java
// shutdown: send warnings and then call exit to start shutdown sequence countdown(); switch (_shutdownMode) { case GM_SHUTDOWN: SingletonHolder._instance.setMode(GM_SHUTDOWN); SingletonHolder._instance.run(); System.exit(0); break; case GM_RESTART: SingletonHolder._instance.setMode(GM_RESTART); Line 277 SingletonHolder._instance.run(); System.exit(2); break; }Edit : This error appeared in console 3-4 minutes later.

Any suggestions ?
3 answers to this question
Recommended Posts