hakuren Posted January 27, 2014 Posted January 27, 2014 how to know if monster or human kills you or your target Quote
Euphy Posted January 27, 2014 Posted January 27, 2014 In src/common/mmo.h: #define START_ACCOUNT_NUM 2000000 #define END_ACCOUNT_NUM 100000000The 'killerrid' variable will be between the two game ID bounds (START_ACCOUNT_NUM and END_ACCOUNT_NUM) for players, and greater than END_ACCOUNT_NUM for mobs. Quote
hakuren Posted January 28, 2014 Author Posted January 28, 2014 In src/common/mmo.h: #define START_ACCOUNT_NUM 2000000 #define END_ACCOUNT_NUM 100000000The 'killerrid' variable will be between the two game ID bounds (START_ACCOUNT_NUM and END_ACCOUNT_NUM) for players, and greater than END_ACCOUNT_NUM for mobs. sir could you give me an example of this? please? Quote
AnnieRuru Posted January 28, 2014 Posted January 28, 2014 - script kjhfksfjhs -1,{ OnPCDieEvent: if ( !killerrid ) // example -> drink poison bottle dispbottom "You just suicide"; else if ( killerrid < 100000000 ) dispbottom "You have killed by a player -> "+ rid2name( killerrid ); else dispbottom "You have killed by a monster/pet/homunculus/mercenary -> "+ rid2name( killerrid ); end; }last time we still have mob controller system able to retrieve the master of the pet/homunculusnow cannot, can only get the names of pet/homunculus Quote
hakuren Posted January 29, 2014 Author Posted January 29, 2014 - script kjhfksfjhs -1,{ OnPCDieEvent: if ( !killerrid ) // example -> drink poison bottle dispbottom "You just suicide"; else if ( killerrid < 100000000 ) dispbottom "You have killed by a player -> "+ rid2name( killerrid ); else dispbottom "You have killed by a monster/pet/homunculus/mercenary -> "+ rid2name( killerrid ); end; }last time we still have mob controller system able to retrieve the master of the pet/homunculusnow cannot, can only get the names of pet/homunculus thank you AnnieRuru Quote
Question
hakuren
how to know if monster or human kills you or your target
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.