Jump to content

Recommended Posts

Hello guys , 

I Have 3 problems and  I hope that you will give me a solutions to fix It ...

First Problem : I have a Maxmi 4.1 files and i want to add the 6/7 bonus .. Can you show me how  ? .

Second Problem :   How the amendment to the conversion requirements !?  when I try it in NAVICAT he dosn't work when i do reboot he dosn't work .. 

The latter Problem : I want to do some changes in The item proto of server and client so i want some tool to convert item_proto server to client and vice .. 

 

Sorry for my bad english .. 

Thanks in advance  .

Link to comment
https://metin2.dev/topic/10303-3-problems/
Share on other sites

6/7 enable:
char_item.cpp:
search this
case 71092 : // 변신 해체부 임시
after break; add or replace if exist 

you must add the items to item_proto

Spoiler


                            case 71051 : // 진재가
                                {
                                    // 유럽, 싱가폴, 베트남 진재가 사용금지
                                    if (LC_IsVietnam())
                                        return false;

                                    LPITEM item2;

                                    if (!IsValidItemPosition(DestCell) || !(item2 = GetInventoryItem(wDestCell)))
                                        return false;

                                    if (item2->IsExchanging() == true)
                                        return false;

                                    if (item2->GetType() == ITEM_COSTUME) //6-7 fix
                                    {
                                        return false;
                                    }

                                    if (item2->GetAttributeSetIndex() == -1)
                                    {
                                        ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다."));
                                        return false;
                                    }

                                    if (item2->AddRareAttribute() == true)
                                    {
                                        ChatPacket(CHAT_TYPE_INFO, LC_TEXT("성공적으로 속성이 추가 되었습니다"));

                                        int iAddedIdx = item2->GetRareAttrCount() + 4;
                                        char buf[21];
                                        snprintf(buf, sizeof(buf), "%u", item2->GetID());

                                        LogManager::instance().ItemLog(
                                                GetPlayerID(),
                                                item2->GetAttributeType(iAddedIdx),
                                                item2->GetAttributeValue(iAddedIdx),
                                                item->GetID(),
                                                "ADD_RARE_ATTR",
                                                buf,
                                                GetDesc()->GetHostName(),
                                                item->GetOriginalVnum());

                                        item->SetCount(item->GetCount() - 1);
                                    }
                                    else
                                    {
                                        ChatPacket(CHAT_TYPE_INFO, LC_TEXT("더 이상 이 아이템으로 속성을 추가할 수 없습니다"));
                                    }
                                }
                                break;

                            case 71052 : // 진재경
                                {
                                    // 유럽, 싱가폴, 베트남 진재가 사용금지
                                    if (LC_IsVietnam())
                                        return false;

                                    LPITEM item2;

                                    if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell)))
                                        return false;

                                    if (item2->IsExchanging() == true)
                                        return false;

                                    if (item2->GetAttributeSetIndex() == -1)
                                    {
                                        ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다."));
                                        return false;
                                    }

                                    if (item2->ChangeRareAttribute() == true)
                                    {
                                        char buf[21];
                                        snprintf(buf, sizeof(buf), "%u", item2->GetID());
                                        LogManager::instance().ItemLog(this, item, "CHANGE_RARE_ATTR", buf);

                                        item->SetCount(item->GetCount() - 1);
                                    }
                                    else
                                    {
                                        ChatPacket(CHAT_TYPE_INFO, LC_TEXT("변경 시킬 속성이 없습니다"));
                                    }
                                }
                                break;
 

 

  • Love 2
Link to comment
https://metin2.dev/topic/10303-3-problems/#findComment-61048
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.