First of all, thank you for the updates. Secondly, I'm having a slight issue with this. I don't want to use a gold bag, but I still want gold to go to the lootbag. It's in the loot list from [claim -t, but it's going to the main backpack, not the lootbag. I assume because there's no goldbag, it's defaulting to the backpack.

I've tried editing the XML:
XML Edit:
<GoldBagType type="string">Xanthos.Claim.LootBag</LootBagBagType>   

to

<GoldBagType type="string">Xanthos.Claim.GoldBag</GoldBagType>
Server won't start with this for some reason I don't understand. It compiles then starts over nonstop.

And making several edits in the Claim.cs file along the lines of this:
Claim.cs:
Container goldBag = GetGoldBag( from )

to

Container goldBag = GetLootBag( from );


and 
Container goldBag = from.Backpack.FindItemByType( ClaimConfig.GoldBagType ) as Container;

to 

Container goldBag = from.Backpack.FindItemByType( ClaimConfig.LootBagType ) as Container;

This appears to work. Is there a better way to do this? Am I going to break anything?
 

Active Shards

  • Unchained
    Custom (Classic)
    • Players
    • 152 Online
    • 273 Peak
  • The Crossroads
    Mondain's Legacy
    • Players
    • 106 Online
    • 190 Peak
  • UO Eventine
    Custom (Classic)
    • Players
    • 79 Online
    • 137 Peak
  • Insane UO
    Endless Journey
    • Players
    • 75 Online
    • 105 Peak
  • UO: New Renaissance
    Custom (Classic)
    • Players
    • 25 Online
    • 85 Peak
  • CALYPSO
    Custom (Modern)
    • Players
    • 22 Online
    • 30 Peak
  • UO Phoenix
    Custom (Classic)
    • Players
    • 19 Online
    • 48 Peak
  • Pandora
    Custom (Modern)
    • Players
    • 19 Online
    • 32 Peak
  • UO Enigma
    Custom (Modern)
    • Players
    • 18 Online
    • 172 Peak
  • Arth
    Custom (Modern)
    • Players
    • 16 Online
    • 34 Peak

Donations

Total amount
$0.00
Goal
$500.00
Back