Author Topic: Shuriken Stacker  (Read 10185 times)

0 Members and 1 Guest are viewing this topic.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Shuriken Stacker
« on: July 28, 2011, 05:47:11 AM »
+1
Simply stacks shurikens by loading them into a belt, then unloading the belt.

Code: [Select]
display ok Target your secure container$with your stars in it
set #targCurs 1
while #targCurs = 1
  wait 1
set %star_container #ltargetID
event macro 17

display ok Now target your belt
set #targCurs 1
while #targCurs = 1
  wait 1
set %belt #ltargetID

set %star GDP
set %gump_size 127_60
set %loadX 30
set %loadY 20
set %unloadX 40
set %unloadY 40

repeat
for %i 1 5
{
  finditem %belt
  exevent popup #findID
  gosub GumpAndSizeWait NULL normal_gump %gump_size
  gosub offsetClick %loadX %loadY l
  target
  finditem %star C_ , %star_container
  set #ltargetID #findID
  set #ltargetKind 1
  event macro 22
  wait 10
}
finditem %belt
;if #findCnt > 0
exevent popup #findID
  gosub GumpAndSizeWait NULL normal_gump %gump_size
gosub offsetClick %unloadX %unloadY l
wait 5
until #false

;-------------------------------------------------------------------------------
; %1 = GumpAndSizeWait
; %2 = Gumpname 1
; %3 = Gumpname 2
; gosub GumpAndSizeWait NULL generic_gump %lore_gump_size
sub GumpAndSizeWait
  set %timedelay #SCNT
  wait 5
  GumpWait_loop1:
    if #CONTNAME = %2 && #CONTSIZE = %3
      return #FALSE ; no error
    if #SCNT > %timedelay + 7
      return #TRUE ; error, timeout
    goto GumpWait_loop1
return #TRUE ; should never get here.

sub OffsetClick
  set %tempx %1 + #CONTPOSX
  set %tempy %2 + #CONTPOSY
  click %tempx %tempy %3
return

Next will be poisoning them of course....
« Last Edit: July 29, 2011, 03:52:41 AM by Cerveza »
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Shuriken Stacker
« Reply #1 on: July 29, 2011, 03:57:19 AM »
+1
Added opening of the secure to make sure the shurikens are visible so they can be grabbed up.

I will be making a "modular" script which will use this:

1 - Make Shurikens
- drag/drop ingots
- drag/make smith tool
- make five shurikens
- add shurikens to belt
- unload belt
- move stack to secure

2 - Poison Shurikens
- drag/drop from secure to pack ; not sure if you can poison it in the secure container
- apply poison
- drag drop from pack to secure

Anything missing?
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline SolidSnake

  • ScriptUO Guild
  • *
  • Posts: 497
  • Activity:
    0%
  • Reputation Power: 6
  • SolidSnake has no influence.
  • Gender: Male
  • Respect: +34
  • Referrals: 1
    • View Profile
Re: Shuriken Stacker
« Reply #2 on: July 29, 2011, 06:11:11 AM »
+1
With the new rules, this is going to be a VEY popular script Cerv..may want to insure Fukiyas are included as well.

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Shuriken Stacker
« Reply #3 on: July 29, 2011, 06:20:48 AM »
+1
I'll do shurikens first. They work the same way so the only change would be in the crafting.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline SolidSnake

  • ScriptUO Guild
  • *
  • Posts: 497
  • Activity:
    0%
  • Reputation Power: 6
  • SolidSnake has no influence.
  • Gender: Male
  • Respect: +34
  • Referrals: 1
    • View Profile
Re: Shuriken Stacker
« Reply #4 on: July 29, 2011, 12:40:41 PM »
+1
Can't wait to give this one a go Cerv...

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 6190
  • Activity:
    3%
  • Reputation Power: 71
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Respect: +273
  • Referrals: 3
    • View Profile
Re: Shuriken Stacker
« Reply #5 on: July 29, 2011, 04:20:53 PM »
+1
Trying it this weekend

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: Shuriken Stacker
« Reply #6 on: July 29, 2011, 04:57:52 PM »
+1
By God, I'm actually going to try looking for a PvP fight.  First, I have to figure out how to throw these, though...

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 6190
  • Activity:
    3%
  • Reputation Power: 71
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Respect: +273
  • Referrals: 3
    • View Profile
