Page 1 of 1

Eventscript Errors

Posted: Tue May 23, 2017 1:31 pm
by tnarocks
Im getting these errors in my console.log file for eventscripts. And was wondering if someone was able to fix it.

*** EventScripts caught an exception:
Traceback (most recent call last):
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\es.py", line 409, in loadModuleAddon
newaddon = __import__(importname)
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\examples\auth\mani_basic_auth\mani_basic_auth.py", line 143, in <module>
mani_auth = ManiAuthService()
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\examples\auth\mani_basic_auth\mani_basic_auth.py", line 20, in __init__
self.refreshClients()
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\examples\auth\mani_basic_auth\mani_basic_auth.py", line 66, in refreshClients
path = self._convertClientsFile(self.clientspath)
File "C:\servers\theadultgungame\cstrike\addons\eventscripts\examples\auth\mani_basic_auth\mani_basic_auth.py", line 132, in _convertClientsFile
of = open(path, 'rb')
IOError: [Errno 2] No such file or directory: 'C:\\servers\\theadultgungame\\cstrike/cfg/mani_admin_plugin/clients.txt'
Could not open script for addons/eventscripts/examples/auth/mani_basic_auth/es_mani_basic_auth.txt
Error source (console): (no script)

Re: Eventscript Errors

Posted: Tue May 23, 2017 2:18 pm
by Ayuto
You are probably loading mani_basic_auth in your autoexec.cfg or server.cfg, but you don't have mani installed. Thus, there is no clients.txt. Take a look at your config files and check if there is the following line somewhere:

Code: Select all

es_load examples/auth/mani_basic_auth
If yes, comment out that line.

Re: Eventscript Errors

Posted: Tue May 23, 2017 2:40 pm
by tnarocks
Ok found it in my autoexec.bat file. Thanks for the Help