Jump to content




How to keep a door locked ?


  • You cannot reply to this topic
3 replies to this topic

#1 Mordocai

  • New Members
  • 2 posts

Posted 11 November 2012 - 06:26 AM

Hi everyone,

A small question :

I made a program that password protects a reinforced door.

I used the pullEventRaw code to prevent anyone from terminating it, so it's "hack-proof"
But now I find out, that when I leave the server and come back, the PC is back to normal and the program is not running anymore, making the program available to look at the code.

Does anyone have a clue on what I do wrong ?

Do I add a special code to prevent this, or is there a server setting that I'm overlooking ?


Thank you beforehand for the help

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 11 November 2012 - 07:07 AM

If you rename the program to "startup", the program will start once the world/server is loaded. So all you have to do is rename your program to startup.

#3 Mordocai

  • New Members
  • 2 posts

Posted 11 November 2012 - 10:18 AM

thank you, I will try this.

I was using a disk and diskdrive to keep my program separate, incase i wanted to relocate the computer.
I'll copy the program to the computer then

#4 robhol

  • Members
  • 182 posts

Posted 11 November 2012 - 10:55 AM

If the computer is labelled, programs on it will be stored.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users