Page 1 of 1

Server: Casino error

Posted: Sat Jul 22, 2006 5:25 am
by penbrock
When I try to playthe slots I get this in the log file on the server

[Debug] ********** EVENT HANDLER **********
[Debug] - Who am I :WhiteLightning
[Debug] - Activator :Gondof
[Debug] - Event code :1
[Debug] - Event plugin :Python
[Debug] - Event hook :/python/casino/silverslots.py
[Debug] - Event options :event_apply
[Error] The requested plugin doesn't exit: Python at 18/25 in map Casino Infernal

Anyone know what I need to do?

Posted: Sat Jul 22, 2006 9:03 am
by Lauwenmark
It means that the Python plugin, which is the part that makes the slot machines work, is not installed.

To check if the plugin is correctly loaded, check at the beginning of your server log - you should see something like this:

[Info] Initializing plugins
[Info] Plugins directory is /home/gros/games/lib/crossfire/plugins/
[Info] -> Loading plugin : cfanim.so
[Debug] CFAnim 2.0a init
[Debug] CFAnim 2.0a post init
[Info] -> Loading plugin : cfpython.so
[Debug] CFPython 2.0a init
[Debug] CFPython 2.0a post init
Running python initialize script.

Also check the plugins directory, to see if there is a cfpython.so file there (or a .dll if you're using Windows).

Note that for the Python plugin to be compiled and to work, you first need to install Python itself (version 2.3, 2.4 or 2.5) - the configure scriptused to build the server should be able to detect it.

Plugins

Posted: Sat Jul 22, 2006 6:37 pm
by penbrock
That sure is the problem. The directory it is looking for is not even there. I am unable to find where it installed any plugins at all. Guess it is time to start reading and find out how to hand install them

Docs?

Posted: Sat Jul 22, 2006 7:58 pm
by penbrock
Well I have searched around to find how to compile/install the plugins but I am having no luck. Can anyone point me to an area that can tell a dumbie how ti install the plugins on my Debian box?

Posted: Sun Jul 23, 2006 10:11 am
by Lauwenmark
You have two choices:

- Either you wait for the Debian package to be updated. This bug has been reported to the maintainer (See Debian bug report #379348), and should now be fixed;
- Or you download the source package from the Sourceforge project page. In that case, you'll need to install the Debian python-dev package, so that the configure script of crossfire properly detects it.

I don't suggest mixing both - if you install Crossfire from the SF source packages or its CVS, you'd better not install the Debian packages for the server.