l2walker Attempt at script (return town/buff/etc)

05/01/2010 03:24 morning21#1
server l2dreams
I want the bot to return to town using soe every 30 min or so to rebuff at npc. Return to location and farm. The only thing that i got working is getting it to click on the gatekeeper and nothign else lol. I'm noob at this.

"moveto" doesn't work, i have move to the gatekeeper manually...sad
"dlgsel" doesn't work, suppose to select the buffs i wanted.

thanks for the help.

///// Check if you are dead, and return you to city /////
label(start)
{
charstatus(hp,<=,0)
set(fightstop)
gohome()
set(l2walker,disable)
delay(3000)
}
MOVETO(43634,-48024,-792)
MOVETO(43880,-48027,-792)
MOVETO(43959,-47762,-792)
NPCSEL(Beryl the Cat[ID=31774])
Delay(1000)
NPCDLG(Beryl the Cat[ID=31774])
Delay(1000)
DLGSEL(View list of available Magical Support.)
Delay(500)
DLGSEL(Fighters)
Delay(500)
DLGSEL(Chant of Victory)
Delay(500)
DLGSEL(Mental Shield)
Delay(500)
DLGSEL(Resist Shock)
Delay(500)
DLGSEL (Chant of Protection)
Delay(500)
DLGSEL(Chant of Spirit)
Delay(2000)
MOVETO(43877,-47707,-792)
NPCSEL(Ilyana[ID=31320])
Delay(1000)
NPCDLG(Ilyana[ID=31320])
Delay(1000)
DLGSEL(Medium Level Zones)
Delay(500)
DLGSEL(cemetary)
Delay(10000)
MOVETO(51632,-78224,-3432)
MOVETO(51632,-78224,-3438)
MOVETO(51600,-78065,-3448)
MOVETO(52249,-78410,-3360)
MOVETO(54103,-78651,-3344)
MOVETO(54646,-78970,-3224)
MOVETO(55752,-80124,-3192)
MOVETO(55179,-81670,-2848)
Set(FightStart)
DELAY(2700000)
Set(FightStop)
Delay(5000)
UseItem(Scroll of Escape[ID=736])
Delay(5000)
JMP(Start)
// Mana Pot Script By AdlerBR
//
Label(INICIO)
//>>> Start use mana pots when mana is at 50%
CharStatus(MP,<,50)
{
Label(MANA)
USEITEM(Mana Potion[ID=728])
//>>>>> 30 seconds Delay
DELAY(30000)
//>>>> If the mana is below 70% use mana pot again
CharStatus(MP,<,70)
{
Call(MANA)
}
}
DELAY(5000)
Call(INICIO)


Edit: this has nothing to do with the script i think. Sometimes the bot just stops working, it'll do the first atk then it just stands there, then death.
05/04/2010 11:08 morning21#2
anyone?

I'm using l2walker2.17h IG with l2wbypass2. Edited the config.ini with the ip to l2dream server. everything verified ok. bot working fine but script section isn't. is it becuz i didnt' do the loopback thing?
05/24/2011 18:34 crangka#3
whre town to hunt and come back after dead