I've begun helping a friend out with his new venture in creating a MUD, and I've had a few hiccups with the OLC creation of spells/skills. I can make them just fine, but I can't figure out how to delete them after screwing up with a name (it creates a double) because Opyt is an asshole.
I guess I missed where Meryk established in this that he's doing this on a smaug derivative or smaug codebase… but, yes, I believe I saw that the addition of a delete option for deities, spells/skills/tongues, boards, and so forth had at one time been proposed on The FUSS Project, I'm not sure whatever came of it though…at least, not right off-hand. In fact, the idea of adding an OLC means to delete deities comes directly from the inclusion of changes from the release of Smaug 1.8.
Well, while it would've been very helpful for you to have mentioned it, Meryk, I was really jumping at the lot of them for assuming that it was Smaug Based (or at least diku-derived) than at you for forgetting to mention it. :lol:
Well I think he was assumed to be talking about Smaug since the process was described as OLC skill/spell creation. Had it been LP then it likely would have sounded very different.
This begs the question though, is it feasible to make a command/extension of a command, to delete an OLC skill?
This is something I keep meaning to put in AFKMud since it's only logical to be able to destroy what you create. But even without a direct OLC method to delete a skill you can work around a typo in the name by simply giving the skill a new name rather than creating a second one with the right name.
There must be some difference, different SN #s at least? Otherwise how would the code know there were actually two of them? Unless it's only displaying it twice on you… had you rechecked it after a hotboot/reboot?
Okay, unfortunately, at this point I'm out of my depth, at least given what info you've given us to work with.. I'd offer to consider the issue and see if I can think of anything else for you to try over the next couple of days, but I leave in the morning for a short trip that will have me out of town until Wednesady, and I imagine that you'd really like to find some semblence ofa solution before then. What I can do is reassure you as firmly as possible that you're in good, quite possibly the best possible, hands with Samson, David, Kayle, and some of the others who read these regularly but who haven't yet contributed to this thread looking into it for you though.
One thing that appears to be a bug is that changing a skill's name will not cause the skill table to be resorted, and hence that skill will no longer be referable by name, but only by number. (Note that this appears to have been the case both before and after my skill table rehaul.) However, that should not matter in this particular case because we are acting upon skills that we just created and hence were put in the non-sorted section of the skill table, where there is not binary but linear search.
Could you please post an exact list of steps to create and demonstrate the problem, including exactly which version of FUSS you're using, etc. Thanks. :smile: