Well this would only do it on startup or copyover or reboot of the mud only. So it wouldn't be that big a hit. I have unique items that only load on boot up. They load once and that's it... But it doesn't check to make sure that the item isnt already in an inventory. That's the part I need.
Keith Mervine "Non Omnis Moriar" "Growing old is mandatory, growing up is optional" Service Management Application Developer International Monetary Fund [EMAIL PROTECTED] 202-623-7610 > -----Original Message----- > From: Michael Barton [mailto:[EMAIL PROTECTED] > Sent: Monday, February 24, 2003 2:16 PM > To: [email protected] > Subject: Re: Loading objects but only if pfiles do not have one. > > > I think you'll end up keeping a list of unique items separate from the > pfiles.. > > Searching through all of the pfiles every time you want to > load an item is > going to cause a pause in your mud while it searches. > > Moving the pfiles or unique item information to an external > database would > be another way to go. Most likely anything you do to speed > up the search > would just be duplicating the functionality of a dbms. > > ----- Original Message ----- > From: "Mervine, Keith" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Monday, February 24, 2003 10:52 AM > Subject: Loading objects but only if pfiles do not have one. > > > > Greetings, > > Ok here is what I want to do, can someone let me know if > its possible. > > > > I want to load objects via the code, not the normal way > (reading from > > area file) I have that part in. what I want to do is only > load it if > > the vnum doesnt exist in a pfile already. In other words, > one of a kind > > item that only loads again if no-one has it. Im not too sure how to > > search all pfiles for something and If someone has any helpful tips, > > please pass them on. > > Thanks in Advance > > > > Sorry if this got on the list twice, I forgot to make it > all plain text. > > > > Keith Mervine > > "Non Omnis Moriar" > > "Growing old is mandatory, growing up is optional" > > Service Management Application Developer > > International Monetary Fund > > [EMAIL PROTECTED] > > 202-623-7610 > > > > > > -- > > ROM mailing list > > [email protected] > > http://www.rom.org/cgi-bin/mailman/listinfo/rom > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom >

