viniculum8
Active Member
Code:
function main(int FromLevel, int ToLevel)
{
variable int i = 1
if ${FromLevel} <= 0 || ${ToLevel} <= 0
{
echo "BAD SYNTAX"
return
}
Me:CreateCustomInventoryArray[nonbankonly]
wait 5
do
{
if !${Me.CustomInventory[${i}](exists)}
continue
if !${Me.CustomInventory[${i}].Tier.Equal[TREASURED]}
continue
if ${Me.CustomInventory[${i}].Attuned}
continue
if ${Me.CustomInventory[${i}].NoValue}
continue
if ${Me.CustomInventory[${i}].Crafter(exists)} && ${Me.CustomInventory[${i}].Crafter.Length} > 0
continue
if ${Me.CustomInventory[${i}].IsContainer}
continue
if ${Me.CustomInventory[${i}].Level} < ${FromLevel} || ${Me.CustomInventory[${i}].Level} > ${ToLevel}
continue
echo "DEBUG:: Transmuting ${Me.CustomInventory[${i}]}."
Me.CustomInventory[${i}]:Transmute
wait 5
do
{
waitframe
}
while ${Me.CastingSpell}
wait 750 ${RewardWindow(exists)}
RewardWindow:Receive
wait 15
}
while ${i:Inc}<=${Me.CustomInventoryArraySize}
press ESC
echo "Script Ended."
}
Extension: isxeq2.dll
Extension Crash Info: Crash unhandled by custom extension
Inner Space: Inner Space Kernel 1.09 Build 5039 (Thu Aug 20 22:36:48 2009)
Crash: 0x087D5611: Exception 0xc0000005 reading from address 0x00000001 in module isxeq2.dll
_________________
_CUT OUT MODULES_
_________________
LavishScript Execution Stack:
-----------------------------------
${Me.CustomInventory[${i}].Tier.Equal[TREASURED]}
!${Me.CustomInventory[${i}].Tier.Equal[TREASURED]}
Running Scripts:
-----------------------------------
transmute