Re: Shuriken Stacker
« Reply #7 on: July 29, 2011, 04:58:38 PM »
+1
Let's see - how do ya spell dead meat?

Offline NObama

  • Everything I need to know, I learned from Miffy's Item Finder.
  • Elite
  • *
  • *
  • Posts: 3454
  • Activity:
    0%
  • Reputation Power: 43
  • NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.NObama is a force to reckon with.
  • Respect: +161
  • Referrals: 2
    • View Profile
Re: Shuriken Stacker
« Reply #8 on: July 29, 2011, 05:00:03 PM »
+1
Nope!  I'm doing what all the real PvPers do:  Scripting everything except the running away part!  I'm real good at that already...

Offline gimlet

  • Very Super Secret
  • Global Moderator
  • *
  • *
  • Posts: 6190
  • Activity:
    3%
  • Reputation Power: 71
  • gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!gimlet is awe-inspiring!
  • Gender: Male
  • Respect: +273
  • Referrals: 3
    • View Profile
Re: Shuriken Stacker
« Reply #9 on: July 29, 2011, 05:09:08 PM »
+1
heheheh

Offline Canuker

  • Sr. Member
  • *
  • Posts: 479
  • Activity:
    0%
  • Reputation Power: 7
  • Canuker has no influence.
  • Respect: +37
  • Referrals: 2
    • View Profile
Re: Shuriken Stacker
« Reply #10 on: July 30, 2011, 07:04:05 AM »
+1
Nope!  I'm doing what all the real PvPers do:  Scripting everything except the running away part!  I'm real good at that already...

HAHAHAHA.  This is a classic.
Nope!  I'm doing what all the real PvPers do:  Scripting everything except the running away part!  I'm real good at that already...

Offline Outlaw Josey Wales

  • Full Moon Rising!
  • Hero Member
  • *
  • Posts: 595
  • Activity:
    0%
  • Reputation Power: 7
  • Outlaw Josey Wales has no influence.
  • Gender: Male
  • Respect: +59
  • Referrals: 2
    • View Profile
Re: Shuriken Stacker
« Reply #11 on: August 01, 2011, 08:18:38 PM »
+1
nice script comes in handy with stacking stars

Offline Goliath

  • Sr. Member
  • *
  • Posts: 424
  • Activity:
    0%
  • Reputation Power: 5
  • Goliath has no influence.
  • Gender: Male
  • Respect: +37
  • Referrals: 2
    • View Profile
Re: Shuriken Stacker
« Reply #12 on: August 02, 2011, 08:29:21 AM »
+1
Nope!  I'm doing what all the real PvPers do:  Scripting everything except the running away part!  I'm real good at that already...
HA... Runaway.. Runaway... Monty Python Search for the Holy Grail.  Good Times

Offline CervezaTopic starter

  • Hacksimus Maximus
  • Scripthack
  • *
  • Posts: 5857
  • Activity:
    0%
  • Reputation Power: 80
  • Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!Cerveza is awe-inspiring!
  • Gender: Male
  • So... Hows that Hopey-Changey thing working out?
  • Respect: +403
  • Referrals: 11
    • View Profile
Re: Shuriken Stacker
« Reply #13 on: August 02, 2011, 08:43:13 AM »
+1
I have a fully functional version of this that will pull ingots and tongs from a secure and make the shurikens, then put 5 into a belt. It will unload the belt and place the stack (now 10) into a secure for storage.

I'll release it as a full headered script.
XXXXXXXXXX________________________________________] 20%
I've forgotten more about this game then most people will ever know.
Thank you for controlling your children. Their manners reflect your love for them.
Give a man a fish and you feed him for a day. Don't teach a man to fish, and you feed yourself. He's a grown man. Fishing's not that hard.

Offline Hollywood_Shono

  • Full Member
  • ***
  • Posts: 113
  • Activity:
    0%
  • Reputation Power: 0
  • Hollywood_Shono has no influence.
  • Respect: +19
  • Referrals: 0
    • View Profile
Re: Shuriken Stacker
« Reply #14 on: August 04, 2011, 06:58:36 AM »
+1
Do you know when you'll be releaseing the script I'd like to test it as well

Tags: