Free mush system

by Nezha

Back to Mechanic's Corner.

Nezha2008-03-11 11:10:25
Why am i doing this:
The short, long story of it is I tried leaving the game and gave this to a lot of people already, I hated to see something that served me so well go to waste. And even if im playing steadily again.. might as well go full monty and give it to everyone..

Actually, I created this partly just so I can learn lua.. and now I've learned it, sharing the result would be better than keeping it all to myself.. (lets just say seeing a lot of people get stressed out because they can't cure decently had a hand in it)

Now, mush is free, this system is free.. downloading and figuring both takes just a little time.. If after that you still use nexus.. :shrug:

I started creating this when I was fairly new to lusternia, and as such the system still bears the initial clumsiness of those times. There are whole segments here i wanted to re-write. Hey, this is my first try as a system builder. Give me a break.

Anyway, as an initial system, I think you will find this perfectly acceptable.. This is not a hobbled version, this is the system that I am actually using currently (I just added some untested code too.. so if something horrible happens evil.gif )

And oh: learn to 'diag' and 'ws' time to time alright? A system is to be trusted but not completely relied upon.

Last:
This did take a lot of time and testing to make it in this state, and although I give this away free, small credit/gold donations will be appreciated.

However, even if you do send me something, and though your offerings unto me shall not go unnoticed.. Do not ask for help, questions, assistance, or anything about the system.. I will not answer.. This sytem is provided as is.

------------------------------------------------------------------------------------------------------------------------------------
If in case you really, really, really cant figure out how to do anything with this, or want some customizations or some other sort like that, and if you are willing to shell some small credit/gold donations.. send me a message and maybe we can work something out ------------------------------------------------------------------------------------------------------------------------------------


What if you find a bug:
Post it here, perhaps someone will be kind enough to fix it for you.. or maybe i shall do it myself.. but dont expect anything.

And if you really find this to be sucky -- Why sir, I must say! I already gave you a free system. In addition, you want it to work? The horror, Hang your head in shame.

IMPORTANT: Forum wont allow me to upload lua files so i renamed to nezhmet.txt. When you download, rename the file to nezhmet.lua then go READ the readme file please.. i beg you. youll save yourself alot of grief that way

p.s. I
I gave this to someone and she told me it doesnt work. When I asked her about it she said "Am I supposed to have herbs?" -- To those poor souls who will be wondering about it I say "Yes dearie" you need to have herbs and all the purgatives/salves/what have you to cure stuff.. Sorry, system does not come included with batteries..

p.s. II
A few magnagora players have gotten hold of this through some other.. means. To them, shuush please and dont tell anyone what you know of me? thanks.. And oh, this is better than what I gave you. Reload2x!

p.s. III
This system was created for me by me.. I had no intention of making it user friendly. If you find something is clunky or lacking module xyz.. its probably because I didnt need it personally

p.s. IV
This has no choke mode. Sorry, I live in celest and there are no spars with choke users... plus i got lazy now.. cant be bothered to add this..

EDIT: Ive uploaded a fix with the reset bug with the name nezhmet_DOWNLOADTHIS.zip Download that one please.
Saaga2008-03-20 06:59:39
I have been a tester of this system. I do not know much about coding or scripting but this one seems to work. There are yet no utility scripts such as potionlist sorters or rift sorters, but this system does the most important thing - keeps you alive.
Hyperion2008-03-20 20:05:50
I've been trying out this system and although it's a bit spammier than I'm used to, it heals just about perfectly. I wouldn't recommend it if you don't have at least a basic knowledge of MUSH, though. Great job, Nezha biggrin.gif
Casilu2008-03-21 06:12:32
Also, whenever there is an update, I probably made him do it. In fact, we should all pressure him to start giving out his updates. suspicious.gif
Ronny2008-03-21 19:01:15
I've used Nezha's system during some fights and it cures very nicely. Once you get past inputting the initial information you need like your max health or cleanse enchants, it pretty much runs without a hitch. No complaints about not having nifty stuff like a rift sorter or other plugins. This is a free system for combat and though I don't fight on the top end, I don't believe it will disappoint even if its just curing you enough to run off.

By the way, you could pay him a few credits to help you customize the system to you if you don't want to mess with the code. As he'll rarely update this, you could ask him how much he charges for updates to the system. I'm sure it won't be much. smile.gif

Ronny

PS: I'm not a coder and I like things to be highlighted and very userfriendly so I only use his system some of the time.
Gartinua2008-03-27 02:47:26
I've used some bits of it and modified it as well because some things are important to me while others I don't use. I also needed to tweak a few things for mudbot.
Thanks though, its a neat little system.

I got lazy and wrote a parser for QSC, no more typing in maximums for me.

So what I've got in the end is some frankenstein-system of this one, the translated tf scripts and my junk.
Amazingly, it works too!

Thanks for your contribution though, I found the way you have sorted the symptoms and cures out to be very clean.

The only other thing I'll mention is I'm not sure about the bleed/clot code, I think it can get stuck. I don't have it in front of me but it looks like one part checks to see if the number is 1 but another part can add to that value. I think, but not sure, that the check should be ~= 0

My first time coding in Lua too, but it looks like about 4 other languages I do know, so its pretty simple.
Unknown2008-04-04 23:35:01
QUOTE(README)
1.1 On main mush screen, press SHIFT+CTRL+6
Check enable scripts and pick 'lua' in the scripting language dropdown
Then browse and look for the mainfile and click on it.


Does anyone know where that is, or if it even exists, in zMud?
Unknown2008-04-05 00:35:00
QUOTE(Deschain @ Apr 4 2008, 07:35 PM) 499678
Does anyone know where that is, or if it even exists, in zMud?


