Thanks for response guys, encouraging stuff.
I have been coding like crazy on this and there are some
MASSIVE changes I'm proud to announce
.
Added and Testing:
Please note: none of these changes have been posted live here yet, to follow shortly upon testingCon Color Check - This really hurt my brain, but finally came up with FULLPROOF solution, works perfect, checks every Con Colour Possible eg. Green Solo, Green 1 up, Green 2up, Blue solo, Blue 1up.... ARGH all the way to RedCon2up - no more pulling Level 50 Mr. Raid Mob!!
Navigation!! - This was fun, if you try to pull a mob my script now RUNS TO THE MOB!! ( With this technique, I'll be developing a harvesting script next muhaha, will work nice if you are in a zone where the mobs are grey so no aggro ;] )
Option to turn off Navigation - Don't want to run around after mobs? Then dont!
Cannot see Target? - Check if target is behind something - and will give up and try another.
Intelligent Monster Selection - I love this, park your toon in an area full of mixed mobs (non-aggro types, say Anotonica North Scarecrows) and the script will AVOID all the GRP mobs with the new Con Color Checks and pull all the solo type mobs!!
I created a random process which CYCLES targets so you dont always just select the closest mob and if it STILL dosen't find a suitable mob it then rotates the character and starts the process again!
Death Check - Got Nailed?! Then Quit - Leave a message to let you know you died..
Aggro Checker - Aggro Checker implemented. A mob ADD on you while you are in battle? Well this can handle it now! - You better hope to god it's not a red con -> Death Check
Invited! - With all the testing, I'm constantly being invited and it !@#$%^&* me off - so implemented an auto decliner, INVITE AWAY YOU MORONS!!
Renewed Functions - Very clean functions now, all main Vars set to GLOBAL and easy to locate for future development.
Learnt the use of arrays and renewed functions that were BULKY (minimised code by about 50 lines :} ). Quality control is important, specially now that the script has exceeded 1000 lines :/.
Log File Parsing - Probably the most complex part, I've created a base function set to handle logging for ALL information and can check just about anything, this will be used for my harvesting script. Checks current log file isnt too big and will delete it and renew it (parsing Log files exceeding 100 Lines slows the script down to much).
Specially writes / reads log, then renews it so it dosent clutter up, keeping the script running at 100mph.
Pulling Class Type - Select your class and the script will play in a style of pulling that suits Priest/Mage (Nuke Pulling) or Scout/Guardian (Long Bow Pulling), correctly sets up delays based on casting / shooting times!
------------
Just need to do more testing to make sure its all hunky dory before release, then it's onto harvesting script.
{Edited out defamatory comments
}