Closed LindaFelicia closed 1 year ago
Go to addons/sourcemod/logs and open the normal log file from today and search for text [SCP] Loading translation file
. What is the text in the brackets [ ]? for example, in tf2 it says [SCP] Loading translation file [scp.tf.phrases]
L 04/20/2023 - 04:02:06: -------- Mapchange to bt1 -------- L 04/20/2023 - 04:02:06: [simple-chatprocessor.smx] [SCP] Recognized mod [Left 4 Dead 2]. L 04/20/2023 - 04:02:06: [simple-chatprocessor.smx] [SCP] Translation file is not present L 04/20/2023 - 04:02:06: [SM] Exception reported: Translation file is not present L 04/20/2023 - 04:02:06: [SM] Blaming: simple-chatprocessor.smx L 04/20/2023 - 04:02:06: [SM] Call stack trace: L 04/20/2023 - 04:02:06: [SM] [0] SetFailState L 04/20/2023 - 04:02:06: [SM] [1] Line 173, simple-chatprocessor.sp::OnPluginStart L 04/20/2023 - 04:02:06: [SM] Unable to load plugin "simple-chatprocessor.smx": Error detected in plugin startup (see error logs)
No search result for "[SCP] Loading translation file"
I checked /left4dead2/console.log in L20230420.log,the record about this plugin has only one line: L 04/20/2023 - 04:17:13: [simple-chatprocessor.smx] [SCP] Recognized mod [Left 4 Dead 2]. That's it
Thanks, I see now that the logging needs to be improved. I am going to edit the code and upload here for you to try so we can see the file name it is looking for.
Try this SMX and then let me know what the error says. I modified the error message so it prints the name of the file it looks for.
L 04/20/2023 - 06:33:01: [simple-chatprocessor.smx] [SCP] Translation file is not present [scp.left4dead2.phrases] L 04/20/2023 - 06:33:01: [SM] Exception reported: Translation file is not present [scp.left4dead2.phrases]
I renamed the translation file, the error has been resolved, thank you.
🥳🎉
In l4d1: scp.l4d.phrases.txt should be scp.left4dead.phrases.txt
In l4d2: scp.l4d2.phrases.txt should be scp.left4dead2.phrases.txt
even the file already exists inside the translations folder