noxsicarius / Epoch-Admin-Tools

An admin menu for the AmrA2 DayZ mod. Lead Developer: NoxSicarius
GNU General Public License v3.0
30 stars 48 forks source link

Syntax Error #77

Closed dabaer closed 10 years ago

dabaer commented 10 years ago

Something in the Admin Tools is causing the server to crash when anyone joins with the error "File mpmissions\instance\description.ext, line 141: '.': ';' encountered instead of '='.

Steps to reproduce (you can't give me hell for not following the install, your instructions are not possible to follow exactly):

  1. Extracted the admintools folder to the instance directory (idk why so many scripts say to unpack your PBO, for me it's just a folder in mpmissions).
  2. Added the activate code to the bottom of init.sqf, as well as the adminlist and the flow statement for antihack: http://paste.arviksa.co.uk/pawamelunoteduqi
  3. Added the include statement to my description.ext: http://paste.arviksa.co.uk/wuxijasudefuluti - As you can see, the line in question (141) looks fine. (x = 0.05;)
  4. Modified the AdminList: http://paste.arviksa.co.uk/nofulivaqabesehe
  5. Battleye is temporarily disabled since it won't initialize, but I can add those filters later.
  6. Unpacked/repacked dayz_server.pbo, making the required edits to:

init\server_function.sqf: http://paste.arviksa.co.uk/henabevajeluriyo and compile\server_updateObjects.sqf: http://paste.arviksa.co.uk/cukumulewobogaro

Regards, Jadenn

noxsicarius commented 10 years ago

They say unpack the pbo because most people use hosting services which package mission files into pbo.

First try deleting the descriptions and putting a new one in, do not overwrite it. See what that does for you.

Have you tried a reinstall? Maybe using the video instead of written tutorial?

The error given is for a line the tool doesn't touch so it is hard to figure what the problem is. I don't understand why the tool would interfere with a loading screen. It seems something is not quite compiling correctly or the description file has been corrupted by an interrupted save. This may sound odd but the bit stream of the files can be damaged through a save issues that causes it to not work correctly. This can be fixed by DELETING the file, and then replacing it. Never copy over sqf files. That also has a tendency to break them. The coding for this game is incredibly volatile for no reason.

dabaer commented 10 years ago

It appears that no matter what script variables I add to the description.ext seems to produce that exact same error, AdminTools or not. Stock file works fine. Maybe I am putting it in the wrong place? For admintools I put it at the bottom, and for the other I put it near the top.

noxsicarius commented 10 years ago

It should go to the bottom. I think a corruption is happening with the save. Try using a different editor.