- 0
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Activity
-
0
new horse function Horse.Kill
#### Server/game/src/horse_rider.cpp #### Server/game/src/horse_rider.h #### Server/game/src/questlua_horse.cpp quest_functions quest: -
4
Minimap & Heightmap Converter
UPDATE: I combined both tools in one, it will convert both heightmap and minimap at the same time, so if u want just one of it, you can use the other links to have a single tool Link for 2-in-1 tool: [Hidden Content]- 1
-
-
0
Metin2 | Mount System Renewal | Following but not riding - [HELP]
Hei guys i have problem with mount system renewal, problem: [Hidden Content] anybody can help me to block this or fix this somehow please?... thank you -
75
(In Dev) Metin2 Project - Legacy of Metin2
Theoretically could the DB be ported to PostgreSQL instead of MySQL? -
13
-
13
-
13
Party member count check for every map index
What's auto& 's meaning exactly?I just read this.. automatically detects and assigns a data type to the variable with which it is used Why are you using the address symbol? & (I know only C that's why i am asking about address symbol)- 1
-
-
13
Party member count check for every map index
I wrote that at 7 a.m., and I had mostly read the main post, which was about how he wanted that specific function; I had not considered the 'changing empire quest logic,' my mistake.- 2
-
-
13
Party member count check for every map index
Good. That fixes the first part of the issue: The party member pids not being taken into account for characters in different cores/channels. However, that still won't do, it requires more work: Your solution assumes that the party stays valid through channels, but as I previously stated, when a group member logins in a different one they will be without a party in that channel, parties are channel-exclusive. Screenshots for reference: This means that they can just change channel, do whatever they want while eluding the party checks, then log back in the old one. With my solution they can't, because a flag stays valid between different channels. Also, I have already stated that my solution was suboptimal, I simply shared my own approach while being informative about it. That said, I believe your take towards questflags is a bit of a stretch: the game is built to handle hundreds of thousands of them active and get info on them at the same time with negligible impact on the server.- 1
-
-
Question
avertuss 33
Hi. I use prestige system
#if ENABLE_NEW_PRESTIGE_SYSTEM == 1 char szNameTextTail[5000 + 1]; if (pCharacterInstance->IsPC() && pCharacterInstance->GetPrestigeLevel()) { if (pCharacterInstance->GetPrestigeLevel() < PRESTIGE_MAX) snprintf(szNameTextTail, sizeof(szNameTextTail), "[Prestige %d]%s", pCharacterInstance->GetPrestigeLevel(), pCharacterInstance->GetNameString()); else snprintf(szNameTextTail, sizeof(szNameTextTail), "[Prestige Master]%s", pCharacterInstance->GetNameString()); } else snprintf(szNameTextTail, sizeof(szNameTextTail), "%s", pCharacterInstance->GetNameString()); TTextTail * pTextTail = RegisterTextTail(dwVirtualID, szNameTextTail, pCharacterInstance->GetGraphicThingInstancePtr(), pCharacterInstance->GetGraphicThingInstanceRef().GetHeight() + fAddHeight, c_rColor); #else TTextTail * pTextTail = RegisterTextTail(dwVirtualID, pCharacterInstance->GetNameString(), pCharacterInstance->GetGraphicThingInstancePtr(), pCharacterInstance->GetGraphicThingInstanceRef().GetHeight() + fAddHeight, c_rColor); #endif
It looks like
i want edit this to Czny. [Prestige level]
How can i do it? I tried
if (pCharacterInstance->GetPrestigeLevel() < PRESTIGE_MAX) snprintf(szNameTextTail, sizeof(szNameTextTail), pCharacterInstance->GetNameString(), "%s" "[Prestige %d]", pCharacterInstance->GetPrestigeLevel()); else snprintf(szNameTextTail, sizeof(szNameTextTail), pCharacterInstance->GetNameString(), "%s" "[Prestige Master]");
but it doesn't work ;/
Link to comment
Share on other sites
Top Posters For This Question
3
2
Popular Days
May 2
5
Top Posters For This Question
avertuss 3 posts
Ayaka 2 posts
Popular Days
May 2 2017
5 posts
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now