Warp Portal

All about the macro plugin can be found in this forum. This forum is intended for the macro plugin only.

Moderator: Moderators

Skepteek2
Noob
Noob
Posts: 9
Joined: 17 Mar 2013, 06:29
Noob?: Yes

Warp Portal

#1 Post by Skepteek2 »

Trying to make my bot warp himself on location from prontera,but auto macro doesnt work, bot makes warp portal only if i type in console macro warp otherwise trying to find other way to get in location
Any suggestions ?!

automacro warp{
location prontera 276 200
exclusive 1
run-once 1
call warp
}

macro warp {
do move 276 200
pause 2
do sl 27 271 200
pause 1
do warp 2
pause 5
do move 271 200
pause 2
release
}
}
Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: Warp Portal

#2 Post by Raider »

Skepteek2 wrote:Trying to make my bot warp himself on location from prontera,but auto macro doesnt work, bot makes warp portal only if i type in console macro warp otherwise trying to find other way to get in location
Any suggestions ?!

Code: Select all

location prontera 276 200
The automacro only triggers when you are at the coordinates 276 200 in prontera.
Skepteek2
Noob
Noob
Posts: 9
Joined: 17 Mar 2013, 06:29
Noob?: Yes

Re: Warp Portal

#3 Post by Skepteek2 »

automacro warp{
location prontera
exclusive 1
run-once 1
call warp

Same! Bot went to look for another way to get in map!
Raider
The Kore Devil
The Kore Devil
Posts: 672
Joined: 22 Feb 2013, 03:40
Noob?: No
Location: The Netherlands

Re: Warp Portal

#4 Post by Raider »

What happens when you remove the run-once and release?
Skepteek2
Noob
Noob
Posts: 9
Joined: 17 Mar 2013, 06:29
Noob?: Yes

Re: Warp Portal

#5 Post by Skepteek2 »

Macros works! But bot doesn't want to put loot in storage or take it from, he cast tele 2 because overweight but doesn't put anything in kafra and warp himself back to map and again!

automacro warp{
location prontera
exclusive 1
call warp
}

macro warp {
do move 276 200
pause 2
do sl 27 271 200
pause 1
do warp 2
pause 5
do move 271 200
pause 2
release
}
}
Wild Rose
Noob
Noob
Posts: 4
Joined: 08 Apr 2013, 06:59
Noob?: No

Re: Warp Portal

#6 Post by Wild Rose »

Skepteek2 wrote:Macros works! But bot doesn't want to put loot in storage or take it from, he cast tele 2 because overweight but doesn't put anything in kafra and warp himself back to map and again!

automacro warp{
location prontera
exclusive 1
call warp
}

macro warp {
do move 276 200
pause 2
do sl 27 271 200
pause 1
do warp 2
pause 5
do move 271 200
pause 2
release
}
}
i propose u add one more condition like, maybe it helps

Code: Select all

weight < 20% #put some appropriate value 
glennlevi
Plain Yogurt
Plain Yogurt
Posts: 58
Joined: 19 May 2011, 00:40
Noob?: Yes

Re: Warp Portal

#7 Post by glennlevi »

Skepteek2 wrote:Macros works! But bot doesn't want to put loot in storage or take it from, he cast tele 2 because overweight but doesn't put anything in kafra and warp himself back to map and again!

automacro warp{
location prontera
exclusive 1
call warp
}

macro warp {
do move 276 200
pause 2
do sl 27 271 200
pause 1
do warp 2
pause 5
do move 271 200
pause 2
release
}
}
First, clean up your macro. Missing some spaces and has an extra bracket. Try this:

Code: Select all

automacro warp {
location prontera
exclusive 1

call { 
do move 276 200 
pause 2 
do sl 27 271 200 
pause 1 
do warp 2
pause 5 
do move 271 200 
pause 2
release
}
}
So what I see in your macro is that kore opens a warp portal everytime you are in pront right? Are you sure your server allows casting skills like this in town?
Also you mentioned that it doesnt store anything. You dont have anything in your macro with regards to storage. I assume that your warp portal goes to another town so you can do storage there? If so, did you already edit your config.txt and itemcontrol.txt to make it ready for auto storage? You have a lot of missing info with what you intend to do. Please clarify so we can help you better.