Hey guys! This is Master Jake. Today, I’m going to be showing you a new program that I’ve designed, it will actually kind of an example called AEOS. Basically what it is, is a fully batch file login system example. So, the program is of course open the source, right click, edit. And you can see the source. It’s not extremely big, it’s pretty small. And I use a little bit of new technology in this that I haven’t done in my previous batch file, so everything is stored in folders externals we have. I call it batch files out of batch files and stuff. I’m pretty sure I set it up pretty perfectly. It resets the variables and stuff when you log out and all that. So generally, it does it all the time. So, this file error codes will basically explain the error codes if you get any. Now, let me just show you an error code real quick. If I drag out the data folder and open it up, I get three errors. It happens to be that only three errors you can get which is each of the folders. Then it’ll tell you how many errors you got. It tells you to see the errorcodes.text file to learn what they mean and causes. So, you can’t run it without altering the folders in their proper places.
Let’s see. Start by opening it up. I’m going to my data folder here a real quick. Click in the accounts, you can see it’s empty right now. I don’t have any accounts. But I just crashed it. So, just be sure not to enter invalid characters in there. That goes from pretty much all batch files. Let’s see, I’m going to create a new account. User name is going to Jake 1, 2, 3, 1, 2, 3. I want to do 1, 2, 3, 4. Passwords don’t match. Jake 1, 2, 3, 1, 2, 3. Accounts created successfully. Now, I can drag this down. I’m going to my data’s folder and into my accounts, you’ll see I have a new Jake folder in here. And inside that, I have a username and password.txt file. Inside those, username.txt you can take my username. Password.txt, you can take my password. So, just pull back up AEOS. Try to create a new account. I’ll type on the same username. It says it’s already in use. So, it’s testing to see if it exist and all that crap.
We create another called Bob called Maxxy or something I don’t knoa. Alright, and then go back in your accounts. And now we have Bob and Jake. And each of them have their corresponding files. So, the account system works well. And I’m going to go ahead and log in. We first logged in as Jake, password is invalid, blah, Jake, username does not exist. So, we’ll type in the real stuff. I successfully logged in as Jake. And then you go to the account panel and this is what I’m doing. And, I’m going to log out for now and log back in as Bob. Now you see, I’ll type a lower case be there. And then the accounts, it has an upper case B. And inside the username file it has an upper case B as well. So, let’s see what’s going to happen here. Uh, maxxy, it successfully logged in as bob. You see now it’s upper case that’s because it’s retrieving it from the text file and the folder isn’t case sensitive anyway. So that’s really a good system.
And now, I’m going to go ahead and delete this account. Accounts been deleted. I’ll try to log in as Bob now. It will say it doesn’t exist. I’m going to my data and accounts folder and you’ll see Bob is gone now. So, that’s generally how AEOS works. It’s just a simple log in system. Once you’re in your account, you can add whatever crap you want in here. Now, oops, hold on. Be advised that this is batch. Did I delete my account? Yes, I did. So, inside your accounts, they are stored in text files, your informations. And actually anyone on the computer is going to be able to read it. But that’s pretty much the best you can do with batch unless you want to take hours trying to encrypt it in more stuff but it does work nicely.
One thing you’ll notice is that it is reading in out of the text file. Let me go into externals log in. I used my new For Loop—to create this. Basically what it’s doing is running a For Loop and it’s typing in the value of that text file and then setting a variable to the value of the text file.
So, all of the people who want to know how to set variables to the value of text files, that’s how you do it. And if you want to see a tutorial in that completely that just request it down in a comment box and I’ll make it, or private message me, or whatever but that’s pretty much of the program. If you want to download this, head over to masterjakeonline.com linking the video description, signing up, and download it on the download page. While there you go ahead and take time to join the forum and you can become an active part of the program in community. Thank you for watching the video and I’ll see you guys later.
Transcription by:
Scribe4you Transcription Services