Tagger Color Settings Not Holding

For all your questions regarding any mod that wasn't popular enough to get its own forum above.
User avatar
brappl
Reactions:
Posts: 4790
Joined: July 13th, 2013, 6:00 pm

Color Settings Not Holding

Post by brappl » January 12th, 2015, 3:18 pm

I have Color Tags by Sim Type set at True
From a Computer In Sim Type Tag Settings - For Service I changed the color HEX for Service - it works fine while in game but after saving the game, quitting and going back in the color tags are back to default.

I looked in here to see if it was a valid issue and only saw an Older Threadwith a similar problem but some of the resolutions suggested look outdated so I'm thinking I'm missing a step here somewhere.

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7609
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » January 14th, 2015, 7:55 am

When you say it's back to default do you mean the color for service Sims is or they aren't colored by sim type anymore?

User avatar
brappl
Reactions:
Posts: 4790
Joined: July 13th, 2013, 6:00 pm

Post by brappl » January 14th, 2015, 10:29 am

They are no longer displaying the color by sim type. I've left the other tag colors at their default. I changed the HEX for the service sims to 0000FF. The new color stays just fine during the game but no longer display the new color when the game is reloaded. They are reverting back to the default color, if that is what you are asking. I'll try changing another group and see what happens.

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7609
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » January 16th, 2015, 8:00 am

Will look into it :)

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7609
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » February 26th, 2015, 8:17 am

Didn't forget about you over here. It's confirmed broken. Just trying to figure out why. :)

User avatar
brappl
Reactions:
Posts: 4790
Joined: July 13th, 2013, 6:00 pm

Post by brappl » February 26th, 2015, 12:35 pm

Was pretty sure it was Chain. I tried several scenarios and couldn't get any to stick. I'm happy with the defaults and it's easy enough to just add the colors for the sims I do want to track before I play...you guessed it, strays and wildlife, LOL. Well, and service people I've assigned. Thanks for getting back to me. I knew you didn't forget :)

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7609
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » March 16th, 2015, 6:54 pm

This is one of the weirdest issues I've encountered. The game apparently isn't saving it to file but I can't figure out why. It even saves the age colors and those are no different than the sim types. Very odd. Perhaps I'll have an Eisenstein moment sometime.

User avatar
brappl
Reactions:
Posts: 4790
Joined: July 13th, 2013, 6:00 pm

Post by brappl » March 16th, 2015, 8:12 pm

Ha Chain.. bet an answer will pop into that brain of yours when you least expect it. A total "idiot" thought from me ... maybe the game can't save both age and sim type colors?

User avatar
Chain_Reaction
Site Admin
Reactions:
Posts: 7609
Joined: December 30th, 2011, 6:00 pm
Answers: 81
Contact:

Post by Chain_Reaction » March 17th, 2015, 4:54 am

Good thought but nope. They are stored in separate dictionaries. I'm angering EA's save system somehow but how is not screamingly obvious.

User avatar
J4Ks
Reactions:
Posts: 2580
Joined: September 7th, 2013, 6:00 pm
Location: SomewhereNearYou:-)

Post by J4Ks » April 22nd, 2015, 1:48 pm

Chain are you still on the hunt for this issue? Perhaps I can narrow it down for you a little closer:

Basically what I am seeing is an entry in tagger when I want to change some color on the following interaction:
Tagger> Options> Relation Tag Settings> Acquaintance on default it's set FFFF00 (?) = Yellow

But when I want to change the value it comes in a prompt box with 8 digits FFFFFF00 (white/grey), white/grey is what I want so I ignore the 8 digit and replace it with 6 digits FFFFFF, but when I want to reconfirm the setting it reverts back to 8 digit's and get an error that it is an invalid HEX value, when I replace that with 4 digit all is well.

So looking closer I added 8000 and it seems somewhere in the code it adds FF in front the 8000 making it FF8000, so it seems you can only pick from the FF range.

I've opened tagger in Xamarin and found this in the code, under Tagger>Options> ColorSettingOption.cs:

protected override OptionResult Run(GameHitParameters<TTarget> parameters)
{
string text = StringInputDialog.Show(Name, GetPrompt(), Value.ToString("X"));
if (string.IsNullOrEmpty(text)) return OptionResult.Failure;

uint value = 0;
try
{
value = uint.Parse("FF" + text, System.Globalization.NumberStyles.HexNumber);
}
catch
{ }

if (value == 0)
{
SimpleMessageDialog.Show(Name, Common.Localize("Hex:Error"));
return OptionResult.Failure;
}

Value = Validate(value);


Is the FF (in bold above) that's in line 43 adding unwanted code to the HEX value? Unsure what I am doing here and certainly don't want you to get off track though thought it was worth mentioning.

Post Reply