A
/ \ _ Play Now Nemesis on
| | | | _______ _ _ _______ _______ _ _______
| |\ | | | ____| | \ / | | ____| / ____| | | / ____|
/-------/-------------------------------------------------------------------,
O= Home <=XX| About News Pics Adventurers Wizards Download Connect >
\-------\-------------------------------------------------------------------'
| | \ | | |____ | | | | | |____ ___ \ \ | | ___ \ \
| | \_| |_______| |_| |_| |_______| |_______/ |_| |_______/
\ /
V
Re: forcing and removing files (Kiri, Aug 17 2016, 62)
Firstly see also my note "Re: Use of this_player()->more(...)" dating from
May 22 2016. It says a lot about read and write access!
Secondly use the efuns like rm(), not the lfuns remove_file() in obj/wizard
(obj/player has no such lfun) or something like this. Don't try to force a
player to do this.
Thirdly, if a file exists AND is readable, this can be tested via efuns
like file_size(). Ok, this says nothing about write access.
But there are other lfuns in obj/player which I will not post here ;-) If
you have reasonable arguments, you may ask me personally.
And the last point: monsters can't read ;-) Technically they are not able
to read in order to block abuse.
Kiri
See also:
PS: I removed some notes of this thread by Poe and Shadowfax dating from
Jul 29 1993 to Aug 2 1993. The above and the other note about read and
write access explain how it works :-) Further questions? Don't hesitate
to contact me!
Here you can discuss LPC issues like how to code this and that,
who has coded something like this or how that works etc.
As there are no real "secrets" on this board it is now
available via https://nemesis.de/lpc/board/10/ , too.
The board contains 23 notes:
- forcing and removing files (Shadowfax, Jul 29 1993, 29)
- Re: Has someone coded chairs already? (Ping, Oct 23 1993, 30)
- How does under_water work? (Jhudsui, Oct 28 1993, 28)
- Request for "query_action()" in living.c (Kilroy, Oct 29 1993, 25)
- /obj/chest.c (Quicksilver, Nov 11 1993, 24)
- Amulet of Blinding ? (Mambres, Nov 11 1993, 22)
- Re: Amulet of Blinding ? (Poe, Nov 20 1993, 48)
- P_DESTRUCT_WHEN_SOLD (Mambres, Dec 4 1993, 22)
- set_items(({ "sky"... (Mambres, Jan 12 1994, 24)
- Howto add default items to a standard shop? (Berny, Dec 23 2001, 30)
- Use of this_player()->more(...) (Teddy, May 11 2002, 29)
- Re: Howto add default items to a standard shop? (Teddy, May 13 2002, 29)
- Re: Use of this_player()->more(...) (Kiri, May 22 2016, 62)
- Re: missing string efuns... (Kiri, Aug 15 2016, 62)
- Re: Request for "query_action()" in living.c (Kiri, Aug 15 2016, 62)
- Re: How does under_water work? (Kiri, Aug 15 2016, 62)
- Re: /obj/chest.c (Kiri, Aug 15 2016, 62)
- Re: Has someone coded chairs already? (Kiri, Aug 15 2016, 62)
- Re: P_DESTRUCT_WHEN_SOLD (Kiri, Aug 16 2016, 62)
- Re: forcing and removing files (Kiri, Aug 17 2016, 62)
- New support for feelings with monsters (Teddy, Jan 28 2017, 50)
- Re: set_items(({ "sky"... (Kiri, Nov 17 2017, 62)
- P_AREA property (Teddy, Nov 26 2017, 50)
This page was generated in LPC
Imprint / Impressum