Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/01/17 in all areas

  1. Heya, I just wanted to share this news with you guys. Gameforge (12 hours ago actually :P) has just announced there will be a new character coming up - Lycanee. Basically female version of Lycan https://board.en.metin2.gameforge.com/index.php/Thread/88598-Lycanee-Introduction/ Kind Regards, Sonitex
    2 points
  2. Initialization; #include "LauncherCheck.h" #pragma comment(lib, "LauncherCheck.lib") using namespace LauncherCheck; Encryption example (You should use from your launcher process); if (false == CLauncherCheck::ProcessEncryption("YOUR_SUPER_SECRET_KEY")) { printf("Encryption fail! Error code: %d", CLauncherCheck::GetErrorCode()); return; /* Error, exit or what do you want. */ } Decryption example (You should use from game client process); if (false == CLauncherCheck::ProcessDecryption("YOUR_SUPER_SECRET_KEY")) { printf("Decryption fail! Error code: %d", CLauncherCheck::GetErrorCode()); return; /* Error, exit or what do you want. */ } The lib file is compatible with Visual studio 2015. [Hidden Content]
    1 point
  3. EDIT: THE MAP IS READY! IF YOU ARE INTERESTED, WRITE ME HERE OR ON SKYPE. Hello everyone! As every bigger festival i make map for easter too! Easter are christians feast, for more people it's feast of spring! So my map will be in the spirit of nature Here is first picture of the map. Size of the map will be probably 4x5, i'm not sure if i make some stone cave part too, but i'll see
    1 point
  4. should be here [Hidden Content] already post on this forum......;-)
    1 point
  5. There is a public.dds in .UPDATES\m2_16.4.2_21077\metin2_patch_new_pet\d_\ymir work\ui [Hidden Content]
    1 point
  6. Thanks again ... finally i knew what is the problem for 40k files and i'll share my code to people ... thanks to denis and shogun and .plechito' (i copyed some of your codes) uicharacter.py for i in questRange[:questCount]: (questName, questIcon, questCounterName, questCounterValue) = quest.GetQuestData(self.questShowingStartIndex+i) # start colored scrolls if questName[0] == '*': questName = questName[1:] elif questName[0] == '&': questName = questName[1:] elif questName[0] == '~': questName = questName[1:] elif questName[0] == '+': questName = questName[1:] # end colored scrolls self.questNameList[i].SetText(questName) self.questNameList[i].Show() self.questLastCountList[i].Show() self.questLastTimeList[i].Show() interfacemodule.py QUESTICON = "%s/ui/questicon/" %(app.GetLocalePath(),) if name[0] == '*': btn.SetUpVisual(QUESTICON + "scroll_close_green.tga") btn.SetOverVisual(QUESTICON + "scroll_open_green.tga") btn.SetDownVisual(QUESTICON + "scroll_open_green.tga") name = name[1:] elif name[0] == '&': btn.SetUpVisual(QUESTICON + "scroll_close_blue.tga") btn.SetOverVisual(QUESTICON + "scroll_open_blue.tga") btn.SetDownVisual(QUESTICON + "scroll_open_blue.tga") name = name[1:] elif name[0] == '~': btn.SetUpVisual(QUESTICON + "scroll_close_golden.tga") btn.SetOverVisual(QUESTICON + "scroll_open_golden.tga") btn.SetDownVisual(QUESTICON + "scroll_open_golden.tga") name = name[1:] elif name[0] == '+': btn.SetUpVisual(QUESTICON + "scroll_close_purple.tga") btn.SetOverVisual(QUESTICON + "scroll_open_purple.tga") btn.SetDownVisual(QUESTICON + "scroll_open_purple.tga") name = name[1:] else: btn.SetUpVisual(QUESTICON + "scroll_close_red.tga") btn.SetOverVisual(QUESTICON + "scroll_open_red.tga") btn.SetDownVisual(QUESTICON + "scroll_open_red.tga") # END_OF_QUEST_LETTER_IMAGE just change the this line "QUESTICON = "%s/ui/questicon/" %(app.GetLocalePath(),)" questlib.lua (send_letter function) function send_letter(name) local files = { ["*"] = "scroll_open_green.tga", ["~"] = "scroll_open_golden.tga", ["&"] = "scroll_open_blue.tga", ["+"] = "scroll_open_purple.tga", } local chr = string.sub(name,1,1) if chr == '*' or chr == '~' or chr == '&' or chr == '+' then q.set_icon(files[chr]) end makequestbutton(name) set_skin(NOWINDOW) q.set_title(name) q.start() end ok every thing now must work if you put the .tga file in this folder "d:/ymir work/ui/game/quest/questicon/" . if you put them in other folder the tut will fail .. open PlayerQuest.cpp in binary source and search for "if (!pQuestInstance->strIconFileName.empty())" in "questGetQuestData" and change the link to the folder if you want to put them in locale like me change the code to this if (!pQuestInstance->strIconFileName.empty()) { std::string strIconFileName (LocaleService_GetLocalePath()); strIconFileName += "/ui/questicon/"; strIconFileName += pQuestInstance->strIconFileName.c_str(); pImage = (CGraphicImage *)CResourceManager::Instance().GetResourcePointer(strIconFileName.c_str()); } sorry for my bad english best regards FlyGun
    1 point
×
×
  • 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.