Tremulous Forum

Community => Servers => Topic started by: tojimaru on April 16, 2008, 04:29:42 am

Title: Parse Error
Post by: tojimaru on April 16, 2008, 04:29:42 am
I type this in my admin.dat file

[level]
level   = 5
name  = Member
flags   = a1d3e4g6h7i9k0mpCDGRHUP

I do !readconfig and I get

!readconfig: [level] parse error near a1d3e4g6h7i9k0mpCDGRHUP on line 5386

Help please?
Title: Re: Parse Error
Post by: mooseberry on April 16, 2008, 04:35:36 am
flags
Title: Re: Parse Error
Post by: David on April 16, 2008, 10:45:00 am
You probably have a flag not supported by your QVM.
Read its docs to see what it supports.
Title: Re: Parse Error
Post by: tojimaru on April 17, 2008, 03:03:43 pm
All those flags support the QVM, because I did !help (name of command)  and got those flags.
Title: Re: Parse Error
Post by: Undeference on April 17, 2008, 04:53:43 pm
Parse errors occur with malformed files. What was pasted looks well-formed, but is that exactly what is in the admin.dat (note that spaces can be important), and is that the exact message?

If those are exact copies, then you may have found a bug. If you want to help the bug get fixed, you should send a test case along with any other relevant information to the appropriate channels. As it is, the closest you have come to mentioning the qvm you use is "the QVM".

FYI, using:
admin.dat in its entirety (which is a direct c+p from the initial post)
Code: [Select]
[level]
level   = 5
name  = Member
flags   = a1d3e4g6h7i9k0mpCDGRHUP
I get
Code: [Select]
]!readconfig
!readconfig: loaded 1 levels, 0 admins, 0 bans, 0 commands
Title: Re: Parse Error
Post by: tojimaru on April 18, 2008, 02:49:52 pm
The game qvm that I use is P-g-qvm 1.5.2. Yes, that's exactly what I typed in the admin.dat and yes, that is the exact message I get.
Title: Re: Parse Error
Post by: David on April 18, 2008, 02:52:51 pm
does the admin.dat care about line ends?
Also, test it with TJW's QVm before sending a bug.  If it only happens on the PG one then send the bug to the pgqvm people.  (Or get a better QVM, lak's is good and has less bugs)
Title: Re: Parse Error
Post by: Paradox on April 20, 2008, 05:58:16 am
"they arent bugs! they are unintended features!"
Title: Re: Parse Error
Post by: tojimaru on April 22, 2008, 02:42:21 pm
Well, I tried erasing all the admin things and doing them all over again and it worked this time. Thanks for all your help.
Title: Re: Parse Error
Post by: bob on April 24, 2008, 01:04:37 am

!readconfig: [level] parse error near a1d3e4g6h7i9k0mpCDGRHUP on line 5386


This is what I find interesting.

That's probably why erasing all of your junk you had in that file worked.
Title: Re: Parse Error
Post by: Undeference on April 24, 2008, 03:47:27 am

!readconfig: [level] parse error near a1d3e4g6h7i9k0mpCDGRHUP on line 5386


This is what I find interesting.

That's probably why erasing all of your junk you had in that file worked.
That's an entirely separate, totally harmless, and completely unrelated bug.