Need a little help with Clubs and Numbers

Posts: 26
Is there away i can send this theme to someone on here and you take a peek. Been working on this for like 3 days and cant get it to work.. i have the numbers but it keeps just showing like i typed them out instead of the plaques and thing for club it just keeps showing Az
Posts: 785
If you can make a mostly empty theme with just the problematic widget I can take a quick look. Just try to replicate the issue in an example theme.
Posts: 287
How do you do with Australia/NZ club for showing flag in picture.

/ is not allow in name of file !
Posts: 785
Perhaps you can combine it with a simple script converter that removes any "/" characters (or anything else not allowed in a path). I believe the script converter runs first and the final dynamic path is made with the converted value.
Posts: 287
Ok, I think I'm not alone to have this problem, why iRacing put that !

Other things, I see pilots from Japan are indicated in iRacing but return club = -none- !!
Posts: 61
Emmanuel Suter wrote:
Ok, I think I'm not alone to have this problem, why iRacing put that !

Other things, I see pilots from Japan are indicated in iRacing but return club = -none- !!
Are you sure iRacing has clubs for Japanese drivers? If that's not the case, ATVO does not register clubs for those drivers.
Posts: 287
Yes I'm sure that the contry Japan is indicate in iRacing and if you watch in data explorer it is indicate - none - so I replace it by internationnal flag ... But it is iRacing wich send this information, ATVO I think just read this variable.

Other way, I decide to do a small script for Australia:
using System;
using ATVO.ThemesSDK;
using ATVO.ThemeEditor.ThemeModels;
using ATVO.ThemeEditor.Scripting.DotNET;

namespace Scripts
{
public class SC_Country : IScript
{
public object Execute(ThemeContentItem item, object value, string parameter, ISimulation sim)
{
if (value == null)
{
      return null;
}
// binding ..... club
var pays = value.ToString();

if (pays == "Australia/NZ")
return "AustraliaNZ";
else

return pays;
}
}
}

Edited (1 time)