ScriptUO

Official ScriptUO EasyUO Scripts => Script Library => Crafting => Topic started by: manwinc on February 06, 2011, 12:24:44 PM

Title: Trapped Box Maker
Post by: manwinc on February 06, 2011, 12:24:44 PM
Code: [Select]
;=======================================================
; Script Name: Mwinc. Trapped Box Maker
; Author: Mwinc
; Version: 1.0
; Client Tested with: Baja
; EUO version tested with: 166
; Shard OSI / FS:
; Revision Date:
; Purpose: Prevent Para Spamming
;=======================================================

Requirements:
1. MWSubs.Txt Must be Saved into the same folder as your EASYUO Program
2. Must Either Be Human or Have at least 20 Carpentry
3. At Least 1 Tinker Tool on you
4. A Secure With Regular Boards, Iron Ingots, and Bolts
5. A Trash Can Within 2 Tiles
6. Containers Within 2 tiles that you wish to fill
7. 100 Magery
8. 100% LRC


Setup:
Set %Secure to the ID for your  Secure Container.
This Script will fill as many chests as you would like, all you have to do is Enter the TYPES For the chests you wish to have filled and it will run until all within reach are filled.
With that Said, set %Chest_Types to the TYPES for the Chests you wish to fill.

If you don't know what a TYPE or an ID is, you should probably look at some tutorials here or at easyuo.



Title: Re: Trapped Box Maker
Post by: Ultima on February 06, 2011, 08:33:12 PM
Thanks for posting this Mwinc.   :)

I know this is mainly a PvP script.

I should put it to use and keep a box on all my PvM characters. Currently I only carry a trapped box on my sampire. 

I almost died a few minutes ago on my treasure hunter because I didn't have a trapped box on me.  :-\

It's nice seeing a script pop up again ...refreshing is the word that comes to mind....especially from one of our Jedi Masters! 8)
Title: Re: Trapped Box Maker
Post by: MeWonUo on February 06, 2011, 09:00:34 PM
Very nice, I'm tired of buying these things.  Thanks for posting it MW.


I think I remember someone telling me that the ideal tinkering level is around 40 to get the really low damage boxes.  Is this true, or am I thinking of something else??
Title: Re: Trapped Box Maker
Post by: manwinc on February 06, 2011, 10:54:59 PM
Actually ultima, this is the script for crafting them :)

My Trapped box User is A billion Years old and isn't very reliable, but I try to not use scripts in pvp whenever possible.

YOU PARA SPAMMING LOSERS MAKE ME DO IT!

BAUAHAHAHAHAHAHA
Title: Re: Trapped Box Maker
Post by: Scrripty on February 07, 2011, 09:12:53 AM
I love using scripts in pvp.  I have scripts that pvp better than most pvpers. :) heh
Title: Re: Trapped Box Maker
Post by: Cerveza on February 07, 2011, 09:38:51 AM
A certain little journal scan tool with a little "wrapper" to use a trapped box is all you would need to ensure you trigger one whenever you get para'd.
Title: Re: Trapped Box Maker
Post by: gimlet on February 07, 2011, 10:43:56 AM
How much damage does a box like this do?
Title: Re: Trapped Box Maker
Post by: Cerveza on February 07, 2011, 10:51:32 AM
Depends on two things.

The level of the tinker and your physical resistance.

If you have a tinker who fails 90% of the time... and 70ish physical resistance... then maybe 11 points or so.
Title: Re: Trapped Box Maker
Post by: gimlet on February 07, 2011, 11:01:27 AM
OK Thanks!
Title: Re: Trapped Box Maker
Post by: manwinc on February 08, 2011, 07:27:16 AM
Problem cerveza is when you run into too many actions going on at the same time.


BANDIS
APPLES
POTS
TRAPPED BOX
SHURIKENS
Smoke Bombs

They all get engaged in an object timer to the Death, Usually Resulting in my enemies death mind you, But still can get annoying!
Title: Re: Trapped Box Maker
Post by: pashadiv on February 11, 2011, 12:59:26 AM
Problem cerveza is when you run into too many actions going on at the same time.


