Unexpected end to file...

Jul 6, 2015
1,425
819
upload_2016-1-9_23-1-46.png

I was emailed the most rescent and updated version of cp_intrusion, a collab map for the Dyn Cp contest.
I moved it into my maps folder, opened the vmf, and recieved this error.
I clicked OK, and hammer closed.
I rinced, I repeated, I got the same result.
 

Egan

aa
Feb 14, 2010
1,375
1,721
I believe this is caused by having a symbol that exits the VMF code early, resulting in broken code - which makes the loader fail. If the last person to use the VMF inserted any of these symbols anywhere, is probably the case: ' " ; \

You can check the VMF with Notepad++ at line 94368 for any abrupt offenders, or paste the code to pastebin and let someone here sort it out (like me), alternatively there are autosaves luckily (located at C:\HammerAutosave).

For more information check: https://developer.valvesoftware.com/wiki/Talk:Compile_Errors
 
Jul 6, 2015
1,425
819
I believe this is caused by having a symbol that exits the VMF code early, resulting in broken code - which makes the loader fail. If the last person to use the VMF inserted any of these symbols anywhere, is probably the case: ' " ; \

You can check the VMF with Notepad++ at line 94368 for any abrupt offenders, or paste the code to pastebin and let someone here sort it out (like me), alternatively there are autosaves luckily (located at C:\HammerAutosave).

For more information check: https://developer.valvesoftware.com/wiki/Talk:Compile_Errors
I have the VMF on a download site: https://www.mediafire.com/?a44b9hni0r34ntw
Thank you for the assisstance, but I would prefer if someone more expierenced messed with the codes in a vmf file. (so not me)
 

Egan

aa
Feb 14, 2010
1,375
1,721
I have the VMF on a download site: https://www.mediafire.com/?a44b9hni0r34ntw
Thank you for the assisstance, but I would prefer if someone more expierenced messed with the codes in a vmf file. (so not me)

Ok I checked your file out, it seems there was a broken light entity at the end of the VMF which signifies that the VMF is not complete. If Moonrat (who posted on your profile) did upload the original VMF he should try uploading again in a .ZIP instead, to make sure the entire file gets transferred in case mediafire is eating part of the raw text (including most of the entities, in this case).
 
Jul 6, 2015
1,425
819
Ok I checked your file out, it seems there was a broken light entity at the end of the VMF which signifies that the VMF is not complete. If Moonrat (who posted on your profile) did upload the original VMF he should try uploading again in a .ZIP instead, to make sure the entire file gets transferred in case mediafire is eating part of the raw text (including most of the entities, in this case).
@Moonrat
 
Jul 6, 2015
1,425
819

Freyja

aa
Jul 31, 2009
2,994
5,813
Hidden visgroups are still saved in the file. The file got broken somehow, try asking the previous person if they have an autosave or something.
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
541
Someone may fix that by editing the end of file with text editor by adding some }} } etc but if the end of file is unexpected, there's propably something missing from the map anyway.