How would i make Eq2Harvest do..

srabo

Active Member
I basicly want to figure out a way to delete specific items from harvest nodes without haveing to delete everything that could be gained from that node. On my own i basicly read through the whole script and copy and pasted the Destroymeat portions of the script and renamed them DestroyPorousLoam. Basicly this was a test to see if i could actually delete the loam i got from the ore without deleteing it all. I even modified the UI so it has a checkbox under the Destroymeat textbox. However it doesnt seem to work LOL which isnt a suprise. I only partially understood the code which most likely means i made some mistakes, just wondering if there is a more simple way.
 

nyder

Well-Known Member
off hand I would say you could make another script that will delete certain items you get.

something that runs independant of the harvestbot.

While i'm not sure of the commands I would use, it would be something along the lines of this:

Check to see if what new item you just harvested.
Then it would compare the name of the item to an xml file.
Then, depending if it was on a keep or destroy list, would be wether it deletes it or not.

all in all, not very hard to make.

You have most of what you need in the harvestbot script anyways.


This is something I could whip up this weekend when I get some time, if someone else doesn't do it before then.
 

Blazer

Active Member
This can already be done. You need to tick to delete the node.
Then go into the xml config for the char, and add in the items you want to keep from that node.
 

srabo

Active Member
Blazer said:
This can already be done. You need to tick to delete the node.
Then go into the xml config for the char, and add in the items you want to keep from that node.
Forgive me, but i am unfamiliar with the term you used. What does it mean to tick? Also, where in the xml config for the character do i add the new settings. And If you could give me a quick example of a line which i am to add in the xml, I would much appreciete it
 

Blazer

Active Member
With regards to destroy, I actially mean that you need to click the DESTROY button for that particular node. However after looking through the code, I realised that was something I never finished in that version, because it existed in the version previous to that.

Sorry about that. This will be in the new version that I am working on atm.
 

Cr4zyb4rd

Active Member
I realised that was something I never finished in that version, because it existed in the version previous to that.
It's still in there (at least in my latest version, around line 1100), iirc a variable called KeepResource gets set for each particular item. There's just no UI for it and no skeleton in the default XML to tell joe user how to get it working.
 

Blazer

Active Member
Ah yeh your right lol, i guess i missed that part.
You need to edit your character config file scripts\eq2harvest\character config\blazer.xml and add the following at the end of the file, but before the </InnerSpaceSettings>

Just add in the name of the resource (replace 'ENTER THE ...'), and the quantity (below its 20).

<Set Name="RESOURCE name you want to keep and how many">
<Setting Name="ENTER THE ACTUAL RESOURCE NAME HERE">20</Setting>
</Set>
 
Top Bottom