Page 1 of 1

[UNSUPPORTED] Weird autorank error code.

Posted: June 10th, 2012, 2:26 pm
by TheBrotherM
Okay so, i have autorank and it's working fine but when i added 2 more ranks to the autorank system i get this error in the ServerCLI saying:

Code: Select all

AutoRank.Init: Could not phrase an AutoRank criterion: System.NullReferenceException: Object reference not set to an instance of an object.
   at fCraft.AutoRank.ConditionIntRange..ctor(XElement el)
   at fCraft.AutoRank.Condition.Phrase(XElement el)
   at fCraft.AutoRank.ConditionSet..ctor(XContainer el)
   at fCraft.AutoRank.Condition.Phrase(XElement el)
   at fCraft.AutoRank.Criterion..ctor(XElement el)
   at fCraft.AutoRank.AutoRankManager.Init()
And the 'AutoRankAll' mesage keeps showing up every 30 seconds as if the autorank system is working. I'm unsure if it is or isn't.

Here's the autorank .xml file code

Code: Select all

<fCraftAutoRankConfig>
  <Criterion fromRank="Builder#KgbgMET78TfWlysR" toRank="Veteran#3WMg10HISemt5S1k">
    <AND>
      <ConditionIntRange field="TotalTime" val="223200" op="GTE" />
      <ConditionIntRange field="TimesVisited" val="100" op="GTE" />
      <ConditionIntRange field="MessagesWritten" val="1200" op="GTE" />
      <ConditionIntRange field="BlocksBuilt" val="10000" op="GTE" />
      <ConditionIntRange field="BlocksDeleted" val="5000" op="GTE" />
      <ConditionIntRange field="BlocksChanged" val="25000" op="GTE" />
    </AND>
  </Criterion>
  <Criterion fromRank="Op#YsORuof8XGIyJoxY" toRank="Capo#fq3NesvlYsC2pSpq">
    <AND>
      <ConditionIntRange field="TotalTime" val="432000" op="GTE" />
      <ConditionIntRange field="TimesVisited" val="1000" op="GTE" />
      <ConditionIntRange field="MessagesWritten" val="50000" op="GTE" />
      <ConditionIntRange field="BlocksBuilt" val="150000" op="GTE" />
    </AND>
  </Criterion>
  <Criterion fromRank="GrandOp#DR3JlHzaPULNhNU4" toRank="Capo#fq3NesvlYsC2pSpq">
    <AND>
      <ConditionIntRange feild="TotalTime" val="3600000" op="GTE" />
      <ConditionIntRange feild="TimesVisited" val="900" op="GTE" />
      <ConditionIntRange feild="MessagesWritten" val="45000" op="GTE" />
      <ConditionIntRange feild="BlocksBuilt" val="120000" op="GTE" />
    </AND>
  </Criterion>  
</fCraftAutoRankConfig>
So is there any error or is the system working or would i just ignore cause it's nothing bad ?

Re: Weird error code.

Posted: June 11th, 2012, 6:19 pm
by fragmer
AutoRank is unfinished/unsupported. So no, I cant help you.