Jump to content
Sign in to follow this  
strider67

New problem with squad.xml

Recommended Posts

i got my info up but now the picture won't load. i get an error message saying the 58x64 is not 2^n. I resized the logo and put it back where it needs to be(in same web folder as the squad.xml) and i still get the error message. this is what my logo *SHOULD* look like. Feel free to change it so it works and get it back to me. biggrin.gif

logo.jpg

Share this post


Link to post
Share on other sites

that's just it, i did resize it to 64x64 and it still won't work properly. argghhhh....rage building inside, wanting to chunk computer out into street and hit with an AT-4. mad.gif

Share this post


Link to post
Share on other sites

If it has that message it usually means your picture isn't the right size, the picture you have posted there is 58x64, you would need to make it 64x64

Go to www.opflash.co.nz/wolf/wolf.jpg

Download my squad logo, chuck it in, see if it works, if it doesn't work, it's a problem with the squad.xml rather than the pic. If it does work, then you need to resize your squad logo.

Share this post


Link to post
Share on other sites

ok it's offical i'm gonna shoot this damn computer......i trie your logo wolf but i got the same error message. mad.gif now i am truly stumped

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (strider67 @ Sep. 11 2002,13:37)</td></tr><tr><td id="QUOTE">ok it's offical i'm gonna shoot this damn computer......i trie your logo wolf but i got the same error message. mad.gif now i am truly stumped<span id='postcolor'>

Ahem, where do you save the image? It seems your webspace provider doesn't allow images to be linked directly (see your own post above). Maybe that's the problem?

Share this post


Link to post
Share on other sites

Looks like a problem with the squad.xml, here is mine:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">

<?xml version="1.0"?>

<!DOCTYPE squad SYSTEM "squad.dtd">

<?xml-stylesheet href="squad.xsl?" type="text/xsl"?>

<!-- Squad properties follow - change values as necessary -->

<!-- Keep nick short - it is displayed together with players nick -->

<squad nick="WOLF">

<!-- Main squad name, also page title when XML is viewed in web browser -->

<name>Team Wolf - Weapons of Lethal Force</name>

<!-- Squadmaster email address -->

<email>adam_m_@hotmail.com</email>

<!-- Main web site of the squad -->

<web>www.team-wolf.tk</web>

<!-- Squad picture URL (will be documented later) -->

<picture>wolf.jpg</picture>

<!-- Squad name - displayed on vehicles manned by squad members -->

<title>Team WOLF</title>

<!-- End of squad properties -->

<!-- Member list follows - change values as necessary -->

<!-- user ID and nick nick must be the same as given in OFP Edit Player dialog -->

<member id="xxxxxx" nick="Lt Damage">

<!-- additonal information about this member, accessible by pressing 'P' -->

<!-- all this information is optional and may be set to N/A -->

<!-- Full name -->

<name>Lt. Damage</name>

<!-- E-mail address -->

<email>adam_m_@hotmail.com</email>

<!-- ICQ number -->

<icq>xxxxxxxxxx</icq>

<!-- short description -->

<remark>No bastard ever won a war by dying for his country.</remark>

<!-- end of additional member information -->

</member>

<!-- Next member -->

<member id="xxxxxx" nick="Hamma">

<name>Hamma</name>

<email>xxxxxxxxxxxxxxxxxxxxxxxx</email>

<icq>N/A</icq>

<remark>im a team player</remark>

</member>

<!-- Next member -->

<member id="xxxxxxx" nick="Blackwinter">

<name>Blackwinter</name>

<email>xxxxxxxxxxxx</email>

<icq>xxxxxxxxxxx</icq>

<remark>Can't win em all :P</remark>

</member>

<!-- Next member -->

<member id="xxxxxxxxxx" nick="Kirov">

<name>Kirov</name>

<email>xxxxxxxxxxxxxxxxxx</email>

<icq>xxxxxxxxxxxxxx</icq>

<remark>"Insert comment here"</remark>

</member>

<!-- Next member -->

<member id="xxxxxxxx" nick="VeNoM">

<name>VeNoM</name>

<email>xxxxxxx@hotmail.com</email>

<icq>N/A</icq>

<remark>.</remark>

</member>

<!-- Next member -->

<member id="xxxxxx" nick="Chook">

<name>Chook</name>

<email>xxxxxxxxx@hotmail.com</email>

<icq>xxxxxxxx</icq>

<remark>"I aim to please"</remark>

</member>

<!-- Next member -->

<member id="xxxxxx" nick="FoReAk!">

<name>FoReAk!</name>

<email>xxxxxx@optushome.com.au</email>

<icq>xxxxxxxx</icq>

<remark>insert comment here</remark>

</member>

<!-- Next member -->

<member id="xxxxxxx" nick="MINION">

<name>MINION</name>

<email>xxxxxxxx@hotmail.com</email>

<icq>n/a</icq>

<remark>mini onion is about to make ya cry</remark>

</member>

<!-- Next member -->

<member id="xxxxxxx" nick="CyRIx2">

<name>CyRIx2</name>

<email>xxxxxxx@hotmail.com</email>

<icq>xxxxxxxxx</icq>

<remark>The deadliest weapon in the world is a marine and his rifle</remark>

</member>

<!-- Next member -->

<member id="xxxxxx" nick="Red Mist">

<name>Red Mist</name>

<email>xxxxxxxxx@yahoo.com.au</email>

<icq>n/a</icq>

<remark>Cry 'Havock', and let slip the dogs of war.</remark>

</member>

<!-- Next member -->

<member id="xxxxxxx" nick="STABBY">

<name>STABBY</name>

<email>xxxxxx@hotmail.com</email>

<icq>n/a</icq>

<remark>"Drugs are bad. Mmmkay"</remark>

</member>

<!-- End of member list -->

</squad>

<span id='postcolor'>

Ok, note the place where the logo is, it has no path. Make sure you just put the file name of the logo.

Otherwise I can't understand why it's not working for you.

Share this post


Link to post
Share on other sites

Doesnt the squad Logo needs to be a .paa file? if not , then this changed with resistance, then bevore it had to be a paa file!

it must be 64x64, (64x128) does not work!

biggrin.gif

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (joltan @ Sep. 11 2002,16:20)</td></tr><tr><td id="QUOTE">Ahem, where do you save the image? It seems your webspace provider doesn't allow images to be linked directly (see your own post above). Maybe that's the problem?<span id='postcolor'>

Yes, this really seems to be a problem. When OPF tries to download the image, it gets the error placeholder ("remote linking forbidden") instead of the image. As the placeholder size is 150x150, it cannot be shown in OFP.

Share this post


Link to post
Share on other sites

It happened to me as well. SQUAD.XML and picture were correctly written and located on server, but only text data would be shown during the game.

Once I would make correction to the SQUAD.XML, e.g. change description of player, seems like server would erase cached file and show picture and text properly.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×