Jump to content

flygun

Former Staff
  • Posts

    729
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by flygun

  1. just be sure if the npc have a "walk" animation .. otherwise it wont move i think.. or it'll move but with bug
  2. i got it with every map but "RED" i tried to go to the blue and yellow and other maps outside but same :/
  3. Hello guys i was too busy to track the problem of this syserr .. but i sreached for this syserr in the soruce i found the code which write this error but i didn't understand it ... i think it's something with trees ...any idea ?? i really need help 0606 13:14:17208 :: MapOutdoor::BuildQuadTree : m_wPatchCount is zero, you must call ConvertPatchSplat before call this method. 0606 13:14:17208 :: CMapOutdoor::BuildQuadTree() RootNode is NULL the problem is i just entered /go dt ----> "metin2_map_milgyo" map and before the loading gauge start the game kicks me from the game and a "??????" log box appears and i think i got more than one map with this problem thanks in advance FlyGun
  4. 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
  5. "MANYAK" it's not a strange name though anyway ... i've just edited my first post
  6. for the VS 2013 error just clean the solution and build the program or just rebuild the solution ..... this is for the second problem unpack the root . open all the .py files and change the True to TRUE
  7. Yes, mathematically it does. actually no ... it's just a client (just interface ) must be fixed from the game itself (server)
  8. i'm on the phone .. but i know what is the problem ... i usally delete the (std:: ) prefix from (std::string) and with typeing "using namespace std;" the problem should be fix.. sorry for my bas english
  9. after the includes(#include "etcccc.....") type using namespace std;
  10. change it for this // START_OF_Player_EXP_TABLE_LOADING string temp_exp_line; char szExpTable[256]; snprintf(szExpTable, sizeof(szExpTable), "%s/Player_Exptable.txt", LocaleService_GetBasePath().c_str()); ifstream exp_table_open(szExpTable); if (!exp_table_open.is_open()) { sys_err("Failed to Load ExpTable from %s/Player_Exptable.txt", LocaleService_GetBasePath().c_str()); return 0; } int exp_table_counter = 0; while (!exp_table_open.eof()) { exp_table_open >> temp_exp_line; str_to_number(exp_table_common[exp_table_counter], temp_exp_line.c_str()); exp_table_counter++; } sys_log(0, "EXP Table Loaded succsefully from %s", LocaleService_GetBasePath().c_str()); // END_OF_Player_EXP_TABLE_LOADING
  11. you can do it as following open main.cpp and add #include "fstream" search for PanamaLoad(); and add this after it // START_OF_EXP_TABLE_LOADING std::string temp_exp_line; std::ifstream exp_table_open("locale/%s/exptable.txt",g_stServiceName); if (!exp_table_open.is_open()) sys_err("Error:Unable to read exp table/Unable to find it") return 0; int exp_table_counter = 0; while (!exp_table_open.eof()) { exp_table_open >> temp_exp_line; str_to_number(exp_table_common[exp_table_counter], temp_exp_line.c_str()); exp_table_counter++; } // END_OF_EXP_TABLE_LOADING go to constants.cpp replace this const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1] = { ... }; with this DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1]; go to constants.h and search for this extern const DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1]; and replace it with this extern DWORD exp_table_common[PLAYER_EXP_TABLE_MAX + 1]; best regards Flygun
  12. thanks you <3 sorry for this stupid comment :/ but you must change this --->"luaL_Reg" to --->"luaL_reg" best regards Flygun
  13. why didn't you just make it like this PLAYER_MAX_STATUS // in the config no one will set the HT 100 and IQ 95 O.o <--- for example sorry for my bad english
  14. thanks for your comment , i got some exams at the moment as soon as i have free time i'll finish this topic .
  15. Hello guys .... I'm not back yet i just got some free time at the moment so i decided to make this topic so first of all this is not a "way to solve any problem" it's kind of methods which you must follow to understand what is your problem and how to collect information about the problem plus propose possible alternatives, based on those information you have to decide what to do now that was a kind of introductory paragraph ... anyway I'm not very good at english "english grammar" so sorry for my bad english #so before starting i suggest you to work with my topic before going to Google and search for a fix # #in this topic i'll put an example on how to fix some problems with metin2 server/client as soon as i got a free time the How to starts now Decision-making The concept of decision-making : it's the perceived decision or conscious decision between the available alternatives in a specific situation, in order to achieve the goal by the requirements of the position and within the time available steps of decision-making : 1:- know the problem and define it 2:- collect information 3:- propose possible alternatives 4:-Study and evaluate alternatives 5:-Choose the best alternatives and apply them 6:-evaluate the results 1:- know the problem and define it --->This is one of the most important step in making decision, in this step we will identify the dimensions of the problem --->example:#not completed 2:- Collect information #coming soon #all the examples will be on metin2 problems #i'm veryyyyy sorry i will continue writhing this topic as soon as i get some time
  16. post the syserr of db when you put no_txt = 1
  17. ok first of all you must know ... when you compile the server on VS you can't start the server from freebsd you have to make windows serverfiles ... if you still want to compile it .... open m2server.2008.sln with vs and compile it and try to fix the errors if you got knowledge with c++ ... otherwise show me the errors and i'll see what i can do for you Best Regards Sorry For Bad english FlyGun
×
×
  • 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.