SayText2 stops displaying after time

Please post any questions about developing your plugin here. Please use the search function before posting!
petros789
Junior Member
Posts: 6
Joined: Sun Feb 08, 2015 9:40 pm

SayText2 stops displaying after time

Postby petros789 » Fri Nov 06, 2015 7:34 am

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()
necavi
Developer
Posts: 129
Joined: Wed Jan 30, 2013 9:51 pm

Postby necavi » Fri Nov 06, 2015 7:46 am

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.
User avatar
BackRaw
Senior Member
Posts: 537
Joined: Sun Jul 15, 2012 1:46 am
Location: Germany
Contact:

Postby BackRaw » Fri Nov 06, 2015 2:51 pm

[SM] is not [SP] lol
My Github repositories:

Source.Python: https://github.com/backraw

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 63 guests