Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/18/19 in all areas

  1. Open db/ClientManagerBoot.cpp bool CClientManager::InitializeLandTable() { using namespace building; under this add CDBManager::instance().DirectQuery( "update land " "INNER JOIN guild ON land.guild_id = guild.id " "INNER JOIN player ON guild.`master` = player.id " "set guild_id=0 " "where guild_id > 0 and " "DATE_SUB(NOW(),INTERVAL 21 DAY) > last_play; " ); CDBManager::instance().DirectQuery( "DELETE object " "FROM object " "INNER JOIN land ON land.id = object.land_id " "WHERE land.guild_id=0; " ); Extracted from Inception source.
    1 point
  2. M2 Download Center Download Here ( Internal ) Hello everyone, is my first release and it is something that many people already have, but for those who do not have it, I share it. Then, let's start. root/contsinfo.py root/interfacemodule.py root/uiinventory.py: root/uitaskbar.py: locale_xx/locale/xx/ui/taskbar.py locale_xx/locale/xx/locale_interface.txt uiscript ---> Create a new file with this name expandedmoneytaskbar.py and paste this: One extra step: locale_xx/locale/xx/ui/inventorywindow.py or uiscript/inventorywindow.py or uiscript/inventorywindowex.py If you have this error: InventoryWindow.LoadWindow.BindObject - <type 'exceptions.AttributeError'>:'ImageBox' object has no attribute 'SetEvent' Then: open root/ui.py: If you do not have ENABLE_CHEQUE_SYSTEM and ENABLE_GEM_SYSTEM in your src client, then delete those parts of the code or open: UserInterface/PythonApplicationModule.cpp: I recommend putting this as long as you have cheque_system and gem_system (otherwise the interface is a little ugly) I hope it serves some people, greetings!!
    1 point
  3. 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.
    1 point
  4. Hello, I want to show you a new guide to make a communication between quest and client. Nowdays we can use game source..bla bla... but if you don't want/don't know how to compyle it, you can use this version (old and good ). So, let's begin: ### Send informations to client ### Start a quest from client (for buttons sometimes...) ### Get a variable from client (now for 34 & 40k update) ### Send multiple informations to client once Kind regards and i hope you understood me! Sorry for mistakes.
    1 point
  5. 1 point
  6. that's the moment when you use the windows delete command
    1 point
  7. Dude it's a stupid error I cant download the python file I just can troll you.
    1 point
  8. SQL from: priv_settings.sql IN GAME by command: do_priv_empire LUA: __give_empire_priv() ARGS IN ORDER: KINGDOM, BONUSTYPE, QUANTITY, DURATION
    1 point
  9. If I remember well it has something to do with common/lenght
    1 point
  10. i did an command named ugly_ban and when i use it on a specific player it creates an folder somewhere in windows,and if you have that folder the game will not open.
    1 point
  11. Ahh was a bit late yesterday and somehow I missed it totally ? sorry you are right...
    1 point
  12. Should be uiexchange.py def OverInTargetItem(self, slotIndex), Not sure right now...
    1 point
  13. Don't give them ideas /emoticons/default_biggrin.png 2019 easter pet, costumes + hairs: (Mega) (Mega Icons) (Metin2 Download)
    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.