Jump to content

dragon lair issue


Go to solution Solved by jking,

Recommended Posts

i tryed to found solutions for this errors in syserr but nothing ,regen.txt is there and dragon killed by nobody.....any solutions?

Quote

regen_load_in_file: SYSTEM: regen_do: locale/_master/map/metin2_map_skipia_dungeon_boss/regen.txt: file not found

Dead: DragonLair: Dragon killed by nobody

 

Link to comment
https://metin2.dev/topic/33282-dragon-lair-issue/
Share on other sites

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

  • Active Member

This code:

	LPREGEN regen = NULL;
	FILE* fp = fopen(filename, "rt");

	if (NULL == fp)
	{
		sys_err("SYSTEM: regen_do: %s: file not found", filename);
		return false;
	}

literraly tells, that your file is missing. Check double time if the path is correct. Maybe capital letters or something like this.

Link to comment
https://metin2.dev/topic/33282-dragon-lair-issue/#findComment-168553
Share on other sites

22 minutes ago, jking said:

This code:

	LPREGEN regen = NULL;
	FILE* fp = fopen(filename, "rt");

	if (NULL == fp)
	{
		sys_err("SYSTEM: regen_do: %s: file not found", filename);
		return false;
	}

literraly tells, that your file is missing. Check double time if the path is correct. Maybe capital letters or something like this.

How is named the file in the source to take a look at that?

Link to comment
https://metin2.dev/topic/33282-dragon-lair-issue/#findComment-168556
Share on other sites

  • Active Member
	if (IsMonster() && 2493 == GetMobTable().dwVnum)
	{
		if (pkKiller && pkKiller->GetGuild())
			CDragonLairManager::instance().OnDragonDead(this, pkKiller->GetGuild()->GetID());
		else
			sys_err("DragonLair: Dragon killed by nobody");
	}

This error occurs when you kill the dragon without having guild.

Link to comment
https://metin2.dev/topic/33282-dragon-lair-issue/#findComment-168575
Share on other sites

3 hours ago, jking said:
	if (IsMonster() && 2493 == GetMobTable().dwVnum)
	{
		if (pkKiller && pkKiller->GetGuild())
			CDragonLairManager::instance().OnDragonDead(this, pkKiller->GetGuild()->GetID());
		else
			sys_err("DragonLair: Dragon killed by nobody");
	}

This error occurs when you kill the dragon without having guild.

I understand now thanks 🙏 where is the location of that function in source?

Link to comment
https://metin2.dev/topic/33282-dragon-lair-issue/#findComment-168582
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.