Clans

Approved Clans 1.2.1

No permission to download
I noticed a small mistake:

In the "ckick" section

Line 766

name = Player.Name.replace('[' + clan + ']', '').strip(' ')

has to be

name = playerr.Name.replace('[' + clan + ']', '').strip(' ')

Otherwise the player who got kicked out of a clan will get the name of the person who kicked him.
 
  • Informative
  • Like
Reactions: Agrement and DreTaX
I noticed a small mistake:

In the "ckick" section

Line 766

name = Player.Name.replace('[' + clan + ']', '').strip(' ')

has to be

name = playerr.Name.replace('[' + clan + ']', '').strip(' ')

Otherwise the player who got kicked out of a clan will get the name of the person who kicked him.
lol forgot to fix this...
 
I noticed a small mistake:

In the "ckick" section

Line 766

name = Player.Name.replace('[' + clan + ']', '').strip(' ')

has to be

name = playerr.Name.replace('[' + clan + ']', '').strip(' ')

Otherwise the player who got kicked out of a clan will get the name of the person who kicked him.
Oh. xD
 
Hey Dre !
The Option "Cost" in config does not work. If i set Cost=1000 and i do ./ccreate test ingame, i can create a clan without pay. How can i use clans with iConomy ? BTW is it possible to set money to HomeSystem ?
 
Can you add setting for max players can be in a clan?
for example
if
MaxClanMembers=6
every clan can have only 6 members not 7 or etc
 
  • Informative
  • Winner
Reactions: armand and DreTaX
Hiiii

I am having this error after updating Clan, could you explain to me what is wrong ??
[2/11/2018 12:44:48 AM] [Error] [IronPython] Error in plugin Clans:
[2/11/2018 12:44:48 AM] [Error] Traceback (most recent call last):
File "<string>", line 451, in On_PlayerHurt
KeyError: CAHOS


Thank you !!
 
  • Like
Reactions: Agrement
[Error] Failed to invoke: Clans<Python>.On_PlayerHurt()
TSK
System.Object GetItem(System.Object)
at IronPython.Runtime.PythonDictionary.GetItem (object) <0x00041>
at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00013>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x00089>
at (wrapper dynamic-method) object.On_PlayerHurt$130 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object) <0x00c9e>

Traceback (most recent call last):
File "<string>", line 451, in On_PlayerHurt
KeyError: TSK
 
[Error] Failed to invoke: Clans<Python>.On_PlayerHurt()
TSK
System.Object GetItem(System.Object)
at IronPython.Runtime.PythonDictionary.GetItem (object) <0x00041>
at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00013>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x00089>
at (wrapper dynamic-method) object.On_PlayerHurt$130 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object) <0x00c9e>

Traceback (most recent call last):
File "<string>", line 451, in On_PlayerHurt
KeyError: TSK
Waoo, how are you getting all these errors, i bet there is a problem with server config or a file. are you on the latest version of fougerite and Rutbuster Build?
 
Last edited:
There are some problems.
/cinfo
This will be wrong when you use it.
So,I change a line.
ff = claninfo.GetSetting("ClanInfo" + clan, "FriendlyFire") in 516 lines