You are on page 1of 4

;======================================================

; Script Name: Hosebomber's 0-100 Arms Lore Script


; Author: Hosebomber
; Version: 1.2
; Client Tested with:
; EUO version tested with:
; Shard OSI / FS: OSI
; Revision Date: 2-07-06
; Public Release: 4-04-05
; Global Variables Used: N/A
; Purpose: Raise Arms Lore from 0-GM.
;======================================================
;Version Change 1.2
;Added SE and ML items Thanks to Eden13
;Version Change 1.1
;Added Skinning Knife
;Fixed slight bug of not counting gain off first lore attepmt to the
; "gains this cycle"
;Menu clean-up... (Showing N/A until first attempt is complete)
;======================================================
;DIRECTIONS
;Open bags containing multiple Items onto your screen.
;The more Items the better... I personally used 750 Daggers which I GMed off of.
;This script will use all craftable Non-SE items. (except clothing of course)
;Daggers, Butcher Knives, and Skinning Knives are perfered.
;If you fail to gain in a cycle the script will stop and tell you to get new ite
ms.
;Arms lore is target based (like poisoning) and you must gain before being able
to
; gain off prior items.
;After opening all of your bags press play and wait to GM.
;Props to CEO... used part of his coding for menu display
;======================================================
INITEVENTS
;All craftable items and hats
set %Target GMH_TSF_BNF_LJN_NVI_AWI_TVI_CWI_JKH_NJL_KKH_HKH_VKH_
+QKH_ALH_XKH_YKH_MLH_LLH_SK_YSK_ATK_USK_OSK_SSK_
+YPH_VPH_BQH_CQH_PPH_CZH_JWI_GZH_EWI_BWI_JJN_VVI_
+WVI_XVI_YVI_IWI_HWI_KWI_GSH_OSH_TSH_FIK_GIK_CIK_NIK_
+AIK_MIK_HLK_CLK_FUO_ATF_NPO_JPH_NMH_VRH_JTF_SOH_
+BPH_LSF_BSF_NSF_ZRF_RMH_LPH_UOH_HSF_ZTO_BUO_XTH_
+OPO_CUO_XRH_GUO_MTF_RRH_VTH_YSF_BUH_AUO_TRH_
+ZTH_RKO_LKO_NKO_DLO_PKO_WOH_USF_LMH_QPO_PPO_
+FSF_DMH_ZPF_QMH_OIK_CSF_ZRF_MPH_LPH_MSF_BSF_KPO_
+GUO_KTF_JTF_BPH_EPH_ZSF_ATF_JPH_SOH_POH_NMH_OMH_
+LPO_ZTO_XTH_YTH_HSF_KSF_NPO_XPO_FUO_JPO_QPF_NPF_
+KPH_FYG_RHM_JDP_EDP_YCP_KDP_LDP_HDP_ZCP_FDP_DDP_
+ADP_IDP_XCP_RFR_NFR_SFR_EFR_YFR_XFR_DFR_KFR_GFR_
+LFR_HFR_IFR_MFR_FFR_JFR_VFR_BFR_WFR_CFR_VER_PFR_
+WER_QFR_RWO_GCP_UBP_OWO_LCP_SWO_GWO_CCP_NCP_
+OCP_GWO_CCP_SWO_OWO_RWO_NCP_OCP_GCP_UBP_LCP_
+ECP_IJQ_BAS_MAS_ZZR_CAS_OAS_LAS_MWO_NWO_FCP_PCP_
+TBP_RBP_DCP_QWO_DWO_SBP_VBP_FWO_PCP_NWO_WBP_
+MWO_LWO_FCP_TBP_ZBP_RJQ_UJQ_TJQ_QJQ_JJQ_PJQ_GJQ_
+OJQ_ZIQ_NJQ_MJQ_AKQ_LJQ_
;Do you want the script to hide you? (1 = yes / 0 = no)
set %hide 1
;Set your delay here (default is 17) may be slightly higher if you lag.
set %delay 17
;***************************************************************
;*** Config section ends here - Do not edit past this line ***
;***************************************************************
set %cycles 0
set %attempts 0
set #menubutton n/a
set %starttime #SCNT
chooseSkill Arms
set %start #skill
set %skill #skill
set %cyclegains 0
if #skillLock = locked
{
Display OK Your Arms Lore is locked.$
+Please Set your Skill to raise and restart the script.$
HALT
}
if #skillLock = down
{
Display OK Your Arms Lore is pointed down.$
+Please Set your Skill to raise and restart the script.$
HALT
}
gosub showLoreMenu
ignoreitem reset
goto Main_Loop
Main_Loop:
gosub Hide
gosub Lore
gosub skill_update
gosub menu_update
goto Main_Loop
sub Lore
finditem %Target
if #findkind = -1
{
set %cycles %cycles + 1
goto CycleReset
}
ignoreitem #findid
set #ltargetid #findid
set #ltargetkind 1
event macro 13 4
target
event macro 22
wait %delay
set %attempts %attempts + 1
return
CycleReset:
if %cyclegains = 0
{
Display OK You can't gain anymore from these targets.$
+Restock with new ones and press play.$
Halt
}
set %cyclegains 0
ignoreitem reset
goto Main_Loop
sub menu_update
if #menubutton = hide
set %hide 1
if #menubutton = Stop
{
menu clear
menu Font Align Left
menu Font Size 28
menu Font Style b
menu Font Color Red
menu Font Transparent #true
menu text status 25 15 Script Halted!
HALT
}
menu Font Align Right
menu Font Style b
menu Font Color Lime
menu Font BGColor InfoText
menu delete current
menu Text current 115 25 %skill
menu delete Attempts
menu Font Color Red
menu Text Attempts 260 5 %attempts
menu delete Cycles
menu Font Color Lime
menu Text Cycles 260 45 %cycles
menu delete CycleGains
menu Text CycleGains 260 25 %cyclegains
return

