Goa Xml

Hiroko

Fledgling Freddie
Joined
Jan 23, 2004
Messages
13
I appreciate GOA are currently working on a new 'Roll of Honour', and I appreciate that the xml data published is permanantely in beta, but surely even in beta there should be revision control and revision notes?

So, why is it that GOA completly change the structure of the guild xml files without any notice, and without any explanation of the changes?

Previous xml files were of the format:
(This is from the current US files, but GOA layaout was similar)

<guild_status>
- <guild name="Arcanium" realm="Albion" activechars="0" activemembers="0" guildrp="308088" guildlastrp="0" contacturl="darzon@charter.net" websiteurl="" guildhouse="0" timestamp="December 3, 2004, 4:54 am" sshield="http://www.camelotherald.com/shields/4-2-2-full.png" semblem="http://www.camelotherald.com/realms/insignia/b_emblem_039.gif" alliance="480" keepowned="" realultimatepower="0">
- <character name="Areliv Vilera" id="163750" laston="Inactive">
<race>Briton</race>
<class>Friar</class>
<level>46</level>
<mlevel>0</mlevel>
<mpath>None</mpath>
<guildrank>1</guildrank>
<totalrp>25241</totalrp>
<lastweekrp>0</lastweekrp>
<totaldeaths>63</totaldeaths>
<lastweekdeaths>63</lastweekdeaths>
<anon>False</anon>
<spellcraft>1</spellcraft>
<alchemy>528</alchemy>
</character>

and has been changed this morning to:
- <guild_status>
- <guild name="Chosen" realm="Hibernia" activechars="142" activemembers="52" guildrp="24743959" lastrp="61647" contacturl="" websiteurl="http://chosen.guildportal.com" timestamp="02-12-2004 17:42:53" sshield="3-6-0-full" semblem="h_emblem_019" alliance="117" all_name="Nuadh Dúsgadh" housing="2375">
- <character name="Hiroko" laston="Recently" race="11" class="35" level="50" guildrank="0" totalrp="281522" lastweekrp="3685" housing="3339" anon="0">
<craft crid="0" point="419" />
<craft crid="1" point="550" />
<craft crid="2" point="1141" />
<craft crid="3" point="557" />
</character>


