Jump to content

[ Dead Download Link ] Skill book exchange system [ We Need You ]


Koray

Recommended Posts

  • Active Member

 

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

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 4
  • Good 3
  • Love 5
Link to comment
Share on other sites

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 :: TypeError
1016 22:58:45168 :: :
1016 22:58:45168 :: an integer is required
1016 22:58:45168 ::

 

 

:(

 

40k Files...

Link to comment
Share on other sites

  • Premium

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 :D

The one and only UI programming guideline

Link to comment
Share on other sites

  • 1 month later...
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 3

      Crystal Metinstone

    2. 3

      Feeding game source to LLM

    3. 113

      Ulthar SF V2 (TMP4 Base)

    4. 3

      Feeding game source to LLM

    5. 0

      Target Information System

    6. 3

      Feeding game source to LLM

    7. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.