BANDIS
APPLES
POTS
TRAPPED BOX
SHURIKENS
Smoke Bombs

They all get engaged in an object timer to the Death, Usually Resulting in my enemies death mind you, But still can get annoying!

MW is 100% correct on this. You're far better off not relying on a crutch and learning some good timing (IE aids and heal pots) on your own. Once you get good at your macros you'll find these kinds of scripts to be completely useless and sometimes will get you killed. Plenty of ppl still use a trap box tripping script however.

Sidenote: Carrying trap boxes on PvM characters is uber tech! :P
Title: Re: Trapped Box Maker
Post by: Scrripty on February 11, 2011, 01:37:27 AM
Timing is all fine and dandy, but you're mistaken if you think a well written script can't take down a pvper or even a group of pvpers.  It's very possible and I think most of us dont do it because that's how we like to pvp, we do it because we can and scripting is fun. :)
Title: Re: Trapped Box Maker
Post by: manwinc on February 11, 2011, 02:30:49 PM
I use a trapped box script 100% of the time, and 1-2 other scripts depending on the template
Title: Re: Trapped Box Maker
Post by: gogetta on April 03, 2011, 10:02:07 AM
there's no download link :(
Title: Re: Trapped Box Maker
Post by: Cerveza on April 03, 2011, 10:18:07 AM
there's no download link :(

And there won't be for you, unless you comply with the rules of ScriptUO.
Title: Re: Trapped Box Maker
Post by: manwinc on April 03, 2011, 05:42:46 PM
* dusts off YE ol Banhammer for cerveza *

Just getting it ready for you!
Title: Re: Trapped Box Maker
Post by: Cerveza on April 04, 2011, 04:38:37 AM
It's a Callahan full-bore auto-lock. Customized handle, double head thorough gauge. It is my very favorite hammer.

I call it Vera.
Title: Re: Trapped Box Maker
Post by: gimlet on April 04, 2011, 07:58:44 AM
I use a trapped box script 100% of the time, and 1-2 other scripts depending on the template

Healing scripts?
Title: Re: Trapped Box Maker
Post by: Cerveza on April 04, 2011, 08:01:39 AM
Breaking Paralyze.
Title: Re: Trapped Box Maker
Post by: gimlet on April 04, 2011, 08:05:29 AM
No i understand about breaking para - I ment what other scripts does he run?

Also another question - I used to trap pouches using magic trap - does that still work?
Title: Re: Trapped Box Maker
Post by: Cerveza on April 04, 2011, 08:08:12 AM
Too much damage.
Title: Re: Trapped Box Maker
Post by: manwinc on April 04, 2011, 09:21:17 AM
I run healing scripts some of the time. Since they made the change to bandages relying on object timers, applying bandages has gone from hitting a key to hitting a key, checking to make sure it applied, which can make it insanely annoying. Also normally run a screenshot script.
Title: Re: Trapped Box Maker
Post by: gimlet on April 14, 2011, 04:39:47 PM
I can not get this script to work. What tinkering is required?

human
tinker tool
mage
bolts
resources
etc

makes a box tries to trap it with a bolt - fails with the message You dont have the required skills to attempt this. Says minimum is 30

Did i miss something
I plan to just make a ring and bracelet with 15 tink on each - duh cant do that!
Title: Re: Trapped Box Maker
Post by: gimlet on April 14, 2011, 08:50:33 PM
OK - Got a human and trained  tink to 30 (no carp) said 0 chance and although it was possible after almost 2 hours - no chests.

Trained to 30.1 and it is now working fine (although real slow = like 1 chest per hour)

Very nice script now that i have it working! Thanks Manwinc!
Title: Re: Trapped Box Maker
Post by: onlyindreams on April 14, 2011, 10:06:41 PM
Correct me if I'm wrong, but can't you wear a tinker talisman once you're at 30.1 and it won't add damage?
Title: Re: Trapped Box Maker
Post by: gimlet on April 15, 2011, 07:12:53 AM
I dont know - good idea - i will test when I get a chance!

