python21.dll?

Speak about everything in regards to Crossfire.

Moderator: Board moderators

Zitike
One hit wonder
Posts: 1
Joined: Sun Aug 29, 2004 8:19 am

python21.dll?

Post by Zitike »

When I run the Crossfire Server, it says, This application has failed to start because python21.dll was not found. Re-installing the application may fix this problem, and I re-installed. Still doesn't work. I wanna play this game too.
Ryo
Forum Fanatic
Posts: 752
Joined: Mon May 19, 2003 9:16 pm
Location: Paris, France

Post by Ryo »

The message itself should be harmless, and let you play nontheless.

If you want to get rid of it, either:
* remove the file '<where you installed crossfire server>\share\plugins\python_plugin.dll'
* install Python (http://www.python.org or ActiveState Python, for instance)

Note also that you can play on public servers. A list is displayed when opening the client (for GTK one at least). Just enter the number of the server you want to connect to in the text entry zone.
mrbrklyn
Regular
Posts: 59
Joined: Fri Sep 10, 2004 11:09 am
Location: Brooklyn USA
Contact:

Post by mrbrklyn »

Ryo wrote:The message itself should be harmless, and let you play nontheless.

If you want to get rid of it, either:
* remove the file '<where you installed crossfire server>\share\plugins\python_plugin.dll'
* install Python (http://www.python.org or ActiveState Python, for instance)

Note also that you can play on public servers. A list is displayed when opening the client (for GTK one at least). Just enter the number of the server you want to connect to in the text entry zone.
What in the server is using Python?

Ruben
http://www.nylxs.com
The New York Free Software Scene
Avion
Senior member
Posts: 301
Joined: Tue Jun 03, 2003 1:16 am
Location: Canada
Contact:

Post by Avion »

mrbrklyn wrote:
What in the server is using Python?

Ruben
there is a server plugin for python so you can use it as a 'scripting' language. Things like the IPO, the banks, slotmachines, a few magic items use python scripts. There will be more since this is a very good way to add more novel functionality without having to modify server.

The rule of thumb is not to have the python stuff requirred to operate a server, so basically the scripts should break nicely and the functionality they deliver should not be central to the game - just nice features like Mail or Banking.
Guest

Post by Guest »

Avion wrote:
mrbrklyn wrote:
What in the server is using Python?

Ruben
The rule of thumb is not to have the python stuff requirred to operate a server, so basically the scripts should break nicely and the functionality they deliver should not be central to the game - just nice features like Mail or Banking.
That's going to load up the server resources. I hope Leaf is running things on a big machine.

Ruben
Avion
Senior member
Posts: 301
Joined: Tue Jun 03, 2003 1:16 am
Location: Canada
Contact:

Post by Avion »

Anonymous wrote:
That's going to load up the server resources. I hope Leaf is running things on a big machine.

Ruben
I don't think it is actually. It runs quite nicely as far as I have seen so far.
bort
Forum Junkie
Posts: 607
Joined: Sun Jun 20, 2004 9:40 pm
Location: LG

Post by bort »

Wonder what the actual load statistics are...
top can reveal it, or process manager.
lordyoukai.DA
My wraith is cooler than your dragon.
Avion
Senior member
Posts: 301
Joined: Tue Jun 03, 2003 1:16 am
Location: Canada
Contact:

Post by Avion »

bort wrote:Wonder what the actual load statistics are...
top can reveal it, or process manager.
I think it's a moot point really. If there is a problem with the performance with a particular python script then it would be reported as a bug and get fixed but the performance has not proven to raise a problem so far so why borrow trouble. The crossfire code runs pretty well on even older systems with modest hardware and I believe that the new metalforge server is quite capable of handling the load and then some. If there was a problem with performance using the python interpreter it would be important to know about it but seriously there is no reason to assume there is a performance problem just because it is using python. In fact I would guess that by using python for some 'effects' there are probably instances where you gain efficiency over the server code because the code is isolated and more compact.
Vibak

Post by Vibak »

Umm okay i downloaded python the windows binary or smething like that but it says that this application has failed to start because python21.dll was not found. Re-installing the application may fix this problem.
Avion
Senior member
Posts: 301
Joined: Tue Jun 03, 2003 1:16 am
Location: Canada
Contact:

Post by Avion »

Which version of python did you install? If it was not python 2.1 but you are getting this message then perhaps the windows version of the server is hardcoded to use python 2.1? It shouldn't be, it should be able to use whatever python is available, but I don't know much about how it is compiled. Maybe try getting python 2.1 (http://www.python.org/2.1.3/) instead of the latest version.
Post Reply