Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ 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 page


Posted by Jason   (109 posts)  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.
Top

Posted by Meerclar   USA  (733 posts)  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
Top

Posted by Nick Cash   USA  (626 posts)  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
Top

Posted by Liltoflm   (22 posts)  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.
Top

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


18,698 views.

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

Go to topic:           Search the forum


[Go to top] top

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