Jump to content

flygun

Former Staff
  • Posts

    729
  • Joined

  • Last visited

  • Days Won

    7
  • Feedback

    0%

Everything posted by flygun

  1. this was the case but somehow it changed ... Now it's updated !!
  2. File "ui.py", line 80, in __call__ OnPickItem() takes exactly 2 arguments (3 given) read the error !!!!!
  3. i've already mentioned this in the post
  4. show me real error message ... see if their is a ".core" file and back trace it c++11 and above
  5. i'll rewrite the whole file today or tomorrow maximum .. i just wanted to see if actually someone want it ...
  6. sorry i edited the file after putting the link .. didn't thought that the link will change! thanks for noticing
  7. M2 Download Center Download Here ( Internal ) I edited Async Class to use C++ Standard mutex and thread support AsyncSQL.h ASyncSQL.cpp plus if you have this line in main.cpp inside the main function inside the db core source delete it DBManager.Quit(); this line will close MySQL connections before making sure that all the queries are done (which may not save the last thing a player do before closing the server) plus it will dump a core file since the db core will abort without successful exit! #edited Using std::gurad (which unlock the mutex when the object is destroyed) instead of manually lock and unlock mutex rewrote the Profiler class with std::chrono #Note : Don't just copy and paste .. make a backup , test , then use it Best regards.
  8. now putting that animation in quest when giving the player a reward will be fantastic right?
  9. upgrading libraries has it's own advantages such as speed and optimizing but upgrading the models them self doesn't benefits much unless you have the full granny source .. so i think the answer is no
  10. "Linux® users are often surprised to find that Bash is not the default shell in FreeBSD. In fact, Bash is not included in the default installation." don't get me wrong but FreeBSD is not at risk .. aside from that Thank you <3
  11. okay my bad "change : to = in "-std:c++11 " it should look like this -std=c++11
  12. CFLAGS = -m32 -g -Wall -O2 -pipe -fexceptions -fno-strict-aliasing -pthread -D_THREAD_SAFE -DNDEBUG -std:c++11 please stop spamming and put all that code in spoiler or just remove it from the topic .. and please read some books or some documentations about programming
  13. for your specific problem right now .. put it in the game's makefile
  14. you should read more about programming ... gcc49 actually support c++11 and c++14 you just have to specify it (in makefile )... [Hidden Content]
  15. add this to the flags in the makefile -std=c++11 you really should update c++11 is now old
  16. replace granny_variant twoSideResult; if (GrannyFindMatchingMember(pgrnMaterial->ExtendedData.Type, pgrnMaterial->ExtendedData.Object, "Two-sided", &twoSideResult) && NULL != twoSideResult.Type) GrannyConvertSingleObject(twoSideResult.Type, twoSideResult.Object, TwoSidedFieldType, &twoSided, NULL); m_bTwoSideRender = 1 == twoSided; with this granny_variant TwoSidedVariant; if (GrannyFindMatchingMember(pgrnMaterial->ExtendedData.Type, pgrnMaterial->ExtendedData.Object, "Two-sided", &TwoSidedVariant)) GrannyConvertSingleObject(TwoSidedVariant.Type, TwoSidedVariant.Object, TwoSidedFieldType, &twoSided, 0); m_bTwoSideRender = 1 == twoSided; not tested I'm on mobile
  17. first of all .... yes you can compile the source code in vs2017 it's just a program ... the language itself didn't change ... but for the error you have to provide us with some information other than just saying that you've got a problem ... programing isn't a job it's a life style Best regards Flygun !!
  18. hmmmm i'm thinking of this as (33% of drop rate ) so if the drop rate = (200%) the 33% is still 33% ... 33% of (100) = 33 33% of (200) = 66 (not 66% which is 132) 33% of (300) = 99 item (not 99% which is 297) i've didn't read it yet ...
  19. #moved (Community>Feedback to Metin2>General)
  20. #moved (Tech>C++ to Metin2>Questions and Answers) #please read the forum's rules about bumping ...
×
×
  • 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.