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 308 results

  1. Hello, I sometimes have this problem on my sv. I can't send/read messages or shouts between different cores (i only have one channel). On my syserr i have this problems: (I will skip some errors like LOCALE_ERROR or SkillMotion error -> LoadSkillMotion: Motion: Skill exist but no motion data for index 0 mob 3596 skill 257) core2: core3 (some of these headers don't exist): game99: the same problem with UNKNOWN HEADER: 33 Have anyone some idea?
  2. i've just implemented a sash system, i do think is lentt's system. i compiled the game/db/binary and i got no errors. when i enter the username and the password the client closes and leaves no syserr info i compiled a debug version of the binary and i get this error the functions #ifdef ENABLE_SASH_SYSTEM void CItemData::SetItemScale(const std::string strJob, const std::string strSex, const std::string strScaleX, const std::string strScaleY, const std::string strScaleZ, const std::string strPositionX, const std::string strPositionY, const std::string strPositionZ) { DWORD dwPos; if (strJob == "JOB_WARRIOR") dwPos = NRaceData::JOB_WARRIOR; else if (strJob == "JOB_ASSASSIN") dwPos = NRaceData::JOB_ASSASSIN; else if (strJob == "JOB_SURA") dwPos = NRaceData::JOB_SURA; else if (strJob == "JOB_SHAMAN") dwPos = NRaceData::JOB_SHAMAN; dwPos += 1; if (strSex == "F") dwPos += 5; m_ScaleTable.tInfo[dwPos].fScaleX = float(atof(strScaleX.c_str()) / 100.0f); m_ScaleTable.tInfo[dwPos].fScaleY = float(atof(strScaleY.c_str()) / 100.0f); m_ScaleTable.tInfo[dwPos].fScaleZ = float(atof(strScaleZ.c_str()) / 100.0f); m_ScaleTable.tInfo[dwPos].fPositionX = float(atof(strPositionX.c_str()) * 100.0f); m_ScaleTable.tInfo[dwPos].fPositionY = float(atof(strPositionY.c_str()) * 100.0f); m_ScaleTable.tInfo[dwPos].fPositionZ = float(atof(strPositionZ.c_str()) * 100.0f); } bool CItemData::GetItemScale(DWORD dwPos, float & fScaleX, float & fScaleY, float & fScaleZ, float & fPositionX, float & fPositionY, float & fPositionZ) { DWORD dwPos; fScaleX = m_ScaleTable.tInfo[dwPos].fScaleX; fScaleY = m_ScaleTable.tInfo[dwPos].fScaleY; fScaleZ = m_ScaleTable.tInfo[dwPos].fScaleZ; fPositionX = m_ScaleTable.tInfo[dwPos].fPositionX; fPositionY = m_ScaleTable.tInfo[dwPos].fPositionY; fPositionZ = m_ScaleTable.tInfo[dwPos].fPositionZ; return true; } #endif as far as i know, the variable dwPos is initialized, so i shouldn't get that error if someone knows the problmem i would be happy to hear it, thanks
  3. Hi dev Actually im trying to add a new function but i don't know why this is working bad: I have in player a new column called: rank and i want that this function returns the number that i have in rank but i don't know how to do it ._. int pc_get_rank(lua_State* L) { DBManager::instance().Query("SELECT rank FROM player.player WHERE name='%s' ", CQuestManager::instance().GetCurrentCharacterPtr()->GetName()); lua_pushnumber(L, 0); return 1; } Function returns me all time 0 in game
  4. DemoroCZ

    solved Ghost UI

    Hello, for few weeks, i'm doing my best to solve problem with something i call "Ghost UI". What is the problem? For example, if i warp using quest function pc.warp, and i have Inventory a DSS UI opened right before warp, these UI windows just become invisible. I've tried to find the problem in debug binary, unsuccessfully, i've tried to disable all new UIs, i've tried to just simply check all python files if there is any mistake, i did not find anything.. Did anybody had same problem? If so, how did you fix it? Or where exactly is the problem? Thank you
  5. Danonek

    solved Error compiling

    This is where the error starts can anyone help , whats wrong ? In file included from char_item.cpp:47: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:640: warning: comparison is always false due to limited range of data type char_item.cpp:666: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2387: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2391: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2403: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2407: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2434: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2442: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:5083: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5155: warning: unused variable 'wDestCell' char_item.cpp:5156: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6156: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6220: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)': char_item.cpp:6232: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7418: warning: unused variable 'itemType' char_item.cpp:7419: warning: unused variable 'itemSubType' char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:679: warning: control reaches end of non-void function char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_ValueChange(BYTE, BYTE, BYTE)': char_item.cpp:6267: warning: 'pBuff' may be used uninitialized in this function
  6. dadas82

    solved character mob

    warrior, assasin,sura,shaman,wolfman characters mob file please edit: warrior found thanks
  7. Constantinos

    solved Announcement Translate

    Hello community ! I was translating my server and i'm done with it. But i keep seing that "announcements" like , " Experienced ratio is increased because of your luck" comes out in a different language . I've searched Locales , but i couldn't find it in there . Here is a picture of what it looks like . Can you help me ?
  8. How can I check if a player has an item in inventory? Something like: when 40002.inventory begin quest_happens end
  9. Hey guys, i have a problem with my db core on a new dev server. I copied die Files from an old server to a new but the serverfiles does not work at the new server. The systemconfiguration is the same how on the old server. the database are crasht with the following information: Starting program: /usr/home/game2/database/database Real Server Log Off Program received signal SIGSEGV, Segmentation fault. 0x080b81ef in add_collation () (gdb) bt #0 0x080b81ef in add_collation () #1 0x080baee5 in cs_leave () #2 0x080cb3e1 in my_xml_parse () #3 0x080bacb1 in my_parse_charset_xml () #4 0x080b7c9c in init_available_charsets () #5 0x080b789d in get_charset_by_csname () #6 0x080cd1ba in mysql_init_character_set () #7 0x080cd82b in mysql_real_connect () #8 0x080d7e29 in CAsyncSQL::Connect () #9 0x080d8778 in CAsyncSQL::Setup () #10 0x08050de4 in CDBManager::Connect (this=0xffffda80, iSlot=0, db_address=0xffffd208 "localhost", db_port=0, db_name=0xffffd1c8 "player", user=0xffffd188 "mt2", pwd=0xffffd148 "mt2!@#") at DBManager.cpp:103 #11 0x0804f710 in Start () at Main.cpp:261 #12 0x080500b7 in main () at Main.cpp:86 i hope you can help me sorry for my bad english it is early morning
  10. HisaoShou

    solved Progressive quest?

    I'd like to know how to make progressive quests... When a quest is completed, I want it to unlock another quest. The condition for the second quest to appear, to be first quest's completion. How can I do that? I need it because I'm going to have lots of quests and I cannot store them just in a single quest.
  11. Baloe

    solved FreeBSD help

    Hello I'm having a problem .. see the picture: https://afbeelding.im/L1b0lpx2 I can not say PuTTY. I'll see this: https://afbeelding.im/f7j0Dfrw What am I doing wrong? Or have I forgotten to set? I've already done this: / etc / ssh / sshd_config and then '' PermitRootLogin yes '' yes yes instead of no Sorry for the bad english
  12. Hello the item I put in the warehouse is disappearing help please channel1 sysrrer SYSERR: Jun 18 00:45:32.408295 :: pid_init: Start of pid: 2132 SYSERR: Jun 18 00:46:05.264833 :: ChildLoop: AsyncSQL: query failed: Incorrect integer value: 'Y' for column 'is_gm' at row 1 (query: INSERT INTO loginlog2(type, is_gm, login_time, channel, account_id, pid, ip, client_version) VALUES('INVALID', 'Y', NOW(), 1, 7695, 7022, inet_aton('192.168.1.101'), '') errno: 1366) SYSERR: Jun 18 00:46:41.825895 :: ChildLoop: AsyncSQL: query failed: Incorrect string value: '\xFEi K\xFDl...' for column 'hint' at row 1 (query: INSERT DELAYED INTO log (type, time, who, x, y, what, how, hint, ip, vnum) VALUES('ITEM', NOW(), 7022, 953612, 260980, 10004681, 'SAFEBOX PUT', 'Hortlak Dişi Kılıcı+9 1', '192.168.1.101', 159) errno: 1366) db sysrrer SYSERR: Jun 18 00:45:28.140164 :: pid_init: Start of pid: 2120 SYSERR: Jun 18 00:46:41.925636 :: ChildLoop: AsyncSQL: query failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, bind, transmutation, socket0, socket1, socket2, socket3, socket4, socket5,attrtype0, attrvalue0,attrtype1, attrvalue1,attrtype2, attrvalue2,attrtype3, attrvalue3,attrtype4, attrvalue4,attrtype5, attrvalue5,attrtype6, attrvalue6,applytype0, applyvalue0,applytype1, applyvalue1,applytype2, applyvalue2,applytype3, applyvalue3,applytype4, applyvalue4,applytype5, applyvalue5,applytype6, applyvalue6,applytype7, applyvalue7)VALUES(10004681, 7695, 3, 0, 1, 159, 0, 0, 1, 1, 1, 1, 1, 1 errno: 1064) Can not write to the item table edit: Problem solved Thank you
  13. 0617 22:48:14965 :: GRANNY: r:/granny/rt/granny_file_info.cpp(145): File has run-time type tag of 0x8000000f, which doesn't match this version of Granny (0x80000010). Automatic conversion will be attempted. 0617 22:48:15266 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/etc/emoticon/klicon.mse) Error 0617 22:48:15266 :: CInstanceBase::RegisterEffect(eEftType=106, c_szEftAttachBone=, c_szEftName=d:/ymir work/effect/etc/emoticon/klicon.mse, isCache=0) - Error 0617 22:48:17934 :: Failed to load script file : uiscript/attachstonedialog.py 0617 22:48:17934 :: error : No file or directory 0617 22:48:17938 :: ui.py(line:3115) LoadScriptFile system.py(line:192) execfile system.py(line:161) Run system.py(line:176) __LoadTextFile__ system.py(line:61) __init__ LoadScriptFile1 - exceptions.IOError:No file or directory 0617 22:48:17939 :: ============================================================================================================ 0617 22:48:17939 :: Abort!!!! 0617 22:48:17939 :: uiAttachMetin.py(line:21) __LoadScript ui.py(line:3121) LoadScriptFile exception.py(line:36) Abort AttachStoneDialog.__LoadScript.LoadObject - exceptions.SystemExit: 0617 22:48:17940 :: ============================================================================================================ 0617 22:48:17940 :: Abort!!!! HELP ME PLS.....
  14. Pr0HunT45

    solved Weapon costume

    Hey guys! I want to add the weapon costume System to my server. I add it with this description: https://forum.turkmmo.com/konu/3456478-kostum-silah-sistemi/ I did everything what i have to, but the char_item,cpp doesn't work. This is the funkcion: // 1) Search: if (item->GetWearFlag() & WEARABLE_UNIQUE) // 2) After their definition make a new line and paste: #ifdef __WEAPON_COSTUME_SYSTEM__ #ifdef __NEW_ARROW_SYSTEM__ if (item->GetType() == ITEM_WEAPON && item->GetSubType() != WEAPON_ARROW && item->GetSubType() != WEAPON_UNLIMITED_ARROW) #else if (item->GetType() == ITEM_WEAPON && item->GetSubType() != WEAPON_ARROW) #endif { LPITEM pkItem = GetWear(WEAR_COSTUME_WEAPON); if (pkItem) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("For can do this unwear the costume weapon.")); return false; } } else if (item->GetType() == ITEM_COSTUME && item->GetSubType() == COSTUME_WEAPON) { LPITEM pkItem = GetWear(WEAR_WEAPON); if (!pkItem) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't wear a costume weapon without have a weapon weared.")); return false; } else if (item->GetValue(3) != pkItem->GetSubType()) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("You can't wear a costume weapon who has different type of your weapon.")); return false; } } if (item->GetType() == ITEM_ROD || item->GetType() == ITEM_PICK) { LPITEM pkItem = GetWear(WEAR_COSTUME_WEAPON); if (pkItem) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("For can do this unwear the costume weapon.")); return false; } } #endif // 1) Search: bool CHARACTER::CanUnequipNow(const LPITEM item, const TItemPos& srcCell, const TItemPos& destCell) // 2) Replace their definition with: bool CHARACTER::CanUnequipNow(const LPITEM item, const TItemPos& srcCell, const TItemPos& destCell) { if (ITEM_BELT == item->GetType()) VERIFY_MSG(CBeltInventoryHelper::IsExistItemInBeltInventory(this), "벨트 인벤토리에 아이템이 존재하면 해제할 수 없습니다."); // 영원히 해제할 수 없는 아이템 if (IS_SET(item->GetFlag(), ITEM_FLAG_IRREMOVABLE)) return false; // 아이템 unequip시 인벤토리로 옮길 때 빈 자리가 있는 지 확인 { int pos = -1; if (item->IsDragonSoul()) pos = GetEmptyDragonSoulInventory(item); else pos = GetEmptyInventory(item->GetSize()); VERIFY_MSG( -1 == pos, "소지품에 빈 공간이 없습니다." ); } #ifdef __WEAPON_COSTUME_SYSTEM__ #ifdef __NEW_ARROW_SYSTEM__ if (item->GetType() == ITEM_WEAPON && item->GetSubType() != WEAPON_ARROW && item->GetSubType() != WEAPON_UNLIMITED_ARROW) #else if (item->GetType() == ITEM_WEAPON && item->GetSubType() != WEAPON_ARROW) #endif { LPITEM pkItem = GetWear(WEAR_COSTUME_WEAPON); if (pkItem) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("For can do this unwear the costume weapon.")); return false; } } #endif return true; } // 1) Search: static BYTE abSlot[] = {WEAR_COSTUME_BODY, WEAR_COSTUME_HAIR,}; // 2) Replace with: static BYTE abSlot[] = {WEAR_COSTUME_BODY, WEAR_COSTUME_HAIR, #ifdef __WEAPON_COSTUME_SYSTEM__ WEAR_COSTUME_WEAPON, #endif }; This is my problem: compile char_item.cpp compile mob_manager.cpp compile monarch.cpp In file included from char_item.cpp:44: ../../common/VnumHelper.h:59:32: warning: no newline at end of file In file included from char_item.cpp:47: belt_inventory_helper.h:108:42: warning: no newline at end of file compile motion.cpp monarch.cpp:276:2: warning: no newline at end of file compile over9refine.cpp In file included from char_item.cpp:47: belt_inventory_helper.h: In static member function 'static BYTE CBeltInventoryHelper::GetBeltGradeByRefineLevel(int)': belt_inventory_helper.h:28: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::IsEmptyItemGrid(TItemPos, BYTE, int) const': char_item.cpp:647: warning: comparison is always false due to limited range of data type char_item.cpp:673: warning: comparison is always false due to limited range of data type char_item.cpp: In member function 'bool CHARACTER::UseItemEx(CItem*, TItemPos)': char_item.cpp:2394: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2398: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2410: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2414: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:2441: warning: format '%d' expects type 'int', but argument 6 has type 'long int' char_item.cpp:2449: warning: format '%d' expects type 'int', but argument 5 has type 'long int' char_item.cpp:5106: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::UseItem(TItemPos, TItemPos)': char_item.cpp:5178: warning: unused variable 'wDestCell' char_item.cpp:5179: warning: unused variable 'bDestInven' char_item.cpp: In member function 'bool CHARACTER::EquipItem(CItem*, int)': char_item.cpp:6213: warning: array subscript has type 'char' char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_AddBuffsFromItem(CItem*)': char_item.cpp:6277: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'void CHARACTER::BuffOnAttr_RemoveBuffsFromItem(CItem*)': char_item.cpp:6289: warning: comparison between signed and unsigned integer expressions char_item.cpp: In member function 'bool CHARACTER::CanEquipNow(CItem*, const TItemPos&, const TItemPos&)': char_item.cpp:7475: warning: unused variable 'itemType' char_item.cpp:7476: warning: unused variable 'itemSubType' char_item.cpp: At global scope: char_item.cpp:7580: error: expected unqualified-id before 'if' gmake: *** [OBJDIR/char_item.o] Error 1 gmake: *** Waiting for unfinished jobs.... root@host:/usr/src/mainline/Srcs/Server/game/src # Thanks for your help! Greetings: Pr0HunT
  15. Hello, I'm using a function released by Optimus (created by VegaS) for the Market Metin2CMS, but when I start the game and enter in the map, I get disconnected and that core crashes... gdb: This is the code: /********* * file: input_login.cpp * description: Time update in real-time table last_play * date: Tuesday, Aug 01 st 2016, 02:44am * author: VegaS */ //1.) Search: void CInputLogin::Entergame(LPDESC d, const char * data) { LPCHARACTER ch; [........................................] } //2.) Add bellow: #ifdef ENABLE_UPDATE_LASTPLAY_REAL_TIME /********* * I put this verification level as not to over apply database updates elsewhere for characters that start at * first on the game that is at level 1, I believe that it is not necessary for a player of that level to have time adapted real-time. */ int pLevel = 0; // To begin initialize of level 5 ++ if (ch->GetLevel() > pLevel) { char pUpdateTime[1024]; snprintf(pUpdateTime, sizeof(pUpdateTime), "UPDATE player.player SET last_play = NOW() WHERE id = %u", ch->GetPlayerID()); std::auto_ptr<SQLMsg> sUpdate(DBManager::instance().DirectQuery(pUpdateTime)); } #endif I already tried to remove the if condition, but then I get the error on snprintf, also tried to remove it and set the query directly on the DirectQuery function, but then I get the error here... Someone can help me? What is wrong with that function? Thanks EDIT: Solved! I put the function after ch->SendGreetMessage();
  16. Hello Metin2dev, I have this problem I will give 10€ Paypal for the one how can fix my Problems, and bring my Server Online. Write me a pm !
  17. Hello After upgrading from gcc to gcc49 I can't start the server... db starts, auth starts, channel1/first starts (doesn't have any kind o map, maps start at channel1/game1) gdb: I have no errors while compiling the game... Thanks
  18. I transtaling client into czech language but this happened to me and i dont know what with it.. help please
  19. Ra.

    solved //Solved

    //Solved
  20. vandragoon

    solved Help me fix it please

    Hello.. i have problems with server and dont know what to do with it Channel1 syserr :
  21. Hello, How can I get the bonus name on a quest just by having the id from that bonus? Is there an existent function or there's need to create a new one? Thanks
  22. hello i need someone to unpack these for me https://mega.nz/#!E8kmFbLC!Psp_OtZD58j1fB4PcVG1drrlzhuyKCRDO2u1HEzotWE thanks for advance
  23. Hello, I'm having a problem only with the flame dungeon monsters: This is only happens with this monsters, if I use a poly I can see the original textures. What is happening, who can help me please? Thanks
  24. Hello, I edited give_basic_weapon.quest and I put that on the server. I made /reload q but there is still old quest (old rewards etc.) I have registered it in quest_list but it still doesn't work.. Do you know, where is problem please? Thank you!
  25. I do sometimes have this Error, then i cant click on anything in Inventory, can someone help me via Skype? 'int' object has no attribute 'SetItemSlot' would be amazing.. €dit fixed, i wont say what the error was
×