Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Guadah

Pages: 1 ... 3 4 [5] 6 7 8
61
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 11:52:53 AM »
You need to wait for your target curser to appear before you click.

Code: [Select]
finditem %Pole C_, #backpackID
set #lobjectID #findID
event macro 17 0
set #targcurs = 1
while #targcurs = true
      {
       wait 1
       }
click %waterX %waterY
wait 8s

Edit #1
After I submitted this I looked at what I wrote, and since you only have one line after the 'while #targcurs = true', you should be able to take out the { and } and have this:


Code: [Select]
finditem %Pole C_, #backpackID
set #lobjectID #findID
event macro 17 0
set #targcurs = 1
while #Targcurs = true
       wait 1
click %waterX %waterY
wait 8s

Which looks cleaner and has 2 less lines.  You'll appreciate the ability to shorten your scripts once you get one that goes over 1000 lines.

That is how I would look to work it.

Edit #2
Thinking post submit again.  You probably don't understand some of what is there.  After you have a statement like 'while blah blah blah' anything that is within the { and } will be what is performed until your 'while' statement comes true.

So if you set your '#targcurs = 1' that will give you a target curser.  Anything in the { and } will be performed until you target something to make it = 0.

So if you did:


Code: [Select]
finditem %Pole C_, #backpackID
set #lobjectID #findID
event macro 17 0
set #targcurs = 1
while #Targcurs = true
      {
       wait 1
       event macro 1 0 I love fishing... ; (Event Macro 1 0 lets you 'say')
       event macro 19 0 ; (this will make you salute)
       }
click %waterX %waterY
wait 8s

This will set your curser as 1, and while waiting for you to target it will pause 1 second, say "I love fishing..." and salute over and over and over until you target.  Now I don't recommend this, but you get the idea of what the purpose is.

62
Character skill advancement / Re: Guadah's Multiskill Trainer
« on: August 18, 2011, 11:08:41 AM »
Love to hear that it gets used.  If you see something you want in it, or see somewhere that it can improve, just post and I'll see what I can do.

63
Scripting Chat / Re: My first scrip and need help seting it up
« on: August 18, 2011, 11:04:17 AM »
This may or may not work, but it's where I would start.

