Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register


This is a discussion on "Deleting spells." in the Top Mud Sites MUD Coding forum :

In the MUD that I'm making spells like "acid ball" don't really fit in... So what I did was I went though the spell list and redid it just as I wanted it. Well the mud wouldn't start up. So I got the old file back from the trash can and put it back in place. What I was doing was I just deleted the ones that I didn't want. I made sure that the spacing and all was still the same. So how exactly do you get rid of spells? I'm using ...



You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today!

If you have any problems with the registration process or your account login, please contact us.

If you are a registered member of the old TMS forums, please click here
Reply
 
LinkBack Thread Tools
Old 08-17-2002, 06:09 PM   #1
Danlor
Member
 
Join Date: Aug 2002
Posts: 41
Danlor is on a distinguished road
Lightbulb

In the MUD that I'm making spells like "acid ball" don't really fit in...

So what I did was I went though the spell list and redid it just as I wanted it.

Well the mud wouldn't start up. So I got the old file back from the trash can and put it back in place.

What I was doing was I just deleted the ones that I didn't want. I made sure that the spacing and all was still the same.

So how exactly do you get rid of spells?

I'm using the SMAUG code base.
Danlor is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-08-2002, 08:51 PM   #2
Davairus
Member
 
Join Date: Jun 2002
Posts: 142
Davairus is an unknown quantity at this point
I don't use smaug but I'll try to help.. uh.

spell is declared in magic.h
spell function is in magic.c
spell levels and stuff are in const.c
** remove all of those ***

Again, my codebase isn't smaug but last I logged on Realms of Despair we're clearly similar to that so it probably has similar principles. Well, nobody answered so I thought you got nothing to lose, and I'm no stranger to egg on my face. Good luck!
Davairus is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 09-09-2002, 06:59 AM   #3
Moridian
New Member
 
Join Date: Sep 2002
Posts: 17
Moridian is on a distinguished road
You can do one of two things:

Code a function into 'do_sset' that will delete the skill from the skill table, or manualy
edit the 'skills.dat' file inside the /system/ directory.

If you choose to manualy edit the 'skills.dat' file you need to be careful as you've seen.
Make sure you delete all of the lines from (and including) the #skill all the way to (and
including) the 'End'

As long as you delete the entire skill block for the skill and don't add any extra characters
in accicentaly you should be just fine.

-Moridian
<a href="telnet://edgeofcreation.net:5665" target="_blank">edgeofcreation.net 5665</a>
Moridian is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools


Deleting spells. - Similar Threads
Thread Thread Starter Forum Replies Last Post
When spells go wrong... The Vorpal Tribble MUD Humor 24 01-24-2003 01:30 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -4. The time now is 02:32 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Style based on a design by Essilor
Copyright Top Mud Sites.com 2007