Vampirenios Posted July 1, 2010 Posted July 1, 2010 hi mxc how i can add in mobs...drop fame+clan points?... Quote
0 xAddytzu Posted July 1, 2010 Posted July 1, 2010 hi mxc how i can add in mobs...drop fame+clan points?... What do you want exactly? Quote
0 Vampirenios Posted July 1, 2010 Author Posted July 1, 2010 look man i want players can farm fame+clan points from mob....you know how i can add in mobs drop data? Quote
0 Tryskell Posted July 1, 2010 Posted July 1, 2010 It's core related and if you want to add from database, you will have a lot of work, adding 2 columns. A fixed amount or according to mob - lvl or HPs - is a lot easier... Quote
0 xAddytzu Posted July 1, 2010 Posted July 1, 2010 look man i want players can farm fame+clan points from mob....you know how i can add in mobs drop data? well... Search doDie method from L2MonsterInstance After if (!super.doDie(killer)) return false; Add if(killer instanceof L2PlayableInstance) { L2PcInstance player = ((L2PcInstance)killer); if (player.getClan() != null) { player.getClan().setReputationScore(player.getClan().getReputationScore() + 500, true); player.getClan().broadcastToOnlineMembers(new PledgeShowInfoUpdate(player.getClan())); } } I don't know how works about fame.. Quote
0 Vampirenios Posted July 1, 2010 Author Posted July 1, 2010 from where in database i can find dropdata? Quote
0 xAddytzu Posted July 1, 2010 Posted July 1, 2010 from where in database i can find dropdata? You can't without java >.> Quote
0 Vampirenios Posted July 1, 2010 Author Posted July 1, 2010 ok.....i open eclipse...now where i must go? Quote
0 xAddytzu Posted July 1, 2010 Posted July 1, 2010 well... Search doDie method from L2MonsterInstance After if (!super.doDie(killer)) return false; Add if(killer instanceof L2PlayableInstance) { L2PcInstance player = ((L2PcInstance)killer); if (player.getClan() != null) { player.getClan().setReputationScore(player.getClan().getReputationScore() + 500, true); player.getClan().broadcastToOnlineMembers(new PledgeShowInfoUpdate(player.getClan())); } } I don't know how works about fame.. Quote
0 Vampirenios Posted July 1, 2010 Author Posted July 1, 2010 man i find the if (!super.doDie(killer)) return false; but i add the code if(killer instanceof L2PlayableInstance) { L2PcInstance player = ((L2PcInstance)killer); if (player.getClan() != null) { player.getClan().setReputationScore(player.getClan().getReputationScore() + 500, true); player.getClan().broadcastToOnlineMembers(new PledgeShowInfoUpdate(player.getClan())); } } and...error! Quote
0 xAddytzu Posted July 1, 2010 Posted July 1, 2010 man i find the if (!super.doDie(killer)) return false; but i add the code if(killer instanceof L2PlayableInstance) { L2PcInstance player = ((L2PcInstance)killer); if (player.getClan() != null) { player.getClan().setReputationScore(player.getClan().getReputationScore() + 500, true); player.getClan().broadcastToOnlineMembers(new PledgeShowInfoUpdate(player.getClan())); } } and...error! and what error Quote
0 Rio Posted July 2, 2010 Posted July 2, 2010 so if this code works for any mob you kill then it sux.... 20 members (level 20 ++ with buffs) on clan each mob drops 1 c/r point so they can kill gremlins (2 hits) and in few hours they get a lot of points...useless i guess :/ Quote
Question
Vampirenios
hi mxc how i can add in mobs...drop fame+clan points?...
11 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.
Note: Your post will require moderator approval before it will be visible.