xml export problem

Discussion and suggestions regarding the site and/or forum.

Moderator: Forum Moderator

Post Reply
Thylex
Novice Crafter
Posts: 2
Joined: Wed Oct 31, 2007 2:34 pm

xml export problem

Post by Thylex » Thu Nov 22, 2007 2:51 pm

Hi,

I've working on a webapp, mostly for my own amusement, that uses the xml exports to keep track of current resources. I just re-opened this project and started changing this around to make it use this site instead of the old swgcraft.com, and lo and behold, when I use a method that worked previously to display the current resources it now fails. I've tracked it down to a problem with one stat the seemingly doesnt get a value in the file, despite the current resource page listing one.
One example is for Ahazi/Mustafar, the resource Ilifau (Must. Type 1 Crystal Amorph. Gem). The webpage shows a listing of 977 for HR, but the xml shows nothing for hr for that resource. xml snippet:

Code: Select all

<resource>
<name>Ilifau</name>
<type>Mustafarian Type 1 Crystal Amorphous Gem</type>
<swgcraft_type_id>m1amo</swgcraft_type_id>
<er>785</er>
<cr>941</cr>
<dr>999</dr>
<hr></hr>
<ma>598</ma>
<oq>749</oq>
<sr>939</sr>
<ut>955</ut>
<available_swgcraft_id>178929</available_swgcraft_id>
<available_timestamp>1195318237</available_timestamp>
<available_by>anja</available_by>
<available_by_swgcraft_id>7</available_by_swgcraft_id>
<verified>false</verified>
</resource>
Smells like a bug... I've not seen it for other planets than Mustafar, but I haven't looked either. Waddayathink?

User avatar
Sobuno
Developer
Posts: 2589
Joined: Sun Mar 25, 2007 2:17 am
Contact:

Post by Sobuno » Thu Nov 22, 2007 2:58 pm

You are right, indeed. A dollar-sign had snuck in on that one.... Should be fixed now, but if you wait an hour it should have updated the files (I can't remember at which time of the hour it updates)

Thylex
Novice Crafter
Posts: 2
Joined: Wed Oct 31, 2007 2:34 pm

Post by Thylex » Thu Nov 22, 2007 3:04 pm

*ZAAAPPPP!* One bug less in the world. Excellent!

:)

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests