Jump to content

Mob-stone-boss seems like players


Recommended Posts

What can be the problem ?:

XoBvRj.png

when I select a boss, metin or any mob, system sees them like other players ; trade, whisper, duello and other buttons appear

Any idea ? Probably  I added some system and  that error occured .But I have no idea which system corrupts the code

In syserror it seems like no error at client side or server side

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 months later...

As i see you have edited uitarget.py in root for show HP % of mob... restore a backup of this file before change and test.

Anyway... have you try to trade with boss? Maybe it will give you reguard without kill it :D

Of course I tried :DIf you are bored  you can chat a mob with this way :D .if you send whisper system says player not in  game :D.
I ll try what you said r00t .Probably this problem
occured when I add mob % HP system.I hope it works

 

Link to comment
Share on other sites

As i see you have edited uitarget.py in root for show HP % of mob... restore a backup of this file before change and test.

Anyway... have you try to trade with boss? Maybe it will give you reguard without kill it :D

I finally found the real origin of the problem.Its all about wrong or missing implemented duello show HP-MP system.When you implementing this system read carefully all the topic and pages about this topic:
https://metin2dev.org/board/index.php?/topic/592-opponents-hp-and-mp-during-pvp/&page=1

and especially do this part:

search servercommand_build in game.py and add this lines:

           "getinputbegin"			: self.__Inputget1,
			"getinputend"			: self.__Inputget2,
			"getinput"			: self.__Inputget3,


than at the end of game.py add this :

    def __Inputget1(self):
        constInfo.INPUT_IGNORE = 1
        
    def __Inputget2(self):
        constInfo.INPUT_IGNORE = 0
        
    def __Inputget3(self):
        net.SendQuestInputStringPacket(str(player.GetTargetVID()))

add constinfo

INPUT_IGNORE = 0


add this to questlib.lua :

function npc.get_vid()
            cmdchat("getinputbegin")
            local ret = input(cmdchat("getinput"))
            cmdchat("getinputend")
            return ret
        end

by @Croqueta 

 

Edited by dreammaker
Problem Solved
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



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