Jump to content
metin2dev

Search the Community

Showing results for tags 'solved' in content posted in Questions and Answers.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community
    • Announcements
    • Feedback
  • Metin2
    • General
    • Questions and Answers
    • Guides & HowTo
    • Design
    • Private Servers
    • Services
    • Videos
  • Releases
    • General
    • Tools
    • Programming / Scripts
    • Quests
    • Binaries & Clients/Serverfiles
    • 3D Models
    • 2D Graphics
    • Operating Systems
  • Safe Zone
    • Offtopic
    • Games Talk
    • Music/Videos/Art

Categories

There are no results to display.

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


ICQ


Yahoo


Skype


Location

Found 267 results

  1. enzi

    solved locale_string

    Hi.. I tried today add something from pet system to locale_string but i have big problem :/ I change in cmd_general.cpp this: ch->ChatPacket(CHAT_TYPE_INFO, "You can't evolve your pet."); to ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't evolve your pet.")); I add lines to locale_string.txt: "You can't evolve your pet."; "Test Message."; but in chat is still You can't evolve your pet. I found some error in sysser: SYSERR: May 9 04:18:56 :: locale_find: LOCALE_ERROR: "You can't evolve your pet."; Someone know how to fix it to show right message in chat? Ty
  2. Hi guys, is here someone who know how to do icons for items & armors? I thought about that but I think do it with screenshot ingame and after that paste this picture into a photoshop and start editing it is too hard. Know someone easier way how to do a new icons for weapons & armors? Thanks for answers! Sincerely, ReFresh
  3. I am getting errors while compiling with Qt Creator. 1. MultiThread.cpp:94: error: 'const class QString' has no member named 'toAscii' PutFileData(this->pEpkInstance, this->lFilesList.at(this->iPointer++).toAscii().data(), g_storage_type, &iOutSize, &iHashCRC32); ^ 2. MultiThread.cpp:95: error: 'class QString' has no member named 'toAscii' PutFile(this->pEixInstance, GetIntelVirtualPath(szFileVirtualPath).toAscii().data(), g_storage_type, iOutSize, iHashCRC32); ^ MultiThread.cpp #include "MultiThread.h" EterIndexThread::EterIndexThread(EINSTANCE *pEixInstance, const char *szEterIndexName) : pEixInstance(pEixInstance), szEterIndexName(szEterIndexName) { } EterIndexThread::~EterIndexThread() { this->pEixInstance = 0; this->szEterIndexName = 0; } void EterIndexThread::run() { *this->pEixInstance = LoadEterIndex(this->szEterIndexName, g_index_key, MODE_READ); this->exit(); } UINT32 EterPackThread::iPointer = 0; EterPackThread::EterPackThread(EINSTANCE *pEpkInstance, const char *szEterPackName, PLIST pEterIndexItems) : pEpkInstance(pEpkInstance), szEterPackName(szEterPackName), pEterIndexItems(pEterIndexItems) { EterPackThread::iPointer = 0; } EterPackThread::~EterPackThread() { this->pEpkInstance = 0; this->szEterPackName = 0; this->pEterIndexItems = 0; EterPackThread::iPointer = 0; } void EterPackThread::run() { if(!*this->pEpkInstance) *this->pEpkInstance = LoadEterPack(this->szEterPackName, g_pack_key, MODE_READ); // Check if the istances are valid if(this->pEpkInstance == NULL) this->exit(); UINT8 *pEterPackData = GetFileData(*this->pEpkInstance, this->pEterIndexItems[EterPackThread::iPointer]); UINT32 pEterPackSize = GetDataSize(*this->pEpkInstance); char szFilePath[MAX_PATH], szMainDirectory[MAX_PATH]; // Check if the DLL returned valid data if(pEterPackData == NULL && pEterPackSize > 0) this->exit(); memcpy(szMainDirectory, this->szEterPackName, strlen(this->szEterPackName)-4); szMainDirectory[strlen(this->szEterPackName)-4] = 0; _snprintf(szFilePath, MAX_PATH, "%s\\%s", szMainDirectory, GetFilteredPath(this->pEterIndexItems[EterPackThread::iPointer]->VirtualPath)); CheckAndCreateDir(szFilePath); _snprintf(szFilePath, MAX_PATH, "%s\\%s", szMainDirectory, GetFilteredPath(this->pEterIndexItems[EterPackThread::iPointer++]->VirtualPath)); FastIO::FileWrite(szFilePath, "wb", pEterPackData, pEterPackSize); this->exit(); } INT32 PackThread::iPointer = 0; PackThread::PackThread(QString szDirectoryPath, QStringList lFilesList, EINSTANCE pEixInstance, EINSTANCE pEpkInstance) : szDirectoryPath(szDirectoryPath), lFilesList(lFilesList), pEixInstance(pEixInstance), pEpkInstance(pEpkInstance) { PackThread::iPointer = 0; } PackThread::~PackThread() { this->szDirectoryPath = QString(); this->lFilesList = QStringList(); this->pEixInstance = 0; this->pEpkInstance = 0; PackThread::iPointer = 0; } void PackThread::run() { if(this->szDirectoryPath.isEmpty() || this->lFilesList.isEmpty() || !this->pEixInstance || !this->pEpkInstance) return; if(this->lFilesList.count() < PackThread::iPointer) return; UINT32 iOutSize = 0, iHashCRC32 = 0; QString szFileVirtualPath = GetDiffFromPaths(this->lFilesList.at(this->iPointer), this->szDirectoryPath).toLower(); PutFileData(this->pEpkInstance, this->lFilesList.at(this->iPointer++).toAscii().data(), g_storage_type, &iOutSize, &iHashCRC32); PutFile(this->pEixInstance, GetIntelVirtualPath(szFileVirtualPath).toAscii().data(), g_storage_type, iOutSize, iHashCRC32); this->exit(); } MultiThread.h #ifndef MULTITHREAD_H #define MULTITHREAD_H #include <QThread> #include "API/EterPackAPI.hpp" #include "Global/Utils.h" #include "Global/IO.h" #include "Global/Global.h" class EterIndexThread : public QThread { Q_OBJECT public: explicit EterIndexThread(EINSTANCE *pEixInstance, const char *szEterIndexName); ~EterIndexThread(); void run(); public: EINSTANCE *pEixInstance; const char *szEterIndexName; }; class EterPackThread : public QThread { Q_OBJECT public: explicit EterPackThread(EINSTANCE *pEpkInstance, const char *szEterPackName, PLIST pEterIndexItems); ~EterPackThread(); void run(); public: EINSTANCE *pEpkInstance; const char *szEterPackName; PLIST pEterIndexItems; static UINT32 iPointer; }; class PackThread : public QThread { Q_OBJECT public: explicit PackThread(QString szDirectoryPath, QStringList lFilesList, EINSTANCE pEixInstance, EINSTANCE pEpkInstance); ~PackThread(); void run(); public: QString szDirectoryPath; QStringList lFilesList; EINSTANCE pEixInstance, pEpkInstance; static INT32 iPointer; }; #endif // MULTITHREAD_H Thanks in advance.
  4. Solved, some time ago i removed improved packet encryption and that case the error. I taked it back, and now it's works good.
  5. RonnieBreathe

    solved biology-system

    Hello m2dev! I try to explain my problem: I got the biology-system from abizu, and i got 5inventory pages. The problem is, when the item (ex: orc-bio-item) is on the 3rd page, the biology don't take the item. The item is still there, and won't get out of the socket. It happened on side 3/4/5 (the extrapages) no syserr, no clue what happened there. I searched in the biologysystem but didn't found any weird pythonlines. Then i searchen uiinventory.py, but no weird things in my opinion. I hope you can help me! uibiology.py: uiinventory.py:
  6. Hi guys, i'm searching this trade window. Can someone post me a link for it? Thanks for answers! Sincerely, ReFresh
  7. Hi.. Know someone how to fix this? Problem #1 "Ch1" sysser EDIT: Problem 1# solved I just extract mysql again Problem #2 It´s something with a mount i think.. because this errror is showed everytime when i ride a mount, after few minutes my char unmount but item is still in the slot
  8. TrueLev

    solved Compile error

    Removed
  9. Hi guys, My problem, Ring closes with teleport This is my code, can you help me please Kind regards, thanks. Sorry for my bad english. quest antiexpsrc begin state start begin when login begin cmdchat("anti_index "..q.getcurrentquestindex()) end when button or info begin if pc.getqf("antiexp") == 0 then -- exp sifirla local ep = pc.get_exp() pc.give_exp2(-ep) -- exp sifirla pc.block_exp() pc.setqf("antiexp", 1) syschat("Tanrica'nin laneti uzerinde. Laneti deaktif etmedikce tecrube kazanamayacaksiniz.") elseif pc.getqf("antiexp") == 1 then -- exp sifirla local ep = pc.get_exp() pc.give_exp2(-ep) -- exp sifirla pc.unblock_exp() pc.setqf("antiexp", 0) syschat("Tanrica'nin laneti kaldirildi. Artik tecrube kazabilirsiniz.") end end end end
  10. Hi.. I need help with little problem.. i add new pet system and when i try compile server source it give me this error.. can someone help me??? -> main.cpp:483: error: 'temp_exp_line' was not declared in this scope here my main.cpp https://pastebin.com/rdzv7LCP
  11. I. I have 6/7 35122 "35122" "ITEM_USE" "USE_SPECIAL" 1 "NONE" "LOG | STACKABLE" "NONE" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0 35123 "35123" "ITEM_USE" "USE_SPECIAL" 1 "NONE" "LOG | STACKABLE" "NONE" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0 I want to make them stackable so i make it like that 35122 "35122" "ITEM_USE" "USE_SPECIAL" 1 "NONE" "LOG | ITEM_STACKABLE" "NONE" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0 35123 "35123" "ITEM_USE" "USE_SPECIAL" 1 "NONE" "LOG | ITEM_STACKABLE" "NONE" "NONE" 0 0 0 0 0 "LIMIT_NONE" 0 "LIMIT_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 "APPLY_NONE" 0 0 0 0 0 0 0 0 0 0 but when i have item_stackable 6/7 bonus doesn't work. Any ideas?
  12. Hello all, I have a problem with World Editor when i put buildings or effect, the texture not here and when i put a environnement is not there, and when i close the programm the texture is invisible. Someone can help me please ? Screen
  13. Denny2399

    solved Core bootloop

    Hey guys, I have recently changed item and mob proto database to be matching with the one in client, but when I boot the server, loop starts and nothing happens.
  14. Hi! My problem: If I use wolfman skill, it will not damage. Why? Everything else works. hack_log: SKILL_HACK: name=test, job=4, group=1, motion=121
  15. Hello guys, can anyone help me out to convert these protos from xml to sql? I would really appreciate your help. I know I could make a simple script, but I'm not very skilled in programming yet. If you can, post the script here as well or atleast example and I will finish it by myself, thanks. Protos.rar
  16. Hello, When i wear belt i get the bonus but i cannot see my belt anymore.. it disappeared. it is not in equipment but i got the bonus of the belt. It is like there is no slot for belt. It seems to be missing the unique slot of belt. Any help appreciated!
  17. Hi, If i use my old game core everything is okay, but i wanted to try vanilla core, so everything goes well until i saw that my equipment is on Inventory 3. If you right click to wear an armor it does not go into equipment slots, instead it goes into Inventory 3 (but bonus etc are all correct in my stats).. wtf? What does occur this problem? (I use vanilla core). Equipment now is now my Inventory 3. Any ideas appreciated. NO SYSERR Its not an error.
  18. charparodar

    solved Bug pet mount

    Hello Today I found out about another bug, it happens only when I push pet first and then mount the bonus aren't removed when I die... (if I push mount first and then the pet and I die, the bonus are removed) I'm using this system but is not working: when die or logout begin if pet.count_summoned() == 1 then if pc.is_riding() then local pet_item = pc.getqf("pet_item") local pet_info = pet_system.get_pet_info(pet_item) if pet_info[4] != nil then local num_bonus = pet_info[4] -- valor de bonus a "desaplicar" for i = 1, num_bonus, 1 do affect.remove_collect(pet_info[5+2*(i-1)], pc.getqf("pet_"..item.vnum.."_level")*pet_info[6+2*(i-1)]/25, 60*60*24*365) end end else local pet_item = pc.getqf("pet_item") local pet_info = pet_system.get_pet_info(pet_item) if pet_info[4] != nil then local num_bonus = pet_info[4] -- valor de bonus a "desaplicar" for i = 1, num_bonus, 1 do affect.remove_collect(pet_info[5+2*(i-1)], pc.getqf("pet_"..item.vnum.."_level")*pet_info[6+2*(i-1)]/25, 60*60*24*365) end end end end end This only happens with mounts, horse doesn't affect... Thanks
  19. Hello devs, since 2 days i try to pack my mob_proto, it seems to work fine but if i start the client this appears: I dont know what my mistake is, so i watched the log on the cmd while running dump_proto. I used this command to dump the output to a file: dump_proto.exe > log.txt Content of the logfile: On the cmd this output is still visible: Aswell, if i pack the item_proto it works fine without any problems. Anyone got a idea what i can try to do?
  20. Hi, When i equip a costume weapon, the sword +7 / +8 / +9 effect not disappear. If i ride a mount or relog, the effect disappear. Can somebody give me a fix to the effect disappear immediately when i equip a costume weapon? Edit: Figured out and solved UserInterface/InstanceBase.cpp void CInstanceBase::RefreshState(DWORD dwMotIndex, bool isLoop) { DWORD dwPartItemID = m_GraphicThingInstance.GetPartItemID(CRaceData::PART_WEAPON); BYTE byItemType = 0xff; BYTE bySubType = 0xff; CItemManager & rkItemMgr = CItemManager::Instance(); CItemData * pItemData; if (rkItemMgr.GetItemDataPointer(dwPartItemID, &pItemData)) { byItemType = pItemData->GetType(); bySubType = pItemData->GetWeaponType(); } if (IsPoly()) { SetMotionMode(CRaceMotionData::MODE_GENERAL); } else if (IsWearingDress()) { SetMotionMode(CRaceMotionData::MODE_WEDDING_DRESS); } else if (IsHoldingPickAxe()) { if (m_kHorse.IsMounting()) { SetMotionMode(CRaceMotionData::MODE_HORSE); } else { SetMotionMode(CRaceMotionData::MODE_GENERAL); } } else if (CItemData::ITEM_TYPE_ROD == byItemType) { if (m_kHorse.IsMounting()) { SetMotionMode(CRaceMotionData::MODE_HORSE); } else { SetMotionMode(CRaceMotionData::MODE_FISHING); } } else if (m_kHorse.IsMounting()) { switch (bySubType) { case CItemData::COSTUME_WEAPON_SWORD: __ClearWeaponRefineEffect(); case CItemData::WEAPON_SWORD: SetMotionMode(CRaceMotionData::MODE_HORSE_ONEHAND_SWORD); break; case CItemData::COSTUME_WEAPON_TWO_HANDED: __ClearWeaponRefineEffect(); case CItemData::WEAPON_TWO_HANDED: SetMotionMode(CRaceMotionData::MODE_HORSE_TWOHAND_SWORD); // Only Warrior break; case CItemData::COSTUME_WEAPON_DAGGER: __ClearWeaponRefineEffect(); case CItemData::WEAPON_DAGGER: SetMotionMode(CRaceMotionData::MODE_HORSE_DUALHAND_SWORD); // Only Assassin break; case CItemData::COSTUME_WEAPON_FAN: __ClearWeaponRefineEffect(); case CItemData::WEAPON_FAN: SetMotionMode(CRaceMotionData::MODE_HORSE_FAN); // Only Shaman break; case CItemData::COSTUME_WEAPON_BELL: __ClearWeaponRefineEffect(); case CItemData::WEAPON_BELL: SetMotionMode(CRaceMotionData::MODE_HORSE_BELL); // Only Shaman break; case CItemData::COSTUME_WEAPON_BOW: __ClearWeaponRefineEffect(); case CItemData::WEAPON_BOW: SetMotionMode(CRaceMotionData::MODE_HORSE_BOW); // Only Shaman break; default: SetMotionMode(CRaceMotionData::MODE_HORSE); break; } } else { switch (bySubType) { case CItemData::COSTUME_WEAPON_SWORD: __ClearWeaponRefineEffect(); case CItemData::WEAPON_SWORD: SetMotionMode(CRaceMotionData::MODE_ONEHAND_SWORD); break; case CItemData::COSTUME_WEAPON_TWO_HANDED: __ClearWeaponRefineEffect(); case CItemData::WEAPON_TWO_HANDED: SetMotionMode(CRaceMotionData::MODE_TWOHAND_SWORD); // Only Warrior break; case CItemData::COSTUME_WEAPON_DAGGER: __ClearWeaponRefineEffect(); case CItemData::WEAPON_DAGGER: SetMotionMode(CRaceMotionData::MODE_DUALHAND_SWORD); // Only Assassin break; case CItemData::COSTUME_WEAPON_BOW: __ClearWeaponRefineEffect(); case CItemData::WEAPON_BOW: SetMotionMode(CRaceMotionData::MODE_BOW); // Only Assassin break; case CItemData::COSTUME_WEAPON_FAN: __ClearWeaponRefineEffect(); case CItemData::WEAPON_FAN: SetMotionMode(CRaceMotionData::MODE_FAN); // Only Shaman break; case CItemData::COSTUME_WEAPON_BELL: __ClearWeaponRefineEffect(); case CItemData::WEAPON_BELL: SetMotionMode(CRaceMotionData::MODE_BELL); // Only Shaman break; case CItemData::WEAPON_ARROW: default: SetMotionMode(CRaceMotionData::MODE_GENERAL); break; } } if (isLoop) m_GraphicThingInstance.InterceptLoopMotion(dwMotIndex); else m_GraphicThingInstance.InterceptOnceMotion(dwMotIndex); RefreshActorInstance(); }
  21. charparodar

    solved Cheat to get more damage

    Hello, Is there any cheat that when activated the character can do more damage? I have a player on my server that is doing about 63k to monsters and gm's but is equipment is completely normal... I don't know why he is doing so much damage... I have already players that are saying if this isn't solved they leave, I can't have that... I already banned is account until I can figure out what is happening... Thank you
  22. mustafaxddd

    solved Problem with mount

    Greetings! I have problem with mount, mount is under ground.. I am sending .msm file and screenshot. Effects are normally working, so path is alright. Help please! plechi_beast_mount00.msm
  23. xDiiZeRx

    solved Skillbook drop name

    Hello! I have a questions. I need, how to set exact name from skillbooks & polymoph marble? Thanks!!!
  24. Python player

    solved quest compile problem

    how are you Im just make https://pastebin.com/y8tqUPL6 (Edited link) but when i compile it there is no output for this quest there is no folder crate by the npc_vnum in the quest and there is no wrong with the quest where is the problem here?
  25. hello comunity, for almost 4 days i'm trying to find a good offline shop for my serverfile but i couldn't find one so far what i would like to ask you is that i can find ken's offline shop, but not the whole files already maden, because i didn't manage to extract it from there i also tried to install koray's offline shop, but it had a lot of bugs. i see a lot of servers with ken's offline shop, so it should be free on the internet but i can't find it if u can help me would be great regards
×