Posted 16 October 2013 - 09:35 PM
Hey guys,
– Forgot to put pastebin link herpderp -.-
http://pastebin.com/U5EDn8pS
I wrote a little program today.
Basically what it does is it checks for people around your house or where ever you put the computer and logs them to a database.
This is pretty nifty for when you play on public servers and you want to see who has been snooping around your base or whatever.
It also uses the time API from http://www.timeapi.org/ to tell you exactly at what time people visited
(You might need to change around the code a bit to make it show the right time for you, It's set for Central European time now)
Pics (eventhough there is not much to show)
The screen you see when you start the program up for the first time.
The screen you see every time after that.
This is the database file open. as you can see it prints everyone that visited on a new line with the exact time and date.
(The first line is the name you gave in the first time you started the program up, the program will disregard this name and will not log it to the database. so that it doesn't get flooded with your own name)
Hope you guys will find a use for it.
Let me know what you think of the program and how I could have done it better / make it better.
- Leo
– Forgot to put pastebin link herpderp -.-
http://pastebin.com/U5EDn8pS
I wrote a little program today.
Basically what it does is it checks for people around your house or where ever you put the computer and logs them to a database.
This is pretty nifty for when you play on public servers and you want to see who has been snooping around your base or whatever.
It also uses the time API from http://www.timeapi.org/ to tell you exactly at what time people visited
(You might need to change around the code a bit to make it show the right time for you, It's set for Central European time now)
Pics (eventhough there is not much to show)
Spoiler
The screen you see when you start the program up for the first time.
The screen you see every time after that.
This is the database file open. as you can see it prints everyone that visited on a new line with the exact time and date.
(The first line is the name you gave in the first time you started the program up, the program will disregard this name and will not log it to the database. so that it doesn't get flooded with your own name)
Hope you guys will find a use for it.
Let me know what you think of the program and how I could have done it better / make it better.
- Leo