Post Reply Home » Forums » EverQuest 2 » EverQuest 2 Premium Discussions

Anyone doing Harvesting/Gathering/Mining Marcos?... : EverQuest 2 Premium Discussions

Posted: November 29th, 2004
tault_meekal
I was looking for something that will get me upto like 40 in each so I can hit up Ant.....

I know in some of the more "noobish" areas it seems that the resources spawn in the same area mostly.

Post any ideas or comments.....


Also I have no problems starting to write some marco's but I am new to this, but I have about 3 years exp with C++, and another 2 years in theory (pseudo code, etc)

Thanks
Posted: November 29th, 2004
tault_smilie
This is high on my list to do - but I am not sure how to go about it.

If you have any ideas, please let me know.

You can use tab to auto-select and I should be able to setup a way to tell if you have a resource node selected or not. However, moving to the node and clicking on it to do the harvesting are going to be the big challenge. Is there a /harvest slash command or anything like that?
Posted: November 30th, 2004
tault_elsimer
no slash command I'm aware of but you can put harvest buttons from the knowledge book onto the hotbar to harvest. I use this to beat the node-stealers
Posted: December 1st, 2004
tault_2logikal
I like to think I am a pretty decent programmer however I only know a few of the commands in EQ2. So far I have gotten this:

1. The character systematically via a grid system I programmed walks around the map.
2. While walking around the map he is using auto-target (Tab) about once every half second.
3. If he spots a resource he will try the following: fishing, mining, trapping, gathering, collecting, and foresting

Now here lies the problem I cannot find a way to get him to stop or walk up the resource targeted, so he just keeps on running past the item and it says Interruped at the bottom of the screen.

I know I havent made much progress on this but if you know of a command in EQ2 that will tell me the /loc of my target, or that will simply make me automatically walk up to it. I could probably make this work.
Posted: December 1st, 2004
tault_nuad
Unfortunately there is no such comand in EQ2 and i have no idea how to solve this exept decoding and using the data packets send to the client.
Posted: December 1st, 2004
tault_2logikal
dang I kinda figured thats what you'd say... I havent really done that before anyway you can point me in the right direction?
Posted: December 1st, 2004
tault_nuad
Best i can tell you is to talk to ShowEQ Devs for help.
Posted: December 1st, 2004
tault_elsimer
don't know if this would be easier or harder or if it would work, but if you have the resource targeted (using the Tab button) you should be able to keep turning the character until the resource name is in the middle of the screen (ie straight ahead of the character) then keep walking forward a few units, stop, try to harvest, check to see if it says Too Far Away, move forward, repeat until you start harvesting. The trick is going to be sampling the screen (probably the entire screen) for the color code for that white border that goes around whatever is currently targeted. In the options you can also have an arrow coming down and that arrow would be white by default for a resource so you could search for that as well on the screen...
Posted: December 1st, 2004
tault_elsimer
as a followup, here's a quick and dirty pseudo-pseudo code that could work to do it. I think you'd need another nested While..End so that you search each pixel of the screen before doing the turn. You'd also want to go into first-person mode and level the camera on the horizon so that the distant resources appeared first. Even then, I'm not sure how well this macro would work on anything but a level area such as Antonica or Commonlands.

While $StillLookingForObject
Call FindResource
Delay 500
If XCoords <= $MaxXCoords
Compute XCoords=$XCoords+1
Else
Compute XCoords=1
If YCoords <=$MaxYCoords
Compute YCoords=$YCoords+1
End
End
End

Procedure FindResource
KeyDown $LeftTurn 1 sec // turn character to the left for 1 second
IsObject WhiteArrow AT $XCoords, $YCoords // check coords for the white harvesting arrow that appears on your target
Call MoveTowardsTarget
End // if it isn't there, we're going to change the place to look for them on the screen, searching each pixel until we've done the whole thing
End
Posted: January 25th, 2005
tault_relaxingatuf
What about making use of in game macros. I know that on the main eqiiforums there are a few threads describing using the emotes menu's tab for your own macros.

Using these, you could potentially trigger 2 of each of the mining/foresting types at a time, plus a few text commands. Find out whatever kp_dwnarrow or whatever it is is bound to, use that to stop motion, then when gathering is finished resume programmed pathing?

May free up some button use to use the macros in game to use two skills at once. Just an idea.
Posted: January 25th, 2005
tault_pickled
I'll be hopefully working on a Harvesting Script soon once I have finished the Ultimate Auto Attack Script - a lot of the new features I've produced in that can apply to harvesting techniques - albeit there are still some tricky issues to get my head around. The funny thing is I will be implementing it INTO my Auto attack script! So while you are beating up mobs, you will also MINE nearby resource (i've already got event checking put in place for this!!).

The secret to these macros is to AVOID pixel checks as much as poss (too much scope for error) and implement a fast checking alogorithim for position based on logfile information.

It can be achieved !
Posted: March 12th, 2005
tault_stigma
I assume this project was canned Pickled, since you don't play anymore? or?...
Posted: March 12th, 2005
tault_o0ofoulo0o
I thought it was already in his auto attack bot...but you needed a bow to do it.
Posted: March 12th, 2005
tault_akanon
Combat turning doesn't work for resource nodes...
Or rather, it's not supposed to. There is a memory address that stores the GhostID for your current target. I have found that if you target an NPC and change this to any valid ID, it will still let you combat turn, but it will turn to the resource node rather than whatever the real target is.
Another option would be an offset hack that simply directly allowed you to combat face anything. I'll work on this when I get home tonight - it seems interesting.
Posted: March 12th, 2005
tault_pickled
Stigma, you might want to note when I posted that about 2 months ago or something :)

Ak-Anon: Sounds cool, my script made use of the fact sony allowed you to 'combat face' with a bow (worked on resource nodes) lol, hence the reason I only made sure it was scouts trying to use the harvesting thing :)

I might come back to eq2 in years to come when it's more stable and not being patched every day, then it would be nice to write proper scripts using the game structs, all this pixel checking stuff is a bit lame :(

There are a few cool 'underground' projects already underway for eq2 it seems, that have it all hacked to bits. Of course these 'elite' groups aren't going to be releasing it to the 'general joe' like MQ did.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: Amazon [Bot] and 56 guests
Post Reply