I may go back to 30.0 if it works.

Title: Re: Trapped Box Maker
Post by: Cerveza on April 15, 2011, 07:27:17 AM
So....

Real Skill = Damage
Adjusted Skill <> Damage but = ability to make it?
Title: Re: Trapped Box Maker
Post by: gimlet on April 15, 2011, 07:33:18 AM
Thats what onlyindreams is implying (and he might be correct)
Title: Re: Trapped Box Maker
Post by: Cerveza on April 15, 2011, 07:41:09 AM
So.... to further complicate this....

20 Skill
20 Talisman
---
40 for chance to make it, but only do 20 tinker damage.

Wouldn't that mean that a human would only need a tink tali?
Title: Re: Trapped Box Maker
Post by: gimlet on April 15, 2011, 07:53:44 AM
For a talisman you must have the minimum real skill to make something and then the talisman increases the chance to make it.

For trap box 30 is minimum for tink

at 30.1 the success chance is 0.2%
but with a 27 talisman the chance is 27.2

To make a small crate requires 10 carp. For a human (this is interesting) with no carp (but 20 jack of all trades) his chance is 70% to make it.
Title: Re: Trapped Box Maker
Post by: gimlet on April 15, 2011, 09:15:20 AM
Correct me if I'm wrong, but can't you wear a tinker talisman once you're at 30.1 and it won't add damage?

I used my human guy with tails and it did not seem to increase damage at all. So then i started to think about carp.


So I went back and made a gargoyle character. Put 10.0 carp (this gives 50% chance)
and 30.0 tink (and a 27 tink talisman) made boxes quickly ,

I found great variability between crates but I think this combo gives the minimum damage

Good find onlyindreams!

Title: Re: Trapped Box Maker
Post by: Outlaw Josey Wales on April 15, 2011, 10:19:28 PM
Correct me if I'm wrong, but can't you wear a tinker talisman once you're at 30.1 and it won't add damage?

I used my human guy with tails and it did not seem to increase damage at all. So then i started to think about carp.


So I went back and made a gargoyle character. Put 10.0 carp (this gives 50% chance)
and 30.0 tink (and a 27 tink talisman) made boxes quickly ,

I found great variability between crates but I think this combo gives the minimum damage

Good find onlyindreams!


  It doesn t mater what your carpentry is you can be gm carpenter and create boxes as long as the tinker is 30.1. At least thats how it has been when ive made them
Title: Re: Trapped Box Maker
Post by: Paulonius on May 04, 2011, 09:13:58 AM
I tried using this script on siege and I get blown to bits when it fails to set the trap.  I put in a check/heal sub in between attempts.
Title: Re: Trapped Box Maker
Post by: manwinc on May 04, 2011, 07:48:55 PM
Yeah, never played siege! so you're on your own there!!! Funny to know though :P
Title: Re: Trapped Box Maker
Post by: Endless Night on May 05, 2011, 07:17:52 AM
I tried using this script on siege and I get blown to bits when it fails to set the trap.  I put in a check/heal sub in between attempts.

thats pretty funny actually.
Title: Re: Trapped Box Maker
Post by: Scrripty on May 05, 2011, 11:09:23 AM
I'm going to write a script that does this just for fun.  Twinkle McNugget's Trapped Box Maker!  *hits play* BOOM, "You have been pkd by Twinkle McNugget. Click ok."
Title: Re: Trapped Box Maker
Post by: manwinc on May 05, 2011, 01:36:11 PM
Hahahahaha, Waits like 1 hour of making trapped boxes, then makes one and uses it until death and pops up with that message. PRICELESS.
Title: Re: Trapped Box Maker
Post by: newbielove on May 09, 2011, 02:29:23 PM
 :D

Absolutely WONDERFUL script :)

