Unknown2008-01-31 20:30:49
Hey all... I tried doing this on my own, but I'm having the darndest time getting it to work. I was curious if anyone would like to share their way of trying to get a script that would allow me to HARVEST # HERBS and it would get that many before stopping and leaving the rest there.
I thought I had it figured out... but then it kept harvesting even after it had gotten the right amount.
I do use Catarin's system... so if you guys can even think of a way to do it using her system aliases for on balance and such, that would be amazing.
Even if y'all want to just push me in a certain direction, that would be great. I even have read all the topics I could find that are already started about herbing in general .. and that didn't seem to help as much as I wanted.
I thought I had it figured out... but then it kept harvesting even after it had gotten the right amount.
I do use Catarin's system... so if you guys can even think of a way to do it using her system aliases for on balance and such, that would be amazing.
Even if y'all want to just push me in a certain direction, that would be great. I even have read all the topics I could find that are already started about herbing in general .. and that didn't seem to help as much as I wanted.
Anisu2008-01-31 21:32:33
QUOTE(Rian @ Jan 31 2008, 09:30 PM) 482745
Hey all... I tried doing this on my own, but I'm having the darndest time getting it to work. I was curious if anyone would like to share their way of trying to get a script that would allow me to HARVEST # HERBS and it would get that many before stopping and leaving the rest there.
I thought I had it figured out... but then it kept harvesting even after it had gotten the right amount.
I do use Catarin's system... so if you guys can even think of a way to do it using her system aliases for on balance and such, that would be amazing.
Even if y'all want to just push me in a certain direction, that would be great. I even have read all the topics I could find that are already started about herbing in general .. and that didn't seem to help as much as I wanted.
I thought I had it figured out... but then it kept harvesting even after it had gotten the right amount.
I do use Catarin's system... so if you guys can even think of a way to do it using her system aliases for on balance and such, that would be amazing.
Even if y'all want to just push me in a certain direction, that would be great. I even have read all the topics I could find that are already started about herbing in general .. and that didn't seem to help as much as I wanted.
my herbalist script should do that, unless the package is acting up again
Unknown2008-01-31 21:35:06
Upload to Package Library?
Vathael2008-01-31 22:20:12
I have a nice little ZMUD harvesting script, pretty basic but it seems to do everything you want. Not sure how/if it would mesh over to CMUD but I guess you could give it a go if you want or maybe use parts of it and fix whatever CMUD doesn't like about it. PM me if interested.
Anisu2008-01-31 22:20:46
QUOTE(Zarquan @ Jan 31 2008, 10:35 PM) 482784
Upload to Package Library?
I like my cmud login to remain a secret from IRE people
Eldanien2008-01-31 22:25:24
I had to make a tweak to Anisu's harvester to get it to work. To be honest, I can't remember what that was now, but I think it was a matter of variable scope. Probably due to some sort of unfamiliarity on my part, or Tarielenwe's (who was actually using it, with me directing her with changes to make).
Unknown2008-01-31 23:17:15
Okay... now I feel like an idiot... I had that package loaded... and it worked just fine... I just wasn't using it...
*grins* Thanks!
*grins* Thanks!
Unknown2008-02-01 01:03:13
QUOTE(Anisu @ Jan 31 2008, 05:20 PM) 482809
I like my cmud login to remain a secret from IRE people
Second forum account! Problem solved.
Anisu2008-02-01 06:07:03
QUOTE(Eldanien @ Jan 31 2008, 11:25 PM) 482812
I had to make a tweak to Anisu's harvester to get it to work. To be honest, I can't remember what that was now, but I think it was a matter of variable scope. Probably due to some sort of unfamiliarity on my part, or Tarielenwe's (who was actually using it, with me directing her with changes to make).
.cmud had this annoying tendecy to accept a variable cross package on some cmud clients but not on others. Still trying to find out why as it is very important to backtrace before releasing my aethercraft system
Unknown2008-02-01 06:50:19
Okay... after trying it out more fully... it's not working properly, actually.
I have type in the command, for instance, harv reishi 4 ... it will only harvest one before it stops and stores the one and any spices. Any ideas how to fix it?
I have type in the command, for instance, harv reishi 4 ... it will only harvest one before it stops and stores the one and any spices. Any ideas how to fix it?
Eldanien2008-02-01 08:05:44
That was the problem Tarielenwe had that I had to fix, a result of the quirk Anisu mentioned. I'm not up on CMUD so it took me a while to figure out what to do to get it to work, but it has to do with replacing the variable declarations with #VAR versions if I recall.
Maybe someone else will explain how to fix it for you - I don't have a herbalist character to play around with it.
Maybe someone else will explain how to fix it for you - I don't have a herbalist character to play around with it.
Anisu2008-02-01 11:45:44
try adding the variables
toharv and havherb to the herbalist package and see if it works.
toharv and havherb to the herbalist package and see if it works.
Unknown2008-02-01 13:29:54
It might be because you need to change the visibility options for packages. Your main package should have the installed package(s) checked, and the installed packages should be made global. Any packages that rely on other packages as a base should have those base packages checked, too.
Unknown2008-02-01 16:21:33
Okay... the way I fixed it was...
That I replaced the lines that created the variables "toharv=%1" to "#var toharv %1".
That fixed the problem, for whatever reason the problem existed in the first place.
That I replaced the lines that created the variables "toharv=%1" to "#var toharv %1".
That fixed the problem, for whatever reason the problem existed in the first place.
Jalain2008-03-10 23:03:16
QUOTE(Anisu @ Feb 1 2008, 09:20 AM) 482809
I like my cmud login to remain a secret from IRE people
I could upload it for you with my account. Would give you credit, of course.
Unknown2008-03-11 11:30:27
One could also make a separate forum account, so there's really no need to get other people involved in such a simple process.