|
Package Library Poll |
Use it |
|
38% |
[ 8 ] |
Don't use it |
|
33% |
[ 7 ] |
Don't really know what it is |
|
14% |
[ 3 ] |
Not bothered |
|
14% |
[ 3 ] |
|
Total Votes : 21 |
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Mon Nov 12, 2007 5:50 pm
Package Library Poll |
How many people who have cMUD use the Package Library?
What packages do you have installed?
Answer: ColourWheel Package
What packages would you like to see?
Answer: Just more scripts by others!!
Have you created one?
Answer: I have created the Mundate Auto Eat/Drink Package |
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Nov 12, 2007 6:23 pm |
Heh...I'd probably add another option:
"Don't use it because it's broken in the 1.34 public version and I'm waiting for the 2.x public version" |
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Mon Nov 12, 2007 6:25 pm |
I forgot it wasn't working in 1.34 Public version... Another reason why everyone is going to love 2.x version!!
|
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
Taz GURU
Joined: 28 Sep 2000 Posts: 1395 Location: United Kingdom
|
Posted: Mon Nov 12, 2007 11:13 pm |
Zugg wrote: |
Heh...I'd probably add another option:
"Don't use it because it's broken in the 1.34 public version and I'm waiting for the 2.x public version" |
*rofl* I forgot that option when I made darmir's post into an actual poll.
I haven't used the library so I don't have any library packages in use nor have I created one. I'm not sure what I'd like to see in the library. |
|
_________________ Taz :) |
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Tue Nov 13, 2007 1:22 pm |
I suggest taking a look at the library. It may give you some ideas as to what you can do.
|
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
Asilient_1 Apprentice
Joined: 26 Apr 2007 Posts: 113
|
Posted: Wed Nov 14, 2007 10:46 pm |
I don't use the package library, personally, though I probably would for some small things in the future. Right now it's not something that has really gained my attention.
|
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Fri Nov 16, 2007 2:04 pm |
Even though the Package Library is broken in 1.34 version I thought I would see more responses to at least the question:
darmir wrote: |
What packages would you like to see? |
At least I thought I would see more basic packages being as for, like ones that all muds could us. |
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Fri Nov 16, 2007 5:37 pm |
[quote] like ones that all muds could us[e]]
That's hard. Almost every MUD is very different, so most non-trivial scripts are going to be very different also. I've had the same trouble creating useful examples in the help file. I have some tutorial ideas that I'll try to add to the help and knowledge base after the CMUD 2.x public release. But in general it's very hard to come up with useful stuff that would actually work on all muds. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Nov 16, 2007 5:58 pm |
I am actually planing on spending some time over the next week scouring the forums for some basic common things I can put together into a general use functions package. My goal with it is to provide a few common script things like my nifty list functions, and do it in such a way that another package can check for it easily and suggest downloading it. I am still thinking about how to design it so that it is easy to add the dependency information for other builders.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
JQuilici Adept
Joined: 21 Sep 2005 Posts: 250 Location: Austin, TX
|
Posted: Fri Nov 16, 2007 7:20 pm |
Zugg wrote: |
But in general it's very hard to come up with useful stuff that would actually work on all muds. |
More or less anything that reads from or writes to the mud socket is going to rely on something specific to a mud, or a class of muds. In other words, anything that actually triggers or sends commands is almost certainly going to be mud-specific.
However, as Vijilante suggests, it may be possible and useful to build a library of useful black-box data structure routines, especially if that library is thread-safe. Then, end users can just use the structures without worrying about synchronization in their own code.
Here are a few thoughts I've had for things to build (some already built in zMUD, but not yet converted, and nothing thread-safe yet). Please let me know if any would be useful to people other than me:
- Priority queue
- Lookup table supporting lookup-by-prefix
- Thread-safe FIFO queue (not clear if the builtins are thread safe, based on some of Zugg's comments)
- Reader/writer locks
|
|
_________________ Come visit Mozart Mud...and tell an imm that Aerith sent you! |
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Fri Nov 16, 2007 7:25 pm |
Well, I think my script will work with any mud. ;) It is very basic eat script which you just change the trigger to your muds hunry line and it looks in your inventory which I believe all muds us and look in a container.
|
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
JQuilici Adept
Joined: 21 Sep 2005 Posts: 250 Location: Austin, TX
|
Posted: Fri Nov 16, 2007 9:50 pm |
darmir wrote: |
Well, I think my script will work with any mud. ;) It is very basic eat script which you just change the trigger to your muds hunry line and it looks in your inventory which I believe all muds us and look in a container. |
You said it...to use the package, the end user has to alter part of it (the trigger) to fit their own mud. And I daresay that 'looking in inventory' will have some mud-specific code (to parse the output from 'inventory', or 'inv', or 'ii' or whatever works on your mud), and more to recognize which items are food, pull 'em out, and eat 'em.
So it's not ready to use out of the box - it's a code example (or, if you prefer, a package that works on your mud and can easily be adapted to others). There's nothing wrong with that (far from it), but it's not a generic package that will work on any mud, either. Vijilante's example of list-manipulation functions, on the other hand, need never be edited by an end-user. |
|
_________________ Come visit Mozart Mud...and tell an imm that Aerith sent you! |
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Fri Nov 16, 2007 9:54 pm |
I guess you are right. So how would you say my script was? Generic enough that you could modify it for another mud? I am looking for input here.
|
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
JQuilici Adept
Joined: 21 Sep 2005 Posts: 250 Location: Austin, TX
|
Posted: Fri Nov 16, 2007 10:06 pm |
darmir wrote: |
I guess you are right. So how would you say my script was? Generic enough that you could modify it for another mud? I am looking for input here. |
Don't get me wrong, please. I'd encourage you to put the package up in the library. Anyone who plays your mud can use it, others may be able to, and still others can easily adapt it to their muds. That's pretty much the best you can hope for (unless the package is in that narrow class of black-box things I mentioned above) - and it's what the library is FOR. |
|
_________________ Come visit Mozart Mud...and tell an imm that Aerith sent you! |
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Fri Nov 16, 2007 10:16 pm |
I have already put it up there. I am not being discouraged. I want to try to make it a little more usable for other muds too. With the least amount of changes for other muds. Maybe If some people give me verbiage for their muds for inventory and hungry lines I can adapt it to work for most muds.
|
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Nov 16, 2007 11:15 pm |
After 2.12 is out and I can play with the onLoad and a few other options I should be able to put together some generic detect online/main window type thing. Couple that with an idea I had back in 1.08 that I forgot to follow up on and there will be a way to make packages work to customize themselves for a users mud. Trust me I have half the design figured up and spend time thinking about it when I can't stand to look at the rewrite of my curing system.
There are already a few tricks you can do that could be used to mutate the package. Let's try the trigger that says we need to eat first.
First we need to find out what if any changes are required to the triggering text. If the user is online or has been online then there is a good chance we can find something. To do this you would do something like
Code: |
#SCROLL {^You *{hungry|famished|starving|snack|eat}} |
You would have a trigger set up to capture the results, and then have the user pick out the correct line.
Next is locate the existing trigger with the COM interface, this is because we want to change its pattern without recreating the whole thing. Zugg has said the Lua interface is already better able to handle such things, so this should get easier soon. Once found you change the pattern text.
Then you can move on to other types of things like what is food, how to look inside containers, and inventory capture. It is truly difficult to build full mutation unless you put some of the commands into variables, and then having done that your scripts become almost incomprehensible. That was part of what the trigger wizard was created for. Building complex mutating packages may just have to wait for the next incarnation of the wizard, for now some simpler ones are doable and I am aiming at providing some building blocks for doing it very soon. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
acaykath Wanderer
Joined: 03 Aug 2005 Posts: 84
|
Posted: Sat Nov 17, 2007 1:54 am |
Another reason to look forward to scriptable forms, as I am assuming this might let you make a mini configuration GUI for any scripts that you distribute so that it doesn't matter that muds have different triggering strings or commands.
|
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Sat Nov 17, 2007 5:11 am |
Cool.
I wish I new the scripting a little better. I don't understand COM at all and I haven't even heard of the scroll command. |
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Sat Dec 01, 2007 11:30 pm |
*BUMP*
I am reviving this poll since zugg released 2.x version of cMUD? Let's get voting people. |
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Sun Dec 02, 2007 2:59 am |
He did? Check out the stickies in General Discussion.
|
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Tue Nov 09, 2010 1:49 am |
Now that v3.31 is a public release and has been out a few weeks. I would like to revive this poll.
What packages do you use and what packages would you like to see?
I use the following packages:
Category: Complete Script Library
- Speech Types
Category: Convenience
- Mundane AutoEat/Drink Script
Category: Pirating
- Ship Tracker
Category: Utilities
- Status Bars
Category: Utility
- SOI - Crafting Helper |
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Tue Nov 09, 2010 1:50 pm |
Since almost all of the packages are designed for a specific mud, that factor will dominate people's answers. Perhaps a better question is what _type_ of packages do you use, or would like to see. If you are wishing for a specific type of package, be specific about what you are looking for. Some of the possible types I can think of are:
General Purpose Database
Mud-Specific Database (Empty Data)
Mud-Specific Database (Data Already Entered)
Mud-Specific Mapping Aids
Mud-Specific Map Configurations (This is not possible yet, but might be possible in the future)
Mud-Specific Maps (This is not possible yet, but might be possible in the future)
Mud-Specific Status Bars/Windows
Mud-Specific Crafting Aids
Mud-Specific Combat Aids
Mud-Specific Quest Tracker
General Purpose Speech Modifier
Mud-Specific Eat/Drink/Loot Aids
General Purpose Logging Aids
General Purpose Date/Time Math Functions
General Purpose Scripting Functions
and I'm sure people can come up with more. |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Tue Nov 09, 2010 2:31 pm |
Now to answer...
I am not currently using any packages that I did not write myself. I have in the past examined a number of packages from the Library for inspiration, including:
General Purpose Database--for tracking pc acquaintances
Mud-Specific Mapping Aids--for ideas on making a compass-rose
Mud-Specific Status Bars/Windows
Mud-Specific Crafting Aids
I have created a number of packages, but only a couple are foolproof enough and documented enough to put in the Library:
Mud-Specific Skill Tracker
Mud-Specific Database
Mud-Specific Crafting Aids
General Purpose Scripting Functions--for Mathematical Set functions, and other things I can't recall off the top of my head
Mud-Specific Status Bars/Windows
Mud-Specific Mapping Aids
General Purpose Database--almost completed, which I will use to record information about craftable objects, recipes to make them, acquaintances, skill trees, clans, animals and plants, and relationships between them, e.g. object x is symbolic gear for clan y, animal x produces objects y and z when skinned, recipe x requires skill y, etc.
I have wanted the following packages:
General Purpse Speech Modifier--for a long time, I wanted to make scripts for 'jive', 'valspeak', 'swedish chef', etc., just for fun :)
General Purpose Date/Time Math Functions--e.g. November 9, 2010 plus 30 days equals December 9, 2010. Even better if it can be configured for fantasy calendars--e.g. Petalspread 5, 368 plus 20 days equals Greentide 10, 368. |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Tue Nov 09, 2010 5:27 pm |
I am going to create an two all new polls to get a better sense of this info, rather than constantly reviving and older thread.
|
|
_________________ Asati di tempari! |
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Tue Nov 09, 2010 6:39 pm |
Tech wrote: |
I am going to create an two all new polls to get a better sense of this info, rather than constantly reviving and older thread. |
Thanks Tech! I couldn't start a new poll so I just revived this VERY old one. |
|
_________________ Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian) |
|
|
|
|
|