ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: dreamzcaster on August 19, 2009, 10:27:08 AM
-
Ok here is my idea. I have most of the script done (ie auto-taming and mage killing and paragon killing) now I want to fix some problems that i have when the ridgebacks walk away. For those who are unsure of what I am talking about refer to the pict below which shows where the script takes place. It is the savage camp in ilsh.
Often the ridgeback run away and as such my guy follow tames them. Well occasionally they wander off or occasionally he can not find them because he has been following one too far away and then he just stands there looking stupid. I wanted to have him return to the start if after 15 or 20 seconds he did not find any ridgebacks to tame. Then have him walk around either one of the two paths in the second picture looking for a ridgeback at which point he would tame kill and then return to the start. While path 2 in yellow seems more likely to find stray ridgebacks I find that path 1 in red seems to work fairly well at picking them up.
My questions are: 1. How the heck do I get him to do that?
2. Which one of the paths would be the easiest to script for?
(http://i30.tinypic.com/16hrjte.jpg)
Here are the path ideas I was thinking of which do you think would be easier?
(http://i32.tinypic.com/14l52qa.jpg)
Any help would be greatly appreciated.
-
How about a figure 8?
-
I like that idea too. But I dunno how hard that would be.
-
Here is the first step - having him return to the start position if he does not find a ridgeback
but so far it is not moving him around
I am simply trying to get him to move to the position without any of the taming part yet but he moves not.
any ideas of what I am doing wrong here
set %movex 1277 ; x co-ordinate of start position
set %movey 770 ; y co-ordinate of start position
initevents
finditem %tametype G_15
if #findkind = -1 2
gosub home
sub home
set %x %movex . %mark
set %y %movey . %mark
move %x %y 0
return
P.S. I have taken a lot of this from other sources and am merely trying to adapt it to my needs so a lot of it I do not understand. I thought that I had it right when I set up the co-ordinates and then gave the instruction to move to x and y but he does not budge. Any help would get me started. Thanks
-
Yes. You're taming ridgebacks in the wrong place. :)
-
Yes. You're taming ridgebacks in the wrong place. :)
What are my x and y co-ordinated incorrect
-
If i am not mistaken you z coridinate is 0 at this point but where you want him to walk to is it z there? I have found issue in the past where if the z cord. was to far off it would just stand there.
-
No, there's a better place to tame ridgebacks is what I'm saying. There's another savage camp in Illshenar.
-
This one has two ridgebacks and as soon as you kill one the next one spawns so I find this to be the perfect spot :)
-
This one has two ridgebacks and as soon as you kill one the next one spawns so I find this to be the perfect spot :)
I've tamed at both. The other is better by far. There's WAY more ridgebacks, and they spawn really fast there also. :) Edit: And you don't have to worry about buildings getting in the way, or a ridgeback walking into one and getting you stuck.
-
I appreciate the advice but as I am attempting to write a script based around taming ridgebacks these two seem to spawn in almost the exact place every single time. As such it is the place where I have based the script. While I understand that the other one has better spawn and lacks the building issue; I can really only tame one ridgeback at a time so 2 or 20 makes no difference. As far as the building issue my new script attempts to deal with that but I have yet to give it a extended test run but so far so good (we shall see:)). As I have solved the issue of movement I was having by working on this script all morning I am most certainly not changing it to the other spawn spot but I really do appreciate the advice. We should probably just agree to disagree as I don't really feel like getting off topic any further.
P.S. if you really want to help you might test out what I have written and read through it and see what you think. I am a total newb at writing and this is the first script I have ever written so you will probably think is sucks but any feedback or support would really help.
-
Maybe you should just trust me then and move your script to the easier place to tame ridgebacks. :) There's WAY less spawn to get in your way too. I know what I'm talking about because I've written scripts in both places to do EXACTLY what you are doing. The other spot is way better, *I AM TRYING TO HELP YOU*. Do what you will tho. Enjoy.
-
Are you talking about the location pretty much north of that main camp, Twinkle McNugget? It's up by the shrine thing (really just a garden spot)
-
Left from Compassion gate TM, through the mountain hole, then up along the wall. Like 5 to 8 ridgebacks spawn there and you just make a loop to tame them and search in a 10 tile range or something. No getting stuck or worrying about too much spawn at all. The moutain hole is by the gypsy camp to the left of the Compassion gate.
-
Getting back on topic. What issues are you having with the script now and what did you do to fix the other problem DC?
-
Left from Compassion gate TM, through the mountain hole, then up along the wall. Like 5 to 8 ridgebacks spawn there and you just make a loop to tame them and search in a 10 tile range or something. No getting stuck or worrying about too much spawn at all. The moutain hole is by the gypsy camp to the left of the Compassion gate.
Yup, that's the one I'm thinking about. I agree that spot is probably better since there's really no spawn unless you wander too far west. I've trained there many times because the spawn is so good.
-
Exactly. I've trained in both spots, using a lot of different taming scripts, and when I decided to write my own, that was the only choice of the two. No houses to worry about. Just that one rock outcropping that gets you stuck once in a blue moon.
-
There is use for other spot, so perhaps dreamcasterz location is useful. Just about everyone and their grandma trains up in the spot we're talking about, so perhaps it would be useful to have the script be able to handle both locations to give the scripter a training option. Just a thought....
-
I worked pretty hard at it and it is almost ready for release to others but I would appreciate any debugs specifically the one where after it kills a paragon there is a pause and then it continues. I don't get why it does this but if you are interested I can PM it to you can you can check it out for yourself.
-
Hi,
why don't you just post your script in the debug area ?
I am sure there are a few people around who for sure like
to check out your script and help debug :-)
cu
-
Here is the link to my actual debug thread I was more so looking for movement ideas to get the script to do what I wanted but I figured it out. As far as debug you can PM me as I have requested in this thread to keep things a little more organized. Thanks
http://www.scriptuo.com/index.php?topic=2379.msg17911#new
-
If you're planning on releasing it anyways, just post it here so people can help. Simple.
-
If you're planning on releasing it anyways, just post it here so people can help. Simple.
I feel a little like I am being attacked for no reason so I will release it when I am ready. Thanks.
-
dreamzcaster, It's just easier to help debug when you have the complete code. It's hard to debug in bits and pieces, so you shouldn't take the enthusiasm of others the wrong way; you might drive away those who are looking just to help you test.
Just be thankful there's a community that's willing to look at your code and respond constructively.
-
It will be posted shortly someone is looking at it first and then I will post it for all. Cheers