Jump to content
  • 0

Strange Problem With Loading Clans/clan Wars





on some machines I encounter this problem:


06/17/2016 04:36:05.828, [NO ERROR] JobType: 6 Duration: 30/30sec  
06/17/2016 04:36:05.828, Problem occurred in Loading Declared War
06/17/2016 04:36:35.827, [NO ERROR] JobType: 8 Duration: 30/30sec  
06/17/2016 04:36:35.827, Problem occurred in Loading Pledge [1]
06/17/2016 04:36:35.829, Problem occurred in Loading Pledge [2]
Tried to analyze what's wrong and I think it's related somehow to some IO threads, that don't execute as expected (it seems like there's some thing that prevents packets coming from cached to be processed). For time reasons, I stopped with this and wrote simple workaround involving some function hooking, mutexes and conditional variables, so all those operations run in threads which are fine and "bad" threads only wait on conditional variable until "alternative" thread finishes its work. So now everything loads fine:
06/15/2016 00:05:18.083, [NO ERROR] JobType: 6 Duration: 0/30sec  
06/15/2016 00:05:18.124, [NO ERROR] JobType: 8 Duration: 0/600sec  
Does anyone encounter the same problem? Did anyone come with a better solution (or at least better analysis)?
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

DB errors if i remember correctly  - that makes cached go hicky hicky once sending packets to l2server upon startup.

Verify ALL fields have correct data in the value-types their declared for said pledges in ALL pledge tables.


Nothing to do with internal network\memory.


...but i can only check over a week from now so.

Edited by mcbigmac
Link to comment
Share on other sites

  • 0



I see no error in logs :( Are there any "silent" errors that don't show up in error log?

It's really strange because when I run the code in other thread, it runs fine:

void __cdecl Server::CPledgeInitPledge()
	for (;;) {
		ScopedLock lock(pledgeInitCS);
		if (pledgeInitialized) {

void __cdecl Server::CDominionInitDominion()
	ScopedLock lock(pledgeInitCS);
	pledgeInitialized = true;


WriteInstructionCall(0x6B24B9, reinterpret_cast<UINT32>(CDominionInitDominion));
WriteInstructionCall(0x6915D3, reinterpret_cast<UINT32>(CPledgeInitPledge));
NOPMemory(0x7D853E, 5);

and no errors are shown in L2Server...


Maybe it has something to do with running in virtual machine (but it does in both VirtualBox and KVM-QEMU)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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

    • man , so lets say you change the paths but client loads same files from different directory , where is difference ? why you should not get same error.
    • Hello everyone, I am excited to announce the launch of my new Lineage 2 High Five server! If you're a fan of Lineage 2, you won't want to miss out on the action that my server has to offer. With a High Five chronicle, you can expect a truly unique and immersive gaming experience. My server offers a variety of exciting features, including a balanced economy, custom NPCs, and a friendly and active community. One of the standout features of my server is the focus on PvP. Whether you're a seasoned veteran or a newcomer to the world of Lineage 2, you'll find plenty of opportunities to engage in thrilling battles with other players. With our custom PvP system and unique events, you'll never run out of challenges to overcome. But that's not all - my server also offers a range of custom content and quests that will keep you engaged and entertained for hours on end. With regular updates and a dedicated team of developers, you can expect a high-quality and enjoyable gaming experience every time you log in. So what are you waiting for? Join the action on my Lineage 2 High Five server today and experience the thrill of a truly epic adventure!     Cronica High Five Rates: XP x30 SP x30 Adena x10 Drop x10 Spoil x 10 Seal Stone  x10 RateQuestsReward x5 RateQuestsAdenaReward x 5 RateRaidBoss x5 RateQuestsDrop x5 RateSiegeGuard x 1 RateSiegeGuardPA x1 RateManor x 5 Features Server: Free subb class Free class transfer Gm shop grade S Gk global Quest certification :on Siegue castle  monthly :on Olympiad  monthly :on Seven sings free :on 2 HOUR buffs Olympiad max enchant +6 Safe enchant normal 50% Safe enchant blessed 50% EnchantAttributeChance  50% EnchantAttributeCrystalChance =30%     "We are in beta phase."   L2EUROLATIN HIGH FIVE X30
    • He respondido su mensaje saludos.
  • 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