Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Security Sub Command

Author
Message
Dead_Zone
19
Years of Service
User Offline
Joined: 6th Jul 2005
Location:
Posted: 5th Jan 2006 21:54 Edited at: 5th Jan 2006 22:06
im not that great with dark basic pro but my game got leaked by someone on my team and people now play it so i decided to add a security feature what do you guys think of this? can it keep the average person out?

what it does is make you input two security codes and a login name and if it's incorrect the game will end

oh yeah and where a redefine code# and code variables i did another rnd on them to make sure that the values wouldnt be one static number but randomized each time the game starts basically e.g. code# = rnd(0.00) instead of code# = 1.00 that way i felt safer though not sure how much i've accomplished..comments please!

sadsack
20
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 6th Jan 2006 01:07
can't get it to work
Dead_Zone
19
Years of Service
User Offline
Joined: 6th Jul 2005
Location:
Posted: 6th Jan 2006 01:29 Edited at: 6th Jan 2006 01:29
more or less you need it structured like

sync on : sync rate 60

GOSUB _SECURITY

do
sync
loop

you wont notice anything unless your doing a 3D game

Login to post a reply

Server time is: 2024-11-23 07:47:38
Your offset time is: 2024-11-23 07:47:38