peakzinho
Banned-
Posts
41 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by peakzinho
-
[Hidden Content] how do I center the position of the text at the top?
-
I need tabs, no secondary money xD
-
Could someone give me a tutorial on how to create stores with multiple tabs?
-
thanks
-
Would it be possible in the refine_proto table to put in which npc we want the refinement to be done?
-
Conquerors of Yohara
peakzinho replied to peakzinho's topic in Community Support - Questions & Answers
[Hidden Content] I sent the files here. My problem is that when I increase the status of the sugnma it increases but in the window it remains 0. -
Can help? [Hidden Content]
-
can you add me in discord please? Kaylee#3362 I'm just remove in contants.cpp // POINT_CONQUEROR_POINT because if I leave it gives error to compile #ifdef ENABLE_CONQUEROR_LEVEL { POINT_SUNGMA_STR, }, { POINT_SUNGMA_HP, }, { POINT_SUNGMA_MOVE, }, { POINT_SUNGMA_INMUNE, }, //{ POINT_CONQUEROR_POINT, }, #endif
-
official 9 Skills Conquerors of Yohara - Official Servers
peakzinho replied to Rakancito's topic in Features & Metin2 Systems
[Hidden Content] can help? -
official 9 Skills Conquerors of Yohara - Official Servers
peakzinho replied to Rakancito's topic in Features & Metin2 Systems
char_skill.cpp:3686:39: error: excess elements in array initializer -
but i already did it xD
-
But that is not the problem. Anything I put on gives this error, but with another clear name.
-
0128 02:29:16508 :: CEffectManager::RegisterEffect - LoadScript(d:/ymir work/effect/plechito/weapons/steampunkarmor/armor.mse) Error 0128 02:29:16508 :: CInstanceBase::RegisterEffect(eEftType=259, c_szEftAttachBone=Bip01, c_szEftName=d:/ymir work/effect/plechito/weapons/steampunkarmor/armor.mse, isCache=0) - Error
-
[Hidden Content] Fix for stone refine?
-
When I add something that has an effect, the system is functional but the effect is not. It does not report any error. I give an example, I installed the item buffs system, it was functional, but the effect didn't show. I don't know what can make this happen, please, I appreciate everyone's help.
-
When placing the system basically all maps will change correct? Would it be possible to put time to change only in cities?
-
Costumes and Discord RPC
peakzinho replied to peakzinho's topic in Community Support - Questions & Answers
Thank you -
Costumes and Discord RPC
peakzinho replied to peakzinho's topic in Community Support - Questions & Answers
up thanks all -
Costumes and Discord RPC
peakzinho replied to peakzinho's topic in Community Support - Questions & Answers
#ifdef ENABLE_DISCORD_RPC #include "discord_rpc.h" #ifdef _DEBUG #pragma comment(lib, "discord_rpc_d.lib") #else #pragma comment(lib, "discord_rpc_r.lib") #endif static int64_t StartTime; static constexpr auto DiscordClientID = "758991963747516459"; auto szSiteName = "Website: <Em Construção>"; auto szIconName = "image1"; void CPythonNetworkStream::Discord_Start() { StartTime = time(0); DiscordEventHandlers handlers; memset(&handlers, 0, sizeof(handlers)); Discord_Initialize(DiscordClientID, &handlers, 1, nullptr); Discord_Update(true, false, false); } void CPythonNetworkStream::Discord_Update(const bool login, const bool select, const bool loading) { DiscordRichPresence discordPresence; memset(&discordPresence, 0, sizeof(discordPresence)); char szBufName[256+1]; char szBufWarp[256+1]; char szEmpireId[256+1]; char szEmpireName[256+1]; char szRaceName[256+1]; CInstanceBase* pInstance = CPythonCharacterManager::Instance().GetMainInstancePtr(); if (login) { discordPresence.details = "On Login"; discordPresence.state = szSiteName; discordPresence.largeImageKey = szIconName; discordPresence.largeImageText = szSiteName; } else if (select) { discordPresence.details = "On Select"; discordPresence.state = szSiteName; discordPresence.largeImageKey = szIconName; discordPresence.largeImageText = szSiteName; } else if (loading) { discordPresence.details = "On Loading"; discordPresence.state = szSiteName; discordPresence.largeImageKey = szIconName; discordPresence.largeImageText = szSiteName; } else { std::string GuildName; DWORD GuildID = CPythonPlayer::Instance().GetGuildID(); CPythonGuild::Instance().GetGuildName(GuildID, &GuildName); if (GuildID != 0) _snprintf(szBufName, sizeof(szBufName), "Name: %s - Guild: %s", CPythonPlayer::Instance().GetName(), &GuildName); else _snprintf(szBufName, sizeof(szBufName), "Name: %s", CPythonPlayer::Instance().GetName()); _snprintf(szBufWarp, sizeof(szBufWarp), "Location: %s", CPythonBackground::Instance().GetMapName()); _snprintf(szEmpireId, sizeof(szEmpireId), "%s", GetEmpireIcon()); _snprintf(szEmpireName, sizeof(szEmpireName), "Empire: %s", GetEmpireName()); _snprintf(szRaceName, sizeof(szRaceName), "Race: %s", GetRaceName()); std::string szName = pInstance->GetNameString(); if (pInstance->IsGameMaster()) { discordPresence.details = GetStaffRank(); discordPresence.state = szBufName; } else if (szName.find("[VET]") != std::string::npos) { discordPresence.details = "Rank: Veteran"; discordPresence.state = szBufName; } else if (szName.find("[GFX]") != std::string::npos) { discordPresence.details = "Rank: Graphic Designer"; discordPresence.state = szBufName; } else if (szName.find("[PM]") != std::string::npos) { discordPresence.details = "Rank: Promoter"; discordPresence.state = szBufName; } else { discordPresence.details = szBufName; discordPresence.state = szBufWarp; } discordPresence.largeImageKey = GetRaceIcon(); discordPresence.largeImageText = szRaceName; discordPresence.smallImageKey = GetEmpireIcon(); discordPresence.smallImageText = szEmpireName; } discordPresence.startTimestamp = StartTime; Discord_UpdatePresence(&discordPresence); } void CPythonNetworkStream::Discord_Close() { Discord_Shutdown(); } const char * CPythonNetworkStream::GetStaffRank() { CInstanceBase* pInstance = CPythonCharacterManager::Instance().GetMainInstancePtr(); std::string szName = pInstance->GetNameString(); if (szName.find("[SA]") != std::string::npos) return "Rank: Server Admin"; else if (szName.find("[TM]") != std::string::npos) return "Rank: Team Manager"; else if (szName.find("[GA]") != std::string::npos) return "Rank: Game Admin"; else if (szName.find("[GM]") != std::string::npos) return "Rank: Game Master"; else if (szName.find("[H]") != std::string::npos) return "Rank: Helper"; else if (szName.find("[MID]") != std::string::npos) return "Rank: Middleman"; else return szSiteName; } const char * CPythonNetworkStream::GetRaceIcon() { CInstanceBase* pInstance = CPythonCharacterManager::Instance().GetMainInstancePtr(); int raceId = pInstance->GetRace(); if (raceId == 0) return "warrior_m"; else if (raceId == 1) return "ninja_w"; else if (raceId == 2) return "sura_m"; else if (raceId == 3) return "shaman_w"; else if (raceId == 4) return "warrior_w"; else if (raceId == 5) return "ninja_m"; else if (raceId == 6) return "sura_w"; else if (raceId == 7) return "shaman_m"; else return szIconName; } const char * CPythonNetworkStream::GetRaceName() { CInstanceBase* pInstance = CPythonCharacterManager::Instance().GetMainInstancePtr(); int raceId = pInstance->GetRace(); if (raceId == 0 || raceId == 4) return "Warrior"; else if (raceId == 1 || raceId == 5) return "Ninja"; else if (raceId == 2 || raceId == 6) return "Sura"; else if (raceId == 3 || raceId == 7) return "Shaman"; else return szSiteName; } const char * CPythonNetworkStream::GetEmpireIcon() { CInstanceBase* pInstance = CPythonCharacterManager::Instance().GetMainInstancePtr(); int empireId = pInstance->GetEmpireID(); if (empireId == 1) return "empire_a"; else if (empireId == 2) return "empire_b"; else if (empireId == 3) return "empire_c"; else return szIconName; } const char * CPythonNetworkStream::GetEmpireName() { CInstanceBase* pInstance = CPythonCharacterManager::Instance().GetMainInstancePtr(); int empireId = pInstance->GetEmpireID(); if (empireId == 1) return "Shinsoo (Red)"; else if (empireId == 2) return "Chunjo (Yellow)"; else if (empireId == 3) return "Jinno (Blue)"; else return szSiteName; } #endif Can help bro? -
Costumes and Discord RPC
peakzinho replied to peakzinho's topic in Community Support - Questions & Answers
can you add no discord please? s1mple#8696