Rock5's version of teleport
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: Rock5's version of teleport
With the issue of not being able to use skills in the treasure event, I would just disable all skills in the onload for the WP and see how that goes.
I wouldn't add it to the skills check for bot when it is literally just that 1 zone you can't use normal skills.
I wouldn't add it to the skills check for bot when it is literally just that 1 zone you can't use normal skills.
Remember no matter you do in life to always have a little fun while you are at it
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: Rock5's version of teleport
Some NPCs have trouble with "ChoiceOption" for some reason, such as the housekeeper inside your residence. In such cases you can use
So for instance to leave the house you would use
The first argument litterally isn't used at all. I don't know why they included it. I used "__" instead of a number or something because I think it makes it clearer, but you can make it any value, even nil.
I don't know if this is your problem but try it and see.
Code: Select all
SpeakFrame_ListDialogOption(__, option)
Code: Select all
RoMScript("SpeakFrame_ListDialogOption(__, 1)")
I don't know if this is your problem but try it and see.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's version of teleport
@Lisa
I've never seen the code for disabling all skills. Could you post it?
@Rock
I'll give that a try tomorrow.
Here's the elemental candle check and teleport code. Let me know if you can see the problem. So far each thing that I've tried to stop it from the odd behavior hasn't worked. At first I thought it was "hopping" around. Last time I noticed it was actually trying to teleport to a previous waypoint/coordinates. Besides the unintentional movement, it does what I intended. Finds the candle, teleports closer to it, lights it and then returns to the previous coordinates.
I've never seen the code for disabling all skills. Could you post it?
@Rock
I'll give that a try tomorrow.
Here's the elemental candle check and teleport code. Let me know if you can see the problem. So far each thing that I've tried to stop it from the odd behavior hasn't worked. At first I thought it was "hopping" around. Last time I noticed it was actually trying to teleport to a previous waypoint/coordinates. Besides the unintentional movement, it does what I intended. Finds the candle, teleports closer to it, lights it and then returns to the previous coordinates.
Code: Select all
function getecandle()
local lastpllocx = 0
local lastpllocz = 0
local lastpllocy = 0
player:update()
local cecandle = player:findNearestNameOrId("Elemental Candlestick")
local lastpllocx = player.X
local lastpllocz = player.Z
local lastpllocy = player.Y
if cecandle then
-- goto ecandle
teleport_SetStepSize(40)
teleport(cecandle.X, cecandle.Z) -- teleport to above ecandle
teleport(cecandle.X + 1, cecandle.Z, cecandle.Y +15) -- teleport in range to click ecandle
-- click ecandle
player:target(cecandle)
yrest(100)
player:target_Object("Elemental Candlestick", nil, nil, true);
yrest(1000)
player:update()
teleport(lastpllocx,lastpllocz,lastpllocy)
end
end
Scout/Knight/Rogue 70/66/66
Re: Rock5's version of teleport
You might want to teleport back up before teleporting to last know pos because it will go in a straight line and possibly the intermedient teleports might be too low.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's version of teleport
The odd movements happen before it even teleports down to the candle coordinates. It does them even if it doesn't detect a candle, just whenever I call the function.
Scout/Knight/Rogue 70/66/66
Re: Rock5's version of teleport
I think you can disable all skills as mentioned in this postkanta wrote:I've never seen the code for disabling all skills. Could you post it?
Other thing ... maybe it is better to post ideas belonging to an Ancient Treasure waypointfile in e new thread in the corresponding waypoint section of the forum, because its more clear then and it might be a little off topic here, although it implements some parts of the teleport userfunction.rock5 wrote:1.2.Code: Select all
for k,v in pairs(settings.profile.skills) do v.AutoUse = true end
3.Code: Select all
changeProfileSkill(skillname, "AutoUse", true)
Code: Select all
changeProfileSkill(skillname, "priority", 100)
Re: Rock5's version of teleport
Ya, I had already done this back on the 23rd of December.... I think you'll notice I actually started the new AT thread? Best to check post dates sometimes.Rickster wrote:Other thing ... maybe it is better to post ideas belonging to an Ancient Treasure waypointfile in e new thread in the corresponding waypoint section of the forum
Scout/Knight/Rogue 70/66/66
Re: Rock5's version of teleport
cool, i will have a look at it. i did not do so yet
Re: Rock5's version of teleport
rock5 is there still the
Or is there a possibility to port to a point exactly like I would use a port stone?
of 120?maximum distance you can teleport
Or is there a possibility to port to a point exactly like I would use a port stone?
Beer: The cause of, and solution to, all of life's problems.
Thnx to all of those who are working their ass off for us dumb asses
Thnx to all of those who are working their ass off for us dumb asses
Re: Rock5's version of teleport
Teleport makes use of the fact that the server might not know exactly where you are because of lag in communication. So when your client says it's 120 away from where the server thinks you are (because of the hack) then it gives you the benefit of the doubt and allows it. If it's more than 120 it doesn't. The server wont allow teleport over large distances because it knows there is no way you could have traveled that distance normally.
So the answer is no.
So the answer is no.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Rock5's version of teleport
Thnx a lot rock not only for given a simple answer but also giving me a good explanation of the mechanic behind that!
I wish I could make a apprenticeship having you as a instructor. I'm well interested (not only for selfish season) to learn HOW things work. You, lisa and all of the others doing great stuff with your knowledge.
I wish I could make a apprenticeship having you as a instructor. I'm well interested (not only for selfish season) to learn HOW things work. You, lisa and all of the others doing great stuff with your knowledge.
Beer: The cause of, and solution to, all of life's problems.
Thnx to all of those who are working their ass off for us dumb asses
Thnx to all of those who are working their ass off for us dumb asses
- Lamkefyned
- Posts: 348
- Joined: Thu May 23, 2013 11:38 am
- Location: Spain
Re: Rock5's version of teleport
Error .....
waypoint
waypoint
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<!-- # 1 --><waypoint x="5157" z="-2549" y="115"> teleportToWP(2) </waypoint>
<!-- # 2 --><waypoint x="4501" z="-2422" y="103"> </waypoint>
If you think something is right just because everyone else believes,you're not thinking.
Re: Rock5's version of teleport
Is that your whole waypoint file? Because it should end with
Code: Select all
</wayponts>
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
- Lamkefyned
- Posts: 348
- Joined: Thu May 23, 2013 11:38 am
- Location: Spain
Re: Rock5's version of teleport
Thank you
If you think something is right just because everyone else believes,you're not thinking.
Who is online
Users browsing this forum: Ahrefs [Bot] and 5 guests