Author Topic: Doom Bone Cutter  (Read 8895 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
Doom Bone Cutter
« on: June 02, 2009, 12:11:54 PM »
0
Just something tossed together and untested... hopefully will test it out tonight.

Code: [Select]
set %bones MNF_QNF_PNF_KNF_JNF_LNF_YNF_VNF_WNF_
set %bladetypes BNF_HSF_INF_GMH_RRH_MTF_GUO_XRH_CUO_OPO_XTH_BUO_ZTO_
+UOH_LPH_RMH_ZRF_NSF_BSF_LSF_BPH_SOH_JTF_VRH_NMH_TSF_JPH_NPO_ATF_FUO_

finditem %bladetypes C_ , #BACKPACKID
IF #findCnt < 1
{
  DISPLAY OK You need a knife to cut up bones. $ HALTED!
  HALT
}
set %cutter #findid

SUO:
repeat
  gosub scan
  wait 5
until #CharGhost = YES
while #CharGhost = YES
  wait 0
GoTo SUO

sub scan
  finditem %bones G_15
  if #findCnt < 1 || #targCurs = 1 || #lLiftedKind = 1
    return
 
  event property #findid
  if corpse in #property
  {
    ignoreitem #findid
    return
  }
 
  if bones in #property
  {
    set #ltargetid #findid
    set #lobjectid %cutter
    set #ltargetkind 1
    event macro 17 0
    target
    event macro 22 0
    return
  }
return
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: Doom Bone Cutter
« Reply #1 on: June 03, 2009, 05:25:32 AM »
0
That one worked, but was a little slow.... here's another.

Untested

Code: [Select]
set %bonetypes LNF_QNF_WNF_PNF_KNF_MNF_JNF_YNF_VNF
set %bladetypes BNF_HSF_INF_GMH_RRH_MTF_GUO_XRH_CUO_OPO_XTH_BUO_ZTO_
+UOH_LPH_RMH_ZRF_NSF_BSF_LSF_BPH_SOH_JTF_VRH_NMH_TSF_JPH_NPO_ATF_FUO_

finditem %bladetypes C_ , #backpackID
if #findCnt < 1
  gosub FindBlade
set %cutter #findid

gosub pausebuttonmenu
menu hideEUO

SUO:
repeat
  if #MENUBUTTON = pause
    gosub pause_script
  gosub bones
  ;gosub dispel_rev
until #CharGhost = YES
while #CharGhost = YES
  wait 0
GoTo SUO

sub bones
  if #targCurs = 1 || #lLiftedKind = 1
    return
  finditem %bonetypes G_15
  if #findkind <> -1
  {
    event property #findid
    if corpse in #property
    {
      ignoreItem #findid
      wait 5
      return
    }
    menu delete pause
    menu Font BGColor Red
    menu Button pause 0 0 115 45 Cutting...
    set #lobjectid %cutter
    set #ltargetid #findid
    set #ltargetkind 1
    event macro 17 0
    target
    event macro 22 0
    if you_may_not in #sysmsg || that_is in #sysmsg
      ignoreitem #findid
    wait 15
    menu delete pause
    menu Font BGColor Lime
    menu Button pause 0 0 115 45 Pause
  }
return

sub FindBlade
  set #targcurs 1
  display OK Please target your bladed weapon
  while #targcurs = 1
    wait 0
  set %cutter #ltargetid
return

sub dispel_rev
  if #targCurs = 1 || #lLiftedKind = 1
    return
  finditem HS_IS_ G_6
  if #findrep = 6
  {
    set #LTargetID #findid
    set #LTargetKind 1
    event macro 15 40
    target 3s
    wait 5
    event macro 22
    wait 2s
  }
return

sub pause_script
  set %script paused
  set #MENUBUTTON N/A
  menu delete pause
  menu Font BGColor Red
  menu Button pause 0 0 115 45 UnPause #followers / #maxfol
  while %script = paused
  {
    if #MENUBUTTON = pause
    {
      set %script unpaused
      menu delete pause
      menu Font BGColor Lime
      menu Button pause 0 0 115 45 Pause #followers / #maxfol
      set #MENUBUTTON N/A
    }
  }
return

;--------- EasyUO Menu Designer Code Begin ---------
sub pausebuttonmenu
  menu Clear
  menu Window Title
  menu Window Color BtnFace
  menu Window Size 113 44
  menu Font Transparent #true
  menu Font Align Right
  menu Font Name MS Sans Serif
  menu Font Size 16
  menu Font Style
  menu Font Color WindowText
  menu Font BGColor Lime
  menu Button pause 0 0 115 45 Pause
  menu Show 421 270
return
;--------- EasyUO Menu Designer Code End ---------
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 mardybm

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 1
  • mardybm has no influence.
  • Respect: 0
  • Referrals: 0
    • View Profile
Re: Doom Bone Cutter
« Reply #2 on: March 09, 2012, 10:13:35 AM »
0
Thanks Cerveza, this script always helps me to solo the Gauntlet. And btw it works fast, these summons dont even have a chance to appear  :)

Offline Khameleon

  • Script Tester - Team Leader
  • Elite
  • *
  • *
  • Posts: 2574
  • Activity:
    0%
  • Reputation Power: 30
  • Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!Khameleon is a rising star!
  • Gender: Male
  • Respect: +238
  • Referrals: 0
    • View Profile
Re: Doom Bone Cutter
« Reply #3 on: March 09, 2012, 03:15:45 PM »
0
I used to use it.. but he never toss's any bones the way I fight him :)

Offline lordraith

  • Jr. Member
  • **
  • Posts: 54
  • Activity:
    0%
  • Reputation Power: 1
  • lordraith has no influence.
  • Gender: Male
  • Respect: +3
  • Referrals: 1
    • View Profile
Re: Doom Bone Cutter
« Reply #4 on: March 09, 2012, 03:57:55 PM »
0
ooo this sounds sweet, ill have to run to doom to test this out this weekend....
Hey, if the Mayan's were right... at least we dont need to xmas shop this year... being lazy pays off, in the end. :D

Tags: Cerveza