Register for your free account! | Forgot your password?

You last visited: Today at 02:46

  • Please register to post and access all features, it's quick, easy and FREE!

 

Mob alive

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2010
Posts: 28
Received Thanks: 13
Mob alive

Hi all !

I have one little question, how to check status target by vid?

Function chrmgr.GetVIDInfo always return (isRegistered = 1, isAlive = 1, isDead = 0)

So how i can get info about that vid?



564lopes564 is offline  
Old   #2
 
elite*gold: 0
Join Date: May 2013
Posts: 1,263
Received Thanks: 620
What do you want todo ?

Want to check if an Mob is alive then check in isAlive = 1 and isRegisterd = 0


[uLow]NTX?! is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2010
Posts: 28
Received Thanks: 13
I have always isAlive = 1 and isRegisterd = 1
564lopes564 is offline  
Old   #4
 
elite*gold: 0
Join Date: May 2013
Posts: 1,263
Received Thanks: 620
Em okay, then i dont know.

But i noticed, that we are in the wrong section.!

#moverequest

This is the Right section:Metin2 Main - Discussions / Questions


[uLow]NTX?! is offline  
Old   #5
 
elite*gold: 856
Join Date: Jul 2010
Posts: 14,234
Received Thanks: 7,884
You can take a look at the source of the levelbot by DaRealFreak:

-> [DaRealFreaks Abschied]Python Script von Levelbot v2


especially this part:

PHP Code:
def IsMobAlive(vid):
    global 
LastCheck
    
global MatchCount
    
global HookedVid
    chr
.SelectInstance(vid)
    
BoundBox chr.GetBoundBoxOnlyXY(vid)
    
Distance player.GetCharacterDistance(vid)
    if 
chr.GetInstanceType(vid) == chr.INSTANCE_TYPE_ENEMY:
    
        if 
HookedVid[0] == vid and HookedVid[1] <= and Distance <= 200:
            return 
0
    
        
if LastCheck == str(BoundBox):
            
MatchCount += 1
        
else:
            
MatchCount 0
        LastCheck 
str(BoundBox)
        
        if 
Distance >= 975:
            return 
1
            
        
if MatchCount >= 9:
            
MatchCount 0
            
return 0
        
else:
            return 
1
    
else:
        if 
BoundBox[3] >= 175:
            return 
0
        
else:
            return 



123klo is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
I am Alive für Ps3 wo?
Im Playstation Network Shop gibt es das Spiel nicht im Laden aber auch nicht kann mir wer Auskunft geben?
3 Replies - Off Topic
is TR alive?
Hi, just haven't seen or heard anything from TR. :cool: Does anyone know if he still alive?
7 Replies - Facebook
BWH still alive?
Does anyone know if someone is updated BWH, or if it is even alive? And if so, do you know where i can download a copy so i can try to find a way...
14 Replies - WoW Main - Discussions / Questions
I AM STILL ALIVE :D
Well guys i am still alive if you have wonder.Well the reson why i have not been online is bcz my comp crashed totaly and i got my self a new job but...
7 Replies - Dekaron Private Server



All times are GMT +2. The time now is 02:46.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.