Print Page | Close Window

XML Feed For Alliace Rankings

Printed From: Illyriad
Category: Miscellaneous
Forum Name: Suggestions & Game Enhancements
Forum Description: Got a great idea? A feature you'd like to see? Share it here!
Printed Date: 08 Aug 2020 at 16:33
Software Version: Web Wiz Forums 12.03 -

Topic: XML Feed For Alliace Rankings
Posted By: Jejune
Subject: XML Feed For Alliace Rankings
Date Posted: 30 May 2020 at 02:51
One of my favorite features of Illyriad is its XML feeds. You can do so with them.

I'd like to suggest two new ideas for the feeds:

  • An XML feed of the alliance rankings, complete with all of the inidividual rankings, such as attack, defense, magic, quest, etc.
  • An addition to the player feed that associates the role that each player occupies in their alliance.
In ELVES, we have created an automated alliance ranking algorithm that pulls racial data from players, associates them with alliances, and crunches numbers accordingly. It's working beautifully! However, we could greatly enhance the automation of the rankings if we could access alliance rankings, since they factor into the rankings.

The same goes for alliance leaders. We have allinace roles included in the alliance feed, but there is no note to which alliance role a player holds in the player feed. We also don't have any hierarchies of roles. If we could get these things, we could associate a player with an alliance and note their role as a leader in the alliance.

It would be great to have these things! Thanks for considering!

-------------" rel="nofollow">

Posted By: ubluntu
Date Posted: 31 May 2020 at 19:46
A player's alliance role id is already present in the players datafile and the alliance datafile contains alliance roles.

Player XML Element
        <playername id="394156">Jejune</playername>
        <allianceid id="2123"/>
        <allianceroleid id="13996"/>
        <race id="2"/>
Note: the allianceroleid attribute is only present if the player is in an alliance.

Alliance XML Element
      <alliance id="2123">Elves</alliance>
          <role id="13996">Elf-King</role>
          <heirarchy id="1"/>
          <role id="14075">Elf-Lord</role>
          <heirarchy id="2"/>

Hope that helps.

Posted By: Jejune
Date Posted: 06 Jun 2020 at 13:02
Thanks ubluntu. I think the issue (and correct me if I'm wrong) is that there is no hierarchy of roles in the alliance feed. So, even though the roles are named, is there any way for a system to differentiate between the super-user roles and entry roles for an alliance?

The goal here is to be able to create an automated dimension to our already established algorithm that would assess the race of an alliance leader or leaders and add/substract to alliance rankings accordingly. Obviously, that could be done manually, but that process isn't scalable. We're looking to be able to calculate it automatically using the data feeds.

-------------" rel="nofollow">

Posted By: Tensmoor
Date Posted: 06 Jun 2020 at 13:21
The role ids are numeric. The lower the number the higher the rank.

Posted By: Jejune
Date Posted: 06 Jun 2020 at 16:27
Thanks. Might be able to make that work.

The XML feed for the leaderboard is still on the wish list. 

-------------" rel="nofollow">

Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 -
Copyright ©2001-2019 Web Wiz Ltd. -