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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  SWR 1.0 pfiles don't delete after death

SWR 1.0 pfiles don't delete after death

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Jason   (109 posts)  [Biography] bio
Date Sun 09 Feb 2003 10:01 AM (UTC)
Message
ok here's my problem. On the swr mud the pfiles are supposed to delete after a players death. My pfiles will not delete... i think the problem is in the raw_kill part of fight.c but am unsure if any one else has had this problem please let me know. I saw one post about it and it was of no help.
[Go to top] top

Posted by Meerclar   USA  (733 posts)  [Biography] bio
Date Reply #1 on Sun 09 Feb 2003 11:52 PM (UTC)
Message
1) As a rule, pfiles dont delete after a char dies. What exactly is the point of a MU* if you only have one life?

2) The raw kill function in fight.c only applies to the immortal slay command and the various spells and mob programs that use the rawkill function.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Reply #2 on Mon 10 Feb 2003 02:33 AM (UTC)
Message
Sorry Meerclar, but thats wrong. He is using SWR, and the raw_kill function not only pertains to the immortal slay command but also just dying in general. I would have to look through the source to see if I could be any help Jason.

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Liltoflm   (22 posts)  [Biography] bio
Date Reply #3 on Tue 11 Feb 2003 02:35 AM (UTC)
Message
In the /swr directory, (where you can see src,player,area,etc.) make a directory named backup and place a folder for each letter of the alphabet, just like the player folder.When a player is permenantly dead, a file is placed in their respective folder containing a backup pfile incase they need to be restored, though the file does not include items or equipment the player had.
[Go to top] top

Posted by Jason   (109 posts)  [Biography] bio
Date Reply #4 on Sun 16 Feb 2003 07:00 AM (UTC)
Message
Thanx works like a charm...
[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.


13,546 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at HostDash]