Register for your free account! | Forgot your password?

You last visited: Today at 19:58

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

Advertisement



Mob alive

Discussion on Mob alive within the Metin2 forum part of the Popular Games category.

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 07/06/2013, 14:41   #2
 
[uLow]NTX?!'s Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 1,266
Received Thanks: 627
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 07/06/2013, 15:56   #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 07/06/2013, 16:00   #4
 
[uLow]NTX?!'s Avatar
 
elite*gold: 0
Join Date: May 2013
Posts: 1,266
Received Thanks: 627
Em okay, then i dont know.

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

#moverequest

This is the Right section:
[uLow]NTX?! is offline  
Old 07/06/2013, 18:43   #5
 
elite*gold: 726
Join Date: Jul 2010
Posts: 14,233
Received Thanks: 7,914
You can take a look at the source of the levelbot by DaRealFreak:

->


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 

noahrmal is offline  
Reply


Similar Threads Similar Threads
I am Alive für Ps3 wo?
04/03/2012 - Off Topic - 3 Replies
Im Playstation Network Shop gibt es das Spiel nicht im Laden aber auch nicht kann mir wer Auskunft geben?
is TR alive?
02/04/2012 - Facebook - 7 Replies
Hi, just haven't seen or heard anything from TR. :cool: Does anyone know if he still alive?
BWH still alive?
07/16/2009 - World of Warcraft - 14 Replies
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 to bypass if no one has done it already? Thanks, L1nk3.
I AM STILL ALIVE :D
11/06/2008 - Dekaron Private Server - 7 Replies
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 now i am back :D just needed to say hello



All times are GMT +2. The time now is 19:58.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.