Developer Deliris 407 Posted June 3, 2016 Author Developer Share Posted June 3, 2016 up r Link to comment Share on other sites More sharing options...
Mandi 2 Posted July 16, 2016 Share Posted July 16, 2016 To remove protection PK Search in char.cpp else if (GetGMLevel() != GM_PLAYER) and replace with else if (GetGMLevel() != GM_PLAYER && GetGMLevel() != GM_VIP) 1 Link to comment Share on other sites More sharing options...
ladcatalin 6 Posted July 29, 2016 Share Posted July 29, 2016 i have a error when i try to cmpile db. compile ClientManager.cpp ClientManager.cpp: In member function 'bool CClientManager::__GetAdminInfo(const char*, std::vector<TAdminInfo, std::allocator<TAdminInfo> >&)': ClientManager.cpp:3686: error: 'GM_VIP' was not declared in this scope gmake: *** [.obj/ClientManager.o] Error 1 root@:/usr/src/newoffsource/db/src # #ifdef __VIP_SYSTEM__ //3684 else if (!stAuth.compare("VIP")) //3685 Info.m_Authority = GM_VIP; //3686 #endif //3687 Link to comment Share on other sites More sharing options...
ladcatalin 6 Posted August 8, 2016 Share Posted August 8, 2016 On 7/29/2016 at 10:40 PM, ladcatalin said: i have a error when i try to cmpile db. compile ClientManager.cpp ClientManager.cpp: In member function 'bool CClientManager::__GetAdminInfo(const char*, std::vector<TAdminInfo, std::allocator<TAdminInfo> >&)': ClientManager.cpp:3686: error: 'GM_VIP' was not declared in this scope gmake: *** [.obj/ClientManager.o] Error 1 root@:/usr/src/newoffsource/db/src # #ifdef __VIP_SYSTEM__ //3684 else if (!stAuth.compare("VIP")) //3685 Info.m_Authority = GM_VIP; //3686 #endif //3687 Do you know how to solve this?... Link to comment Share on other sites More sharing options...
Artnesor 1 Posted August 8, 2016 Share Posted August 8, 2016 1 hour ago, ladcatalin said: Do you know how to solve this?... You have to add GM_VIP, in common/length.h after GM_PLAYER. Link to comment Share on other sites More sharing options...
ladcatalin 6 Posted August 9, 2016 Share Posted August 9, 2016 It is already added and dont work.. Link to comment Share on other sites More sharing options...
ladcatalin 6 Posted August 9, 2016 Share Posted August 9, 2016 Solved. I removed #ifdef and #endif from lenght.h Now it works. thanks. in lenght.h was #ifdef __VIP_SYSTEM__ GM_VIP, #endif Link to comment Share on other sites More sharing options...
ladcatalin 6 Posted August 11, 2016 Share Posted August 11, 2016 (edited) I have a problem.. gm (lykan) is on blue kingdom and vip (ninja) is on red. When i login at lykan i see two effects on vip character (flag+vip): https://metin2.download/picture/hyoY241PL02XKr4dyAJ8b1NZy6Ct1uXX/.jpg This is commented: if (IsVIP()) return; Edited September 11, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Lehel 14 Posted August 17, 2016 Share Posted August 17, 2016 Where can I find the interface (taskbar) you're using? Please tell me. Link to comment Share on other sites More sharing options...
Lehel 14 Posted August 18, 2016 Share Posted August 18, 2016 Works perfect. Thanks. Link to comment Share on other sites More sharing options...
Jorila 3 Posted September 8, 2016 Share Posted September 8, 2016 Can someone add a questfunction - IsVIP for some quest? ^^ i need a little quest: when user vip - he get 50% more golddrop, 50% more exp, 50% more itemdrop (example bonusse) for 2 weeks Link to comment Share on other sites More sharing options...
VegaS 1101 Posted September 8, 2016 Share Posted September 8, 2016 @Jorila You can add fucking easy a bonus and something now ^^ you need to save a your time for vip in questflag, and after that you need to make a check when he login with timer expired of vip to delete bonus and grade bla bla. Anyway, this 'system' is not system is only fucking shit add new grade, because is only copy all from function gm, is like 'System GameMaster' jesus..and shit method xD [File: src/game/questlua_pc.cpp] 1.) Search: int pc_get_skillgroup(lua_State* L) { lua_pushnumber(L, CQuestManager::instance().GetCurrentCharacterPtr()->GetSkillGroup()); return 1; } 2.) Add bellow: #ifdef ENABLE_CHECK_VIP_TEST int pc_is_vip(lua_State* L) { LPCHARACTER ch = CQuestManager::instance().GetCurrentCharacterPtr(); lua_pushboolean(L, ch->GetGMLevel() == GM_VIP); return 1; } #endif 3.) Search: { "get_skill_group", pc_get_skillgroup }, 4.) Add bellow: #ifdef ENABLE_CHECK_VIP_TEST { "is_vip", pc_is_vip }, #endif [File: locale/country/questfunction] pc.is_vip Example to use in quest: quest check_vip_test begin state start begin when 70007.use begin local argument = { "true", "false" } if pc.is_vip() then --[[ # pc.is_vip() == true ]] syschat(string.format("<Debug> Argument checking for vip is: %s", argument[1])) else --[[ # pc.is_vip() == false ]] syschat(string.format("<Debug> Argument checking for vip is: %s", argument[2])) end end end end 1 Link to comment Share on other sites More sharing options...
Jorila 3 Posted September 9, 2016 Share Posted September 9, 2016 @VegaS Thank you ^^ sorry i am a noob. your quest is good, but i need a quest where user get the VIP when he/she use an item. i forgot <.< one question. can you make a little quest: when user use item 70007(example ID), user get the VIP for 2 weeks and he/she get (example) 50% more itemdrop, 50% more golddrop. thank you very much! 1 Link to comment Share on other sites More sharing options...
Active Member ReFresh 2351 Posted September 11, 2016 Active Member Share Posted September 11, 2016 (edited) On 22. 5. 2016 at 1:57 PM, Wahmon said: Can you share PSD with this GM logo and VIP logo? Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 1 1 I'll be always helpful! Link to comment Share on other sites More sharing options...
Kronzu 11 Posted September 15, 2016 Share Posted September 15, 2016 (edited) why? When Jinno look on Shinsoo. Can do that like Red and blue flag was up then VIP ? Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
DarthNeno 5 Posted September 16, 2016 Share Posted September 16, 2016 Nice tutorial but i have a bug.. now the VIP have the same rights like a LOW_WIZARD.. Link to comment Share on other sites More sharing options...
TekkForCe 6 Posted December 10, 2016 Share Posted December 10, 2016 (edited) Hello, I have a bug when i´m use firework the vip logo come, after dead or relog its gone. Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
TekkForCe 6 Posted December 11, 2016 Share Posted December 11, 2016 someone can help ? Link to comment Share on other sites More sharing options...
silvermen 1 Posted December 22, 2016 Share Posted December 22, 2016 (edited) Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Human 18 Posted February 8, 2017 Share Posted February 8, 2017 (edited) Hi i got some bugs hope you solve it Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
emanuel 18 Posted February 27, 2017 Share Posted February 27, 2017 (edited) On 08.02.2017 at 8:00, Human said: Hi i got some bugs hope you solve it UP Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
bodyman 15 Posted February 27, 2017 Share Posted February 27, 2017 hell plz sen to me Gui interface Link to comment Share on other sites More sharing options...
[007]DawisHU 278 Posted February 28, 2017 Share Posted February 28, 2017 (edited) Hello,Nice but i hate source I make this 100% manual Vip features..: -Vip pet Vip Mount Vip shop (higher vip level cheapest shop) builded to vip10 vip1 - teleport only empire all map1-2 vip2- can teleport map1-2 and ork + sd 1 + another location vip costume vip farm map vip daily quest vip daily +2 daily run token daily reward purchase system = like first purchase ,second etc... and more DON'T request for this system, i understand why not make pc.player playerVIP why gamemaster ? On 2017. 02. 08. at 7:00 AM, Human said: Hi i got some bugs hope you solve it This is unsolvable i say why... u remember what is the source code? GameMaster: Spoiler BOOL CInstanceBase::IsGameMaster() { if (m_kAffectFlagContainer.IsSet(AFFECT_YMIR)) return true; return false; } VIP: Spoiler BOOL CInstanceBase::IsVIP() { if (m_kAffectFlagContainer.IsSet(AFFECT_VIP)) return true; return false; } This tut just make new gm style whit name is " VIP " Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
Human 18 Posted March 5, 2017 Share Posted March 5, 2017 (edited) then On 3/1/2017 at 4:37 AM, [007]DawisHU said: Hello,Nice but i hate source I make this 100% manual Vip features..: -Vip pet Vip Mount Vip shop (higher vip level cheapest shop) builded to vip10 vip1 - teleport only empire all map1-2 vip2- can teleport map1-2 and ork + sd 1 + another location vip costume vip farm map vip daily quest vip daily +2 daily run token daily reward purchase system = like first purchase ,second etc... and more DON'T request for this system,then how to use your system ??? i understand why not make pc.player playerVIP why gamemaster ? This is unsolvable i say why... u remember what is the source code? GameMaster: Hide contents BOOL CInstanceBase::IsGameMaster() { if (m_kAffectFlagContainer.IsSet(AFFECT_YMIR)) return true; return false; } VIP: Hide contents BOOL CInstanceBase::IsVIP() { if (m_kAffectFlagContainer.IsSet(AFFECT_VIP)) return true; return false; } This tut just make new gm style whit name is " VIP "If i change Gamemaster to VIP will it work? i guess it will say we need to declare the function IsVIP Edited August 24, 2022 by Metin2 Dev Core X - External 2 Internal 1 Link to comment Share on other sites More sharing options...
LexlA 0 Posted August 19, 2017 Share Posted August 19, 2017 The VIP Symbol will not show up ingame.. No error at compiling Link to comment Share on other sites More sharing options...
Recommended Posts