ScriptUO

Official ScriptUO EasyUO Scripts => Site Scripter Libraries => Endless Nights' Script Library => Topic started by: Endless Night on December 22, 2009, 05:46:50 AM

Title: (Retired) ENs - Subs - Imbuing
Post by: Endless Night on December 22, 2009, 05:46:50 AM
ENs - Subs - Imbuing
Version 1.0  Release Date: Dec 2009

============================================

ABOUT
Callable Subs for all things imbuing.  Combine with the crafting subs for a winner.

Features:
This is part of ENs new sub series. These subs are callable and self contained. If you call the EN_SubRegisterAndInitialize function it will register all the subs and such into memory.  Most people wont need this

Pathing:
All Ens subs and scripts will defaulty be using this directory c:\Easyuo\ENs-Scripts\
Thierfor to save on editing if you use a bunch of my scripts i recommend you create the approirapte directory and save the file thier so save you from editing the header block of each of my scripts.

How To Use:
See top op script for callable sub definations and posts below

Example of usage:
See top op script for Examples of usage and posts below

Future Features: (some might never make it)
- Support of imbuing Reciepe Format (multi-Imbue)
- Support of Caterogy/selection via Textname ie Hit_fire_area not 3 3

Feedback:
Feedback both negative and postive are defiantly more than welcomed and encouraged.  Same with feature requests .. no guaranettee will make it into the code .. but it might.


Disclaimer/Usage License: -- See Script for full Details.

THIS IS A CALLABLE SCRIPT ONLY ... DO not cut and paste into your script

(C) 2007 All Rights Reserved JosephAJ
Commercial usage requires written permission from the author


NOTE: My scripts or any derivative of them are *not* for use in other players script/s!  
Title: Re: ENs - Subs - Imbuing
Post by: Endless Night on December 22, 2009, 06:04:51 AM
UnRavel Containor Example Script.
Code: [Select]
; Header / Initialize
set #lpc 150  ; Recommend at least this amount for the intensive calling
set %Ens_Scripts C:\easyuo\ENs-Scripts\
set %Ens_ImbuingSubs  %Ens_Scripts , ENs-Subs-Imbuing

; Code
Display ok Target Containor In Backpack to Unravel
set #targCurs 1
Repeat
  wait 1
Until #targCurs <> 1
set %UnravelBag  #lTargetID

call %Ens_ImbuingSubs  Ens_UnravelContainor   %UnravelBag
;call %Ens_ImbuingSubs  Ens_UnravelContainorOneItemAtATime  %UnravelBag
halt
Title: Re: ENs - Subs - Imbuing
Post by: Endless Night on December 22, 2009, 06:09:51 AM
Imbue Example Script
Code: [Select]
; Header / Initialize
set #lpc 150  ; Recommend at least this amount for the intensive calling
set %Ens_Scripts C:\easyuo\ENs-Scripts\
set %Ens_ImbuingSubs  %Ens_Scripts , ENs-Subs-Imbuing

; Code
Display ok Target Item In Backpack to Imbue
set #targCurs 1
Repeat
  wait 1
Until #targCurs <> 1
set %ImbueItemId  #lTargetID

Call %Ens_ImbuingSubs  ENs_ImbueItem %ImbueItemID 3 3 Hit_fire_area_44  Top Down Down Down
If ! #result
  display ok Somewhere along the line it failed - try again ??
Halt

Title: Re: ENs - Subs - Imbuing
Post by: Endless Night on December 22, 2009, 08:14:49 AM
Reserved For Future Usage
Title: Re: ENs - Subs - Imbuing
Post by: Endless Night on January 02, 2010, 07:45:32 AM
Anyone actually use this for anything ... any comments ??