sub skill_update
chooseSkill Arms
if #skill > %skill
{
set %cyclegains %cyclegains + 1
menu window color red
wait 5
menu window color black
}
if #skill = 1000
gosub GM
set %skill #skill
set %totalgains %skill - %start
return

sub Hide
if %hide = 1
{
if h in #charstatus
return
EVENT macro 13 21
wait 12s
gosub Hide
}
return
sub GM
menu clear
GM_Loop:
menu Font Size 26
menu Font Style b
menu Font Color Red
menu Font Transparent #true
menu text status 50 15 Woot GM!!!
set %c1 #random % 255
set %c2 #random % 255
set %c3 #random % 255
menu window color %c1 , %c2 , %c3
wait 2
menu window color black
wait 2
menu delete status
goto GM_Loop
;--------- EasyUO Menu Designer Code Begin ---------
sub showLoreMenu
menu Clear
menu Window Title Hosebomber's Armslore
menu Window Color Black
menu Window Size 278 70
menu Font Transparent #true
menu Font Align Right
menu Font Name MS Sans Serif
menu Font Size 8
menu Font Style b
menu Font Color Lime
menu Font Align Left
menu Font BGColor InfoText
menu Text Startlabel 5 5 Starting Skill
menu Text Currentlabel 5 25 Current Skill
menu Text CyclesThrough 125 45 Cycles Completed:
menu Font Color Red
menu Text TotalAttempts 125 5 Total Attempts:
menu Font Color Lime
menu Font Align Right
menu Text start 115 5 %start
menu Text current 115 25 %skill
menu Font Align Left
menu Text Attempts 260 5 %attempts
menu Text Cycles 260 45 %cycles
menu Font BGColor Black
menu Text Gainsthiscycle 125 25 Gains This Cycle:
menu Text CycleGains 260 25 %cyclegains
menu Font Style bu
menu Font BGColor InfoText
menu Button hide 5 45 60 20 Hide
menu Font Style b
menu Font Color WindowText
menu Font BGColor Red
menu Button Stop 75 45 20 20 S
;menu HideEUO
menu Show 730 25
return
;--------- EasyUO Menu Designer Code End ---------

You might also like