Unknown2009-09-08 09:17:49
I have been working on a curing system for mudlet. Here is where I will post some of the scripts for the various parts that make it up. At this point I am linking:
In time I will update those as the trigger set becomes more and more complete. I may also add other parts to the curing system once I am sure they are working well. Or I may not. I'm going overseas for a year, starting in late October, and probably will not mud much while I am away.
I am keen to keep compiling this set of triggers though - it took many hours of effort compiling those triggers, and it is going to take many more to finish it.
If you wish to help finish this, take the main affliction lines from other curing systems and add them to the triggers I have created already. If you complete a letter class (i.e. all the afflictions in the folder named A) please right-click the folder, click "export" and save the script for that in xml format. Zip it, then post it to the forum, or PM it to me. I will update the linked xml file on this post here. Maybe with a combined effort it will actually get finished.
Oh - the following code ought to be placed into your prompt trigger, in order for the aff_on() function to actually call the runCures() function. The runCures() function I linked does nothing at this point - I just wanted to make the script logic clear.
- triggers for afflictions - currently most diag/cured lines are in, a fair number of secondary lines, and very few main affliction lines. I have however created the triggers for almost all of them - they are organised alphabetically by name and just need the patterns to be added.
- functions that the affliction triggers use to add/remove afflictions to/from a list
- Toolbox scripts: a couple of functions that I use a lot and you might find helpful. sendr() replaces send() and decho() will only echo a debug line if you turn debug mode on with the accompanying alias.
In time I will update those as the trigger set becomes more and more complete. I may also add other parts to the curing system once I am sure they are working well. Or I may not. I'm going overseas for a year, starting in late October, and probably will not mud much while I am away.
I am keen to keep compiling this set of triggers though - it took many hours of effort compiling those triggers, and it is going to take many more to finish it.
If you wish to help finish this, take the main affliction lines from other curing systems and add them to the triggers I have created already. If you complete a letter class (i.e. all the afflictions in the folder named A) please right-click the folder, click "export" and save the script for that in xml format. Zip it, then post it to the forum, or PM it to me. I will update the linked xml file on this post here. Maybe with a combined effort it will actually get finished.
Oh - the following code ought to be placed into your prompt trigger, in order for the aff_on() function to actually call the runCures() function. The runCures() function I linked does nothing at this point - I just wanted to make the script logic clear.
CODE
-- Run cure script if a newaffs=1
if affs.newaffs == 1 then
    affs.newaffs = 0
    fg("sea_green")
    echo(" (Cure)")
    resetFormat()
    runCures()
end
if affs.newaffs == 1 then
    affs.newaffs = 0
    fg("sea_green")
    echo(" (Cure)")
    resetFormat()
    runCures()
end
Shaddus2009-09-08 10:03:33
I'll bite. Mind writing up instructions to install this? I'm new to Mudlet.
Unknown2009-09-08 13:00:13
QUOTE (Shaddus Mes'ard @ Sep 8 2009, 08:03 PM) <{POST_SNAPBACK}>
I'll bite. Mind writing up instructions to install this? I'm new to Mudlet.
Open the script editor.
Click on import. Navigate to each xml file and click enter. I could have combined them all into one, but this way makes it easier for me to update individual parts.
I warn you - what I have supplied is in no way even close to a working curing system. While the full profile, had I supplied it, will actually select cures and eat them (assuming diagnose is used to actually add the afflictions to the queue), that wasn't the point of the thread. For people that have written successful curing systems before (even elsewhere in IRE where many combat mechanics are different), the time consuming part of writing a curing system is gathering all of the affliction lines, and then creating all of the triggers.
The idea here is for people to not have to spend all those hours doing pleb work. Once the triggers are created they will be available for anyone wishing to write a mudlet system. If someone wishes to use them to create a fully functioning system they they give to everyone for free - great. If they want to sell it - that is great too. I might use/buy it myself

Since the triggers are still incomplete, I'm sort of hoping other people will finish them, even if it is just a bit at a time. I'll try to keep the attachments in the original post updated, even while I'm overseas and not playing, because doing so won't take much effort, and I may want to resume playing when I return (if I do, having a near-complete set of triggers will really help).
I'm not going to supply the full working system though, essentially because it isn't really working yet, outside of a few test afflictions. It's untidy, and probably doesn't much resemble how it will eventually become. There is no point me sharing that - so consider this more of a group trigger creation effort than a system. Though someday it may be a system, who knows?
Edit: If the triggers became much more complete in the near future, I'd have time before I leave to spar a bit and maybe start getting the guts of my system working. If it was at that point it might actually be worthwhile my posting the whole system for others to play with (and hopefully improve) while I'm gone. So if there are a few of you out there genuinely interested, start adding trigger lines

Janalon2009-09-08 19:48:15
QUOTE (Shaddus Mes'ard @ Sep 8 2009, 06:03 AM) <{POST_SNAPBACK}>
I'll bite. Mind writing up instructions to install this? I'm new to Mudlet.
You switched over?
Shaddus2009-09-08 22:16:14
QUOTE (Janalon @ Sep 8 2009, 02:48 PM) <{POST_SNAPBACK}>
You switched over?
No, but I'm always willing to try out new things.
Unknown2009-09-24 04:28:10
This makes life a lot easier.
I recently switched to Ubuntu, and forgot that I wasn't able to use my lovely MUSHclient and Mudbot to do my system for me
.
I recently switched to Ubuntu, and forgot that I wasn't able to use my lovely MUSHclient and Mudbot to do my system for me

Chade2009-09-24 08:44:08
You can use MUSH and Mudbot under Wine, just don't use the newer versions of Wine, use 1.0.1ish and in Wine's settings change it to use Windows 98 settings so the text editor doesn't cause MUSH to crash.
If you turn off the map capture and GUI in Treant it works pretty damn good to be honest, not as efficiently as Windows though.
If you turn off the map capture and GUI in Treant it works pretty damn good to be honest, not as efficiently as Windows though.
Unknown2009-09-24 23:14:08
Yeah, but I'd rather not run MUSH under Wine. I'd like to have as fast a connection as possible, especially on my school's nice ethernet. But thanks for the tip.