official-antistasi-community / A3-Antistasi

Antistasi Community Version - work in progress - Discord https://discord.com/invite/TYDwCRKnKX
https://antistasi.de
Other
227 stars 154 forks source link

[Bug]: Tags function causes script errors #3394

Closed ILikeRubberDuckies closed 1 month ago

ILikeRubberDuckies commented 2 months ago

Describe the bug

File x\A3A\addons\core\functions\init\fn_tags.sqf..., line 26
Error in expression <ze='0.5' shadow='2' color='#7FFF00'>" + format['%1 %2',_target getVariable ['uni>
Error position: <format['%1 %2',_target getVariable ['uni>
Error 1 elements provided, 2 expected

Tags are still displayed normally (as far as I can tell). image

How to reproduce

  1. Run vanilla Antistasi
  2. Look at Petros or other friendly AI

Version

unstable?

Have you altered the code?

No

What i have changed

No response

Map

Altis

What server?

LAN Hosted

Time bug occured (Server time/UTC)

No response

Mods

-

Additional context

No response

jaj22 commented 2 months ago

Probably needs profiling or dev branch to replicate. I think BI added sanity-checking to format, so now a lot of old code is throwing these errors.

Is that our only one? Would be surprised.

ILikeRubberDuckies commented 2 months ago

I am on profiling. But so far I have not seen any others pop up.