TYVM you've saved my brain!!
Title: Re: Trapped Box Maker
Post by: easyrider on July 21, 2011, 06:04:56 PM
Awesome script. It worked perfectly for me.
Title: Re: Trapped Box Maker
Post by: THERA on July 31, 2011, 07:36:10 PM
Script is absolutely awesome except for one problem I'm having. Every chest I make and trap it throws into the garbage. Seems counter productive! Anyone gimme a hand? Thank you in advance.
Title: Re: Trapped Box Maker
Post by: manwinc on July 31, 2011, 11:42:42 PM
It Fills All Chests of a certain "Type" That you can code in, If you don't tell it what type of chests to fill, it simply throws them away. I need to make an idiot proof Check.
Title: Re: Trapped Box Maker
Post by: gimlet on August 01, 2011, 11:31:37 AM
Just thought i'd report that without Paul's Warning i'd of been blown to bits also on Siege!
Title: Re: Trapped Box Maker
Post by: THERA on August 01, 2011, 11:55:17 AM
It Fills All Chests of a certain "Type" That you can code in, If you don't tell it what type of chests to fill, it simply throws them away. I need to make an idiot proof Check.

Thanks for the assistance.....yep I'm retarded. lol Please insert idiot check next time!  :P
Title: Re: Trapped Box Maker
Post by: unisharp on July 28, 2012, 09:56:41 AM
All the chests I make "Appear to be locked" ?
Title: Re: Trapped Box Maker
Post by: manwinc on July 28, 2012, 06:06:18 PM
Turn the Chest so it is facing the other direction. Easiest way to accomplish this is to drop it south of your character and pick it back up and put it in your bag.
Title: Re: Trapped Box Maker
Post by: dreadcat2013 on October 14, 2013, 12:57:57 AM
Hello !

Im trying to make trapped box but dont understand what i have to change...when i started play i receive message : No Chests Located, Please set the Type for the chests you wish to use...

So i can see : set %Chest_Types JIF_CKF
                    ; Types For the Chests you wish To fill
                    set %Secure SJYAPMD
                    ; Chest with Iron, Wood, Bolts

i remove JIF_CKF by KIF_JIF  ( i found type chest code : Wooden Chest --- KIF    JIF differnet facing direction

i dont know if at  set %Secure SJYAPMD is good ?

But when i play nothing appear after since i change code :(
Plz can you help me to understand what i have to do to use this script :-)

 ::)
Title: Re: Trapped Box Maker
Post by: gimlet on October 14, 2013, 04:55:44 AM


i dont know if at  set %Secure SJYAPMD is good ?

The %secure xxxxxxx has to be changed to your secure id - use trail's program to find the id quickly


http://www.scriptuo.com/index.php?topic=188.0;highlight=info (http://www.scriptuo.com/index.php?topic=188.0;highlight=info)
Title: Re: Trapped Box Maker
Post by: Insideout on November 15, 2013, 10:16:40 PM
Okay I have tried every which way JIF KIF lol no matter what I put in it tells me no chests. Am I over thinking this?
Title: Re: Trapped Box Maker
Post by: Tidus on November 16, 2013, 08:45:30 AM
Okay I have tried every which way JIF KIF lol no matter what I put in it tells me no chests. Am I over thinking this?
Did you change to %secure to the secure you have your boxes in?
Title: Re: Trapped Box Maker
Post by: dreadcat2013 on November 17, 2013, 11:53:25 AM
i tried with this secure and all is good now: i used a bag (round)from NPC

set %Chest_Types JIF_CKF
; Types For the Chests you wish To fill
set %Secure AUGIQQD
; Chest with Iron, Wood, Bolts
Title: Re: Trapped Box Maker
Post by: manwinc on November 18, 2013, 02:06:07 PM
Just saw this. Yeah, the issue was that it couldn't find the Chests to fill! Glad to see you figured it out.
Title: Re: Trapped Box Maker
Post by: Insideout on November 18, 2013, 09:17:45 PM
Well for some reason I cannot get it to work I may need someone to break out the crayons.


