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...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..