Ordinal 55 can not be found in zlib1.dll

Questions or HOWTOs about the above? Post 'em here...
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

As I say sometime till now,
why built bzflag.exe can't memorize the position of the [My bzflag files] folder?
as official binary package is able to.

nobody can answer it. me too.
User avatar
joevano
General
General
Posts: 1863
Joined: Sat Jun 18, 2005 1:08 pm
Location: South Bend, Indiana, USA

Post by joevano »

As I understand it, the code knows the default folder, because it is hard coded in. If you want it somewhere else, you need to specify it every time.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

thanks your advise.

>the code knows the default folder
>If you want it somewhere else, you need to specify it every time.

But, though the reason is unknown,
it seems my built bzflag.exe don't know(find) the default folder path.

rebuilt,
run,
but "he" made any folder and file.
don't made configfile
don't made and search [My bzflag files] folder,so cachefile can't saved.
code
bzflag\src\Playing.cxx

// lookup the cached world
std::istream *cachedWorld = FILEMGR.createDataInStream(worldCachePath, true);
if (!cachedWorld) {
HUDDialogStack::get()->setFailedMessage("World cache files disappeared. Join canceled");
drawFrame(0.0f);
remove(worldCachePath.c_str());
joiningGame = false;
return;
so, if bzflag.exe can't find cachedir,remove downloaded worldcachefiles immediately.

it seem to appoint that makeing and searching of defalt folder by the program.
src/game/DirectoryNames.cxx
#if defined(_WIN32)
std::string name("C:");
char dir[MAX_PATH];
ITEMIDLIST* idl;
if (SUCCEEDED(SHGetSpecialFolderLocation(NULL, CSIDL_PERSONAL, &idl))) {
if (SHGetPathFromIDList(idl, dir)) {
struct stat statbuf;
if (stat(dir, &statbuf) == 0 && (statbuf.st_mode & _S_IFDIR) != 0)
name = dir;
}

IMalloc* shalloc;
if (SUCCEEDED(SHGetMalloc(&shalloc))) {
shalloc->Free(idl);
shalloc->Release();
}
}

// yes your suposed to have the "my" in front of it. I know it's silly, but it's the MS way.
name += "\\My BZFlag Files\\";
if (versionName) {
name += versionName;
name += "\\";
}
customConfigDir = name;
return name;

[The main point of this problem]
built bzflag is
1 can't find and make default folder.
2 so,cache and config can't save.
3 able to call configfile for the option "-configdir"
4 but,cache folder can't Appoint.because any option exist.
5 if cache file is not found,game join forced cancel.

I can prepare config by substitute means,
but cache can't prepare like that.no way.


the details, please download the data(my built bzflag), and run it.
http://jumangokumanju.hp.infoseek.co.jp/list.html
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

Post by urz7 »

correct

[The main point of this problem]
built bzflag is
1 can find and make default folder.
2 but,cache and config file can't make.
3 can read configfile for the option "-configdir"
4 cache folder can't Appoint.because any option exist.
5 if cache file is not found,game join forced cancel.


detail(webpage tlanslate)

http://www.google.co.jp/translate?u=htt ... ja&ie=UTF8
urz7
Private First Class
Private First Class
Posts: 27
Joined: Wed Jul 18, 2007 4:11 pm
Location: the final frontier JP
Contact:

The problem was settled.

Post by urz7 »

folder that made by bzflag.exe automaticaly,[My Bzflag Files]

If it's path include japanese, Bzflag.exe can not make any file.

but,official installer version is not. japanese path no problem.
the reason is still not found.

thanks to many advises.


Ps
please teach me,
the way to configure "wings" flap count .i want to config like [planet mofo].
Post Reply