Eventscript_Emulator

All other Source.Python topics and issues.
ae2x
Junior Member
Posts: 27
Joined: Mon Apr 09, 2018 4:26 pm

Eventscript_Emulator

Postby ae2x » Mon Apr 09, 2018 4:51 pm

Hi!

I just installed Source.Python on my counter strike source server and also tryed this Eventscript Emulator but it wont load that script ..

This is erro when i try to load it



sp plugin load es_emulator
[SP] Loading plugin 'es_emulator'...
Adding "/game/cstrike/addons/source-python/plugins/es_emulator/eventscripts" to sys.path.
Adding "/game/cstrike/addons/source-python/plugins/es_emulator/eventscripts/_libs/python" to sys.path.
Initializing console variables...
Initializing console commands...

[SP] Caught an Exception:
Traceback (most recent call last):
File "../addons/source-python/packages/source-python/plugins/command.py", line 162, in load_plugin
plugin = self.manager.load(plugin_name)
File "../addons/source-python/packages/source-python/plugins/manager.py", line 193, in load
plugin._load()
File "../addons/source-python/packages/source-python/plugins/instance.py", line 76, in _load
self.module.load()
File "../addons/source-python/plugins/es_emulator/es_emulator.py", line 42, in load
from . import cmds
File "../addons/source-python/plugins/es_emulator/cmds.py", line 20, in <module>
from .logic import cfg_scripts
File "../addons/source-python/plugins/es_emulator/logic.py", line 61, in <module>
from .helpers import _is_dead
File "../addons/source-python/plugins/es_emulator/helpers.py", line 121, in <module>
raise ValueError('Unable to find C library.')

ValueError: Unable to find C library.


[SP] Plugin 'es_emulator' was unable to be loaded.


And when i try to unload it


sp plugin unload es_emulator:

sp plugin unload es_emulator
[SP] Unloading plugin 'es_emulator'...
[SP] Unable to unload plugin 'es_emulator' as it is not currently loaded.


Any help? :D

Im new with this source.python!-
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Eventscript_Emulator

Postby Ayuto » Mon Apr 09, 2018 5:28 pm

Which Linux distribution do you use?
ae2x
Junior Member
Posts: 27
Joined: Mon Apr 09, 2018 4:26 pm

Re: Eventscript_Emulator

Postby ae2x » Mon Apr 09, 2018 6:29 pm

Ayuto wrote:Which Linux distribution do you use?


Im not sure what provider use :( should i ask them if they even answer .. i just bought server.
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Eventscript_Emulator

Postby Ayuto » Mon Apr 09, 2018 7:17 pm

Well, you can try replacing the following line with two possible values (it's just a blind guess):
https://github.com/Ayuto/EventScripts-E ... rs.py#L119

#1

Syntax: Select all

clib_path = 'libc.so.6'


#2

Syntax: Select all

clib_path = 'libc.so'
ae2x
Junior Member
Posts: 27
Joined: Mon Apr 09, 2018 4:26 pm

Re: Eventscript_Emulator

Postby ae2x » Mon Apr 09, 2018 8:39 pm

Well that libc.so.6 worked but there is an error

[EventScripts] Loaded esc
[SP] Successfully loaded plugin 'es_emulator'.
ERROR: Could not load keygroup: addons/source-python/plugins/es_emulator/eventscripts/corelib/interfaces/AuthorizationService/es_AuthorizationService_db.txt!
[corelib/interfaces/register 232] es_foreachval: The key '_i_AuthorizationService/_constants' could not be found
User avatar
Ayuto
Project Leader
Posts: 2193
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: Eventscript_Emulator

Postby Ayuto » Tue Apr 10, 2018 5:20 am

You can ignore that for now.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 23 guests