hakuren Posted January 27, 2014 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Share Posted January 27, 2014 how to know if monster or human kills you or your target Quote Link to comment Share on other sites More sharing options...
Euphy Posted January 27, 2014 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share 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 Link to comment Share on other sites More sharing options...
hakuren Posted January 28, 2014 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
AnnieRuru Posted January 28, 2014 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
hakuren Posted January 29, 2014 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 295 Reputation: 6 Joined: 12/02/11 Last Seen: November 6, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Question
hakuren
how to know if monster or human kills you or your target
Link to comment
Share on other sites
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.