MasterJinz Posted August 9, 2011 Share Posted August 9, 2011 Hello , i want to give clan reputation when player in clan pvp and they get clan reputation :). L2J High Five Beta ! Link to comment Share on other sites More sharing options...
0 Ring Posted August 9, 2011 Share Posted August 9, 2011 Its a config at gameserver/config/altsettings # Reputation Score gained per Kill in Clanwar. # Retail: 1 ReputationScorePerKill = 1 1 = how many clan reputations a clan gains for each kill with a clan war Link to comment Share on other sites More sharing options...
0 UnixCode Posted August 9, 2011 Share Posted August 9, 2011 Its a config at gameserver/config/altsettings # Reputation Score gained per Kill in Clanwar. # Retail: 1 ReputationScorePerKill = 1 1 = how many clan reputations a clan gains for each kill with a clan war he doesn't want only for clan_war i think Link to comment Share on other sites More sharing options...
0 MasterJinz Posted August 9, 2011 Author Share Posted August 9, 2011 Sorry but l2j newest High Five Beta doesn't has altsettings anymore ! Yes i want every pvp get clan rep Link to comment Share on other sites More sharing options...
0 UnixCode Posted August 9, 2011 Share Posted August 9, 2011 well i think it's easy.. in l2pcinstance: setPvpKills(getPvpKills() + 1); find this, and paste this under...: if(getClan() != null) { getClan().setReputationScore(getClan().getReputationScore() + 500, true); } ofc you can make it more advanced by adding and some messages etc..also..where 500 add how many clan rep you want to add every pvp kill Link to comment Share on other sites More sharing options...
0 MasterJinz Posted August 9, 2011 Author Share Posted August 9, 2011 Can't use that code , it shows errors The method setReputationScore(int, boolean) from the type L2Clan is not visible Link to comment Share on other sites More sharing options...
0 UnixCode Posted August 9, 2011 Share Posted August 9, 2011 Can't use that code , it shows errors The method setReputationScore(int, boolean) from the type L2Clan is not visible so go there , and change the method to public. Link to comment Share on other sites More sharing options...
0 MasterJinz Posted August 9, 2011 Author Share Posted August 9, 2011 Ok it's work now thanks for your help :) Link to comment Share on other sites More sharing options...
0 Tryskell Posted August 10, 2011 Share Posted August 10, 2011 Use proper methods. addReputationScore(numberToGive, true/false depending if you want to save) takeReputationScore(numberToTake, true/false depending if you want to save) Link to comment Share on other sites More sharing options...
0 MasterJinz Posted August 10, 2011 Author Share Posted August 10, 2011 Thank you :) Link to comment Share on other sites More sharing options...
0 B1ggBoss Posted August 15, 2011 Share Posted August 15, 2011 question answered, topic closed Link to comment Share on other sites More sharing options...
Question
MasterJinz
Hello , i want to give clan reputation when player in clan pvp and they get clan reputation :).
L2J High Five Beta !
Link to comment
Share on other sites
10 answers to this question
Recommended Posts