Jump to content

[help]kill efect with blood system


Recommended Posts

Author : Python = Fatihbab34™
Design = Khafkef™
 
I have a problem with system.
Sysser:

0826 03:52:15688 :: Traceback (most recent call last):

0826 03:52:15688 :: File "networkModule.py", line 231, in SetGamePhase

0826 03:52:15688 :: File "system.py", line 130, in __pack_import

0826 03:52:15688 :: File "
0826 03:52:15688 :: <string>
0826 03:52:15688 :: ", line 
0826 03:52:15688 :: 1639
0826 03:52:15688 :: 

0826 03:52:15689 :: 
0826 03:52:15689 :: if int(player.GetStatus(player.HP)) < float(int(player.GetStatus(player.MAX_HP))/6):

0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15689 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15690 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: 
0826 03:52:15691 :: ^

0826 03:52:15691 :: IndentationError
0826 03:52:15691 :: : 
0826 03:52:15691 :: unindent does not match any outer indentation level
0826 03:52:15691 ::

 
System : 
 
Url video : 


 
 
Tutorial ; 
 
constInfo.Py open;
 
add: 
Kan="kfwork/ui/kan1.tga"
Kan2="kfwork/ui/kan2.tga"
Kan3="kfwork/ui/kan3.tga"
KanFull="kfwork/ui/kanfull.tga"
KanAktif = 0  

Game.py Open;
 
def Open(self): Search and under it.
 


KanImage2 = ui.AniImageBox()
        KanImage2.AddFlag("float")
        KanImage2.AppendImage("kfwork/ui/kan.tga")
        KanImage2.SetPosition(1,1)
        self.KanImage2 = KanImage2
        
        KanImage3 = ui.AniImageBox()
        KanImage3.AddFlag("float")
        KanImage3.AppendImage(constInfo.Kan2)
        self.KanImage3 = KanImage3
        KanImage3.SetPosition(1,1)
        
        KanImage4 = ui.AniImageBox()
        KanImage4.AddFlag("float")
        KanImage4.AppendImage(constInfo.Kan3)
        self.KanImage4 = KanImage4
        KanImage4.SetPosition(1,1)
        
        KanImage5 = ui.AniImageBox()
        KanImage5.AddFlag("float")
        KanImage5.AppendImage(constInfo.KanFull)
        self.KanImage5 = KanImage5
        KanImage5.SetPosition(1,1)
        
        KanImage21366 = ui.AniImageBox()
        KanImage21366.AddFlag("float")
        KanImage21366.AppendImage("kfwork/ui/kan1366.tga")
        KanImage21366.SetPosition(1,1)
        self.KanImage21366 = KanImage21366
        
        KanImage31366 = ui.AniImageBox()
        KanImage31366.AddFlag("float")
        KanImage31366.AppendImage("kfwork/ui/kan21366.tga")
        self.KanImage31366 = KanImage31366
        KanImage31366.SetPosition(1,1)
        
        KanImage41366 = ui.AniImageBox()
        KanImage41366.AddFlag("float")
        KanImage41366.AppendImage("kfwork/ui/kan21366.tga")
        self.KanImage41366 = KanImage41366
        KanImage41366.SetPosition(1,1)
        
        KanImage51366 = ui.AniImageBox()
        KanImage51366.AddFlag("float")
        KanImage51366.AppendImage("kfwork/ui/kanfull1366.tga")
        self.KanImage51366 = KanImage51366
        KanImage51366.SetPosition(1,1)  

game.py in the def OnUpdate(self): under it.
 


if constInfo.KanAktif == 0:
            #
            if int(player.GetStatus(player.HP)) < float(int(player.GetStatus(player.MAX_HP))/6):
                if systemSetting.GetWidth() == 1366 or systemSetting.GetWidth() == 1280:
                    self.KanImage21366.Show()
                else:
                    self.KanImage2.Show()
            else:
                if systemSetting.GetWidth() == 1366 or systemSetting.GetWidth() == 1280:
                    self.KanImage21366.Hide()
                else:
                    self.KanImage2.Hide()
            if int(player.GetStatus(player.HP)) < float(int(player.GetStatus(player.MAX_HP))/4):
                if systemSetting.GetWidth() == 1366 or systemSetting.GetWidth() == 1280:
                    self.KanImage31366.Show()
                else:
                    self.KanImage3.Show()
            else:
                if systemSetting.GetWidth() == 1366 or systemSetting.GetWidth() == 1280:
                    self.KanImage31366.Hide()
                else:
                    self.KanImage3.Hide()
            if int(player.GetStatus(player.HP)) < float(int(player.GetStatus(player.MAX_HP))/10):
                if systemSetting.GetWidth() == 1366 or systemSetting.GetWidth() == 1280:
                    self.KanImage51366.Show()
                else:
                    self.KanImage5.Show()
            else:
                if systemSetting.GetWidth() == 1366 or systemSetting.GetWidth() == 1280:
                    self.KanImage51366.Hide()
                else:
                    self.KanImage5.Hide()  

 Download link for eix/epk. Click here
 
Where is problem?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 0

      Metin2 effect script files (MSE and MSA file) how can convert

    2. 10

      Multi Language System

    3. 0

      We are looking for a C++ and Python programmer

    4. 0

      [Quest Scheduler Request] Is there a way to make a quest run independet of player events? Lets say start quest automatically at server startup?

    5. 111

      Ulthar SF V2 (TMP4 Base)

    6. 0

      Quest function when 102.kill definition whereabouts help

    7. 5

      [M2 FILTER] Customized Client Filter

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