Need to find a certain file

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 097.
Note: Core 097 is no longer officially supported.

Moderator: POL Developer

Post Reply
Poi
Grandmaster Poster
Posts: 298
Joined: Fri Apr 14, 2006 9:36 am

Need to find a certain file

Post by Poi » Tue Sep 28, 2010 10:51 am

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
Bittiez/Syp/Taz

Poi
Grandmaster Poster
Posts: 298
Joined: Fri Apr 14, 2006 9:36 am

Re: Need to find a certain file

Post by Poi » Tue Sep 28, 2010 11:54 am

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 =/
Bittiez/Syp/Taz

Justae
Expert Poster
Posts: 79
Joined: Thu May 24, 2007 2:12 pm
Location: South Africa
Contact:

Re: Need to find a certain file

Post by Justae » Tue Sep 28, 2010 12:49 pm

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.

Poi
Grandmaster Poster
Posts: 298
Joined: Fri Apr 14, 2006 9:36 am

Re: Need to find a certain file

Post by Poi » Tue Sep 28, 2010 5:52 pm

Ah, thank you so much :)
Bittiez/Syp/Taz

Post Reply