![]() |
Print Button Protection - Printable Version +- Mirage Engine (https://mirage-engine.uk/forums) +-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61) +--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18) +---- Forum: Resources (https://mirage-engine.uk/forums/forumdisplay.php?fid=49) +---- Thread: Print Button Protection (/showthread.php?tid=86) Pages:
1
2
|
Print Button Protection - William - 03-06-2006 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. - grimsk8ter11 - 03-06-2006 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 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 - Misunderstood - 03-06-2006 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 :\. - grimsk8ter11 - 03-06-2006 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. - Misunderstood - 03-06-2006 Best idea would be to do the oposite of whatever grim says xD. - grimsk8ter11 - 03-06-2006 what, nothing? lol and I make no sense? - Matt - 03-06-2006 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. - Misunderstood - 03-06-2006 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. - grimsk8ter11 - 03-06-2006 he asked, so i shared lol, thats all, it does work to, i tested. - Misunderstood - 03-06-2006 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. - William - 03-06-2006 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. - Matt - 04-06-2006 William, you take everything wrong. Misunderstood is trying to help you, you know, help you realize it's actually quite pointless? Geeze. - Obsidian - 04-06-2006 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: - Misunderstood - 04-06-2006 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. - Dark Echo - 04-06-2006 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.. - Misunderstood - 04-06-2006 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. - grimsk8ter11 - 04-06-2006 hehe, mis, blatantly obvious as always. - Dark Echo - 04-06-2006 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.. - William - 04-06-2006 Well discussion Solved. i wont add a screenshot button. Cause it doesnt seem to help anyway. - Misunderstood - 04-06-2006 Yay I win xD. He is trying to stop people from getting screenshots so they won't steal the graphics. - William - 04-06-2006 Misunderstood Wrote:Yay I win xD. 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. - William - 06-06-2006 What if I use this code, that grim gave: Code: Const VK_SNAPSHOT = &H2C 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? - Misunderstood - 06-06-2006 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. - William - 06-06-2006 Yes, but I dont think screenshot matters that much. Since I believe I overrate my gfx anyway. - Misunderstood - 06-06-2006 No, you just dont know how to tell the difference between harsh criticisim and constructive criticism. ![]() |