This is what I have

set %Chest_Types JIF_CKF
; Types For the Chests you wish To fill
set %Secure TPHLYSD

I have also had

set %Chest_Types JIF_KIF
; Types For the Chests you wish To fill
set %Secure TPHLYSD


I have tried a backpack round bag Wooden Chest.


I've put the chests in a secure on the ground in my backpack lol


Title: Re: Trapped Box Maker
Post by: Insideout on November 18, 2013, 09:43:19 PM
Ended up with  and it works :) thanks for the script

set %Chest_Types JIF
; Types For the Chests you wish To fill
set %Secure TPHLYSD
Title: Re: Trapped Box Maker
Post by: Canuker on April 12, 2014, 11:20:21 AM
It's been ages but I wanted to play a little again...this puppy won't run though, has anything changed?

Found this thread....guess I'll just make 10 and roll like that.

http://stratics.com/community/threads/anti-para-boxes-trapped-box.187481/
Title: Re: Trapped Box Maker
Post by: manwinc on April 12, 2014, 12:51:36 PM
Hmm... Should still work I just need to Edit out Relocking the Chests. You just can't "Relock" them anymore.
Title: Re: Trapped Box Maker
Post by: Canuker on April 12, 2014, 03:47:51 PM
It was weird, did all the checks and then just sat around...I wasn't sure where the issue was but it certainly could have been on my side.
Title: Re: Trapped Box Maker
Post by: drindeth on July 21, 2014, 04:06:16 PM
I have been running your script for a few hours on osi. works nice but I had a few issues.

 my first, I set my container types and then my secure id and it would just throw the finished boxes in my garbage. this I easily fixed by just replacing the conttype to contid instead.

my second, every now and then a box will go thru the trap process then go into the garbage anyways. I took a few out and they aren't actually trapped so im glad it dosnt go to the secure with the rest but I was wondering why it does that.

last,  the finished boxes are always mage locked. im sure this is an old script but on osi you can no longer set off the trap without the container being unlocked. I have a bad memory and I know I will never remember to unlock the boxes every time I grab one.... its going to get me killed and then I will shake my fist and curse your name in vent probly.  ;)

I have been messing around deleting lines trying to get the script to stop doing the final mage spell lock on the chest and just leave it unlocked, howerver I am not well versed in script writing so its a lot of shots in the dark so to speak and I cant get it to work correctly. any way you could tell me what to delete specifically?

my sanity thanks you for this script, because making trapped boxes by hand is for the birds.
Title: Re: Trapped Box Maker
Post by: manwinc on July 21, 2014, 09:21:46 PM
Pretty sure these are the droids you are looking for.

Code: [Select]
Repeat
event macro 15 18
target 60
until #targcurs = 1
Event macro 22 0

Just remove that part and it won't do it anymore Funny that this thing still calls subs.
Title: Re: Trapped Box Maker
Post by: drindeth on July 27, 2014, 08:11:20 PM
thanks inc, works great now!
Title: Re: Trapped Box Maker
Post by: bendel on August 04, 2014, 02:02:26 AM
Pretty sure these are the droids you are looking for.

Code: [Select]
Repeat
event macro 15 18
target 60
until #targcurs = 1
Event macro 22 0

Just remove that part and it won't do it anymore Funny that this thing still calls subs.

Thanks this fixed my problem =),

work 10/10
Title: Re: Trapped Box Maker
Post by: Gandolf on September 17, 2015, 03:15:04 PM
Can this scrip made to do
just trap boxes ,But not lock
so when open they explosed
Thx
Sell a ton of these for PVP
Title: Re: Trapped Box Maker
Post by: manwinc on September 17, 2015, 05:48:02 PM
Updated, Back to pvping
Title: Re: Trapped Box Maker
Post by: unisharp on September 18, 2015, 03:24:24 AM
I never knew this until recently

http://www.uoguide.com/Large_Crate

People are using these as they do not need to "turn them" to make them work :)

