Jump to content
  • 0

Strange Problem With Loading Clans/clan Wars


eressea

Question

Hi,

 

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

Hi,

 

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 (;;) {
		Sleep(100);
		ScopedLock lock(pledgeInitCS);
		if (pledgeInitialized) {
			break;
		}
	}
	reinterpret_cast<void(*)()>(0x5F4EAC)();
}

void __cdecl Server::CDominionInitDominion()
{
	reinterpret_cast<void(*)()>(0x5EA29C)();
	reinterpret_cast<void(*)()>(0x7D831C)();
	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.
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

    • i have this feature: https://prnt.sc/rD9BYOi7QPB6 there is edited interface and one dll to make it working.
    • Whatever @Tryskell said...   Unfortunately it is not 2005-2010 anymore... Most of the community from those days is "grown up" and probably does not play games anymore (or at least no MMOs). I think anything related to MMOs will be a nail in the coffin.   I understand that it is hard to let the thing you've built for years to "just die". I assume most people got into programming, so maybe you can try something in that direction. But then again, this is a very niche community.   We need to think of something to bring the people together. I think events may be really fun, but then you would probably need to add prizes n order for the people to participate.   So yea, just my 2 cents. Hopefully somebody can come up with some great idea so we can revive this place. I've already forgotten it for the last couple (5-6) years...
    • Thats an interface future. You can reach me out about this in discord: xbaus
    • DISCORD : utchiha_market telegram : https://t.me/utchiha_market SELLIX STORE : https://utchihamkt.mysellix.io/ Join our server for more products : https://discord.gg/hoodservices https://campsite.bio/utchihaamkt
    • Both "MMO genre" AND "forums" are greatly deprecated those days. MMO genre, except very few games (TESO, WOW, BDO, FF14), is mostly "eaten" by fast paced games (aka games with 15-30min game parties, they are numerous). See Twitch best games, I doubt the top 10 are MMOs. Adding more MMOs categories, while MMOs themselves got less population, isn't a bright idea. Also, in the past, there was multiple games categories - none actually worked out, so far. Forums type were replaced by Discord, mostly. You communicate faster, you got voice, you can group up and it's already thematized (by server, by guild, by game,...)... Unfortunately, there is nothing you can do about. You already did it multiple times without success (3 or 4 times at least ?). It's not due to staff. MMO forum is just "niche" nowadays, while 20 years ago it was "dope" and the thing to do. Your main problem is MxC is a community based on "nothing". It was first cheater dedicated, then mostly L2 development dedicated,... With a mix of random things here and there. The formula is lightly-themed as "community" (that's actually why you still have some ppl posting), and in same time community never was expanded to retain ppl (notably through MxC servers - no matter the game : L2, GTA, Conan Exiles, Lost Ark, whatever else). In the end, you end with "nothing", since people comes and goes (and mostly goes, since MMO isn't a thing anymore), but both MMO genre is greatly endangered by other types of games AND forums isn't the proper way to communicate in 2024. Actually, the only use of a forums compared to Discord is to search through archives, and the main point is it's a better "showcase" than Discord (a static website would end with the same output). The proposed formula will never work, or at best will attract greedy ppl.
  • Topics

×
×
  • Create New...