Jump to content

Ken

Inactive Member
  • Posts

    726
  • Joined

  • Last visited

  • Days Won

    44
  • Feedback

    0%

Everything posted by Ken

  1. bool __IsNewPetRace(unsigned race) { if (race >= 34001 && race <= 34041) return true; return false; }
  2. can you show evidence, please? Kind Regards Ken ~ TA
  3. You are not import uiScriptLocale and python is not know how to handle it. Kind Regards Ken ~ TA
  4. Your actual problem is special_item_group.txt. System can't start if system can't find the file in locale/czech folder. Other error ; You are only create a package folder in share folder and link that in all ch1,auth,game99 Kind Regards Ken ~ TA
  5. ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTableSQL()': ClientManagerBoot.cpp:237: error: 'FCompareVnum' was not declared in this scope ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeItemTableSQL()': ClientManagerBoot.cpp:339: error: 'FCompareVnum' was not declared in this scope ClientManagerBoot.cpp: In member function 'bool CClientManager::InitializeMobTableTXT()': ClientManagerBoot.cpp: At global scope: ClientManagerBoot.cpp:813: error: no 'bool CClientManager::InitializeItemTable()' member function declared in class 'CClientManager' These functions are not declared (defined) in header file. You should define that. Kind Regards Ken ~ TA
  6. More Details : Imerlib Kind Regards Ken ~ TA
  7. You can use pc.is_gm() but you are only want to one rank. You can use that. when 20091.chat."This is only for low wizard" with pc.get_gm_level() == 1 begin say("Hi, metin2dev") end Kind Regards Ken ~ TA
  8. Ken

    Metin2 Client 2007

    I remember my history on metin35 Thank you for share. Kind Regards Ken ~ TA
  9. char szQuery[512]; snprintf(szQuery,sizeof(szQuery),"SELECT isvip FROM player.player WHERE id = %u",GetPlayerID()) std::auto_ptr<SQLMsg> pMsg(DBManager::instance().DirectQuery(szQuery)); if(pMsg.get() && pMsg->Get()->uiNumRows > 0) { MYSQL_ROW row = mysql_fetch_row(pMsg->Get()->pSQLResult); BYTE temp = 0; str_to_number(temp,row[0]); bool isVip = temp ? true : false; if(isVip) m_afAffectFlag.Set(AFF_VIP); } Check player is vip or not. Kind Regards Ken ~ TA
  10. You mean the first people kill this mob, system is warp to another map? (I guess if you are mean like that) when 101.kill begin pc.getf("questName","count") < 3 begin pc.warp(x,y,mapIndex) pc.setf("questName","count",pc.getf("questName","count")+1) end Kind Regards Ken ~ TA
  11. system is apply this for all players If there is no second condition. when 101.kill with pc.get_name() == "Ken" begin -- This only for ken. pc.warp(x,y,mapIndex) end when 101.kill begin -- This for all. end Kind Regards Ken ~ TA
  12. System is not know that lines. [e.g. define GUARDIAN 11002] Execute pre_qc.py Kind Regards Ken ~ TA
  13. Your method is like a joke Then you must add your characters in gmlist.sql and make GM_VIP New GM rank Kind Regards Ken ~ TA
  14. void interpret_command(LPCHARACTER ch, const char * argument, size_t len) System already sent this. cmd.cpp -> cmd_gm.cpp or cmd_general.cpp or cmd_emotion.cpp Kind Regards Ken ~ TA
  15. Thanks for answer. But i think is enough if (!ch->IsGM()) return; Kind Regards Ken ~ TA
  16. Open m2server.2008.sln find that line remove it if you are not use that line. Kind Regards Ken ~ TA
  17. System trying to copy game_d.exe as auth.exe in other path and system give error (I think it's not find) Kind Regards Ken ~ TA
  18. thanks, but I need to change something in the game, to connect with him at home? and then works the same in dedicated? You don't need to change anything about novaline client. Kind Regards Ken ~ TA
  19. you can write like this O.o BOOL CHARACTER::IsGM() const { return true; } If function is only return true, why ymir entartaiment is put this function? Are they sick? test_server is a variable from config.cpp and default is false. If owner is type this variable in config, system automatic change status of variable. €dit 2 : if (ch->IsGM()) bType = (bType & 0xF0) | WHISPER_TYPE_GM; System is only return true, then everyone can write like a gm in whisper? Come on guys.. Kind Regards Ken ~ TA ymir entartaiment are not sick the original form for this BOOL is like this BOOL CHARACTER::IsGM() const { if (m_pointsInstant.gm_level != GM_PLAYER) return true; if (test_server) return true; return false; } if the server is test it'll return true if the player is not a normal player (GM) it'll return true else will return false but actually i don't know what dose this function do i just saw this code BOOL CHARACTER::IsGM() const { if (test_server) return true; return true; } this code will return true in anyway so it can be written like i wrote it Then system is always return false and you don't need to use ch->IsGM() because function is always return false :/ Kind Regards Ken ~ TA
  20. you can write like this O.o BOOL CHARACTER::IsGM() const { return true; } If function is only return true, why ymir entartaiment is put this function? Are they sick? test_server is a variable from config.cpp and default is false. If owner is type this variable in config, system automatic change status of variable. €dit 2 : if (ch->IsGM()) bType = (bType & 0xF0) | WHISPER_TYPE_GM; System is only return true, then everyone can write like a gm in whisper? Come on guys.. €dit 3 : if (m_pointsInstant.gm_level != GM_PLAYER) return true; If this condition is not work, why is ymir entartaiment put this ? void CHARACTER::SetGMLevel() { if (GetDesc()) { m_pointsInstant.gm_level = gm_get_level(GetName(), GetDesc()->GetHostName(), GetDesc()->GetAccountTable().login); } else { m_pointsInstant.gm_level = GM_PLAYER; } } Kind Regards Ken ~ TA
  21. if (GetJob() == JOB_WOLFMAN && m_iComboHackCount <= 20) { return; } Are you sure ? Kind Regards Ken ~ TA
  22. You are only edit real alignment. Actual alignment type is short. Data type ranges & max values : Data type ranges Kind Regards Ken ~ TA
×
×
  • 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.