21
Scripting Chat / Re: Auto Reg Buyer
« Last post by Crisis on March 07, 2024, 07:03:47 PM »I run this, used it on Origin a month ago https://www.scriptuo.com/index.php?topic=3099.0
You might think about using drop-down menus like my Inscription script. It will make for a more compact UI I think.
yes, i know it.
i'm using a normal small ship and old fishes itemid is in the script...Quotesub cutfish
set !temp_LOBJECTID #LOBJECTID
set !temp_LTARGETID #LTARGETID
set !temp_LTARGETKIND #LTargetKind
menu Get EUOCheckBox13 ; carve fish?
if #MENURES = #TRUE
{
set #LTargetKind 1
finditem EQD_FQD_GQD_DQD_UYZ_ZYZ_LMZ C_ , #BACKPACKID
if #FINDCNT > 0
{
gosub Defend NULL %autodefend_against %offencetype %defencetype 10
for #FINDINDEX 1 #FINDCNT
{
event property #FINDID
if caught , #SPC , by in #PROPERTY
{
gosub TM_GetItemWeight #FINDID
menu get EUOEdit1
if #RESULT >= #MENURES
continue
}
set #LOBJECTID %blade
set #LTARGETID #FINDID
event macro 17 0
target 3s
event macro 22 0
wait 20
}
}
}
can't figure how to make it work again
sub cutfish
set !temp_LOBJECTID #LOBJECTID
set !temp_LTARGETID #LTARGETID
set !temp_LTARGETKIND #LTargetKind
menu Get EUOCheckBox13 ; carve fish?
if #MENURES = #TRUE
{
set #LTargetKind 1
finditem EQD_FQD_GQD_DQD_UYZ_ZYZ_LMZ C_ , #BACKPACKID
if #FINDCNT > 0
{
gosub Defend NULL %autodefend_against %offencetype %defencetype 10
for #FINDINDEX 1 #FINDCNT
{
event property #FINDID
if caught , #SPC , by in #PROPERTY
{
gosub TM_GetItemWeight #FINDID
menu get EUOEdit1
if #RESULT >= #MENURES
continue
}
set #LOBJECTID %blade
set #LTARGETID #FINDID
event macro 17 0
target 3s
event macro 22 0
wait 20
}
}
}
I'm playing on Official shards atl, using v 3.2 of the script. v 3.1 worked a couple months back but started giving the Runebook issue today so tried 3.2 and still the same problem.