Author Topic: Parse Error  (Read 5170 times)

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Parse Error
« 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?

mooseberry

  • Community Moderators
  • *
  • Posts: 4005
  • Turrets: +666/-325
Re: Parse Error
« Reply #1 on: April 16, 2008, 04:35:36 am »
flags
Bucket: [You hear the distant howl of a coyote losing at Counterstrike.]

मैं हिन्दी का समर्थन

~Mooseberry.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Parse Error
« Reply #2 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.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: Parse Error
« Reply #3 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.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: Parse Error
« Reply #4 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
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: Parse Error
« Reply #5 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.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Parse Error
« Reply #6 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)
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Paradox

  • Posts: 2612
  • Turrets: +253/-250
    • Paradox Designs
Re: Parse Error
« Reply #7 on: April 20, 2008, 05:58:16 am »
"they arent bugs! they are unintended features!"

∧OMG ENTROPY∧

tojimaru

  • Posts: 81
  • Turrets: +6/-6
Re: Parse Error
« Reply #8 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.

bob

  • Posts: 7
  • Turrets: +0/-0
Re: Parse Error
« Reply #9 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.

Undeference

  • Tremulous Developers
  • *
  • Posts: 1254
  • Turrets: +122/-45
Re: Parse Error
« Reply #10 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.
Need help? Ask intelligently. Please share solutions you find.

Thats what we need, helpful players, not more powerful admins.