Quantcast
Channel: Answers by "jamesflowerdew"
Viewing all articles
Browse latest Browse all 61

Answer by jamesflowerdew

$
0
0
I don't know a "total answer" (I don't think there is one), but: you can add a test to detect your application/player's location at startup. string vAddress=Application.absoluteURL; string vSrc=Application.srcValue; string vSite="mysite.com"; bool vSame=(vAddress==vSrc); bool vBad=(!ContainsString(vAddress,vSite)); if(vBad||vSame){ if(Application.platform!=RuntimePlatform.WindowsEditor){ //Application.OpenURL("http://www.mysite.com"); } } This is for the web, but can also at least check that the game is installed correctly. With the above data you could probably also check with standalone games to see if a key file that dealt with security was there and the right size (not tampered with). I don't know what the steam wrapper stuff looks like, but once you've tested the game, you might be able to get your game "sniff it out, and make sure it looks unsuspicious". I don't know the exact code you'd use. If you really want you can call the web with something like, or involving your IP address and get players to register and validate their game (bad if you want offline play). Youd then return an "OK" if your php recognised the IP address, and "bad" if not. You wouldn't delete game objects if you suspect piracy, you should just shut down the game. anything in your game like this shouldn't be left open to let hackers try and figure out what's stopping them, just "get them out fast" imho.

Viewing all articles
Browse latest Browse all 61

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>