just a FYI if you didn't know!
Title: Re: Trapped Box Maker
Post by: manwinc on September 18, 2015, 11:42:31 AM
Yes, but they are huge! :P
Title: Re: Trapped Box Maker
Post by: Gandolf on January 30, 2016, 01:27:40 PM
Ok still having trouble . Still wants to put crate in trash
Barrel even after deleting this.

Repeat
event macro 15 18
target 60
until #targcurs = 1
Event macro 22 0
working again now have to  redo the scrip for magic unlock
Title: Re: Trapped Box Maker
Post by: cybercasper on May 30, 2016, 10:53:10 AM
hey i start this script up and change my bags. it doesnt start then tells me that out of TLK 0. so i opened find and all i found was it calling for your sub but there was nothing in your sub that had TLK
Title: Re: Trapped Box Maker
Post by: The Ghost on May 30, 2016, 02:01:22 PM
TLK is for wood,  you need wood to make crate
Title: Re: Trapped Box Maker
Post by: cybercasper on June 01, 2016, 02:17:05 PM
thank you i believe i got it to work and it is working with 100 % perfection.
Title: Re: Trapped Box Maker
Post by: REEFHAWK on March 05, 2017, 05:54:52 AM
Cybercasper, Good morning.  What did you change for the TLK 0 10 50?  I sure would appreciate the help.
Title: Re: Trapped Box Maker
Post by: The Ghost on March 05, 2017, 06:17:32 AM
 TLK 0 10 50 = (Type) (Color) (Min) (Max) 

Make sure you have regular wood in your secure, it will ignore the colour.
Title: Re: Trapped Box Maker
Post by: The Ghost on March 05, 2017, 07:12:26 AM
Setup:
; Set %Secure to the ID for your  Secure Container. <----------------------

do you have the MWSubs text file

At first glance all the gump seen the right size.
Title: Re: Trapped Box Maker
Post by: cybercasper on March 05, 2017, 07:25:13 AM
yeah thats what i was going to tell him ghost have to make sure he sets the right id and have the subs in the same folder
Title: Re: Trapped Box Maker
Post by: cybercasper on March 05, 2017, 04:03:54 PM
set %Chest_Types JIF_CKF_ZJF   <---------------this is where you want to put the chest
; Types For the Chests you wish To fill
set %Secure XXXXXXX   <------------- this is where you get your stuff from to make the trap boxes
; Chest with Iron, Wood, Bolts

make sure they are in different spots like i have 2 bags locked down by my trashcan and do it that way thats where the ZJF id comes from.
Title: Re: Trapped Box Maker
Post by: REEFHAWK on March 05, 2017, 07:20:03 PM
Cybercasper and Ghost, I appreciate the help you have given me.  I actually hate to post what I (the operator) was doing wrong.  I had put shafts in my bag instead of Bolts.  Sorry about that.  Once again, thanks soooo much.
Title: Re: Trapped Box Maker
Post by: The Ghost on March 05, 2017, 07:22:06 PM
That how ppl learn.  we all make those silly mistake sometime.   That what kept our skill sharpe.  :)
Title: Re: Trapped Box Maker
Post by: TrailMyx on March 05, 2017, 07:30:32 PM
Title: Re: Trapped Box Maker
Post by: tasslehoff on March 15, 2018, 12:42:18 PM
script works great.thanks for all the hard work making my life easier=]
Title: Re: Trapped Box Maker
Post by: tasslehoff on April 07, 2018, 08:03:47 AM
anyone having issues with this failing to find trash bin when u start the script?
Title: Re: Trapped Box Maker
Post by: axtonz on March 03, 2020, 10:31:19 AM
i got it to craft large crates but how do i get it to recognize the large crates?
Title: Re: Trapped Box Maker
Post by: Kandie on July 22, 2023, 07:26:49 AM
what am I doing wrong, I keep getting this message.....Cannot call/run this script without the parameters?   I have used this in the past and it worked great, now it doesn't.   any help is appreciated   Thx  Kandie