MBBSEmu icon indicating copy to clipboard operation
MBBSEmu copied to clipboard

[DIALCHAT] DialChat - Configuration commands unavailable.

Open dlightman311 opened this issue 5 years ago • 3 comments

DialChat handles configuration in module vs msg via the /config, /config1 & /config2 commands. Under MBBSEmu when attempting to use any of these commands DialChat responds with No such command.

Likely unrelated but there is also welcome message displayed on entry that is bypassed on MBBSEmu and the module responds with Welcome back, name!. In DEMO mode this is where the module tells the user they are limited to 5 minutes until the sysop registers the module.

Verified this works correctly in v6.25.

image image image image

dlightman311 avatar Aug 21 '20 02:08 dlightman311

It looks like in DialChat's sttrou() it's checking a flag in the user's VDA:

image

Verified in source this check is: if (chtvda->level == 2) and is set by this key check if (haskey(config.syskey)) chtvda->level = 2;

This might be an issue with the data lookup in the users VDA. We should probably test VDA more thoroughly to ensure it's being setup/saved properly.

enusbaum avatar Aug 21 '20 15:08 enusbaum

Didn't want to start another issue since this is possibly related-- it appears that DialChat gives Sysop access (the "S" flag) to anyone who enters the module, regardless of their BBS access level.

BlaZZZed1980 avatar Oct 15 '20 12:10 BlaZZZed1980

Currently the system responds with YES to any check on a flag. In future versions we'll be implementing more specific key management via the User Database.

enusbaum avatar Oct 15 '20 12:10 enusbaum