View unanswered posts | View active topics It is currently 12 Dec 2017 08:23

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.



Reply to topic  [ 7 posts ] 
Automated herbing 
Author Message
Wanderer

Joined: 20 Apr 2010 18:54
Posts: 59
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.


Attachments:
herbing.txt [4.08 KiB]
Downloaded 103 times
27 Jan 2015 13:08
Profile
Myth
User avatar

Joined: 09 Mar 2010 20:33
Posts: 1331
Location: UK
Going to try this out, its next lvl stuff compared to anything I tried b4!!
Thanks for sharing :D :D :D

_________________
http://genesisquests.pbworks.com/
Join up and help each other with Quests :)


13 May 2017 19:37
Profile
Myth
User avatar

Joined: 09 Mar 2010 20:33
Posts: 1331
Location: UK
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:
=================================================
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 :)


24 May 2017 00:34
Profile
Veteran

Joined: 21 Mar 2016 09:17
Posts: 205
Put in either a space bfore it or another one after it?

_________________
Alea iacta est. Serius regredi est.


24 May 2017 15:56
Profile
Rising Hero
User avatar

Joined: 29 Feb 2016 19:51
Posts: 311
Location: Everywhere
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:
=================================================
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 += ',';
      }
    }
Yeah.. You are missing a semicolon there.
If you know what the issue is, what's the problem?

_________________
Chillin
[-_- ]
Click here to become a pupil of my Brute! It's really cool, I swear.


24 May 2017 20:09
Profile WWW
Myth
User avatar

Joined: 09 Mar 2010 20:33
Posts: 1331
Location: UK
Just leaving feedback and for anyone using this.
Its not my script.

_________________
http://genesisquests.pbworks.com/
Join up and help each other with Quests :)


24 May 2017 20:31
Profile
Rising Hero
User avatar

Joined: 29 Feb 2016 19:51
Posts: 311
Location: Everywhere
oic.
Very nice.

_________________
Chillin
[-_- ]
Click here to become a pupil of my Brute! It's really cool, I swear.


24 May 2017 20:47
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.