Jump to content
  • 0

[Help] GameServer error


Question

Posted

Hi guyz :)

I made a restart to my server but when gameserver is loading i get this error...

2j29bf8.png

i get this error long and long ........

when i enter the game it shows me at the "dmg chat" that the giran siege has start/end aden siege start/end and the same at all castles...... all the time

P.S.: This is not a fresh server ... I worked 3-5 hours for custom items and other things, so this means a lot of server restarts but... I dont get this such of error in this time :S (L2JBrasil Interlude) Plz helm me :(

 

Update: if i start the gs 1st it will run normally and when I start the ls, ls gives me the same error (gs error like in the image). And if I start ls 1st ... gs will give errors :(

My opinnion is that i dont have inuff memory ram or cpu is too slow ???

1252vk9.png

2l92xhc.png

 

Cpu: e2180 (DualCore) 2.00 GHz, 800 MHz

Ram: 2 Gb

Recommended Posts

  • 0
Posted

I just pickuped the content and copypasted it on a clean IL L2J SiegeManager.java, and the files are 100% the same except imports.

 

Anyway I'm stupid as this file can't in fault, as sieges tasks are launched from Siege.java.

 

----

 

PS : as I tought they focked up code. Ask them to correct Siege.java, at the "coded" line.

 

Search

public class ScheduleStartSiegeTask implements Runnable

and replace the whole method by the ancient method (pick it from L2J IL pack).

 

Why the heck they changed that, only Mulder & Scully know. There are like 0 reason to change this part of code, as it works since many years without problem lol.

 

I got the L2J clean method under the hand, so enjoy... C/p the name of the method and when you found it, c/p the whole method below on the L2JBr one.

 

    public class ScheduleStartSiegeTask implements Runnable
   {
       private Castle _castleInst;

       public ScheduleStartSiegeTask(Castle pCastle)
       {
       	_castleInst = pCastle;
       }

       public void run()
       {
           if (getIsInProgress()) return;

           try
           {
               long timeRemaining = getSiegeDate().getTimeInMillis()
                   - Calendar.getInstance().getTimeInMillis();
               if (timeRemaining > 86400000)
               {
                   ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst),
                                                                   timeRemaining - 86400000); // Prepare task for 24 before siege start to end registration
               }
               else if ((timeRemaining <= 86400000) && (timeRemaining > 13600000))
               {
                   announceToPlayer("The registration term for " + getCastle().getName()
                       + " has ended.", false);
                   _isRegistrationOver = true;
                   clearSiegeWaitingClan();
                   ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst),
                                                                   timeRemaining - 13600000); // Prepare task for 1 hr left before siege start.
               }
               else if ((timeRemaining <= 13600000) && (timeRemaining > 600000))
               {
                   announceToPlayer(Math.round(timeRemaining / 60000) + " minute(s) until "
                       + getCastle().getName() + " siege begin.", false);
                   ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst),
                                                                   timeRemaining - 600000); // Prepare task for 10 minute left.
               }
               else if ((timeRemaining <= 600000) && (timeRemaining > 300000))
               {
                   announceToPlayer(Math.round(timeRemaining / 60000) + " minute(s) until "
                       + getCastle().getName() + " siege begin.", false);
                   ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst),
                                                                   timeRemaining - 300000); // Prepare task for 5 minute left.
               }
               else if ((timeRemaining <= 300000) && (timeRemaining > 10000))
               {
                   announceToPlayer(Math.round(timeRemaining / 60000) + " minute(s) until "
                       + getCastle().getName() + " siege begin.", false);
                   ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst),
                                                                   timeRemaining - 10000); // Prepare task for 10 seconds count down
               }
               else if ((timeRemaining <= 10000) && (timeRemaining > 0))
               {
                   announceToPlayer(getCastle().getName() + " siege "
                       + Math.round(timeRemaining / 1000) + " second(s) to start!", false);
                   ThreadPoolManager.getInstance().scheduleGeneral(new ScheduleStartSiegeTask(_castleInst),
                                                                   timeRemaining); // Prepare task for second count down
               }
               else
               {
               	_castleInst.getSiege().startSiege();
               }
           }
           catch (Throwable t)
           {

           }
       }
   }

  • 0
Posted

I was ready to copy the code from l2jfree or l2j Il.

But you made me do it faster.

 

Anyway,for now i will just implent and commit this code.

I can't test it because i need a new dp,i will test in 10 minutes.

 

http://trac.assembla.com/L2j-Brasil/changeset/1713 :D

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

    • LIVE VERIFICATION? SUMSUB? “IMPOSSIBLE”? ▪ Spoiler: it is possible — if you know who to work with. A client came in with a task to pass **live verification** on **WantToPay**, a Telegram virtual card service. On the platform side — **Sumsub**: liveness check, SMS, manual review. “Fast” and “by eye” simply don’t work here. › What was done: → analyzed the verification scenario and Sumsub requirements → built the correct flow: phone number, email, timing → **completed live verification remotely, without account handover** → handled SMS and confirmation codes → brought the process to final approval ▪ Result: → verification passed → access granted → no flags or repeat requests ▪ Live verification is not luck. It’s scenario-based preparation — not hope. › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx ) *All data is published with the client’s consent.* #verification #sumsub #livecheck #kyc #case
    • IMPORTANT INFO: In a few days, I will switch to completely new code, written from scratch with a new download system, patch building and management system. The Updater will become true 2026 code with "foolproof systems". I'm going to create a Discord server for customers to request new ideas and features. FIRST CUSTOMERS ARE ALREADY USING THE NEW UPDATER ON LIVE SERVERS! Watch this topic for upcoming info because the new updater is around the corner! Yes, you can still use self-update on the previous updater! No, the new updater won't be compatible with the old patch system! A new build is required, but players who already have game files won't have to download the entire patch again! New templates and updates to existing templates are coming soon! Sneak peek:  
    • i used guytis IL project and source. i found in his project there are 3 Client version source... 1,CliExt_H5   --->this one cant be compiled in VS2005,i did know why..is it for H5 client? 2,CliExtNew  --->this one is IL version ,but when i compiled it and use it.player cant login game,MD5Checksum wrong.i check the source code,but not found any hints. 3,L2Server    --->this one for HB client?im not sure...   so my question is what are the differences between these three versions of cliext.dll?how can i fix the issue of the MD5Checksum not matching problem?   01/29/2026 21:04:11.366, [CCliExt::HandleCheckSum] Invalid Checksum[1130415144] vs [-721420287] packet[dd] len[29] sum[2698] key[30] HWID[] Account[]! 01/29/2026 21:04:11.366, SocketLimiter::UserSocketBadunknownprotocol 11111111111 01/29/2026 21:04:11.366, [usersocket]unknown protocol from ip[113.137.149.115]!      
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..