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

HarvestBot 311 : EverQuest 2 Premium Discussions

Posted: June 2nd, 2005
thewatcher
Please see full changelog in rar for other's contributions.

5-20-05 Watcher
Pretty much a total rewrite for v300, so many little improvements I
forget them all, starting to get pretty comfy with VB now (this is
my first time reading or writing in VB), Converted to class based
for as much as made sense, tried to include any fixes from 2.06 as
much as made sense.
Got rid of a lot of globals
Added key config for nearest PC targeting
Added Playontells.
5-21-05 Watcher
Added MaxHarvestAttempts
Clarified comments in ini file (hopefully)
Added Harvest anyway flag to resources
Added MaxHarvestAttempts
Added DeleteMe in ini file to force editing
Release 3.00
5-22-05 Watcher
Fixed bug with DeleteMe being required to be set to false
instead of being deleted
Fixed bug in token parser where ,str would chop off the 's'
(used in ini file reads and would cause problems if you
removed the space after the comma.
Wandering improved to prevent short walks that made no sense.
Now uses TextOutput object to draw on screen.
5-23-05 Watcher
Updated Feerot zone with animal den instead of manticor den
in INI file.
Added Keyboard handler routine during sleeps
NOTE: be careful hacking DoSleep, it's recursive.
Added 'Enter detect' routine to permit chatting.
Added F11 key to quit bot cleanly.
5-24-05 Watcher
Added RunToRange in INI file.
Added Chat and Shutdown key config in INI file.
Speeded up navigation routine by a LOT.
Added tracking of resources harvested to prevent trying to
'reharvest' nodes, it seems the script moves too quick
for the service to keep up so it was trying to harvest
nodes twice.
Added SleepBetweenHarvests for tweeking without messing with code.
Added code to switch hotbar back to normal on CLEAN exit.
Added ClosestFirst flag to harvest closer nodes before distant
ones even if it causes lower priority nodes to be
harvested before higher priority.
5-27-05 Watcher
Added Idle check while harvesting to catch 'too far away' type problems.
5-29-05 Caused movement routines to move much less botlike including
not pausing at pass through points (those with MaxWander of 0)
Found log entry for too far away, stops harvest when found.
5-29-05 Release v310
5-31-05 Watcher
Programatically removed spaces from node names in Zone section.
Optimized CastBuffs to use less time when not casting buffs.
Separated Harvesting into it's own file.
Added, run from mob, if using waypoints don't harvest if HP is less
than full to get some distance from the mob that hit us.
Added some log processing checks to catch tells when not harvesting.
Changed nav routines to be less botlike and MUCH faster, stops only to
harvest or to turn around if facing > 90 in the wrong direction.
6-02-05 Watcher
Added check for pet and recasting of pet when he dies.
Added more on screen info including time to next buff.
Revamp of basic logic flow for cleaner execution.
Further optimization of movement routines.
6-03-05 Watcher
Release v3.11
Posted: June 2nd, 2005
tallaron
hehe, you must of been tired...your ini for this version says 310 and you have Antonica in there 3 or 4 times :lol:

Man I hope the rest of the script isn't like this, hehe
Posted: June 2nd, 2005
thewatcher
Crap, new version inc. Ok, 312 is up but the link still points here for comments, etc... and yea, I hope so too ).
Posted: June 3rd, 2005
tallaron
Is the buff suppose to count even when you have it set for 0 buffs? It also counts -12, -13, -14 and so on, is that right direction?

Bot misses some nodes but I love the way he runs around and upped my range to see if it fixes the misses some. version 310 would miss one every now and then too but I guess that can be expected with how fast he moves now.

Nice job again!
Posted: June 3rd, 2005
thewatcher
[quote="tallaron";p="66236"]
Is the buff suppose to count even when you have it set for 0 buffs? It also counts -12, -13, -14 and so on, is that right direction?

Bot misses some nodes but I love the way he runs around and upped my range to see if it fixes the misses some. version 310 would miss one every now and then too but I guess that can be expected with how fast he moves now.

Nice job again!
[/quote]

All toons have some buffs they need so I ddn't put in code for if you have no buffs, guess I could.

