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
➜ PennMUSH
➜ Running the server
➜ names.cnf not loading?
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Vchat20
USA (7 posts) Bio
|
| Date
| Mon 06 Nov 2006 01:07 AM (UTC) |
| Message
| Alright. I have been having some trouble trying to get this problem sorted here. The fact is we have been getting a number of people creating new players with obviously fake names like 'character' and 'name' amongst others. I've tried setting them in the names.cnf file like what's supposed to work, but no matter what I try, it never works. Tried an in-place reboot many times, even tried chmodding the names.cnf file 777 just for kicks. netmush.log doesnt read anything on names.cnf even being glanced at. And I am doubly sure its set and uncommented in mush.cnf
Any ideas what the problem could be here? I am at a loss of where to look for any possible solution.
Btw, this is a redhat compiled penn 1.8.1 patchlevel 9 here if it helps. There have been some MINOR hardcode changes made by a co-admin who actually owns the server. I think one of those changes was adding color to the connect.txt screen which is the ONLY thing I can think that may cause a problem if anything hardcode related. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,165 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Mon 06 Nov 2006 02:17 AM (UTC) |
| Message
| I don't know what the problem is here. I tried it on my copy (PennMUSH version 1.7.6 patchlevel 14 [09/23/2003]) and it works fine. Trying to make a character called "name" gave me "Either there is already a player with that name, or that name is illegal.".
Try typing:
@config files
Files used by the MUSH
input_database data/indb
output_database data/outdb
crash_database data/PANIC.db
mail_database data/maildb
chat_database data/chatdb
compress_suffix .gz
compress_program gzip
uncompress_program gunzip
access_file access.cnf
names_file names.cnf
I see in my case that the file is names.cnf, maybe it is different for you?
A quick look at the source for my version shows that if the names.cnf file does not exist, the name is considered valid, there is no error message about the file being missing. Perhaps you have your names.cnf file in the wrong directory or something?
You may want to edit the function forbidden_name in predicat.c and put a message there if the file cannot be opened. Or, run the MUSH under gdb and put a breakpoint in for forbidden_name function. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Vchat20
USA (7 posts) Bio
|
| Date
| Reply #2 on Mon 06 Nov 2006 02:22 AM (UTC) |
| Message
| Yup. Already doublechecked @config. name.cnf is in the correct directory alongside the others like access.cnf and mush.cnf
As for the forbidden_name function, ill have to wait till the admin who actually runs the server gets on since he's the only one with access to all the compile apps on the server for the time being. But ill take a gander at the source code for the time being and see if I cant find anything in there. | | 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.
13,439 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top