Jump to content

k1daL

Inactive Member
  • Posts

    27
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by k1daL

  1. My login script was directly in index.php written, now i've created a special .php for it for exampe "module/login.php" and I've replaced the whole login script from index.php with this :

    <?php include('module/login.php');?> 

    Could be this the mistake? The login script directly in index.php ?... Now I've changed it like I said...

  2. Hello guys, someone is connecting to my homepage with my admin account... so he has acces to the control panel from the site.

    Someone told me there is a bug if you connect with the ID : 'user' .... and an existing password on the server it will work to connect to any account or something like this... I didn't understand very well... Did anyone had this problem?

  3. Go to pack folder and decrypt root.eix/root.epk.
    Open costinfo.py and go down and add :
     

    Spoiler

    INPUT_IGNORE = 0
     
    VID = 0
    STHX = 0
    HPXD = 0
     
    PLAYER_HP = 0
    PLAYER_MAX_HP = 0
    PLAYER_SP = 0
    PLAYER_MAX_SP = 0
    PLAYER_NAME = ""

    Your file should look like this : https://metin2.download/picture/Y5KIL1gC9x2sI8xxi9JgL2x2dz0fGAgt/.png

    Now, open game.py and ui character.py and add : 
     

    Spoiler

     

    import uiHealth

    Your file should look like this : https://metin2.download/picture/HRDjPPpZaAIRl4x66WECoq95wkRxPbi1/.png

    Now, in game.py , under this line 

    sub (seflf. __PlayMusic

    you add this thing 

    Spoiler

                            #hp
                            "super_quest"                           : self.Tabulejtor,
                            "pvp_zdruwko"                           : self.Mozart,
                           
                            #hp
                            "get_input_value"                               : self.GetInputValue,
                            "get_input_start"                               : self.GetInputOn,
                            "get_input_end"                                 : self.GetInputOff,

    Now your file should look like this : https://metin2.download/picture/vGo7PL4432674jQ9U28h3StWp4Sp0dP9/.png
     

    In game.py under this line :  (def OpenQuestWindow(self, skin, idx)

    Paste this : 

    Spoiler

            def Mozart(self, data):
                    dane = data.split("|")
                    constInfo.PLAYER_NAME = str(dane[0])
                    constInfo.PLAYER_HP = int(dane[1])
                    constInfo.PLAYER_MAX_HP = int(dane[2])
                    constInfo.PLAYER_SP = int(dane[3])
                    constInfo.PLAYER_MAX_SP = int(dane[4])
     
            def Tabulejtor(self, id):
                    constInfo.STHX = int(id)
     
            def GetInputOn(self):
                    constInfo.INPUT_IGNORE = 1
     
            def GetInputOff(self):
                    constInfo.INPUT_IGNORE = 0
     
            def GetInputValue(self):
                    net.SendQuestInputStringPacket(str(constInfo.VID))
     
            def OpenQuestWindow(self, skin, idx):
                    if constInfo.INPUT_IGNORE == 1:
                            return
                    else:
                            self.interface.OpenQuestWindow(skin, idx)

    Your file should look like this : https://metin2.download/picture/r583ObTZWhDEX78c0hwk7DyMJOpES1Qn/.png

     

    In uitarget.py search this line :  (def Close(self) 

    and add : 

    import uiHealth

    Your file should look like this : https://metin2.download/picture/I6g3yFNO3Yn77SZ08dJQruevOcW9BKms/.png

     

    In uitarget.py in def OnUpdate structure you add this : 

    Spoiler

            def OnUpdate(self):
                    if self.isShowButton:
     
                            exchangeButton = self.buttonDict[locale.TARGET_BUTTON_EXCHANGE]
                            distance = player.GetCharacterDistance(self.vid)
     
                            if distance < 0:
                                    return
     
                            if exchangeButton.IsShow():
                                    if distance > self.EXCHANGE_LIMIT_RANGE:
                                            self.RefreshButton()
     
                            else:
                                    if distance < self.EXCHANGE_LIMIT_RANGE:
                                            self.RefreshButton()
     
                            if exchangeButton.IsShow():
                                    if distance > self.EXCHANGE_LIMIT_RANGE:
                                            self.RefreshButton()
     
                            else:
                                    if distance < self.EXCHANGE_LIMIT_RANGE:
                                            self.RefreshButton()
                   
                    import event
                    import constInfo
                    if player.IsPVPInstance(self.vid):
                            constInfo.VID = self.vid
                            event.QuestButtonClick(constInfo.STHX)
                            if not self.healthBoard.IsShow() and self.vid != 0:
                                    self.healthBoard.Show()
                    else:
                            self.healthBoard.Hide()
                    if self.isShowButton:
                            exchangeButton = self.buttonDict[locale.TARGET_BUTTON_EXCHANGE]
                            distance = player.GetCharacterDistance(self.vid)
                            if distance < 0:
                                    return

    It should look like this : https://metin2.download/picture/26TSOtF3B9V97ztjfaJI82jvj2fyaMn4/.png

    Add this in the root folder : 

    This is the hidden content, please

    And run this quest : 

    This is the hidden content, please

     

    Good luck.

  4. 17 minutes ago, furianin said:

    Nothing is written.
    SYSERR: Dec 28 12:41:30 :: GetMoveMotionSpeed: can not find motion (name TheNikKo 20134 Race mode 0)
    SYSERR: Dec 28 12:41:30 :: GetMoveMotionSpeed: can not find motion (name TheNikKo 20134 Race mode 0)
    SYSERR: Dec 28 12:41:30 :: number_ex: number (): first argument is bigger than second argument 985 -> 100, 415 battle.cpp
    SYSERR: Dec 28 12:41:30 :: number_ex: number (): first argument is bigger than second argument 985 -> 100, 415 battle.cpp
    SYSERR: Dec 28 12:41:30 :: number_ex: number (): first argument is bigger than second argument 985 -> 100, 415 battle.cpp
    SYSERR: Dec 28 12:41:30 :: number_ex: number (): first argument is bigger than second argument 985 -> 100, 415 battle.cpp
    SYSERR: Dec 28 12:41:30 :: number_ex: number (): first argument is bigger than second argument 985 -> 100, 415 battle.cpp

    This is a bug invitation NPC
    If they invite NPC is wywali server.
    The question of how this block?

    I don't understand your english... sorry :)). If there's a bug NPC go to quest/object/code_of_npc and delete all the files from there and try again...

  5. You need to send false-positive verifications to all anitivirus corporations, after they analyse the file and discover there's no virus, your file will not be detected anymore as a virus, BUT YOUR PLAYERS NEED TO HAVE THE ANTIVIRUS UPDATED daily. (So they can get information from the Antivirus that your file isn't a virus... without an updated antivirus they will receive the same alert that your file is virused...)

  6. Hello guys. Everything is allright with my horse, but when I teleport or relog the horse dies... I've tried to revive it a lot of times, but after teleporting or relog still dies...

    I've tried to change with the original files from mainline or other sources these files :

    char_horse.cpp, horse_rider.cpp, horse_rider.h, horsename_manager.cpp, horsename_manager.h and questlua_horse.cpp

    The problem is still there... So, what can I do?

×
×
  • 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.