repair deed thief

Name says it all
Geriatric
Legendary Scribe
Posts: 237
Joined: Thu Dec 08, 2022 4:51 am

repair deed thief

Post by Geriatric »

the DRG guild hall is a very welcoming place
we offer free repair deeds to all, we kindly ask that you do not abuse that generosity, take a few as needed
you're more than welcome

however there is someone or it could be someones that helps themself to emptying the entire box
as stated before we happily supply these for free, for everyone
and when you empty the entire box of 100+ repair deeds
you are leaving none for anyone else untill that box gets filled up again
Attachments
takenban.jpg
takenban.jpg (46.52 KiB) Viewed 33632 times
GreenBar
Grandmaster Scribe
Posts: 92
Joined: Sat Sep 28, 2013 4:05 pm

Re: repair deed thief

Post by GreenBar »

Geriatric wrote:
Thu Dec 07, 2023 7:48 pm
however there is someone or it could be someones that helps themself to emptying the entire box
Have you looked at putting them on a vendor as a free item? +C added anti-raiding code.
Geriatric
Legendary Scribe
Posts: 237
Joined: Thu Dec 08, 2022 4:51 am

Re: repair deed thief

Post by Geriatric »

paying the wages of each individual vendor just to hold repair deeds, cant remember what those wages are
having to list each individual deed as free
it would certainly make restocking the deeds a more timely thing to do

can u explain how the anti raiding code works?
im guessing its the simplicity of going through a buy menu to acquire an item?
that would inconvenience the perpetrator a bit, but wouldnt actually stop them from taking every last repair deed if their heart so desired

i shouldnt have to adjust myself and everyone should not have to adjust to deal with the selfishness of one person

i will catch who it is eventually, and i will ban them
culichi
Legendary Scribe
Posts: 579
Joined: Fri Aug 22, 2014 9:04 pm

Re: repair deed thief

Post by culichi »

anti raiding feature lets you decide how many items can be purchased from your vendor in a 24 hour period and its account wide so they cant just use alts to get around it. make the limit something like 10 per day that's reasonable. i have been frustrated in similar situations and its really not a hill worth dying on just let it go hehe.
when you stock free items you don't actually need to price them just leave price field empty and hit enter the item will be priced free by default. the vendor fee for free items is close to nothing.
Geriatric
Legendary Scribe
Posts: 237
Joined: Thu Dec 08, 2022 4:51 am

Re: repair deed thief

Post by Geriatric »

theres still that inner part of me that wants the satisfaction of banning him though
User avatar
+Colibri
Administrator
Posts: 3962
Joined: Sat Feb 25, 2006 4:08 pm
Location: static void Main

Re: repair deed thief

Post by +Colibri »

Yeah it's annoying when someone does that...
Adding items to the vendor involves more clicking than just dumping it into a box, maybe you can set up a macro that will enter a small amount as the price.
Vendor's daily fee is 0.6% of its total value so if you put stuff up for free, it shouldn't cost you anything. Well, 58gp per day, equivalent to the fee of an empty vendor I think it is.
+Colibri, Administrator of UO Excelsior Shard

Don't know what the purpose of your life is? Well then make something up! ;)
(Old Colibrian proverb)
Geriatric
Legendary Scribe
Posts: 237
Joined: Thu Dec 08, 2022 4:51 am

Re: repair deed thief

Post by Geriatric »

whoever this person is , is the type of spoiled brat that takes all of the candy out of a halloween bowl, leaving none for anyone else
MagicUser
Elder Scribe
Posts: 174
Joined: Mon Nov 03, 2014 2:24 pm
Location: PST

Re: repair deed thief

Post by MagicUser »

I am not sure about other clients, but Orion can record this action.
+Colibri wrote:
Fri Dec 08, 2023 6:50 am
Adding items to the vendor involves more clicking than just dumping it into a box, maybe you can set up a macro that will enter a small amount as the price.
If anyone is interested, I made a quick script for it.

Code: Select all

