Automated herbing
Moderator: Eowul
Forum rules
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
- Use common sense and be respectful towards each other at all times, even when disagreeing.
- Do not reveal sensitive game information. Guild secrets, player seconds are examples of things not allowed.
Automated herbing
Attached aliases and triggers need to be added to the web client.
Some use cases:
You want to gather a specific herb from the area
1. use h_area
2. put herb to search for
var hn = 'herbs'; -> this will perform a general search for herbs in the room
var hn = 'chicory'; -> this will search for chicory
3. put max number of herbs to gather from the room
h.per_room = 2; -> will get max 2 herbs per room
4. put paths room by room to h.plan
h.plan = [
{path:[],herb:hn}, -> will search in current room
{path:['e'],herb:hn}, -> will then go 1 east and search
{path:['s'],herb:hn}, -> will then go 1 south and search
];
4. go to the starting place, type h_area and watch
You want to scan the area for a specific herb because the herb placement changes each Armageddon
1. use h_area_check
2. put paths room by room to h.plan -> see point 3 above
3. go to the starting place type h_area_check <herb name>, e.g. <h_area_check chicory> and watch
4. after the area is done, the script will display the needed paths, which you can then put to h_area and know the
exact placement for a specific herb this Armageddon
You can of course have many aliases for different areas (duh ).
Simply add a new alias e.g. h_shire or h_shire_check, copy the script to them and modify the herb to search for, the plan and amount to gather.
Remember, though, to watch out for other players.
Use <stop> to stop searching.
Use <h_start> to resume searching.
Use <stop> and <h_next> in case there is someone already in the room searching and you want to continue to the next room
Happy herbing.
Some use cases:
You want to gather a specific herb from the area
1. use h_area
2. put herb to search for
var hn = 'herbs'; -> this will perform a general search for herbs in the room
var hn = 'chicory'; -> this will search for chicory
3. put max number of herbs to gather from the room
h.per_room = 2; -> will get max 2 herbs per room
4. put paths room by room to h.plan
h.plan = [
{path:[],herb:hn}, -> will search in current room
{path:['e'],herb:hn}, -> will then go 1 east and search
{path:['s'],herb:hn}, -> will then go 1 south and search
];
4. go to the starting place, type h_area and watch
You want to scan the area for a specific herb because the herb placement changes each Armageddon
1. use h_area_check
2. put paths room by room to h.plan -> see point 3 above
3. go to the starting place type h_area_check <herb name>, e.g. <h_area_check chicory> and watch
4. after the area is done, the script will display the needed paths, which you can then put to h_area and know the
exact placement for a specific herb this Armageddon
You can of course have many aliases for different areas (duh ).
Simply add a new alias e.g. h_shire or h_shire_check, copy the script to them and modify the herb to search for, the plan and amount to gather.
Remember, though, to watch out for other players.
Use <stop> to stop searching.
Use <h_start> to resume searching.
Use <stop> and <h_next> in case there is someone already in the room searching and you want to continue to the next room
Happy herbing.
- Attachments
-
- herbing.txt
- (4.08 KiB) Downloaded 410 times
- Tarax the Terrible
- Myth
- Posts: 1331
- Joined: 09 Mar 2010 20:33
- Location: UK
Re: Automated herbing
Going to try this out, its next lvl stuff compared to anything I tried b4!!
Thanks for sharing
Thanks for sharing
http://genesisquests.pbworks.com/
Join up and help each other with Quests
Join up and help each other with Quests
- Tarax the Terrible
- Myth
- Posts: 1331
- Joined: 09 Mar 2010 20:33
- Location: UK
Re: Automated herbing
The client wouldn't let me save the h_stop alias.
Said I was missing a semicolon.
at the end of the arr+= line
Said I was missing a semicolon.
at the end of the arr+= line
Code: Select all
=================================================
pattern: h_stop
Script type: Javascript
Script:
for(var step = 0;step < h.check.paths[i].length;step += 1) {
arr += "'" + h.check.paths[i][step] + "'"
if (step < h.check.paths[i].length - 1) {
arr += ',';
}
}
http://genesisquests.pbworks.com/
Join up and help each other with Quests
Join up and help each other with Quests
Re: Automated herbing
Put in either a space bfore it or another one after it?
Alea iacta est. Serius regredi est.
Re: Automated herbing
Yeah.. You are missing a semicolon there.Tarax the Terrible wrote:The client wouldn't let me save the h_stop alias.
Said I was missing a semicolon.
at the end of the arr+= line
Code: Select all
================================================= pattern: h_stop Script type: Javascript Script: for(var step = 0;step < h.check.paths[i].length;step += 1) { arr += "'" + h.check.paths[i][step] + "'" if (step < h.check.paths[i].length - 1) { arr += ','; } }
If you know what the issue is, what's the problem?
- Tarax the Terrible
- Myth
- Posts: 1331
- Joined: 09 Mar 2010 20:33
- Location: UK
Re: Automated herbing
Just leaving feedback and for anyone using this.
Its not my script.
Its not my script.
http://genesisquests.pbworks.com/
Join up and help each other with Quests
Join up and help each other with Quests
Re: Automated herbing
oic.
Very nice.
Very nice.
http://tworzymyatmosfere.pl/przescieradla-jedwabne-z-gumka/