1
Scripting Chat / stacking boards
« on: October 06, 2009, 03:30:11 PM »
can anyone give me some tips on how to go about writing a script to stack boards into 60k piles, i got a few hundred stacks to deal with.
thx
thx
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
set %JewelTypes AXS_TWS_UWS_VWS_ZWS_GXS_BVJ_GVF_EVF_UVF_VUF_FVF_RVF_HVF_OVF
sub tinker
set %making %1
_tinker_retry:
finditem %TinkerToolTypes C_ , #backpackid
set #lobjectid #findid
event macro 17
gosub contwait craft 5
if %contwait = false
goto _tinker_retry
if %tinkerlast = %making
{
;_tinker_makelast:
gosub clickmod 282 413
click %x %y f
wait %wait_craftgump
gosub contwait craft 5
gosub clickmod 29 413
click %x %y f
return
}
if %making = tinker
{
set %tinkerlast tinker
gosub clickmod 28 112
click %x %y f
wait %wait_craftgump
gosub contwait craft 5
gosub clickmod 232 131
click %x %y f
wait %wait_craftgump
gosub contwait craft 5
gosub clickmod 29 413
click %x %y f
}
if %making = shovel
{
set %tinkerlast shovel
gosub clickmod 28 112
click %x %y f
wait %wait_craftgump
gosub contwait craft 5
gosub clickmod 383 271
click %x %y f
wait %wait_craftgump
gosub contwait craft 5
gosub clickmod 234 71
click %x %y f
wait %wait_craftgump
gosub contwait craft 5
gosub clickmod 29 413
click %x %y f
}
return
;;;;;;;; this is the clickmod sub below
sub clickmod
set %x #contposx + %1
set %y #contposy + %2
return
;=======================================;
; Script Name: Necromancy Trainer ;
; Author: Remaker ;
; Version: 1.0 ;
; Client Tested with: 6.0.6.1 ;
; EUO version tested with: 1.5 build 132;
; Shard OSI / FS: OSI Tested ;
; Public Release: ;
; Purpose: Train Necromancy from 30-120 ;
; Opens backpack to keep you ;
; Logged in. ;
; __ __ __ __ __ __ __ ;
; | || |/ `| || \|__ |__)|__ ;
; |__||__|\__.|__||__/|__ | \ __| ;
; http://www.uocoders.com/ ;
;=======================================;
;Choose your skill cap
set %skillcap 1200
chooseskill necr
event macro 8 2
mainloop:
if #skill = %skillcap
gosub end
if #skill < 300
display Train your necromancy and restart the script
HALT
while #skill >= 300 && #skill < 499 ;pain spike
{
event macro 8 7
if #mana > 5
event macro 23 0
gosub meditation
goto mainloop
}
while #skill >= 500 && #skill < 699 ;horrific beast
{
event macro 8 7
if #mana > 11
event macro 15 106
wait 3s
gosub meditation
goto mainloop
}
while #skill >= 700 && #skill < 899 ;wither
{
event macro 8 7
if #mana > 23
event macro 15 115
wait
gosub meditation
goto mainloop
}
while #skill >= 900 && #skill < 1099 ;lich form
{
event macro 8 7
if #mana > 23
event macro 15 107
wait 5s
gosub meditation
goto mainloop
}
while #skill >= 1100 && #skill < 1200 ;vampiric embrace
{
event macro 8 7
if #mana > 23
event macro 15 113
wait 3s
gosub meditation
goto mainloop
}
sub meditation
if #mana < 23
{
event macro 13 46
wait 10s
}
return
sub end
display Congrats! You're Done!
HALT
return