Fern2009-10-26 09:56:25
Alright, I searched the thread first to make sure my question hasn't been asked before, so forgive me if it's a repeat question.
I want to change the value my health is at when I read a health scroll. Where do I look/what do I need to change to make it so I read more frequently?
I want to change the value my health is at when I read a health scroll. Where do I look/what do I need to change to make it so I read more frequently?
Unknown2009-10-26 10:04:28
QUOTE (Fern @ Oct 26 2009, 05:56 AM) <{POST_SNAPBACK}>
Alright, I searched the thread first to make sure my question hasn't been asked before, so forgive me if it's a repeat question.
I want to change the value my health is at when I read a health scroll. Where do I look/what do I need to change to make it so I read more frequently?
I want to change the value my health is at when I read a health scroll. Where do I look/what do I need to change to make it so I read more frequently?
A. Support isn't free (and this isn't the place to ask questions).
B. It's in the documentation provided with the system already.
Ardmore2009-10-26 12:49:48
QUOTE (Fern @ Oct 26 2009, 05:56 AM) <{POST_SNAPBACK}>
Alright, I searched the thread first to make sure my question hasn't been asked before, so forgive me if it's a repeat question.
I want to change the value my health is at when I read a health scroll. Where do I look/what do I need to change to make it so I read more frequently?
I want to change the value my health is at when I read a health scroll. Where do I look/what do I need to change to make it so I read more frequently?
If you take a peek at 'template.lua' it explains how to do certain things...such as adjusting your sip/scroll/sparkle frequency.
Part of the instructions for installing Treant was to make your own .lua file, and simply put require "treant". Put what you want changed above that.
Here's mine:
CODE
my_sip = {
= function (max) return (max * 17 / 100) end,
= function (max) return (max * 17 / 100) end,
= function (max) return (max * 17 / 100) end
}
my_sparkle = {
= function (max) return max * 0.33 end,
= function (max) return max * 0.50 end,
= function (max) return max * 0.50 end
}
my_scroll = {
= function (max) return max * 0.25 end,
= function (max) return max * 0.33 end,
= function (max) return max * 0.3 end
}
-- about 150 more lines... annnd... --
require "treant"
= function (max) return (max * 17 / 100) end,
= function (max) return (max * 17 / 100) end,
= function (max) return (max * 17 / 100) end
}
my_sparkle = {
= function (max) return max * 0.33 end,
= function (max) return max * 0.50 end,
= function (max) return max * 0.50 end
}
my_scroll = {
= function (max) return max * 0.25 end,
= function (max) return max * 0.33 end,
= function (max) return max * 0.3 end
}
-- about 150 more lines... annnd... --
require "treant"
Viola. Now the functions, if you break down are taking your maximum value for... health, mana, and ego, and figuring how much of a difference there is between that and your current health.
For example, under my_sparkle, I use = function (max) return max * 0.33 end. Say I have 7000 health. In order for my to eat a sparkleberry, I would have to have 7000 minus 2310 health. The 2310 is the number the function returns. That would be 33% of my maximum health.
Fern2009-10-29 02:54:36
Ok, so I've been doing some sparring, and as I go I've been making some scripts and everything has been peachy and then suddenly BAM! Treant stops working for me.
It's like suddenly, MUSH doesn't recognize any of my triggers or aliases anymore. I've tried closing MUSH, but that's not working, and reinstalling Treant does nothing because MUSH doesn't seem to know that I have Treant at all.
None of my plugins are working, and I'm totally at a loss as to what happened and how to fix it.
EDIT: Ok, it recognizes that I have Treant, but it's not actually -working- I don't know what to do!
EDIT 2: Ok, I'm just stupid, I somehow managed to turn my triggers off.......
It's like suddenly, MUSH doesn't recognize any of my triggers or aliases anymore. I've tried closing MUSH, but that's not working, and reinstalling Treant does nothing because MUSH doesn't seem to know that I have Treant at all.
None of my plugins are working, and I'm totally at a loss as to what happened and how to fix it.
EDIT: Ok, it recognizes that I have Treant, but it's not actually -working- I don't know what to do!
EDIT 2: Ok, I'm just stupid, I somehow managed to turn my triggers off.......
Unknown2009-11-03 20:11:17
I'm setting up Treant's defup alias for the first time, and this is what I'm using to test it:
    name="fdef__"
  match="^\\s*rdef\\s*$"
  enabled="y"
  regexp="y"
  send_to="12"
  ignore_case="y"
  sequence="100"
  >
 Âmy_defup = {
  = php:Table(),
  = php:Table(),
  = php:Table(),
  = php:Table()
}
my_defup = "thirdeye"
my_defup = "rub perfection"
my_defup = "rub kingdom"
my_defup = "rub mercy"
my_defup = "rub beauty"
defs:def_up(my_defup)
 Â
