[UNSUPPORTED] Weird autorank error code.

Fixed bugs, solved problems, and old reports.
Locked
User avatar
TheBrotherM
Offline
Posts: 11
Joined: May 25th, 2012, 6:18 pm

[UNSUPPORTED] Weird autorank error code.

Post 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 ?
TheBrotherM: new main maybe sanj ?
+SanjarKhan: new face maybe TheBrotherM?

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: Weird error code.

Post by fragmer »

AutoRank is unfinished/unsupported. So no, I cant help you.

Locked