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.

Newcomers DBPro Corner / Password protection wont goto passcheck even if i make the file

Author
Message
th3 dark j0k3r
18
Years of Service
User Offline
Joined: 9th Apr 2006
Location: In my own little wurld
Posted: 21st May 2006 00:50
why doesnt this code work? its supposed to check if i previouly made a username and password then if i did go to login
if i didnt goto register
for some reason it always say i need to register even after i made an account what am i doing wrong
ps im adding sounds and fonts (make it look better) after i get this code workng so dont flame me on the apearance


please help thanks

if time is an illusion than you can give me five more minutes......
- th3 d@rk j0k3r
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 21st May 2006 14:50 Edited at: 21st May 2006 14:51
u don't specify what username$ and passowrd$ are, it currently checks for ".txt" twice.

change this to include what username$ and password$ are


life's one big game
spec= 2.6ghz, 1gb ram, 512mb gpu, directx 9.0c, dbpro and classic
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 21st May 2006 14:58
There's also the confusion with you using different file extensions. You are writing .txt files but trying to find .text files

Boo!
smallg
Valued Member
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: steam
Posted: 21st May 2006 15:10
this seems to what ur after.... try using gosubs or functions instead though.


life's one big game
spec= 2.6ghz, 1gb ram, 512mb gpu, directx 9.0c, dbpro and classic
th3 dark j0k3r
18
Years of Service
User Offline
Joined: 9th Apr 2006
Location: In my own little wurld
Posted: 21st May 2006 17:35
oo0!i didnt realize i was saving the as txt and looking for text..
ill try your idea of gosubs and functions although i havent learned much about them yet well what better time to learn

if time is an illusion than you can give me five more minutes......
- th3 d@rk j0k3r
th3 dark j0k3r
18
Years of Service
User Offline
Joined: 9th Apr 2006
Location: In my own little wurld
Posted: 21st May 2006 23:55
it still doent work


if time is an illusion than you can give me five more minutes......
- th3 d@rk j0k3r
Virtual X
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location:
Posted: 22nd May 2006 00:50
set dir "C:"
make directory "Password Protect"
set dir "Cassword Protect"

don't forget then backslash after the C:, ex. C:\
th3 dark j0k3r
18
Years of Service
User Offline
Joined: 9th Apr 2006
Location: In my own little wurld
Posted: 23rd May 2006 04:05
0o0o0o0o i 4got bout that but i still cant get it to read if i ever made an account before....o well ill just keep at it untill it works any im still learning but how you use functions?


if time is an illusion than you can give me five more minutes......
- th3 d@rk j0k3r

Login to post a reply

Server time is: 2024-11-27 19:39:45
Your offset time is: 2024-11-27 19:39:45