Arvont2008-03-02 12:27:26
Presenting...
Client: Nexus
Features:
*HARVESTER to see the various syntaxes and features of the Nexus Harvester.
Installation:
Initial: First, you will have to Archive the current triggers, variables, aliases, and keybindings you have (if any). They may conflict with the Harvester. To do this, open the Reflexes window in Nexus, then go to the Archives. Save your current system on an empty Archive slot. After that, you may now install the Nexus Harvester.
1. Open the Reflexes window in Nexus
2. Click on "Archives" (upper right hand corner)
3. Open the "Import XML" window.
4. Past the code below onto this window, and then press "Save".
5. When Nexus prompts you to, click on "Restore".
6. On Archives, click on an empty Archive slot and save the Harvester. Name the Harvester whatever you want.
7. Viola! The Nexus Harvester has been installed on a new Archive slot.
Because you also saved your previous system on another Archive slot, it will be easy to change between them (Previous system and the Harvester). Have fun!
 Â
   Â#groupon harvest
#set hgroup ON
#echo_ ------
#groupon off
#groupoff on
 Â
 Â
    Juliary
    ON
    10
    -4
    galingale
   Â#echo o. On and Off
#echo  --- Syntax: ON/OFF
#echo  --- Keybinding : CTRL+SPACE (off)
#echo Manually enable or disable the Harvester. With the Keybinding, immediately
#echo turn the Harvester off.
#echo
#echo o. Hibernation
#echo  --- Syntax: DATE
#echo Know which herbs are in hibernation.
#echo
#echo o. Various
#echo  --- Syntax: 0 (keypad) - Similar to PLANTS
#echo  --- Syntax: . (keypad) - Similar to INFO RIFT or IR
   Â#echo          -----------------------
#echo          | THE NEXUS HARVESTER |
#echo          -----------------------
#echo
#echo o. Harvesting
#echo  --- Syntax: HARV
#echo  --- Example: HARV 15 GALINGALE
#echo The would be the number of herbs you will be harvesting in total,
#echo while is the herb that you will be harvesting.
#echo
#echo Once the harvesting process is done, the Harvester will also automatically
#echo place the harvested herbs in the Rift for safekeeping.
#echo
#echo o. Status
#echo  --- Syntax: HSTAT
#echo Using this command, you may see the status of the Harvester: what you're
#echo harvesting, how much, and whether the Harvester is turned on or off.
#echo
#echo Type CONT to continue reading.  (75% shown)
   Â#echo --- HARVESTING STATUS ----------------
#echo | Herb to be harvested  :
#echo | Number of herbs      :
#echo | Harvester is turned  :
#echo --------------------------------------
   Â#highlight "bold red on black"
#math nherb $nherb+1
   Â#highlight "bold yellow on black"
#set currmonth $3
#if $currmonth = Estar {
#echo ------
}
#if $currmonth = Urlachmar {
#echo ------
}
#if $currmonth = Kiani {
#echo ------
}
#if $currmonth = Dioni {
#echo ------
}
#if $currmonth = Vestian {
#echo ------
}
#if $currmonth = Avechary {
#echo ------
}
#if $currmonth = Dvarsh {
#echo ------
}
#if $currmonth = Tzarin {
#echo ------
}
#if $currmonth = Klangiary {
#echo ------
}
#if $currmonth = Juliary {
#echo ------
}
#if $currmonth = Shanthin {
#echo ------
}
#if $currmonth = Roarkian {
#echo ------
}
   Â#highlight "bold yellow"
#math nherb $nherb - 1
#if $nherb = 0 {
#groupoff harvest
#set hgroup OFF
inr all herb
inr all spices
#echo ------
#echo ------
#beep
#beep
#beep
#groupon on
#groupoff off
#wait 3500
on
}
   Â#groupoff harvest
#echo_ ------
inr all herb
inr all spices
   Âoff
   Âout
   Âdown
   Âup
   Âir
   Âin
   Âplants
   Âsw
   Âsouth
   Âse
   Âwest
   Âql
   Âeast
   Ânw
   Ânorth
   Âne
 Â
 Â
    harvest galingale
    chervil
   Â#set b $1
   Â$b
   Â#set nherb $1
#set therb $2
hvest
#echo ------
   Âharvest $therb
#set b harvest $therb
   Â#set therb $1
   Â#highlight "bold magenta on black"
balance
 Â
 Â
   Â#groupoff harvest
#echo_ ------
#set hgroup OFF
#groupon on
#groupoff off
 Â
The Nexus Harvester!
Client: Nexus
Features:
*HARVESTER to see the various syntaxes and features of the Nexus Harvester.
Installation:
Initial: First, you will have to Archive the current triggers, variables, aliases, and keybindings you have (if any). They may conflict with the Harvester. To do this, open the Reflexes window in Nexus, then go to the Archives. Save your current system on an empty Archive slot. After that, you may now install the Nexus Harvester.
1. Open the Reflexes window in Nexus
2. Click on "Archives" (upper right hand corner)
3. Open the "Import XML" window.
4. Past the code below onto this window, and then press "Save".
5. When Nexus prompts you to, click on "Restore".
6. On Archives, click on an empty Archive slot and save the Harvester. Name the Harvester whatever you want.
7. Viola! The Nexus Harvester has been installed on a new Archive slot.
Because you also saved your previous system on another Archive slot, it will be easy to change between them (Previous system and the Harvester). Have fun!
CODE
 Â
   Â
#set hgroup ON
#echo_ ------
#groupon off
#groupoff on
 Â
 Â
    Juliary
    ON
    10
    -4
    galingale
   Â
