Active Member Koray 2002 Posted October 16, 2015 Active Member Share Posted October 16, 2015 (edited) Installation: *constInfo.py Search: CONSOLE_ENABLE = 0 Add it under: BK_TRADE_SYSTEM = { "qid": 0, "ItemList": "" } https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Search and otherwise add: INPUT_IGNORE = 0 *game.py Search: from _weakref import proxy Add in under: import BKTrade Search: self.curtain = uiPhaseCurtain.PhaseCurtain() self.curtain.speed = 0.03 self.curtain.Hide()Add in under: self.BKTradeSys = BKTrade.BKTrade() self.BKTradeSys.Close() https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Search: "mall" : self.__InGameShop_Show, Add in under: "bk_trade_sys" : self.__BKTradeSys, Search: def PartyHealReady(self): self.interface.PartyHealReady() Add in upper: def __BKTradeSys(self, arg1, arg2): if str(arg1) == "qid": constInfo.BK_TRADE_SYSTEM["qid"] = arg2 if str(arg1) == "get": net.SendQuestInputStringPacket(str(constInfo.BK_TRADE_SYSTEM["ItemList"])) if str(arg1) == "open": self.BKTradeSys.OpenWindow() if str(arg1) == "block": constInfo.INPUT_IGNORE = 1 if str(arg1) == "break": constInfo.INPUT_IGNORE = 0 https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Search: def OpenQuestWindow(self, skin, idx): Change function: def OpenQuestWindow(self, skin, idx): if constInfo.INPUT_IGNORE: return self.interface.OpenQuestWindow(skin, idx) https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Add bktrade.py ve ui_wrapper.py files in root pack Add bktrade.lua in quest folder write ./qc bktrade.lua command and compile quest, Open game and write /reload q command If you are see "Unknown Error. Please contact with game admin" error Look at quest comments If you are upgraded inventory page count look at quest 71.line This is the hidden content, please Sign In or Sign Up Edited August 20, 2022 by Metin2 Dev Core X - External 2 Internal 4 3 5 Link to comment Share on other sites More sharing options...
alin2894 14 Posted October 16, 2015 Share Posted October 16, 2015 Don't copy/paste from turkmmo. Just put link in topic. Link to comment Share on other sites More sharing options...
Ken 904 Posted October 16, 2015 Share Posted October 16, 2015 At first, System is helpful for r34083 but I don't think it's helpful for r40250. You should do something for r40250 in the short time. Kind Regards ~ Ken Do not be sorry, be better. Link to comment Share on other sites More sharing options...
VegaS 1087 Posted October 16, 2015 Share Posted October 16, 2015 (edited) Don't copy/paste from turkmmo. Just put link in topic. Damn .. Pasha37 = Koray (koray demirci) Very good job @Koray Edited October 16, 2015 by VegaS 1 Link to comment Share on other sites More sharing options...
Domee 1 Posted October 16, 2015 Share Posted October 16, 2015 1016 22:58:45165 :: Traceback (most recent call last): 1016 22:58:45165 :: File "networkModule.py", line 248, in SetGamePhase 1016 22:58:45165 :: File "game.py", line 114, in __init__ 1016 22:58:45167 :: File "BKTrade.py", line 16, in __init__ 1016 22:58:45168 :: File "BKTrade.py", line 33, in GUIFunc 1016 22:58:45168 :: TypeError1016 22:58:45168 :: :1016 22:58:45168 :: an integer is required1016 22:58:45168 :: 40k Files... Link to comment Share on other sites More sharing options...
TheSLZ 105 Posted October 22, 2015 Share Posted October 22, 2015 I think it's helpful for 40k too. We don't need to code all thing in c++. PyLua systems can be as well as c++ systems. Works for me in 40k, thank you for the system. 1 Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19682 Posted October 25, 2015 Honorable Member Share Posted October 25, 2015 The well coded c++ codes are more safety than pylua connections, in my opinion. 2 Link to comment Share on other sites More sharing options...
Premium masodikbela 1359 Posted October 25, 2015 Premium Share Posted October 25, 2015 The well coded c++ codes are more safety than pylua connections, in my opinion. If you care during the coding about the possible "hacking" on the python side, for e.g. you check the python inputs on the serverside properly, it has the same security level. But now I prefer the c++ codes too The one and only UI programming guideline Link to comment Share on other sites More sharing options...
Honorable Member xP3NG3Rx 19682 Posted October 25, 2015 Honorable Member Share Posted October 25, 2015 No, I do not care about it, they can't do anything with python if cythonized already .Always there is the risk who can code hacks for him/her-self, those persons can manipulate the quest commands while the client sends it to the server. Link to comment Share on other sites More sharing options...
Active Member Koray 2002 Posted October 25, 2015 Author Active Member Share Posted October 25, 2015 I already blocked possible manipulation methods Link to comment Share on other sites More sharing options...
Veneno 7 Posted December 2, 2015 Share Posted December 2, 2015 Spoiler 1203 00:48:23052 :: Traceback (most recent call last): 1203 00:48:23052 :: File "networkModule.py", line 251, in SetGamePhase 1203 00:48:23052 :: File "system.py", line 130, in __pack_import 1203 00:48:23052 :: File "system.py", line 110, in _process_result 1203 00:48:23053 :: File "game.py", line 56, in ? 1203 00:48:23053 :: File "system.py", line 130, in __pack_import 1203 00:48:23053 :: File " 1203 00:48:23053 :: <string> 1203 00:48:23053 :: ", line 1203 00:48:23053 :: 44 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: asStringPosList = '|'.join(str(i) for i in tmpInventoryPosList) # Convert Inventory pos list to string 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23053 :: 1203 00:48:23054 :: 1203 00:48:23054 :: 1203 00:48:23054 :: 1203 00:48:23054 :: 1203 00:48:23054 :: ^ 1203 00:48:23054 :: SyntaxError 1203 00:48:23054 :: : 1203 00:48:23054 :: invalid syntax 1203 00:48:23054 :: Can somebody give me this command in python22 form? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now