But when I type rdef, it doesn't send at all. Anything. It's as if I hit the Enter key without typing anything, leaving a blank space followed by my prompt. Any idea why?
CODE
 Â
  match="^\\s*rdef\\s*$"
  enabled="y"
  regexp="y"
  send_to="12"
  ignore_case="y"
  sequence="100"
  >
 Â
  = php:Table(),
  = php:Table(),
  = php:Table(),
  = php:Table()
}
my_defup = "thirdeye"
my_defup = "rub perfection"
my_defup = "rub kingdom"
my_defup = "rub mercy"
my_defup = "rub beauty"
defs:def_up(my_defup)
 Â
But when I type rdef, it doesn't send at all. Anything. It's as if I hit the Enter key without typing anything, leaving a blank space followed by my prompt. Any idea why?
Dorcha2009-11-13 00:50:48
Just wondering what the "my_nativity" part of the template does? Does it just let the system know what you've been afflicted with if someone casts a ray at you or is there something else there?
Unknown2009-11-13 01:44:25
That's what it does, yes. It's not perfect, since Astrology is a complicated thing from either side of it, but I figured this was better than diagnose/allheale for every attack.
Unknown2009-11-20 03:40:10
EDIT: Never Mind! Fixed, just had to reset and kick stuff 'til it wasn't bein' mean.
Unknown2009-11-23 19:28:14
I've decided to release the latest version of my code, for anyone worried about the recent changes in the game messages. As always, you'll find the archive on the web site along with the version history. Enjoy!
Everiine2009-11-23 20:05:32
If we bought the bashing plugin earlier, do we have to pay the extra credits to receive the new one?
Unknown2009-11-23 20:12:49
Good question. Nope!
In fact, anyone who did purchase the bashing module will want an update before using 1.30 to hunt things that hit with charybdon, as that's been recoded now.
Also, I uploaded a second copy of the archive with the poisonist script included, so if you got an error in trying to upgrade, please download the archive again.
In fact, anyone who did purchase the bashing module will want an update before using 1.30 to hunt things that hit with charybdon, as that's been recoded now.
Also, I uploaded a second copy of the archive with the poisonist script included, so if you got an error in trying to upgrade, please download the archive again.
Unknown2009-12-13 19:23:32
Hi, ok so i've been using Treant for the last month or so (IRL month) with a good amount of success (it at least keeps me from dieing most of the time)
My problem is that when fighting warriors and monks the system doesn't seem to ever cure wounds. I've asked people who use (or used) the system on how to enable deepwound cures and nobody seems to know. I've problably spent hours by now looking over the aliases, triggers and variables trying to figure out what to type or what to do and I have had no success (problably because mushclient is so complicated)
I don't really want to pay 30 credits for a system if I don't even get a real chance to test it out and see what it can do.
Thanks in Advance.
My problem is that when fighting warriors and monks the system doesn't seem to ever cure wounds. I've asked people who use (or used) the system on how to enable deepwound cures and nobody seems to know. I've problably spent hours by now looking over the aliases, triggers and variables trying to figure out what to type or what to do and I have had no success (problably because mushclient is so complicated)
I don't really want to pay 30 credits for a system if I don't even get a real chance to test it out and see what it can do.
Thanks in Advance.
Unknown2009-12-13 19:27:35
Turn on auto sipping and the deep wounds curing goes with that. If you need more than that, I suggest you read the web site and/or the text files that came with the system.
Unknown2009-12-13 22:44:20
That seemed to work thanks
Just one last thing (hopefully)
I don't have magiclist so I dont really know how to use the auto scroll. I problably just have to create a variable for the system to know the number of my scroll. but I'm not sure what the variable would be called.
Any suggestions would be appreciated
Just one last thing (hopefully)
I don't have magiclist so I dont really know how to use the auto scroll. I problably just have to create a variable for the system to know the number of my scroll. but I'm not sure what the variable would be called.
Any suggestions would be appreciated
Unknown2009-12-13 22:46:26
That one you can find in the source code without too much difficulty, unless you'd like to ante up...
Lawliet2009-12-16 23:38:12
Nevermind, I'm a moron.
Unknown2009-12-19 20:02:17
Version 1.31 is now available! There are a few key fixes and some nice little new features. Check the version history for details.
Ardmore2009-12-19 20:58:19
QUOTE (Zarquan @ Dec 19 2009, 03:02 PM) <{POST_SNAPBACK}>
Version 1.31 is now available! There are a few key fixes and some nice little new features. Check the version history for details.
Nice little features indeed. Thumbsup to you.
Everiine2009-12-19 21:23:32
All of the files in the zip this time around?
Unknown2009-12-19 21:24:30
QUOTE (Everiine @ Dec 19 2009, 04:23 PM) <{POST_SNAPBACK}>
All of the files in the zip this time around?
I didn't add any new files as far as I remember, so it should be good this time. I'm sure you'll tell me if I missed anything.