Jump to content
  • 0

[Help] Clan Reputation


Question

10 answers to this question

Recommended Posts

  • 0
Posted

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

  • 0
Posted

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
  • 0
Posted

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

  • 0
Posted

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.
  • 0
Posted

Use proper methods.

 

addReputationScore(numberToGive, true/false depending if you want to save)

takeReputationScore(numberToTake, true/false depending if you want to save)

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock