ID:260397
 
A good idea, i think, would be a verb that in runtime could alter a piece of the games code, and skrew the code up, as a failsafe
Lt. Pain wrote:
A good idea, i think, would be a verb that in runtime could alter a piece of the games code, and skrew the code up, as a failsafe

If you want to irreparably damage the DMB that someone has on their computer, just fdel() the DMB. Otherwise, any other form of "failsafe" like that would border on vandalism.
In response to Jtgibson
Jtgibson wrote:
Lt. Pain wrote:
A good idea, i think, would be a verb that in runtime could alter a piece of the games code, and skrew the code up, as a failsafe

If you want to irreparably damage the DMB that someone has on their computer, just fdel() the DMB. Otherwise, any other form of "failsafe" like that would border on vandalism.

Of course the best failsafe is to not hand out your source code!

I have however, in the past, made the program check to see if some random file exists in the game's folder. Something misleading, such as GENERIC_VITAL_SAVEFILE.sav. Then in the code, I made the most mangled unreadable snippet possible to check and see if that file existed before the world booted up (the procedure that checked was also misleading in name). The procedure was unreadable to anyone who didn't seriously know what they were doing, and that's the only kind of person that would try this sort of thing!

In response to Volte
Yea only true way is to not hand out source, but of course we need hosts, BUT if byond could make a way to hand out a single file that could be hosted of of, but was not the actual source, its would be SO much better.
In response to Lt. Pain
The current way you're supposed to give people hosting files doesn't include handing out your source.

A .dmb file is compiled code and it's terribly difficult if not impossible to retrieve the compiled code. The best someone could do is get your icons out of the .rsc file.

-TKL
In response to Kangchao
Kangchao wrote:
A .dmb file is compiled code and it's terribly difficult if not impossible to retrieve the compiled code.

That doesn't mean you couldn't screw with the code, though.

Go to your favourite mp3 file. Make a copy of it, then open that copy in notepad. Start spamming the insides with random letters and delete various lines on a whim. Then save and click play. =P
In response to Elation
Yeah, I was just trying to tell Lt. Pain that if he's giving his hosts the source code for hosting, he's doing something wrong.
In response to Kangchao
See i did not know that 0.0 thanks