Code: [Select]
set %xpos ( #charposx + 1 ) ; sets the variable %xpos as one spot north
set %ypos ( #charposy + 1 ) ; sets the variable %ypos as one spot east
set %target ( %xpos + %ypos ) ; sets the variable %target as one spot north and one spot east
set #ltargetid %target ; sets the last target as %target, which is one spot north, one spot east.
event macro 22 0 ; targets last target

Again, this is just a guess but is where I would start troubleshooting.

64
Character skill advancement / Re: Guadah's Magery Trainer
« on: August 18, 2011, 05:19:35 AM »
I ran this for 5 hours last night, it counted everything in my suit and worked my skill to GM with no issues what-so-ever.  I don't support free-server modifications, but feel free to modify the script to your needs if you like.

65
Resource Farming / Re: frneo's Ter Mur Area Lumberjack v0.5 out 08/17
« on: August 18, 2011, 05:14:24 AM »
Ouch.

Did you have any runes marked near a moongate or player's house?  I make sure that none of my farming spots are near a place that has a chance at running into another person.  The more remote the better.

66
Resource Farming / Re: frneo's Ter Mur Area Lumberjack v0.5 out 08/17
« on: August 17, 2011, 07:49:16 PM »
Glad I can help.  I love the activity of the forums, and love to see active production of scripts.

Current session.
8 Locations with 3 Tree's at each.

2 Hours 8 Minutes
28480 Plain
9640 Oak
1080 Ash
3000 Yew
0 Blood
200 Heart
2740 Frost
Lots of Other Stuff
Logs/Hour 21063

No Issues what-so-ever.

67
Resource Farming / Re: frneo's Ter Mur Area Lumberjack v0.5 out 08/17
« on: August 17, 2011, 05:49:08 PM »
Not sure why it was having an error that time.

Currently I'm up to 8 Rune locations with 3 spots to pathfind at each.  Working flawlessly.  I've kept the tree's simple, short locations to get to in a straight shot.

68
Resource Farming / Re: frneo's Ter Mur Area Lumberjack v0.5 out 08/17
« on: August 17, 2011, 04:45:59 PM »
Just have a button on the Farming Menu (or second menu) that says Edit Options, which will bring it back up.

Update on this last test.  The Rune number of secure does not save when I hit Save Setup, also when I add a location to the list after I've already generated 1 per recall spot, it does not use it before recalling.

Example.  I have 16 spots saved, one tree at each spot.  I then set up 2 more at Recall location #1.  These two spots are set at the end of the list, and are not attempted until the 17th and 18th try, instead of 2nd and 3rd.  Not sure if that makes sense.

Edit:
Pathfinding is still not working in Felucca.  I set up rune 1 with 4 locations, in a row, about 4-5 tiles apart from each other heading north.  I went from tree one, paused for a bit with the message "You can not reach that" then it ran to tree 3, farmed, then said "You can not reach that" for tree four, then ran back to tree one (at that point I'm assuming it would recall to rune 2, but since I did not set it up, it ran back to rune 1 location.)  Attempted to farm, tree was empty and ran back to tree 3, rinse and repeat over and over.

Edit #2:
I set up 3 spots with 2 tree's at each, roughly 4-8 tiles away from the first tree (recall location).  It goes through all 6 tree were farmed, going to test out 3 tree's at each recall location, see if that works.

Continuation of Edit 2:
Seems to be working great.  So if somebody just sets up one rune to run around and farm, it does not like that mojo.  However I did find a bug while doing this.  If your recall location is blocked, your little bubba will just sit there and attempt to recall to that spot over and over and over keeping you stuck in a endless loop of not recalling.  Needs to select the next recall spot in the book and move on.

Edit #3
I found out the issue with Pathfinding that was causing an issue for me not farming from the next tree.  If you have to travel in a odd way, left right up left... it takes too long to get to the tree and he stops or does not farm.  So you need a clear shot and quick route to get to your tree.

69
Character skill advancement / Re: Guadah's Magery Trainer
« on: August 17, 2011, 04:43:07 PM »
Interesting.  Are you on a free server?  On OSI it reads my suit just fine.  However, I will fire it up and take a look regardless.

70
Resource Farming / Re: frneo's Ter Mur Area Lumberjack v0.5 out 08/17
« on: August 17, 2011, 04:37:42 PM »
As for the menu issue.  When you click start, have it delete the previous menu and start up up the new menu.  This way you don't need to have everything on the right side when the script first starts up.  The second menu will be smaller and you can fit in your Pause and Quit/Stop buttons.

71
Resource Farming / Re: frneo's Ter Mur Area Lumberjack v0.5 out 08/17
« on: August 17, 2011, 04:33:44 PM »
Started up the script and let it run while we left the house.  Around the 30 minute mark I became too encumbered to move and my guy just sat there waiting for me to come back.  My guy has 565 Max Weight he can hold and is carrying 574.  If it happens again, I'll make sure I post for you.

Good part is I got almost 1000 Frostwood.

72
Resource Farming / Re: frneo's Ter Mur Area Lumberjack v0.5 out 08/17
« on: August 17, 2011, 02:43:10 PM »
I haven't tested it, but will in a few.  We have to run out of the house again, so I'm going to let this guy just stack up my stock of wood.  Mother in law is still here.

You should toss a Pause and Quit button on the menu though, and have the menu disappear when the script is halted.

73
Crafting / Re: Guadah's Alchimests Assistant
« on: August 17, 2011, 02:19:44 PM »
Thanks Cake.  This was my favorite, still to this day.

74
Resource Farming / Re: frneo's Ter Mur Area Lumberjack v0.5 out 08/17
« on: August 17, 2011, 02:18:45 PM »
4 Hours 40 Minutes 53 Seconds
68440 Plain
18640 Oak
5880 Ash
220 Yew

Randomly marked runebook, Felucca Locations.

Lumberjacking went from 83.7 to 97.3

No major issues other then the small things I noted before, and this was with v0.3  Downloading v5 now and gonna fire it up while I work around the house.

75
Resource Farming / Re: frneo's Ter Mur Area Lumberjack v0.3 out 08/16
« on: August 17, 2011, 10:13:13 AM »
33 Minutes in.  Most of the spots I have I'm receiving "Not enough wood to harvest".  So I'm recalling from spot to spot until one of them is ready, which looks pretty darn suspicious.

Solution.  Back to my other post, ability to add more runebooks or pathfind around.  I may have a user error with the pathfinding though... wouldn't surprise me.  Anybody else have issues?

Pages: 1 ... 3 4 [5] 6 7 8