Jump to content

Recommended Posts

Hi guys

I have a problem with unknown packet:

0819 01:25:15076 :: Unknown packet header: 105, last: 81 87

All packet.h in game and bin is correctly and it is same. 

Do you can help me to fix this problem?

Use martysama v5.8.

spacer.png

  • 1 month later...
On 8/12/2024 at 10:07 PM, PandaAg said:

Hey, how can you add the quests here, I always have them all at MAIN Quest. 

That's because you did not added the right quests, as they are in your server. You need to edit the questcategory.txt according to your quests.

If there is a new quest, which is not in that list, the system will add that to the main quest category. You must assign them correctly because they are nowhere in that list.

Edited by minigutza
  • 4 weeks later...
  • Contributor

The ReadQuestCategoryFile function operates by reading each line of the questcategory.txt file using the getline function.

This function reads each line by recognizing a specific end-of-line character (\n). Then split each line by the '\t' character: the first part represents the quest type, and the second part represents the quest name. This allows us to compare the quest name found in the file with the name retrieved by the quest index.

However, if the file is edited with certain text editors (like Notepad++ or in general in Windows environment), the newline character might be '\r\n' instead of '\n', resulting in lines like:

quest_name = collect_quest_lv50
name = collect_quest_lv50\r

With the extra '\r' character, the comparison between name and quest_name will fail, and the quest index is always 0 (main quest).

To resolve this, you need to remove the '\r' character as well:

				int type = stoi(line.substr(0, line.find('\t')));
				string name = line.substr(line.find('\t') + 1);

				//Add this
				if (!name.empty() && name.back() == '\r') {
					name.pop_back();
				}

This should ensure that the "\r" character is properly removed, allowing the comparison to succeed.

Edited by Toki.San
  • Love 2

spacer.png

  • 2 months later...

Why this is happening ? Any ideas? 
.png

My questcategory.txt:
 

0	boss
0	gm_panel
0	dailybossenter
4	biologist_sequence30
4	biologist_sequence40
4	biologist_sequence50
4	biologist_sequence60
4	biologist_sequence70
4	biologist_sequence80
4	biologist_sequence85
4	biologist_sequence90
4	collect_quest_lv92
4	collect_quest_lv94
4	collect_quest_lv96
4	collect_quest_lv132
4	collect_quest_lv170
4	collect_quest_lv215

 

“𝓐𝓵𝓵 𝔀𝓮 𝓱𝓪𝓿𝓮 𝓽𝓸 𝓭𝓮𝓬𝓲𝓭𝓮 𝓲𝓼 𝔀𝓱𝓪𝓽 𝓽𝓸 𝓭𝓸 𝔀𝓲𝓽𝓱 𝓽𝓱𝓮 𝓽𝓲𝓶𝓮 𝓽𝓱𝓪𝓽 𝓲𝓼 𝓰𝓲𝓿𝓮𝓷 𝓾𝓼.” ~ 𝓖𝓪𝓷𝓭𝓪𝓵𝓯 𝓽𝓱𝓮 𝓖𝓻𝓮𝔂

  • 2 weeks later...
0114 14:17:08469 :: 
uiCharacter.py(line:1185) __LoadWindow
uiCharacter.py(line:1014) __BindObject
ui.py(line:3479) GetChild

CharacterWindow.__LoadWindow - <type 'exceptions.KeyError'>:'Quest_Name_00'

0114 14:17:08469 :: ============================================================================================================
0114 14:17:08469 :: Abort!!!!

Hello! What causes this error, I have installed it several times and it gives me the same thing.

  • 9 months later...

hi, i've this problem 

1108 16:46:19918 :: 
uiCharacter.py(line:1309) __LoadWindow
uiCharacter.py(line:1096) __BindObject
uiCharacter.py(line:642) __init__
uiCharacter.py(line:345) __init__
ui.py(line:386) SetOnMouseLeftButtonUpEvent

CharacterWindow.__LoadWindow - <type 'exceptions.NameError'>:global name 'ev' is not defined

1108 16:46:19918 :: ============================================================================================================
1108 16:46:19918 :: Abort!!!!

my uicharacter.py

This is the hidden content, please

Alternative download links → Alternate_1 or Alternate_2 or Alternate_3

 

Can u help  me please guys?

  • Metin2 Dev 2
  • 1 month later...
  • 1 month later...

Levelup.quest wont work. i tried every version of official levelup but u cant choso mob to kill or if u able to start a hunt when u finish it letters gone and not coming back until relogin. and also counters not work. how did u guys solve this?

Edited by nanoeray
  • 4 months later...
On 1/29/2023 at 5:23 PM, Owsap said:

Hidden Content

  • Give reaction to this post to see the hidden content.

Alternative download links →

Hidden Content

  • Give reaction to this post to see the hidden content.
 or 

Hidden Content

  • Give reaction to this post to see the hidden content.

 

Renewal of the quest page, now with categories for each quest.
Here are some previous below,

.gif .png .png

 

Before implementing, please continue reading the topic.

In order to make the quest page renewal work properly you will need to implement the following features below released by @ Mali.

Required Dependencies

You can skip the feature below as I have already included it in the tutorial.

  Reveal hidden contents

 

.

 

  • Metin2 Dev 1
  • Scream 1
  • Love 1

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.