Quote:
Originally Posted by FallenGod^^59
Hello everyone. Hope you have a good moment.
I'm trying to script my first own Vaettir Bot, i have update an 2018 version and atm it's going well for it, going to jaga, pull, killing, looting...
I'm trying to do a func salvage() and a func storage() to get some mat for my consets but these points seem really hard to me.
That why i'm here today. I'm looking for 1 or few bot with theses fonctions that i can read and write theses fonctions into my code.
ofc i've read the topic but i didn't found what i was looking for.
Can someone help me for theses part?
I'll share my bot when it will be functional, ofc, i'm here to share too.
Best regards and many thanks,
M
|
Hey,
in order to salvage an item your bot needs to:
1) select a salvage kit (make sure it's the right type you want to use)
2) start a salvaging session
3) wait a short amount of time (200 ms should be enough, i think)
4) salvage the item
it gets a bit more complicated with salvaging mods, because you need to decide which mod to select for salvaging, but the above example is how you can salvage collector items to salvage (like feathered scalps or glacial stones)
HOWEVER as of the last update the headers were changed. The salvaging headers are updated, but the salvaging function is not. I tried to look into it, but i don't even know what the memory addresses in the salvage function are used for (one of them is needed to start the salvage function, the others i have no idea about). Which is also why i have no functioning code for salvages at the moment. sorry
If you want to already write functions into your code to comment out until the salvage works again you can just take them from the GWA2, it has all the basic functions you need.