plugin faliure

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

plugin faliure

Post by big_daddy2 »

i do -loadplugin "C:\fairCTF.zip\fairCTF.dll"

and i do /loadplugin fairCTF.dll

and this doesn't work


please tell me what i am doing wrong
User avatar
macsforme
General
General
Posts: 2069
Joined: Wed Mar 01, 2006 5:43 am

Post by macsforme »

Try moving your plugin outside of the .zip file, and trying again. While Windows explorer can browse inside .zip files, I'm not sure that BZFlag can access files within a .zip file.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

bzflag can not read a zip file.
ImageJeffM
User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

Post by big_daddy2 »

what cna it read?
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

big_daddy2 you need to use an application like WinZip (http://www.winzip.com) or the open-source 7-Zip (http://www.7-zip.org/) to extract the file (Windows own unzip could be used, but it has been know to have some reliability issues at times, you use it by right clicking on the zip file and selecting "Extract All..."). Then it won't be "zipped" anymore, zip is a compression routine that makes files smaller (usually for faster downloading or conserving space on a hard drive) by representing redundant data in a more efficient manner. For MOST applications to use data in a zip file, you must uncompress it first to put it back into it normal format.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

it assumes the files are extracted
ImageJeffM
User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

Post by big_daddy2 »

so do i still enter .zip, i extracted all the files so should it work now?
i mean if its not then i did somthin wrong because i hit extract all and i went through the steps
Last edited by big_daddy2 on Mon Mar 26, 2007 10:50 pm, edited 1 time in total.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

no, you do not use the zip file at all, we want the full path to the real file.

this is standard file management, just tell us where the real file is.
ImageJeffM
User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

Post by big_daddy2 »

ok its still C:\fairCTF.zip\fairCTF.dll
User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

Post by big_daddy2 »

big_daddy2 wrote:ok its still C:\fairCTF.zip\fairCTF.dll

so it still has .zip at the end, it doesn't change
User avatar
Tanner
Private First Class
Private First Class
Posts: 575
Joined: Sat Sep 17, 2005 3:46 am
Location: Atl, GA
Contact:

Post by Tanner »

Open Windows Explorer.

Right click on fairCTF.zip, select Extract All. Click Next/Extract.

A new folder will be created called "fairCTF". Notice it has no zip extension.

The new path is:

C:\fairCTF\fairCTF.dll

-Tanner
Tanner - Segway HT i180 Red Owner - Random Map Creator - BZStocks - TS Software

Image
User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

Post by big_daddy2 »

ok now it says it can't find MSVCP71D.dll
User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

Post by big_daddy2 »

i need the other .dll file so can someone pm me it?
User avatar
A Meteorite
Private First Class
Private First Class
Posts: 1786
Joined: Thu Apr 28, 2005 12:56 am
Location: California, U.S.
Contact:

Post by A Meteorite »

big_daddy2 wrote:i need the other .dll file so can someone pm me it?
That is why there is Google. Use Google and look at the very top result. Amazing! :roll:
Image
Owner @ BZFX
Core Admin @ CAN

Email me: bzmet…@gmail.com
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

that is a debug DLL, have whoever made it for you make a release version.
ImageJeffM
User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

Post by big_daddy2 »

ok but do you do "/loadplugin fairCTF" to load that plugin?
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

you can, once you get the release version.

or you can do it in the command line with -loadplugin

both are valid ways to load them.
ImageJeffM
User avatar
big_daddy2
Private First Class
Private First Class
Posts: 131
Joined: Sat May 06, 2006 1:06 am
Location: the middle of nowhere, USA

Post by big_daddy2 »

can the windows bzflag 2.0.8 support plugins?
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Post by JeffM »

yes.

I'm moving this to a server setup section, cus it has nothing to do with development, it's just you trying to learn how to use basic file paths.
ImageJeffM
Post Reply