PDA

View Full Version : Bug V4.4.2 Sound doesn't play if "%" in is name



Egheal
June 29th, 2023, 21:07
FYI: I have 4 sounds names "Odds of Survival 75%.wav" (same with 50%, 25% and 0%). They don't play in the personal files imported with this name.
If I change the file name (without the %) the newly imported file (Odds of survival 75.wav) play normally.

LordEntrails
July 1st, 2023, 02:57
Don't use special character in file names. Ever. Too many programs have problems with them because they are often command characters in the background languages that the programs use. Int his case, I'm pretty sure % is an escape character in LUA. If I'm right, its not something that SmiteWorks can really change.

Mike Serfass
July 1st, 2023, 19:42
Yes, % is a special character in lua, as it is in C# (the language FGU is written in) and other languages. It's also a special character for regex.

Egheal
July 1st, 2023, 22:05
thanks guys, changing the name is simple enough.