Batfoxkid / FreakFortressBat

No longer supported.
https://github.com/Batfoxkid/Freak-Fortress-2-Rewrite
GNU General Public License v3.0
30 stars 20 forks source link

Goomba code generates error #63

Closed naydef closed 5 years ago

naydef commented 5 years ago

`L 06/02/2019 - 13:12:43: [SM] Exception reported: Client index 2037935938 is invalid (arg 4)

L 06/02/2019 - 13:12:43: [SM] Blaming: freak_fortress_2.smx L 06/02/2019 - 13:12:43: [SM] Call stack trace: L 06/02/2019 - 13:12:43: [SM] [0] PrintHintText L 06/02/2019 - 13:12:43: [SM] [1] Line 12101, Unofficial Freak Fortress::OnStomp L 06/02/2019 - 13:12:43: [SM] [3] Call_Finish L 06/02/2019 - 13:12:43: [SM] [4] Line 248, D:\dev\sourcemod\compile\goomba.sp::GoombaStomp L 06/02/2019 - 13:12:43: [SM] [6] GoombaStomp L 06/02/2019 - 13:12:43: [SM] [7] Line 121, D:\dev\sourcemod\compile\goomba_tf.sp::OnStartTouch`

Obviously the translations and the code have type mismatch In these translations:

"Goomba Stomp Boss Player" // Hint, Annotation { "#format" "{1:N}" "en" "You goomba stomped {1}!" "ru" "Ты раздавил игрока {1}!" } "Goomba Stomped Player" // Hint, Annotation { "#format" "{1:N}" "en" "Ouch! {1} goomba stomped you! Watch your head!" "ru" "Ай! {1} раздавил тебя! Береги голову!" } "Goomba Stomped Boss Player" // Hint, Annotation { "#format" "{1:N}" "en" "{1} goomba stomped you!" "ru" "{1} раздавил тебя!" }

Replace "#format" "{1:N}" with "#format" "{1:s}"

Batfoxkid commented 5 years ago

Gonna go close this since this is fixed.