Other than those, in strecky's library there are also functions GetPartyDanger, GetAgentDanger and GetPseudoDistance - worth mentioning?

I can try to explain

Code:

_('ScanUseHeroSkillFunction:')
AddPattern('8D0C765F5E8B')

The Pattern you see here is a BYTE-Pattern. Somewhere in your RAM there is a "Region" that is reserved for GW. Within that Region theres another Region where you find the Byte-String above.

Code:

8D0C765F5E8B

means

Code:

8D 0C 76 5F 5E 8B

So somewhere in our GW-Memory we will find these 6 Bytes in exactly that order.
The Function "Hex(GetScannedAddress('ScanUseHeroSkillFuncti on', -0xA1), 8)" will do this for us ... it search the Memory for the Pattern and returns the Adress in our Memory where Byte-String is located.
The -0xA1 at the end means the the Function we are searching for (UseHeroSkill) isn't exactly located at the found address as it is -0xA1 Bytes before.
So back in 2015 when GW got updated the address of the UseHeroSkill-Func got another static address and the whole pattern part needed an update.
BTW: The Address is used in the ASM-Part of GWA2 which directly accesses the CPU, and yeah a wrong address lets GW crash/whatever ^^

$lOffset[3] = 0x6F0 is correct (GetSkillbar)

$lOffset[3] = 0xAC is correct (GetAttributeByID)

Within the Event-Func:
Yeah, just delete the GetAgentByID() in every Line ^^

The other Func ... well its the nature of an API that it will grow up by time.
Should't be a Problem, just be careful if a new Func contains Stuff like SendPacket and/or $Offsets as they need to be up-to-date, too!

I'm not super worked into the coding of bots but I've modified them to my likings a couple times already which brings me to my question.

I noticed that the bots I indended to use all have the Pickuploot and Ident functions for their actions but I couldn't find where they are defined. Am I correct that these are just the default GW functions to pickup and identify everything and that I have to write my own small functions if I want to filter some stuff out (like keeping golds unidentified and not pick up all random dyes) or did I miss something else?

I'm not super worked into the coding of bots but I've modified them to my likings a couple times already which brings me to my question.

I noticed that the bots I indended to use all have the Pickuploot and Ident functions for their actions but I couldn't find where they are defined. Am I correct that these are just the default GW functions to pickup and identify everything and that I have to write my own small functions if I want to filter some stuff out (like keeping golds unidentified and not pick up all random dyes) or did I miss something else?

The fragmentation of core library builds between bots makes it not that simple.
Don't be lazy, get a proper editor, like Notepad++, search for the functions in bot libraries, check out what the functions actually do and then think what you must additionally write in bot script to get desired result.
AutoIt language is simple, slightly annoying, but it doesn't chop your arms off, so invest time in it, and you'll see how easy it all actually is. Invest time and you'll be wiser.

I'm not super worked into the coding of bots but I've modified them to my likings a couple times already which brings me to my question.

I noticed that the bots I indended to use all have the Pickuploot and Ident functions for their actions but I couldn't find where they are defined. Am I correct that these are just the default GW functions to pickup and identify everything and that I have to write my own small functions if I want to filter some stuff out (like keeping golds unidentified and not pick up all random dyes) or did I miss something else?

So it depends on what script you running... Example if you are running the Kilroy script on this post, you can easily edit the script itself and search for Ident and CanPickUp fuctions to prevent it from ID, and to pick up certain modelId...

Now if you turn into the Vaettir script that is posted on here...it's a bit different. First you'd need to go into the gwApi and edit global to false on the PickUpAll,Tomes,ect (everything that you do not want it to pick up to false)...then you'd have to go into the library under items and make sure its only modelId set to return true are the ones you looking for...Similar for the ID, it should go under the Inventory library and you edit it from there... like i said it depends on what type of script you are trying to run.

Also don't listen to anyone telling you "don't be lazy do it yourself" and stuff...You are asking for help its not like you are asking for someone to do it for you.

So it depends on what script you running... Example if you are running the Kilroy script on this post, you can easily edit the script itself and search for Ident and CanPickUp fuctions to prevent it from ID, and to pick up certain modelId...

Now if you turn into the Vaettir script that is posted on here...it's a bit different. First you'd need to go into the gwApi and edit global to false on the PickUpAll,Tomes,ect (everything that you do not want it to pick up to false)...then you'd have to go into the library under items and make sure its only modelId set to return true are the ones you looking for...Similar for the ID, it should go under the Inventory library and you edit it from there... like i said it depends on what type of script you are trying to run.

Also don't listen to anyone telling you "don't be lazy do it yourself" and stuff...You are asking for help its not like you are asking for someone to do it for you.

Thanks that helped a lot.
One of the bots was indeed the Vaettir bot. I haven't edited a bot yet which had these api functions so nicely split up in seperate files so I didn't know where to search the pickup function

Well "duplicate functions" ... the error message tells you what went wrong.
You have the same named Function in multiple (included) Files which is not allowed.
Just delete/rename them in your Bot.au3.

thank you for your answer, I guess i just don't know enough about the code because I can't find that exact function in the bot code, if only the error told me where in the bot code this duplicate code is instead of in the addons.