Page 1 of 1

Need to find a certain file

Posted: Tue Sep 28, 2010 10:51 am
by Poi
I have an old script form 96 I want to try and get working with 97, but I'm missing an included bank file(include utils/bank)

I downloaded a 96 distro and looked for the file but to no avail, does anyone know where I can get the most recent version of this file?(I can't remember what exactly was in the file =/)

I'm pretty sure the original location was in scripts/include folder.

Sorry if this is a stupid question by the way

Re: Need to find a certain file

Posted: Tue Sep 28, 2010 11:54 am
by Poi
Okay I found the file in 95, but I need to convert this line:
FindRootItemInStorageArea( worldbank, bank_obj_name );
to 97, anyone know what I need to change for this? It says its not defined, and i'm not sure where it was defined in 95, the only include is objtype =/

Re: Need to find a certain file

Posted: Tue Sep 28, 2010 12:49 pm
by Justae
POL 97 uses 'storage.em' :

Contents of storage.em :

//
// Storage area functions
//

StorageAreas();

FindStorageArea( areaname );
FindRootItemInStorageArea( area, itemname );

CreateStorageArea( areaname );
CreateRootItemInStorageArea( area, itemname, objtype );

DestroyRootItemInStorageArea( area, itemname );

So at the beginning of your function or program, where you would see "use uo";
you would add another line below that "use storage";

The function you are looking for is in storage.em.

Best regards,
Justae.

Re: Need to find a certain file

Posted: Tue Sep 28, 2010 5:52 pm
by Poi
Ah, thank you so much :)