View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000165 | LDMud 3.5 | Runtime | public | 2004-11-26 21:02 | 2019-08-29 21:32 |
Reporter | Assigned To | Gnomi | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Fixed in Version | 3.5.1 | ||||
Summary | 0000165: Make hard coded commands independent of 'wizard'ness | ||||
Description | Short: Get rid of the hardcoded status... commands Date: Mon, 14 Dec 1998 11:33:40 +0100 Type: Feature State: Acknowledged Freaky suggested to add a privilege check to the user commands 'dumpallobj', 'malloc' and 'status', like it is done already for 'showsmallnewmalloced'. However, he'd like to see all the checks done in the master function privilege_violation(), so that the master object does not need to know about wizards at all. The efun set_is_wizard() would become useless, too. --- Freaky wrote: --- Die Driver-Befehle 'dumpallobj' 'malloc' 'status' und 'status <parameter>' sollten alle (wie auch schon showsmallnewmalloced) im Master abgefragt werden, ob derjenige, der das eingibt, das ueberhaupt darf. Dazu gibt es ja schon 'master::query_player_level(string what, object ob)' Momentan kann man nicht verhindern, dass jemand ein 'dumpallobj' ausfuehrt. Die Master-Funktion ist meiner Meinung nach allerdings etwas ungluecklich gewaehlt. Man koennte das auch ueber die privilege_violation regeln, wo die ganze Sache besser aufgehoben waere. | ||||
Tags | No tags attached. | ||||
|
I'd like to get rid of them alltogether. 'dumpallobj' should be an efun, the rest can be implemented in LPC using information from the driver_info efun. |
|
I agree. We should provide sefuns processing information from driver_info and printing them in the current style. BTW: There is one obstacle: the internal statistic counter are now (in 3.5) a uint64_t, because they continuedly overflowed while being 32 bit wide. They can only be represented in an LPC int (and therefore in driver_info) on 64 bit platforms. |
|
In LDMud 3.5.0 the hard coded actions were removed and can be implemented in the mudlib instead. |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-11-26 21:02 |
|
New Issue | |
2009-06-16 07:27 | Gnomi | Note Added: 0001208 | |
2009-06-16 07:31 | Gnomi | Project | LDMud => LDMud 3.5 |
2009-06-16 07:46 | zesstra | Note Added: 0001209 | |
2009-09-16 03:40 | zesstra | Relationship added | related to 0000672 |
2019-08-29 21:32 | Gnomi | Assigned To | => Gnomi |
2019-08-29 21:32 | Gnomi | Status | new => closed |
2019-08-29 21:32 | Gnomi | Resolution | open => fixed |
2019-08-29 21:32 | Gnomi | Fixed in Version | => 3.5.1 |
2019-08-29 21:32 | Gnomi | Note Added: 0002476 |