[COLOR="Red"]
Errors:
+ Custom Scripts/Xanthos/Claim System/Claim.cs:
CS1501: Line 249: No overload for method 'CheckLoot' takes '1' argument
[/COLOR]
Requirements
Requires the Xanthos Utilities package.
Riokashu;752647 said:Okay, when I restarted my server after placing the script in my scripts folder, I got this error:
Code:[COLOR="Red"] Errors: + Custom Scripts/Xanthos/Claim System/Claim.cs: CS1501: Line 249: No overload for method 'CheckLoot' takes '1' argument [/COLOR]
Any ideas?
Thx in advance.
Rio.
result = corpse.CheckLoot( from ) && !( corpse.IsCriminalAction( from ) );
result = corpse.CheckLoot( from, null ) && !( corpse.IsCriminalAction( from ) );
Seven Pack;772413 said:This is kinda an old topic, but I really like this script!
I know that I am not suppose to ask for help or anything, but I was wondering if you could just show me what line in what file makes the LootBag add the TypesToLoot to the gump.
I know that sounds simple and all, but I'm new to scripting.
<TypesToLoot type="array">
<a type="string">Server.Items.Gold</a>
<a type="string">Server.Factions.Silver</a>
<a type="string">Server.Items.Bandage</a>
<a type="string">Server.Items.Arrow</a>
<a type="string">Server.Items.Amber</a>
<a type="string">Server.Items.Amethyst</a>
<a type="string">Server.Items.Citrine</a>
<a type="string">Server.Items.Diamond</a>
<a type="string">Server.Items.Emerald</a>
<a type="string">Server.Items.Ruby</a>
<a type="string">Server.Items.Sapphire</a>
<a type="string">Server.Items.StarSapphire</a>
<a type="string">Server.Items.Tourmaline</a>
<a type="string">Server.Items.BaseJewel</a> <!-- jewelry: rings, bracelets, etc. -->
<a type="string">Server.Items.BaseHides</a>
<a type="string">Server.Items.BaseScales</a>
<a type="string">Server.Items.BaseOre</a>
<a type="string">Server.Items.Feather</a>
<a type="string">Server.Items.CookableFood</a>
<a type="string">Server.Items.Food</a>
<a type="string">Server.Items.BaseWeapon</a>
<a type="string">Server.Items.BaseArmor</a>
<a type="string">Server.Items.BaseReagent</a>
<a type="string">Server.Items.Bone</a>
<a type="string">Server.Items.TreasureMap</a>
<a type="string">Server.Items.ParagonChest</a>
<a type="string">Server.Items.BaseWand</a>
<a type="string">Server.SpellCrafting.Items.BaseSpellCraft</a>
<a type="string">Server.SpellCrafting.Items.BookOfSpellCrafts</a>
<a type="string">Server.Items.ChampionSkull</a>
</TypesToLoot>
greywolf79;772460 said:Anyone know if this system works on RC2? Also, anyone know if it does not work what needs to be done to get it to work with RC2?
And, yes I understand this is an old topic, but I would like to add it into a shard in the near future that is an RC2 shard...
GreyWolf.
Mockhazzard;773891 said:it says required xanthos utilities. cant find them. where are they?
Mockhazzard;773928 said:it says players can adjust the settings using the -t option. what is that? is that a command? doesn't work. explain someone?
Mockhazzard;773955 said:firstly, THANKS. it works great, and its very easy to customize. a few questions...
There are 3 different types of loot bags? gold, silver, and loot? thats what i got from the xml file. Im only able to make a loot bag in game. And its a wonky hue. And loot doesn't go in it.
Is there a way to make a command so players can select a bag in their pack and items will auto loot into that bag? or is there a way to make the current loot bag actually work? Thanks. (as for the hue, where is the color of the bag so i can change it). Thanks a bunch.
use [cl -t to get the options gump. It will allow players to add or remove things that their loot bag will collect.
datguy;773985 said:I just tried it, targeted a player corpse to add, & it added & grabbed it, so you may want to do a check for things it apparently doesn't check.