ID:140722
 
Code:
None, I think thats the point lol

Problem description:

On Friday I was working on some code for an Attack() Proc for a "bad guy" mob. To stay organized all my procs are in the same .dm file named Procs.dm. All I had in there was a Wander() Proc and the 1/2 done Attack() Proc.

I open up the .dme file today, and Proc.dm is empty. I know Wander() was saved because I've had that done for around a week now, and I'm not stupid enough to accidentally delete it all and then save :P Even if I was, there is more to the story ...

Where there should be code in Proc.dm there is blank space, but if I try to compile instead of saying that my Wander() and Attack() Procs are missing, it says:

loading Gaming 101.dme
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)

... A bunch of lines later ...

Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)
Proc.dm:1: unexpected character (ascii 0)

Gaming 101.dmb - 433 errors, 0 warnings (double-click on an error to jump to it)


Then if I double-click one it takes me to the top of Proc.dm, so I assume all the characters there became unreadable so BYOND just doesn't show them and sees them as an error.




Anyone know whats going on?
(in b4 you deleted your code)
Sounds like some sort of corruption issue. What happens if you open Proc.dm in notepad? What is Proc.dm's file size?
In response to Jp
It gives me "code"....

I get a bunch of blank squares, so there are characters, but not what should be there lol


Your file is corrupted. I suggest backing up anything you can on your hard drive and getting a new one immediately.

Lummox JR
In response to Lummox JR
1) Its my laptop - so I cant get a new hard drive too easily ...

2) Just because one code file is corrupt does that really mean my entire hard drive is going to become corrupted?