Thus completely breaking the Top Scorers and Leaderboard tables that we use on our guild website to track our members, and give out awards to top RP earners in various level ranges. Thanks GOA :(

The new xml (if it stays like this) is going to cause alot of new coding to be done, not least some sort of lookup to determine wtf class 11, or race 35 refers to :(
 

Ning

Fledgling Freddie
Joined
Jan 2, 2004
Messages
489
are there more informations in the new GOA xml ? I mean like in the (former) italian xml where there were spec for each char.
 

Flimgoblin

It's my birthday today!
Joined
Dec 24, 2003
Messages
8,324
looks like it's been normalized - should be much much easier for anyone that takes data from multiple servers.

Assuming the class numbers are static across languages (e.g. 11 refers to Friar no matter what language it's in) that'll make things much better and probably easier for the system to generate in more languages (given we'll have 5 soon).

Bit of a pain that it changes and breaks scripts I agree but it looks like it's for the better. A bootnote in the news woulda been nice :) (assuming there wasn't - don't recall seeing anything about it anyway)

(for the record my own guild members page has been mangled by it ;) so I'll have to do some work to adapt to this - still can see why it's changed.)
 

Flimgoblin

It's my birthday today!
Joined
Dec 24, 2003
Messages
8,324
Ning said:
are there more informations in the new GOA xml ? I mean like in the (former) italian xml where there were spec for each char.

wasn't in their xml - just on the website afaik.
 

GReaper

Part of the furniture
Joined
Dec 22, 2003
Messages
1,984
Good points:

Shows more information!
Uses less bandwidth
Far easier for all European servers

Bad points:

Requires everyone to change their scripts
Totally incompatible with Mythics XML!

Possible improvements:

Doesn't display the master level path or level (Mythics does)
Any chance of displaying the gender of the character?

Bugs:

Small problem with housing? My guilds XML shows my house (Ouroboros) as 78 just fine. However the guild house attribute shows 3481, and Duane (who placed the guild house) shows 3553. The guild house number is 284!


If Requiel/Erivoss (or some other GM) could please pass on the possible improvements, I'm sure everyone who uses the XML files would appreciate those extra features.
 

Hiroko

Fledgling Freddie
Joined
Jan 23, 2004
Messages
13
Can you provide the rest of us with the lists of classes to IDs and races to IDs then?
Also, how did you get around the fact that they seem to have broken the link between guilds and alliances?
 

Daedalus

Can't get enough of FH
Joined
Feb 1, 2004
Messages
1,166
Hiroko said:
Can you provide the rest of us with the lists of classes to IDs and races to IDs then?
Also, how did you get around the fact that they seem to have broken the link between guilds and alliances?
As you can see on the official website, GoA is not yet done with the XML implementation. However, you can already modify your scripts to be compatible with the new XML structure.

My scripts currently pull the 'class' thru a getClass(int) function and looks up the class based on its identifier. Currently it just returns its argument as I haven't filled the array with classes yet. When GoA publishes a list with classes and their identifiers, I'll update the array with all the classes in this function.
 

GReaper

Part of the furniture
Joined
Dec 22, 2003
Messages
1,984
Code:
# 2 = Armswoman
# 24 = Sorceress
# 42 = Enchantress
# 44 = Heroine
# 62 = Huntress
# 88 = Magess
# 93 = Albion/Midgard Rogue

    $classlist = array(
                        1 => "Armsman",
                        2 => "Armsman",
                        3 => "Cabalist",
                        5 => "Cleric",
                        7 => "Friar",
                        9 => "Infiltrator",
                        11 => "Mercenary",
                        13 => "Minstrel",
                        15 => "Necromancer",
                        17 => "Paladin",
                        19 => "Reaver",
                        21 => "Scout",
                        23 => "Sorcerer",
                        24 => "Sorcerer",
                        25 => "Theurgist",
                        27 => "Wizard",
                        
                        29 => "Animist",
                        31 => "Bard",
                        33 => "Blademaster",
                        35 => "Champion",
                        37 => "Druid",
                        39 => "Eldritch",
                        41 => "Enchanter",
                        42 => "Enchanter",
                        43 => "Hero",
                        44 => "Hero",
                        45 => "Mentalist",
                        47 => "Nightshade",
                        49 => "Ranger",
                        51 => "Valewalker",
                        53 => "Warden",
                        
                        55 => "Beserker",
                        57 => "Bonedancer",
                        59 => "Healer",
                        61 => "Hunter",
                        62 => "Hunter",
                        63 => "Runemaster",
                        65 => "Savage",
                        67 => "Shadowblade",
                        69 => "Shaman",
                        71 => "Skald",
                        73 => "Spiritmaster",
                        75 => "Thane",
                        77 => "Warrior",
                        
                        79 => "Acolyte",
                        81 => "Elementalist",
                        87 => "Mage",
                        88 => "Mage",
                        93 => "Rogue",
                        101 => "Disciple",
                        105 => "Fighter",
                        
                        89 => "Forester",
                        91 => "Guardian",
                        97 => "Magician",
                        103 => "Naturalist",
                        107 => "Stalker",
                        
                        83 => "Viking",
                        99 => "Mystic",
                        85 => "Seer"
                        );

Code:
    $racelist = array(1 => "Avalonian",
                        3 => "Briton",
                        5 => "Highlander",
                        7 => "Inconnu",
                        9 => "Saracen",
                        31 => "Half Ogre",
                        11 => "Celt",
                        13 => "Elf",
                        15 => "Firbolg",
                        17 => "Lurikeen",
                        19 => "Sylvan",
                        35 => "Shar",
                        21 => "Dwarf",
                        23 => "Kobold",
                        25 => "Valkyn",
                        27 => "Norseman",
                        29 => "Troll",
                        33 => "Frostalf");
 

IainC

English WAR Community Manager
Joined
Apr 21, 2004
Messages
1,862
There will be a manual on our news site shortly which gives the IDs for each race and class.
The overhaul and redesign of the Chronicles is also almost complete and we are testing it internally at the moment. It's likely that both will be available at the same time.
 

Users who are viewing this thread

Top Bottom