Author Topic: From WinUO  (Read 1917 times)

0 Members and 1 Guest are viewing this topic.

Offline Travis82Topic starter

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 0
  • Travis82 has no influence.
  • Gender: Male
  • Respect: +1
  • Referrals: 0
    • View Profile
From WinUO
« on: October 15, 2009, 09:31:30 AM »
0
I'm from winuo a friend on formosa showed me this site, now I know where a bunch of you went. I been working on my tamer script I can attach that here for you all and let you pick it apart and do what you want with it or just use it to farm.

Nice to see you all again.

Travis

Code: [Select]
;===========================================================================
; Script Name: Travs Auto Discord/Peace Attacker
; Author: Travis
; Version: 0.81
; Shard OSI / FS: OSI Catskills
; Release Date: Oct,2,2009
; Purpose: Auto Discords and Peaces and sicks your pets on it
; Special Thanks: Cervez and Freddy, you helped alot with what you taught me
;===========================================================================
; What this does, Scans for Monster on screen you set when found discords or peaces it, sicks your pets on it
; If you take damage it will invis you to break target tell your pet to guard you heal you up and re target your baddie
; If your instrument breaks it gets a new one in pack if not it strait just kills




                                                        ;===== SETUP =====
set %hits #maxhits - 20
set %monster OJ_TE_TC_TH_CN_FD ; white wyrm OJ_TE_, swoops TC, Artic Ogre Lords TH, Changling CN, Demon FD
set %skill 15 ; set to 9 for peace set to 15 for disco
gosub setupinstrument
goto mainloop


;===== MAINLOOP =====
mainloop:
gosub instrument
gosub checkpoison
gosub checkHealth
gosub findid
gosub cleanup
;gosub loot



;===== FIND MOB =====
sub findid
finditem %monster G_12
if #findKind = -1 ; false
{
goto mainloop
}
gosub disco


;===== CLEANUP =====
sub cleanup
set %monstertemp 0
}
return



;=== setup instrument===
sub setupinstrument
finditem QRF_NRF_MQF_PRF_LQF_OQF_RPG ;find any instrument
set #LOBJECTID #findid
set %currentInstrument #findid
event macro 17 ;use object
}
return


;=== Sub Instrument ====
sub instrument

finditem %currentInstrument ;check for your current instrument in backpack
if #findkind = -1
{
;instrument was used up get new one
finditem QRF_NRF_MQF_PRF_LQF_OQF_RPG ;find any instrument
if #findkind = -1
{
DISPLAY You Need to get an instrument$
}
set %currentInstrument #findid ;reset current instrument id
set #LOBJECTID #findid
event macro 17 ;play instrument to default it to current instrument to use
wait 1s
}
return



;====-Sub Poison Check=====
sub checkpoison
if C in #charstatus
{
event macro 15 24 ; arch cure
target
event macro 23 0 ; target self
}
return



;===== SUB HEALTH CHECK =====
sub checkHealth
if #hits < %hits
{
msg all guard me$
event macro 15 43 ; cast invis
target
event macro 23 0 ; targetself
wait 2s
event macro 15 28 ; cast greater heal
target
event macro 23 0 ; targetself
}
return



;===== SUB Disco =====
sub disco
set %monstertemp #findID
set #lTargetID %monstertemp
set #lTargetKind 1
_disco:
event macro 13 %skill
target
event macro 22
gosub pets




; ===== SUB PET ATTACK =====
sub pets
msg all attack$
target
Event macro 22
wait 8s 14s
msg all guard me$
}
return

Offline _C2_

  • AFK FtW
  • Global Moderator
  • *
  • *
  • Posts: 4077
  • Activity:
    0%
  • Reputation Power: 48
  • _C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!_C2_ has great potential!
  • RIP Pen Trick
  • Respect: +254
  • Referrals: 4
    • View Profile
Re: From WinUO
« Reply #1 on: October 15, 2009, 11:59:23 AM »
0
I be thinkin' you need two posts.  one here and one in script debug!

I remember you - welcome to the site.  Many folks probably don't; toss out some more fun details.

Offline Travis82Topic starter

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 0
  • Travis82 has no influence.
  • Gender: Male
  • Respect: +1
  • Referrals: 0
    • View Profile
Re: From WinUO
« Reply #2 on: October 21, 2009, 06:07:35 AM »
0
Ok I moved to HK about a month ago Im learning Cantonese and I'm working on tutoring Chinese people in English for my job. I have little time for UO but im trying to script more so my scripts don't look horrid :)

Tags: