WCCMMUD.INI: SYS_RELOAD_KEY

Discussion on running your own board and editing MajorMUD.
Post Reply
rytz
Posts: 69
Joined: Tue Sep 17, 2013 12:53 pm
Location: USA

WCCMMUD.INI: SYS_RELOAD_KEY

Post by rytz » Tue Apr 10, 2018 10:36 pm

Hi:

I've got a local board set up and have the SYS MAP/GOTO stuff set up correctly for standard users.

I've noticed that setting SYS_RELOAD_KEY in the INI (to SYSOP in my case) has no effect in preventing a standard MAP/GOTO user from doing a SYS RELOAD. I tested/confirmed that a user doing this command actually does reload the INI file.

Is this a flaw in the game or is there something different that I need to do? I know that the command really has no effect since the file is unchanged, although there is the potential a user could spam this command and cause the system to take a performance hit (?).

Also, is there a master list of config items for WCCMMUD.INI somewhere? I know some are listed in the sysop release notes. There are also many which are not.

Thanks!


User avatar
Kyau
Posts: 67
Joined: Sun Jul 13, 2014 2:35 am
Location: Seattle, WA
Contact:

Re: WCCMMUD.INI: SYS_RELOAD_KEY

Post by Kyau » Tue Apr 10, 2018 11:48 pm

SYS_RELOAD_KEY is not a valid setting.

3.1) OPTIONAL CONFIGURATION OPTIONS inside WCCMMUD.RLN

That said, LLTMMINF adds a few more settings. Here is a copy of my .INI

Code: Select all

# GENERAL
BLANK_LASTNAME_ALLOWED=1
CODEC_OF_TWINKS=78
EXP_IN_TOPGANG=1
MAXIMUM_BANK_BALANCE=0
UPDATE_SPEED=0
# LOGGING
LOGFILE=WCCMMUD.LOG
LOG_SYSOP_COMMANDS=1
TRACK_LIMITED=1
SYS_LOG_DEATHS=1
# SYSOP COMMANDS
SYS_DISABLE_GANGS=MMUDNOGANG
SYS_ADDLIFE_KEY=MMUDGOD
SYS_ALIGNMENT_KEY=MMUDGOD
SYS_DISBAND_KEY=MMUDGOD
SYS_EDITEVIL_KEY=MMUDGOD
SYS_RESET_ROOMS=MMUDGOD
SYS_RETRAIN_KEY=MMUDGOD
SYS_SPEAK_KEY=MMUDGOD
SYS_TOPTEN_KEY=MMUDGOD
SYS_BUFFERS_KEY=MMUDOP
SYS_CHANGE_KEY=MMUDOP
SYS_CLEARSUICIDE_KEY=MMUDOP
SYS_JAIL_KEY=MMUDOP
SYS_LIGHTNING_KEY=MMUDOP
SYS_LISTLIMIT_KEY=MMUDELITE
SYS_LISTUSER_KEY=MMUDELITE
SYS_REPORT_KEY=MMUDELITE
SYS_STATUS_KEY=MMUDELITE
SYS_USERINFO_KEY=MMUDOP
SYS_GOTO_KEY=MMUD
SYS_MAP_KEY=MMUD
# LLTMMINF
LLTMMINF_SHOW_EP_FORGIVE_RATES=1
LLTMMINF_SYSTEM_NOTES_FILE=
LLTMMINF_MUDRANDOM_ENABLED=1
LLTMMINF_MUDRANDOM_COMMAND=/MUDRANDOM
LLTMMINF_MUDINFO_ENABLED=1
LLTMMINF_MUDINFO_COMMAND=/MUDINFO
LLTMMINF_MUDINFO_LIVESDISPLAY=0
LLTMMINF_MUDINFO_LOWESTLIFE=0
LLTMMINF_MUDINFO_DISPLAYLEVEL=1
I have never noticed what you are saying about SYS RELOAD.


rytz
Posts: 69
Joined: Tue Sep 17, 2013 12:53 pm
Location: USA

Re: WCCMMUD.INI: SYS_RELOAD_KEY

Post by rytz » Wed Apr 11, 2018 12:08 am

Hi Kyau - thanks for the response.

I'm going to go through the options you posted to see if I'm missing one. Is that a complete list?

The problem I was referring to is that "normal" users with the majormud gameop key (regardless of settings in WCCMMUD.INI) can issue a SYS RELOAD command in the game. I describe normal users as those access only to SYS MAP and SYS GOTO commands. According to the security settings in Worldgroup, these would be game ops.

Also, I'm not sure what the acronym LLTMMINF refers to?

Thanks.


rytz
Posts: 69
Joined: Tue Sep 17, 2013 12:53 pm
Location: USA

Re: WCCMMUD.INI: SYS_RELOAD_KEY

Post by rytz » Wed Apr 11, 2018 12:39 am

Kyau: To confirm, I checked against all of your WCCMMUD.INI options and I had all key-based options configured for sysop only access, save for SYS_MAP_KEY and SYS_GOTO_KEY.


User avatar
Kyau
Posts: 67
Joined: Sun Jul 13, 2014 2:35 am
Location: Seattle, WA
Contact:

Re: WCCMMUD.INI: SYS_RELOAD_KEY

Post by Kyau » Wed Apr 11, 2018 3:29 am

LLTMMINF is an addon for MajorMUD.

Those *should* be all of the options again check in WCCMMUD.RLN to be sure.

Have you tried not making them gameops and giving a key specific for MAP and GOTO like I did? The MMUD key I use is just that its the one I replaced NORMAL/DEMO with on all the MajorMUD stuff, its not a GameOP.


rytz
Posts: 69
Joined: Tue Sep 17, 2013 12:53 pm
Location: USA

Re: WCCMMUD.INI: SYS_RELOAD_KEY

Post by rytz » Wed Apr 11, 2018 4:16 am

Kyau wrote:
Wed Apr 11, 2018 3:29 am
Have you tried not making them gameops and giving a key specific for MAP and GOTO like I did? The MMUD key I use is just that its the one I replaced NORMAL/DEMO with on all the MajorMUD stuff, its not a GameOP.
In order for non-sysop users to get SYS MAP/SYS GOTO access, my understanding is that security changes in two areas are required:
> WG Security Settings (see screenshot):
>> WCCMMUD.MSG -> Key Required to issue GAMEOP commands -> NORMAL_USER_KEY
gameop.png
gameop.png (6.5 KiB) Viewed 454 times
> WCCMMUD.INI:
>> SYS_MAP_KEY and SYS_GOTO_KEY get set to NORMAL_USER_KEY
>> remaining key options get set to SYSOP_USER_KEY or whatever the sysop key is

I have tried setting the GAMEOP key to SYSOP instead (with correct WCCMMUD.INI settings), but then my "normal" users are not able to access SYS GOTO or SYS MAP.

Kyau wrote:
Wed Apr 11, 2018 3:29 am
LLTMMINF is an addon for MajorMUD.
Regarding LLTMMINF: I've never heard of it. Do you mean MajorMUD Plus? These are the only notes related to it for WCCMMUD.INI (from WCCMMUD.RLN):

Code: Select all

----------------------------------------------------------
Options for MajorMUD Plus (put in wccmmud.ini)

PLUS_PURCHASE_EMAIL_USERID 
  Valid Values:  userid                       
  Default Value: N/A
  Description:
     If SEND_EMAIL_FOR_PURCHASES is set then this is the
     userid who will receive the emails regarding plus
     purchases.  Note that there is NO default.

SEND_EMAIL_FOR_PURCHASES 
  Valid Values: 0 (means don't send email)     
                1 (means only send email)
  Default Value: 0
  Description:
     When set to a non-zero value, MajorMUD Plus will 
     send email to the sysop (based on the MajorMUD CNF
     option '') to record a purchase.  The user will NOT
     be charged credits, game currency, or days if this
     option is set.  Typically this is to be used for 
     sysops running on a DMA server where credits or
     account days don't make any sense to use. Note that
     you must specify PLUS_PURCHASE_EMAIL_USERID for this
     to work.

----------------------------------------------------------
Can you provide a link for the LLTMMINF add-on that has more info?

Thanks.


User avatar
Kyau
Posts: 67
Joined: Sun Jul 13, 2014 2:35 am
Location: Seattle, WA
Contact:

Re: WCCMMUD.INI: SYS_RELOAD_KEY

Post by Kyau » Wed Apr 11, 2018 5:04 am

LTT MajorMUD Information v1.0.0.47 was posted by me in the file section on here a little bit back, it is in other download packs as well.

Looks like you are right about assigning GAMEOP though, I did some more research into my settings (I was looking at the wrong MUD). The only thing I can think of would be to HEX the DLL to change RELOAD to some other six letter command.


rytz
Posts: 69
Joined: Tue Sep 17, 2013 12:53 pm
Location: USA

Re: WCCMMUD.INI: SYS_RELOAD_KEY

Post by rytz » Wed Apr 11, 2018 5:50 am

Kyau wrote:
Wed Apr 11, 2018 5:04 am
LTT MajorMUD Information v1.0.0.47 was posted by me in the file section on here a little bit back, it is in other download packs as well.

Looks like you are right about assigning GAMEOP though, I did some more research into my settings (I was looking at the wrong MUD). The only thing I can think of would be to HEX the DLL to change RELOAD to some other six letter command.
Thanks Kyau. I checked out your module via your web page but can't use it since I'm running WG 2.0 (non-NT). :(


User avatar
Kyau
Posts: 67
Joined: Sun Jul 13, 2014 2:35 am
Location: Seattle, WA
Contact:

Re: WCCMMUD.INI: SYS_RELOAD_KEY

Post by Kyau » Wed Apr 11, 2018 5:59 am

Ya not sure if LLT works on older versions.


Post Reply