function move_item_type_to_vendor() {
	var info_color = 80;
	var error_color = 37;
	
	Orion.Print(info_color, "Select the item.");
	Orion.WaitForAddObject('sell_item');
	
	//Check if the item is on the ground and is findable.
	if (!Orion.FindObject('sell_item') || Orion.FindObject('sell_item').Container() == '0xFFFFFFFF') {
		Orion.Print(error_color, 'Looks like you did not select an item in your backpack.');
		return;
	}
	
	//Check if the vendor is a mobile.
	Orion.Print(info_color, "Select the vendor you would like to sell the item on.");
	Orion.WaitForAddObject('vendor_to_sell_on');
	
	if (!Orion.FindObject('vendor_to_sell_on') || !Orion.FindObject('vendor_to_sell_on').Mobile()) {
		Orion.Print(error_color, 'Looks like you did not select a vendor.');
		return;
	}
	
	//Open the vendor's backpack. This could be a sticky point if the mobile selected was not a vendor.
	var vendor_pack_not_open = true;
	while (vendor_pack_not_open) {
		//Single left click menu for vendors has paperdoll as the second option (1) instead of the first (0).
		Orion.RequestContextMenu('vendor_to_sell_on');
		Orion.WaitContextMenuID('vendor_to_sell_on', 1);
		Orion.Wait(1000);
		
		//21st layer is the backpack layer. If it exists, open it and end the loop. If it does not the paperdoll wasn't opened.
		var vendor_backpack = Orion.ObjAtLayer(21, 'vendor_to_sell_on');
		if (vendor_backpack) {
			Orion.UseObject(Orion.ObjAtLayer(21, 'vendor_to_sell_on').Serial());
			vendor_pack_not_open = false;
		}
	}
	
	var item_graphic = Orion.FindObject('sell_item').Graphic();
	var item_container = Orion.FindObject('sell_item').Container();
	
	//Move all items with the graphic.
	var list_of_items = Orion.FindType(item_graphic, any, backpack, String(), 'finddistance', String(), true);
	for (var i = 0; i < list_of_items.length; i++) {
		Orion.MoveItem(list_of_items[i], 0, 'vendor_to_sell_on');
		Orion.Wait(500);
		
		//If a gump pops up try to set the item price, otherwise remove the item.
		if (Orion.WaitForGump(1000)) {
			//Vendor gump id.
			var vendor_gump = Orion.GetGump(any, '0x9B9836B9');
			
			//If a vendor gump was found.
			if (vendor_gump != null) {
				//The third hook is the legacy button. This process is also possible with recording entering the number, but the description
				//	looks weird.
				vendor_gump.Select(Orion.CreateGumpHook(3));
				Orion.Wait(100);
				
				//Set as free unless not prompted, in which case remove the item.
				if (Orion.WaitForPrompt(100))
					Orion.SendPrompt('0');
				else if (Orion.FindObject(list_of_items[i]) && Orion.FindObject(list_of_items[i]).Container() != item_container) {
					Orion.MoveItem(list_of_items[i], 0, item_container);
					Orion.Wait(500);
				}
			}
		}
		else if (Orion.FindObject(list_of_items[i]) && Orion.FindObject(list_of_items[i]).Container() != item_container) {
			Orion.MoveItem(list_of_items[i], 0, item_container);
			Orion.Wait(500);
		}
		
		//Make sure the items are free, otherwise remove the item. Change this if you're planning to use this for a different price.
		Orion.Wait(700);
		if (Orion.FindObject(list_of_items[i]) && !Orion.Contains(Orion.FindObject(list_of_items[i]).Properties(), 'Price: FREE!')) {
			Orion.MoveItem(list_of_items[i], 0, item_container);
			Orion.Wait(1000);
		}
		
		//If the list completed, but there are still items left over... continue. We want to move everything with the item graphic.
		if (i == list_of_items.length - 1) {
			list_of_items = Orion.FindType(item_graphic, any, backpack, String(), 'finddistance', String(), true);
			i = -1;
		}
	}
	
	//Remove the hanging object serials.
	Orion.RemoveObject('sell_item');
	Orion.RemoveObject('vendor_to_sell_on');
}
There is probably way too much input protection, but I think I am covering all of the ideas here.
its hard for me to tell exactly how you want to put the items on the vendor. This would just fill the inventory, but perhaps you want to fill a bag within the vendor's inventory. Perhaps you want to select a bag in your backpack and then it just grabs the deed graphics out.

If people are interested I can put a little more effort in and implement those features otherwise I'll leave it as is. I may do it anyway if I get bored.
Respectfully,
Paroxysmus ILV Master Spellcaster
User avatar
Turnabout
Elder Scribe
Posts: 118
Joined: Fri Dec 13, 2013 9:59 pm

Re: repair deed thief

Post by Turnabout »

Adding items for free on vendors it's easy with UOS. Add the repair deed inside an organizer, select source and destination container, then click start. When the process ends you need just to fast click on the ok button to confirm the price.

The organizer need to be configured only the first time.

Cons: a little bit lame :roll: . Pros: fast and easy.

https://youtu.be/ViHXKLmLDik

Edit: typo.
The Skilled Image.
MagicUser
Elder Scribe
Posts: 174
Joined: Mon Nov 03, 2014 2:24 pm
Location: PST

Re: repair deed thief

Post by MagicUser »

Well spotted. This is much better than my method and also possible within Orion and I'm sure Razor. I did not realize you could just click the okay button.
Turnabout wrote:
Fri Dec 08, 2023 11:36 pm
fast and easy.
Respectfully,
Paroxysmus ILV Master Spellcaster
Geriatric
Legendary Scribe
Posts: 237
Joined: Thu Dec 08, 2022 4:51 am

Re: repair deed thief

Post by Geriatric »

i found the repair deed thief
but missed the chance to ban them from the property

SIDCA
I AM CALLING YOU OUT
User avatar
Wil
Legendary Scribe
Posts: 1128
Joined: Mon Dec 30, 2013 1:19 pm
Location: Seattle, WA, USA
Contact:

Re: repair deed thief

Post by Wil »

Geriatric wrote:
Mon Dec 11, 2023 10:05 am
i found the repair deed thief
but missed the chance to ban them from the property
The UOEX version of the house ban lets you type in the name you want to ban, not just target them.
Durocius
Grandmaster Scribe
Posts: 81
Joined: Fri Sep 03, 2021 7:02 pm

Re: repair deed thief

Post by Durocius »

Seems like the same 2 names show up in WC and now on this. Everyone with free deeds should pay attention.
😠
Geriatric
Legendary Scribe
Posts: 237
Joined: Thu Dec 08, 2022 4:51 am

Re: repair deed thief

Post by Geriatric »

Wil wrote:
Mon Dec 11, 2023 3:30 pm
Geriatric wrote:
Mon Dec 11, 2023 10:05 am
i found the repair deed thief
but missed the chance to ban them from the property
The UOEX version of the house ban lets you type in the name you want to ban, not just target them.
the house i was in didnt have a sign out the front of it, so i couldnt bring up the house options
and i later learned you can get to the house options with the context menu on self <more>
User avatar
Johnny Warren
Legendary Scribe
Posts: 864
Joined: Mon Oct 11, 2010 11:40 pm

Re: repair deed thief

Post by Johnny Warren »

Geriatric wrote:
Mon Dec 11, 2023 10:05 am

SIDCA
I AM CALLING YOU OUT
They can't hear you. They're just a farm bot.
JOHNNY WARREN!
Image
Locked