#echo  --- Syntax: ON/OFF
#echo  --- Keybinding : CTRL+SPACE (off)
#echo Manually enable or disable the Harvester. With the Keybinding, immediately
#echo turn the Harvester off.
#echo
#echo o. Hibernation
#echo  --- Syntax: DATE
#echo Know which herbs are in hibernation.
#echo
#echo o. Various
#echo  --- Syntax: 0 (keypad) - Similar to PLANTS
#echo  --- Syntax: . (keypad) - Similar to INFO RIFT or IR
   Â
#echo          | THE NEXUS HARVESTER |
#echo          -----------------------
#echo
#echo o. Harvesting
#echo  --- Syntax: HARV
#echo  --- Example: HARV 15 GALINGALE
#echo The would be the number of herbs you will be harvesting in total,
#echo while is the herb that you will be harvesting.
#echo
#echo Once the harvesting process is done, the Harvester will also automatically
#echo place the harvested herbs in the Rift for safekeeping.
#echo
#echo o. Status
#echo  --- Syntax: HSTAT
#echo Using this command, you may see the status of the Harvester: what you're
#echo harvesting, how much, and whether the Harvester is turned on or off.
#echo
#echo Type CONT to continue reading.  (75% shown)
   Â
#echo | Herb to be harvested  :
#echo | Number of herbs      :
#echo | Harvester is turned  :
#echo --------------------------------------
   Â
#math nherb $nherb+1
   Â
#set currmonth $3
#if $currmonth = Estar {
#echo ------
}
#if $currmonth = Urlachmar {
#echo ------
}
#if $currmonth = Kiani {
#echo ------
}
#if $currmonth = Dioni {
#echo ------
}
#if $currmonth = Vestian {
#echo ------
}
#if $currmonth = Avechary {
#echo ------
}
#if $currmonth = Dvarsh {
#echo ------
}
#if $currmonth = Tzarin {
#echo ------
}
#if $currmonth = Klangiary {
#echo ------
}
#if $currmonth = Juliary {
#echo ------
}
#if $currmonth = Shanthin {
#echo ------
}
#if $currmonth = Roarkian {
#echo ------
}
   Â
#math nherb $nherb - 1
#if $nherb = 0 {
#groupoff harvest
#set hgroup OFF
inr all herb
inr all spices
#echo ------
#echo ------
#beep
#beep
#beep
#groupon on
#groupoff off
#wait 3500
on
}
   Â
#echo_ ------
inr all herb
inr all spices
   Â
   Â
   Â
   Â
   Â
   Â
   Â
   Â
   Â
   Â
   Â
   Â
   Â
   Â
   Â
   Â
 Â
 Â
    harvest galingale
    chervil
   Â
   Â
   Â
#set therb $2
hvest
#echo ------
   Â
#set b harvest $therb
   Â
   Â
balance
 Â
 Â
   Â
#echo_ ------
#set hgroup OFF
#groupon on
#groupoff off
 Â
Arvont2008-03-03 03:23:15
Note:
There was an error on the DATE trigger that showed the hibernating herbs. It's been fixed now, as well as a few other cosmetic fixes.
The code above has been updated!
There was an error on the DATE trigger that showed the hibernating herbs. It's been fixed now, as well as a few other cosmetic fixes.
The code above has been updated!
Gleip2009-06-29 09:52:04
Wow. This thing actually works rather well. Thank you.
Gleip2009-06-29 12:01:15
Or not. It worked, but now suddenly it refuses to count down on the herbs, so I just keep harvesting and harvesting.
Gleip2009-06-29 12:18:24
And... I found out the problem. There are two things that need to be fixed to make this harvester work. I think it's easier to fix it after the whole thing has been loaded.
You need to locate two triggers
"Hmm, that wasn't the herb you thought after all. It was some rare spices!"
and
"You reach down and carefully harvest a"
The first trigger has a mistake in the math. Instead of reducing the amount of herbs you want to harvest by one, it increases it by one. Change the symbol from + to - to fix this mistake.
On the second, not all herbs (sargassum!) have the "a" in the line. Remove that and you should be good to go and able to harvest everything.
You need to locate two triggers
"Hmm, that wasn't the herb you thought after all. It was some rare spices!"
and
"You reach down and carefully harvest a"
The first trigger has a mistake in the math. Instead of reducing the amount of herbs you want to harvest by one, it increases it by one. Change the symbol from + to - to fix this mistake.
On the second, not all herbs (sargassum!) have the "a" in the line. Remove that and you should be good to go and able to harvest everything.
Mirami2009-06-29 19:15:15
Well, this certainly looks better than my little nexus-harvester that I put together back when I was an herbalist... you -almost- make me want to make an herbalist alt.
Although, you might have rifting keybinded, so that you can still replant with the harvester, to encourage planting and not strip-harvesting.
Although, you might have rifting keybinded, so that you can still replant with the harvester, to encourage planting and not strip-harvesting.
Gleip2009-06-29 21:48:32
I just turn the harvester off when I'm replanting. Plants spoil so quickly that I can only harvest five at a time before I have to start finding new locations to plant them. And since you can decide just how much you want to harvest before you start harvesting, as long as you do the fixes I suggested, you should only stripharvest if you do so intentionally.
Unknown2011-03-15 13:39:21
when you find spices, it adds one to the number of herbs to be picked. This can easily cause overharvesting. WHat I did is I set that line so that it subtracts one from the pull count, just like a normal harvest. Then I always end up with the correct number of herbs still planted.
Also, would it be possible to make a check so that if NHERB<=0, the harvest script will not run?
Also, would it be possible to make a check so that if NHERB<=0, the harvest script will not run?