As far as missing nodes, it happens occasionally but then again if you've got him on a route he'll catch it next time... and that won't take long. I'd like to see a human harvester work as quickly...
Posted: June 3rd, 2005
redman
[quote="thewatcher";p="66237"]
I'd like to see a human harvester work as quickly...
[/quote]

Haha, especially one without Radar!

RedMan
Posted: June 3rd, 2005
hurricane989
Thanks for the release thewatcher.. Was just wondering if you found/updated the problem people were having with 'autorunning backwards' after you'd get stuck.. Myself and a few others are having that problem in 3.10
Posted: June 3rd, 2005
thewatcher
You have just given me all the information I have on it (again) and since I don't have the issue myself I really have nothing to go on, let me know if 3.12 has the same problem or not, I reworked the nav routines a bit and may have inadvertantly fixed it *grin*
Posted: June 3rd, 2005
hurricane989
So far having the following issues with 3.12 that differ from 3.10:

After starting the bot and finding a resource, it will continue to press the harvest key around every second or so, not waiting till after you harvest like in 3.10.

Also, when finding a bad or stuck node, doesn't seem to move on to another one like in 3.10.
Posted: June 3rd, 2005
minor723
Wow, I actually got this working. I must say this is awesome. Now with the problems.

Its crashing eq2 with a message something like

c:\live ... directx9renderdevice.cpp


Ring a bell? Tell me if now and ill get full message, it just locks up my computer when it happens.
Posted: June 3rd, 2005
minor723
Ok this problem happens after every node, and crashed eq. I ill post my code and the error. It looks like its trying to find some file in a folder that dosent exist.

Code: Register to unlock hidden link


; ini file for HarvestBot version 3.11

[Harvester]


;DebugLevel	= 0-10		Generally 1 is sufficient if you're not debugging, 0 to turn
;				off all but the extreme basics 10 will generate a LOT of data.
DebugLevel    	= 8

;Avoidplayers 	= True/False	If True, this will mark a node bad if another player is nearby
AvoidPlayers  	= True

;CampOnEnd    	= True/False	if True will camp to desktop once harvesting ends
CampOnEnd     	= False

;EraseBadSpawns= True/False     if True will erase bad spawn locations when moving to
;				a new location
EraseBadSpawns	= True

;ClosestFirst	= True/False	If True will harvest the closest node first leaving that
;				top priority item for later when we are closer.
ClosestFirst	= True

;MaxHarvestAttempts = 20	How many times should we attempt to harvest a node before
;				marking it bad and moving on.
MaxHarvestAttempts	= 20

;RunToRange = 8			How close do we get to a what we are running to before we
;				stop and consider ourselves 'there'.
;				Use caution playing with this.
RunToRange	= 8

;				We just sent the harvest command, how long before we do so
;				Again?  Think of 600 as 6 seconds.
;				Use caution playing with this, you can easily slow
;				your bot down more than you speed it up.  Strangely enough 
;				you can speed your bot up as easily by increasing this as
;				by decreasing it... use caution.
SleepBetweenHarvests	= 600

;QuitonTimeout	= True/False	End script you have not harvested in timeout minutes.
QuitonTimeout	= False

;Timeout	= #		Max time in minutes since last harvested item before
;				Quitting if QuitOnTimeout is True and you get stuck
;				or some other unforseen event happens
Timeout		= 15

;QuitOnTells	= True/False     /q if you recieve a tell
QuitonTells	= False

;PlayonTells	= True/False	Should I play a sound when you get a tell?
PlayonTells	= True

;TellSound	= filename.wav	This wav file will be played if the above is true.
;				This file MUST be a wav file and must be in the scripts folder.
;				If you set PlayonTells it will NOT quit on tells even if
;				QuiteOnTells is true.
TellSound	= ding.wav

;Hotbar		= #		number of the hotbar 0-9 that you have the harvesting hotkeys
;				on, if hotbar is 0 hotbars will not be used.
Hotbar		= 5

;defaultzone	= zonename	this is the zone the script will assume you are in
;				ONLY if the zone detected is not defined in the script
defaultzone	= The Enchanted Lands

;EQ2Path	= directory	directory where EQ2 is installed and must end with \
;
EQ2Path		= C:\Program Files\Sony\EverQuest II\

