PigPen

Member
ServUO Version
Publish Unknown
Ultima Expansion
Mondain's Legacy
I host a RunUO 2.1 Server and so . . Okay I admit it . . I'm old.
For the life of me I cannot locate what scripts control how/why/when a Treasure Map is deleted from the world unless it is kept in a Mass Storage Key or in a player's Bank Box. What I am trying to do is adjust things so if a Player puts a T-Map up for sale on his Vendor, the T-Map does not get deleted like it otherwise would.

I would really appreciate being pointed to the script(s) that control this because I have worn out my searches.

Many Thanks
*bows*
 
Look in the Cleanup.cs script in this section...

public static bool IsBuggable( Item item )
 
Thank you Djeryv. That looks like a good tip and one I did not find. By the looks of it . . if I removed Treasuremaps from the Buggable list then they would broadly not be cleaned up. I did not want to eliminate them being removed completely, just if they are placed on a vendor for sale. (Some of the maps on my server are Special maps that are not commonly dropped and have more value than all the others.)
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 120 Online
    • 273 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 85 Online
    • 137 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 77 Online
    • 190 Peak
  • Insane UO
    Endless Journey
    • Players
    • 74 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 25 Online
    • 85 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 22 Online
    • 48 Peak
  • Arth
    Custom (Modern)
    • Players
    • 21 Online
    • 34 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 19 Online
    • 172 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 18 Online
    • 32 Peak
  • Heritage
    New Legacy
    • Players
    • 14 Online
    • 41 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back