[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  CEDIT and the Command.dat File

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

CEDIT and the Command.dat File

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Bcappella   (1 post)  [Biography] bio
Date Mon 20 Jun 2005 09:55 PM (UTC)  quote  ]
Message
Hi there,

I am certain that this has been experienced, solved, and old news for almost everyone, but I can't seem to find an answer on this:

I've taken a few snippets of code off this site, let's take immgive for example, implemented it into the tables.c, mud.h, and commands.dat file.

All was great until I did a cedit on the command and then saved and then the command would not work after a hotboot.

Looking at the Commands.dat file the command has this now:
#COMMAND
Name immgive~
Code (0x819dad0)
Position 100
Level 65
Log 1
End

Now once I go back into the commands.dat table and change the (0x819dad0) to do_immgive it persists through reboots... Am I missing something? I am quite nervous about using cedit if its going to be such a process... Any suggestions, and I apologize in advance if this a complete noob problem, but I would love any advice...

Thanks,
Brooks
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Reply #1 on Mon 20 Jun 2005 09:59 PM (UTC)  quote  ]

Amended on Tue 21 Jun 2005 04:54 AM (UTC) by Zeno

Message
Did you add the 1 reference in mud.h and the 2 in tables.c? Could you post the lines here?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,024 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]