;	Here you configure your keys, The forward key MUST be your AutoRun key!
;	NearestPC is the key to target the nearest pc, normally F7
;	You can also reconfigure your jump key if needed.
;	Chat is the key you wish to pause the bot and chat with, ENTER is a good
;	choice because it also starts the chat at the same time.
;	Shutdown is the key to shutdown the bot, please use this instead of F12
;	since F12 aborts the script and prevents a clean shutdown and releasing of
;	memory as well as closing files.  It is best to use this when NOT running
;	to anything.
;	PetSpellName is the name of the spell to cast your pet, if you have no pet
;	you can	safely ignore this, if you DO have a pet the script will find it
;	if you have it up when you start the script and it will try to recast it if
;	it dissapears

[KeyConfig]
Forward		= Q
Backward	= s
Left		= a
Right		= d
Jump		= {SPACE}
NearestPC	= {F7}
Chat		= {ENTER}
ShutdownBot	= {DEL}
;PetSpellName	= Tellurian Soldier

[Resources]
;nodetype	= #, #, True/False	first number is Priority and is 0 based,
;		IMPORTANT NOTE:	you can NOT have 2 of the same priority, if
;				you do only the last of that priority will be used.

;				True/False harvest this type of node?
;				If you use hotbars third is the hotkey
;				Last is do you continue to harvest this when it becomes 
;				Trivial.  If you are just trying to level your harvesting
;				set all of these to false.
COLLECT	= 0, True, 6, False
MISC	= 1, True, 3, False
ORE	= 2, True, 1, False
STONE	= 3, True, 1, False
WOOD	= 4, True, 3, False
SHRUB	= 5, True, 2, False
DEN	= 6, True, 4, False
FISH	= 7, True, 5, False
ROOTS	= 8, True, 2, False
FUNGI	= 9, True, 2, False


;This section is for defining the buffs for your characters.   Set the section name to 
;your characters first name ie [Johnydoe]
;NumofBuffs	= #		set this to the number of buffs you wish to cast
;Buff#		= 		name, duration in min, cast time in seconds,
;  The name MUST be spelled correctly, it is used to cast the spell.
[Char]
Numofbuffs	= 1
buff1	= Quiet Purity,   10, 2
Rest of code left out on purpose.

here is the image of the error.


Attachments:
Register to unlock hidden image
New Bitmap Image.bmp (30.74 KiB) Viewed 528 times
Posted: June 3rd, 2005
danabug
I get the same thing as the 2 posts above me. Crashes to desktop with the same error
Posted: June 3rd, 2005
thewatcher
Excellent idea with that screen shot, the error it gives was useless to me, well, it says that the DX9 code crashed, but it does make me wonder abotu your screen resolution and if that might be a problem, I use 1024x768. the shot looks like the text is at the extreeme left of the screen, is that so or is that just the way you cut the shot?

Have you guys run other scripts? Any problems?
Posted: June 3rd, 2005
h4lc0n
ok I just tried this new version and it does still have the auto-backwards problem.

you say you're not having this issue but in case you want to know what's the exact problem we have, try hitting the backwards key (usually 'S') and then autorun key (usually NUMLOCK)... notice your char begins moving backwards?

hope you get a fix soon, this version really looks good if it wasn't for this issue =)
Posted: June 3rd, 2005
thewatcher
[quote="h4lc0n";p="66301"]
ok I just tried this new version and it does still have the auto-backwards problem.

you say you're not having this issue but in case you want to know what's the exact problem we have, try hitting the backwards key (usually 'S') and then autorun key (usually NUMLOCK)... notice your char begins moving backwards?

hope you get a fix soon, this version really looks good if it wasn't for this issue =)
[/quote]

Umm, do I understand right that you can duplicate this by hitting (and holding?) thebackwards key then hitting the autorun? If so that would be the first usefull clue to this issue.

Edit:
Ok, I assume that you are not doing something silly like hitting these keys while the bot is running, based on that assumption.

I have tried every combination I could find of hitting the autorun and backward keys, I even added numlock to the autorun set of keys but nothing happened that should not have. If you can duplicate this problem please give more detail on how to do so.
Ready to join the community? Click here and see all of the benefits!
blue large dotWho is online
Users browsing this forum: No registered users and 48 guests
Post Reply