ciao a tutti uso questo script:
;========================================
; Script Name: Poison Trainer
; Author: Dishkuvek, ideas from Dark Noxious script "Noxious Poisoning"
; Version: 0.1
; Client Tested with: 5.0.6c
; EUO version tested with: 1.5 (build 97)
; Shard OSI / FS: OSI
; Revision Date: 11.15.06
; Public Release: 11.15.06
; Purpose: Train poisoning skill from 0.0 - 100.0
;========================================
; Usage:
; This script assumes the following:
; 1. You have magery and can cast (LRC, regs, AC)
; 2. You have a poison crate (of the appropriate level)
; in your backpack along with a (one) fish steak (cooked).
; 3. You have some empty bottles (5 is a safe number).
; 4. You have two secured containers near you. One you
; will want to fill with poison kegs of the appropriate
; level. For now this is up to you, I will add automatic
; choosing of poison level later, but for now follow this:
;
; Poison Skill: Poison Level:
; 0-40 Lesser Poison
; 41-70 Normal Poison
; 71-89.1 Greater Poison
; 89.2-100 Deadly Poison
;
; The other secure container is for keeping empty kegs.
; What the script does:
; This script will pull a poison keg from the supplycrate and
; drop it in your backpack. It will then fill a bottle and attempt
; to poison a fishsteak. The script will keep you hidden throughout
; all this. If you poison yourself (which happens), it will cure you
; and then heal you. If you run out of kegs, the script will stop.
;
; I went from 0 to GM with this very script, it worked very well for me.
;; HERE WE GO!
set %backpack #backpackid
; These loops grab the ID of your two containers
set #ltargetid N/A
display OK Target the crate containing your poison kegs.
set #targcurs 1
loop:
if #targcurs = 1
goto loop
finditem #ltargetid
set %supplycrate #ltargetid
set #ltargetid N/A
display OK Target the crate that you want to put empty kegs in.
set #targcurs 1
loop:
if #targcurs = 1
goto loop
finditem #ltargetid
set %emptycrate #ltargetid
; Set some vars
set %pot AVF
set %fish HND
set %keg QMJ
deletejournal
event macro 8 7 ; Opens your backpack and positions it
wait 20
contpos 572 422
; Main routine
main:
gosub hide
gosub poison
gosub cure
gosub heal
goto main
; Run Poisoning Skill
sub poison
finditem %keg C_ , %backpack
if #findkind = -1
{
gosub newkeg
}
set #lobjectid #findid
event macro 17 0
wait 25
scanjournal 1
if keg_is_empty in #journal
{
gosub newkeg
}
deletejournal
event macro 13 30 ;use poison skill
scanjournal 1
if you_must_wait in #journal
{
wait 4s
event macro 13 30
}
deletejournal
finditem %pot C_ , %backpack
if #findkind = -1
{
event sysmessage Can't find potion, will try to make another one.
gosub poison
}
set #ltargetid #findid
event macro 22 0
wait 25
finditem %fish C_ , %backpack
if #findkind = -1
{
display OK You need a fish steak in your pack.
halt
}
set #ltargetid #findid
event macro 22 0
wait 8s
return
sub cure
if C in #charstatus
{
repeat
{
event macro 15 24
target 4s
event macro 23 0
}
until C notin #charstatus
}
return
sub heal
if #hits < #maxhits
{
repeat
{
event macro 15 3
target 2s
event macro 23 0
}
until #hits = #maxhits
}
return
sub hide
if H notin #charstatus
{
event macro 13 21
wait 12s
}
return
sub newkeg
finditem %keg C_ , %backpack
if #findkind <> -1
{
gosub dumpkeg
}
set #lobjectid %supplycrate
event macro 17 0
wait 20
contpos 20 20
wait 20
finditem %keg C_ , %supplycrate
if #findkind = 0
{
event macro 8 7
wait 20
contpos 572 422
wait 20
set %newkeg #findid
event drag %newkeg
wait 10
click 641 506 p
wait 10
click 90 90 r
wait 10
}
else
{
display ok No kegs available!
halt
}
return
sub dumpkeg
set #lobjectid %emptycrate
event macro 17 0
wait 20
contpos 20 20
wait 20
finditem %keg C_ , %backpack
set %emptykegid #findid
event drag %emptykegid
wait 10
click 70 70 p
wait 20
click 70 70 r
wait 20
return
funziona perfettamente solo mi si inceppa quando stà salvando o quando fà il clean resources... vorrei sapere se qualcuno di voi è così gentile da modificare lo script inserendogli il comando detect save e detect resources così almeno non si bloccherebbe + e di conseguenza nn dovrei stare a controllare ogni tanto che nn si sia inceppato (nervi saldi asd) :P
oppure potete darmi un'altro script per macrare (in casa o in banca nn fa differenza) poisoning con i keg... che sia automatico ovviamente... fatemi sapere aspetto risposte... ciao a tutti
;========================================
; Script Name: Poison Trainer
; Author: Dishkuvek, ideas from Dark Noxious script "Noxious Poisoning"
; Version: 0.1
; Client Tested with: 5.0.6c
; EUO version tested with: 1.5 (build 97)
; Shard OSI / FS: OSI
; Revision Date: 11.15.06
; Public Release: 11.15.06
; Purpose: Train poisoning skill from 0.0 - 100.0
;========================================
; Usage:
; This script assumes the following:
; 1. You have magery and can cast (LRC, regs, AC)
; 2. You have a poison crate (of the appropriate level)
; in your backpack along with a (one) fish steak (cooked).
; 3. You have some empty bottles (5 is a safe number).
; 4. You have two secured containers near you. One you
; will want to fill with poison kegs of the appropriate
; level. For now this is up to you, I will add automatic
; choosing of poison level later, but for now follow this:
;
; Poison Skill: Poison Level:
; 0-40 Lesser Poison
; 41-70 Normal Poison
; 71-89.1 Greater Poison
; 89.2-100 Deadly Poison
;
; The other secure container is for keeping empty kegs.
; What the script does:
; This script will pull a poison keg from the supplycrate and
; drop it in your backpack. It will then fill a bottle and attempt
; to poison a fishsteak. The script will keep you hidden throughout
; all this. If you poison yourself (which happens), it will cure you
; and then heal you. If you run out of kegs, the script will stop.
;
; I went from 0 to GM with this very script, it worked very well for me.
;; HERE WE GO!
set %backpack #backpackid
; These loops grab the ID of your two containers
set #ltargetid N/A
display OK Target the crate containing your poison kegs.
set #targcurs 1
loop:
if #targcurs = 1
goto loop
finditem #ltargetid
set %supplycrate #ltargetid
set #ltargetid N/A
display OK Target the crate that you want to put empty kegs in.
set #targcurs 1
loop:
if #targcurs = 1
goto loop
finditem #ltargetid
set %emptycrate #ltargetid
; Set some vars
set %pot AVF
set %fish HND
set %keg QMJ
deletejournal
event macro 8 7 ; Opens your backpack and positions it
wait 20
contpos 572 422
; Main routine
main:
gosub hide
gosub poison
gosub cure
gosub heal
goto main
; Run Poisoning Skill
sub poison
finditem %keg C_ , %backpack
if #findkind = -1
{
gosub newkeg
}
set #lobjectid #findid
event macro 17 0
wait 25
scanjournal 1
if keg_is_empty in #journal
{
gosub newkeg
}
deletejournal
event macro 13 30 ;use poison skill
scanjournal 1
if you_must_wait in #journal
{
wait 4s
event macro 13 30
}
deletejournal
finditem %pot C_ , %backpack
if #findkind = -1
{
event sysmessage Can't find potion, will try to make another one.
gosub poison
}
set #ltargetid #findid
event macro 22 0
wait 25
finditem %fish C_ , %backpack
if #findkind = -1
{
display OK You need a fish steak in your pack.
halt
}
set #ltargetid #findid
event macro 22 0
wait 8s
return
sub cure
if C in #charstatus
{
repeat
{
event macro 15 24
target 4s
event macro 23 0
}
until C notin #charstatus
}
return
sub heal
if #hits < #maxhits
{
repeat
{
event macro 15 3
target 2s
event macro 23 0
}
until #hits = #maxhits
}
return
sub hide
if H notin #charstatus
{
event macro 13 21
wait 12s
}
return
sub newkeg
finditem %keg C_ , %backpack
if #findkind <> -1
{
gosub dumpkeg
}
set #lobjectid %supplycrate
event macro 17 0
wait 20
contpos 20 20
wait 20
finditem %keg C_ , %supplycrate
if #findkind = 0
{
event macro 8 7
wait 20
contpos 572 422
wait 20
set %newkeg #findid
event drag %newkeg
wait 10
click 641 506 p
wait 10
click 90 90 r
wait 10
}
else
{
display ok No kegs available!
halt
}
return
sub dumpkeg
set #lobjectid %emptycrate
event macro 17 0
wait 20
contpos 20 20
wait 20
finditem %keg C_ , %backpack
set %emptykegid #findid
event drag %emptykegid
wait 10
click 70 70 p
wait 20
click 70 70 r
wait 20
return
funziona perfettamente solo mi si inceppa quando stà salvando o quando fà il clean resources... vorrei sapere se qualcuno di voi è così gentile da modificare lo script inserendogli il comando detect save e detect resources così almeno non si bloccherebbe + e di conseguenza nn dovrei stare a controllare ogni tanto che nn si sia inceppato (nervi saldi asd) :P
oppure potete darmi un'altro script per macrare (in casa o in banca nn fa differenza) poisoning con i keg... che sia automatico ovviamente... fatemi sapere aspetto risposte... ciao a tutti
Commenta