Page 4 of 8
Re: Clublink
Posted: 27 May 2013, 19:04
by steeffeen
gearmat wrote:can u give me the link of the image u use ??
i used exactly the same image, i didn't modify it
it's even
your url, just cleaner (without parameters)
https://dl.dropboxusercontent.com/sh/p7 ... 281%29.dds
Re: Clublink
Posted: 28 May 2013, 07:50
by gearmat
done
work very good.
Re: Clublink
Posted: 10 Sep 2013, 19:34
by w1lla
Some bugs:
https://www.dropbox.com/s/xn92sqoxeaw2y ... Shot06.jpg
Bobrothers primary color is RED so F00 and RED is 00F.
So somewhere is colors exist the secondary color isnt used.
Script: Elite
Re: Clublink
Posted: 11 Sep 2013, 07:25
by steeffeen
w1lla wrote:Bobrothers primary color is RED so F00 and RED is 00F.
you mean their secondary color is 00F?
well why should the secondary color be used? the red color is fine, isn't it?
//Edit: oh i just saw the blue team is called "Red"

well that's weird

Re: Clublink
Posted: 11 Sep 2013, 09:38
by w1lla
Happens quite often but its quite strange. Same happens if you go in Spectator modus and return back. Colors of teams are mixed up.
Re: Clublink
Posted: 11 Sep 2013, 14:13
by Eole
When a clublink is activated we check that the colors of the two teams are not too similar. If it's the case one of the team has its color modified to avoid confusion. But it can also result in strange situation like above where the "Red" team is blue.
Re: Clublink
Posted: 11 Sep 2013, 14:21
by tcq
Eole wrote:When a clublink is activated we check that the colors of the two teams are not too similar. If it's the case one of the team has its color modified to avoid confusion. But it can also result in strange situation like above where the "Red" team is blue.
A possibility might be, to have a back up colour configuration just as football with the home and away jerseys.
Re: Clublink
Posted: 11 Sep 2013, 20:37
by w1lla
There is a secondary color setting but not used
Re: Clublink
Posted: 14 Sep 2013, 13:15
by w1lla
Another bug:
With the Club.xml file there seems to be a issue:
Code: Select all
simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not
Happens on almost every Clublink created on player page.
A solution for clublinks might be this:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<club version="1">
<!-- Name of the team -->
<name></name>
<!-- Zone of the team (See in game for the zone structure) -->
<zone></zone>
<!-- City of the team -->
<city></city>
<!-- Colors of the team (Used on the spawns, the poles and the UI) Primary Color is First Color used: Secondary will be used if 1st is Used -->
<color primary="F00" secondary="095" />
<!-- Emblem of the team (Used on the spawns, the poles and the UI) Current Image is not 512x512 -->
<!-- Must be a dds file in BC1/DXT1 with mipmaps of 512x512 pixels-->
<!-- Emblem_web is used for server controllers :P -->
<emblem></emblem>
<emblem_web></emblem_web>
<!-- Players list -->
<players>
<!-- ManiaPlanet login of the player -->
<player login="">
<!-- Nickname of the player (Can be used by game modes to automatically rename the player on the server if needed) -->
<nickname></nickname>
<!-- Avatar of the player (Can be used by game modes to automatically replace the avatar of the player on the server) -->
<!-- Any format supported by ManiaPlanet can be used (jpg, png, tga, dds, bik) -->
<avatar></avatar>
</player>
</players>
<!-- Sponsors list -->
<!-- They'll be displayed on the sides of the screen during the end of the rounds/maps -->
<sponsors>
<!-- Name of the sponsors -->
<sponsor name="Sponsor 1">
<!-- Image of the sponsor -->
<!-- Any format supported by ManiaPlanet can be used (jpg, png, tga, dds, bik), image ratio 2:1. -->
<image_2x1></image_2x1>
</sponsor>
<!-- You can add as many sponsors as you want -->
<sponsor name="Sponsor 2">
<image_2x1></image_2x1>
</sponsor>
<sponsor name="Sponsor 3">
<image_2x1></image_2x1>
</sponsor>
</sponsors>
</club>
As this will not give those errors.
with kindly regards,
w1lla
Re: Clublink
Posted: 16 Sep 2013, 08:58
by magnetik
Hi,
I don't have any XML errors with the clublinks generated on the playerpage. Could you PM a link that gives you an error ?
Thanks