This is for MUSHclient, so you're on the wrong thread... There is no Lua in zMUD, but it can use other WSH languages, like Python, PerlScript, etc. You can use Lua in CMUD, though.
Unknown2008-04-05 04:44:02
QUOTE(Zarquan @ Apr 4 2008, 08:35 PM) 499689
This is for MUSHclient, so you're on the wrong thread... There is no Lua in zMUD, but it can use other WSH languages, like Python, PerlScript, etc. You can use Lua in CMUD, though.


Yeah, I knew it was originally posted for Mush, but I thought there might be an option in zMud to enable scripts written in other languages, I didn't realize each one only supported a few, I was hoping to try writing a system in some other languages, just for practice/fun, and a way to learn languages I haven't used yet. Lua looks like it would be the fastest. I have some experience with Perl, but it's mostly on smaller programs, and I'm not sure how badly the speed of a perlScript would drop when writing something as massive as an IRE system can be.

Thanks for the help though, maybe I should just learn Lua.
Nezha2008-04-09 07:03:09
I found two issues in here:

1. A reset someone informed me about. As i got it as a second-hand information, i couldnt confirm the details.. if someone knows the line number or something, or the sequence of how it happened, please message me?

2. Cantor triggers - being a cantor and living in celest, I found having my own songs constantly triggering annoying so i removed it from the system.. however, i forgot to add it again when i released this system.

sorry about that dudes.. its not malicious. I just forgot to incorporate it again.. laugh.gif
Gartinua2008-04-09 23:07:49
Is the bleed/clot code ok? The reason why I ask is that you capture the number in "you bleed BLAH health" line but the calling function doesn't do anything with that number. It means that you get the same reaction to bleeding 1 health as you do 100.

Looking at some tf scripts, they DO capture the number and then take 20 off it for each clot. And they just keep hitting clot until you get it below 0 or you get the you no longer bleed message. I think your system just does 5 or 6 clots or until it gets the you no longer bleed.

Just a minor thing really, the system does work real well for me except when I do something stupid (hey, would you look at that, those things assist whatthe.gif ) I also really like the way you wrote it with the tables.
Nezha2008-04-10 02:25:25
QUOTE
Is the bleed/clot code ok? The reason why I ask is that you capture the number in "you bleed BLAH health" line but the calling function doesn't do anything with that number. It means that you get the same reaction to bleeding 1 health as you do 100.
The system dont capture the numbers.. It just clots until the line "you do not bleed my friend" comes..

However, The logic you see in which clotting is limited to only 5-6times is because
a.) If you still bleed after 6 clots, eat chervil.. something is wrong if you get so great a bleeding damage
-- Remember, I dont completely rely on the system. I supplement with manual curing.

b.) It was supposed to be temporary and should have been replaced with a logic where it checks for
b.1.) 0 mana
b.2.) low willpower
b.3.) manabarbs
b.4.) auto-eat eat chervil for large bleeding dmages..

However, I forgot it/got lazy... and like most of my other hacks in here.. it stayed on like gum to a shoe..

QUOTE
I also really like the way you wrote it with the tables.


One thing good about being a programmer is.. you get to see other programming idioms along the way and learn to incorporate it in your toolbox..
Kade2008-04-10 19:13:37
I'm having trouble with the targetting. When I type " tar rat " for instance, it messages a player instead of setting the target. How do I fix this. Also, for the string targetting using tt. How do you clear that list?
Gartinua2008-04-10 23:36:34
QUOTE(Kade @ Apr 11 2008, 05:13 AM) 500987
I'm having trouble with the targetting. When I type " tar rat " for instance, it messages a player instead of setting the target. How do I fix this. Also, for the string targetting using tt. How do you clear that list?

does it message a player with the name starting with Tar....

It sounds like the alias is not being used. I had to write my own alias processing code as I was using mudbot. Perhaps whatever program you are using doesn't like the alias creation functions.
Nezha2008-04-11 02:04:19
kade:

Are you sure you coded your offense right? it didnt sound like you did.. suspicious.gif

the target list can be cleared by realoding the system -- ctrl+shift+r.. laugh.gif
(Although in my latest, i have added a reset)
Lorina2008-04-13 06:21:00
Yay! Nezha! The system is amazing...I hate to say this, but I have been going this entire time without 'reflexes'. I wonder if anyone noticed freaked.gif But anyway, it is amazing! I just altered a few spots and now it works great! Hmm, if I have problems, I will hunt you down and bug you. OH! And FYI to all who read Nezha's first post...The one thing at the end when his friend told him if she needed herbs...I will let you guess who said that. Sorry! I am a newbie. <3

Oh and he makes custom junk for a few gold or creds. BUT I suggest if you use it regularly, give him a few gold + creds! That way he will make MORE! Yes...I love the reflexes.

OH, and Casi...You be la noob. haha...Arena me!?

HEY THIS IS LIKE MY FIRST POST!
Prisch2008-04-14 19:16:31
I wish there was a compass in Mushclient.
Otherwise I'd be using this.
Ryleth2008-04-14 19:36:38
Search the forums..Arundor has a nice compass/GUI thing there which I use
Prisch2008-04-14 21:38:26
I didn't know you could do that. Thank you.
Gartinua2008-04-14 22:35:45
QUOTE(Prisch @ Apr 15 2008, 05:16 AM) 502155
I wish there was a compass in Mushclient.

Why would you need a compass? I use the map/lmap function of mudbot a lot but cannot see why a compass would matter.