Mirage Source

Free ORPG making software.
It is currently Sun Apr 28, 2024 4:56 pm

All times are UTC




Post new topic Reply to topic  [ 57 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Print Button Protection
PostPosted: Sat Jun 03, 2006 2:36 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
It was a small discussion about this before, but I never got it working. So if anybody know how to make it so when the Prt Scr button is pressed a picture appears over the screen.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 3:41 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
what you need to do is get the key event, and when you detect it, you either erase the clipboard OR you replace the picbox with a temp image before oyu let it copy.

Code:
Const VK_SNAPSHOT = &H2C

Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
  If KeyCode = VK_SNAPSHOT Then
    Clipboard.Clear
  End If
End Sub


I was also thinking, if its detected make a hidden imagebox on top of pcScreen, so that ti takes that instead fo the screen.

Either way, you cant stop them from ti alltogether unless when the window is not ontop or activewindow, you make picScreen blank.

[EDIT]

you could also jsut have the box always hidden and jsut do
Code:
Cliboard.SetData frmMirage.imgImg.Picture


or whatever xD


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 6:47 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
you can't prevent everyone from getting a screenshot of your game. There will always be a way to get a picture of it, all you are doing by disabling the picscreen is preventing people who want screenshots of your game to get them, maybe to show them to someone else or to show you some bug that they see. There are programs that let you get screenshots of the screen too, disabling the key is just not gonna help ya :\.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 7:59 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
ya, but best idea would be to overlay a watermark before you let it copy it, and only show picscreen when the current activewindow is the game, otherwaise, msot programs jsut copy pixel by pixel from you picScreen to their program.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 9:28 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
Best idea would be to do the oposite of whatever grim says xD.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 10:23 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
what, nothing? lol

and I make no sense?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 10:26 pm 
I don't think Mis was trying to make sense, more like trying to make fun of you and didn't care that he made himself look a bit stupid. Lol.


Top
  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 10:59 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
It was a risk I was willing to take.

But really, I don't see the point on doing any of this, it will prevent the people who won't do anything from showing screenshots to you of bugs they see, or to their friends, however those who want screenshots to rip something from the game, will hopefully be smart enough to realize they can use a program instead of the key to take the screenshots.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 11:40 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
he asked, so i shared lol, thats all, it does work to, i tested.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 11:48 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
I wasn't saying it didn't work for that purpose, it wont work preventing people from getting the graphics, theres always another way, and if you do add that in it might make people want to get the graphics even more.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jun 03, 2006 11:58 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Yes, theres always another way. There is another way to travel to USA from Sweden then just a airplain, you can always walk or swim. But I was looking for somthing that would increase some security. So if I cant get it here. Then I guess I missunderstood some peoples purpose here.

thanks grimsk8ter11.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 12:19 am 
William, you take everything wrong. Misunderstood is trying to help you, you know, help you realize it's actually quite pointless?

Geeze.


Top
  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 12:40 am 
Offline
Pro

Joined: Mon May 29, 2006 2:15 am
Posts: 368
yea, if someone wants your graphics bad enough they'll point a digital camera at their monitor. i guess you could find a way to make their monitor overheat and melt or kill all the pixels

Code:
if digital camera = true


:roll:

_________________
Image
Image
The quality of a man is not measured by how well he treats the knowledgeable and competent, but rather how he treats those less fortunate than himself.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 12:43 am 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
My point is, it does nothing but
A) Take your graphics just to spite you because you are being too paranoid about it

or

B) Stop harmless people from getting screenshots of the game to show to others, or so show bugs they have found.

Those that want a screenshot and are smart can get it quite easily nomatter what you do and as I said in A, might make them do it just because you are trying to prevent them.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 2:57 am 
Offline
Knowledgeable

Joined: Tue May 30, 2006 5:11 am
Posts: 156
Location: Australia
He could add in a simple Screenshot button, which will take a screenshot of the pic-screen.. But yeah.. I say, add it in, and make a button to take screenshots, and save them a jpeg.. But yeah, if people really want to steal your graphics, there's not much you can do to stop them.. Slow them down maybe, but not stop them..


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 2:58 am 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
Dark Echo wrote:
He could add in a simple Screenshot button, which will take a screenshot of the pic-screen.. But yeah.. I say, add it in, and make a button to take screenshots, and save them a jpeg.. But yeah, if people really want to steal your graphics, there's not much you can do to stop them.. Slow them down maybe, but not stop them..


add a screenshot button? hes trying to stop people from taking screenshots xD.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 6:06 am 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
hehe, mis, blatantly obvious as always.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 9:34 am 
Offline
Knowledgeable

Joined: Tue May 30, 2006 5:11 am
Posts: 156
Location: Australia
I thought he was trying to stop people stealing his graphics? Well, if he's trying to stop people taking screenshots, then yeah lol.. I dont take my advice..


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 10:37 am 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Well discussion Solved. i wont add a screenshot button. Cause it doesnt seem to help anyway.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 1:33 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
Yay I win xD.

He is trying to stop people from getting screenshots so they won't steal the graphics.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 04, 2006 2:09 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Misunderstood wrote:
Yay I win xD.

He is trying to stop people from getting screenshots so they won't steal the graphics.


You dont win. I just dont want to have a discussion for and againt if I should have it or not. Although it helped me some to realize that with bug screenshots and such.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 5:32 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
Detect when the person takes a screen shot, give them their screen shot at a lower quality than the graphics in your game. Screen shot saves the picture as a JPG i the Screen Shots folder.

This solves all the problems. Peopel can rip your graphics, but they will be low quality, and people who want to show bugs can do so without trouble.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 5:48 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
What if I use this code, that grim gave:

Code:
Const VK_SNAPSHOT = &H2C

Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
  If KeyCode = VK_SNAPSHOT Then
    Clipboard.Clear
  End If
End Sub


That wont work if the game isnt the target, like if they have pressed on notepad, and then take a screenshot of the whole thing. Then it wont work, because it will save it into memory and paste into paint?

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 7:29 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
you can always hook the keyboard to find if it is pressed in any program, but since that still wont stop people from doing it other ways, I don't go into detail.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 06, 2006 8:45 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Yes, but I dont think screenshot matters that much. Since I believe I overrate my gfx anyway.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 57 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group