Page 1 of 1

SayText2 stops displaying after time

Posted: Fri Nov 06, 2015 7:34 am
by petros789
We use the SayCommand to send a message back to the user but we keep encountering this strange error where over time it stops responding.

This is the SayCommand:

Code: Select all

@SayCommand("hello")
def saycommand_test(command, index, team_only): #playerinfo, teamonly, command
    playerinfo = playerinfo_from_index(index)
    answer = "hello"
    SayText2(message="" + answer + "").send(index)


and some logs right after it occurs:

Code: Select all

L 11/05/2015 - 23:04:42: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 11/05/2015 - 23:04:42: [SM] Native "VFormat" reported: Language phrase "SMAC_Tag" not found
L 11/05/2015 - 23:04:42: [SM] Displaying call stack trace for plugin "smac.smx":
L 11/05/2015 - 23:04:42: [SM] [0] Line 65, C:\Users\Max\Desktop\Coding\SourceMod\smac-live\include\colors.inc::CPrintToChat()
L 11/05/2015 - 23:04:42: [SM] [1] Line 185, smac.sp::Timer_WelcomeMsg()

Posted: Fri Nov 06, 2015 7:46 am
by necavi
That is a completely unrelated error caused by the SMAC SM plugin, I believe that that one is caused by a translation not being loaded, ensure that you installed it correctly and copied all translation files to the server.

Posted: Fri Nov 06, 2015 2:51 pm
by BackRaw
[SM] is not [SP] lol