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?
Server: Casino error
Moderator: Board moderators
-
- Junior member
- Posts: 111
- Joined: Thu May 15, 2003 9:27 am
- Location: Sélentine, I. Pref. Occ.
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.
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.
Au Nom de Son Auguste Majesté,
Lauwenmark Kadensanni Hento Akkendrittae
Général en Chef de l'Armée de l'Ouest.
Lauwenmark Kadensanni Hento Akkendrittae
Général en Chef de l'Armée de l'Ouest.
Plugins
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?
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?
-
- Junior member
- Posts: 111
- Joined: Thu May 15, 2003 9:27 am
- Location: Sélentine, I. Pref. Occ.
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.
- 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.
Au Nom de Son Auguste Majesté,
Lauwenmark Kadensanni Hento Akkendrittae
Général en Chef de l'Armée de l'Ouest.
Lauwenmark Kadensanni Hento Akkendrittae
Général en Chef de l'Armée de l'Ouest.