Non-threaded

Forums » Newbie Central » Read Thread

Introduce yourself and get to know the community.

Passwords

19 years ago
I need people to input a password at one part of my new game.But how? It's not like they can type in the game

Passwords

19 years ago
Well, if I was you. I would just make a page with a link for every number possible in the password.

So create a single page and call it Password
Put ten links on it, naming them #1-10
Each link takes you back to the same Password page

Then create a variable called PassVar.

Then have it so that when you click on one of the links, it adds the link # to PassVar. So if you click on link 5, then it adds 5 to the PassVar.

Then make a page that says Password Correct

Then make it so that when PassVar = ThisNumber, then take you to Password Correct Page.

So if you had the PassVar set so that when it is 14, it takes you to Password Correct page. Then have it so that the reader has to click on the number links until they add up to exactly 14.....

This is just a way I quickly came up with to do the password.
What I like about it is that it only requires a single variable and two pages.
Do you understand?

There are all kinds of ways you could make a password, this is just one I came up with now. Maybe not the best, but it doesn't take up much room.

And it is kind of flawed, since the reader can get the correct combination just by randomly hiting links.......

Passwords

19 years ago

For sTarwars I had three pages at the beggining of the game.  Each one has ten numbers on it.  I hose my three favorite numbers from the different numbers and had each one add one variable.  If you chose the write three, your password VAR would be at three.  The password correct link needs three variables.  Simple. This is an example. (All the links go to the next page.

Page 1.

1
2
3
4
5
6
7
8
9 (+1)
10

Page 2

11
12
13
14
15
16
17
18
19
20 (+1)

Page 3

21
22 (+1)
23
24
25
26
27
28
29
30

Trial Page

(Variable less then three) Password incorrect go to first page of the game.
(Variable = 3) Password correct.

Passwords

19 years ago

Fancy-pantsies can even do this in one page:

__ Combination Lock __
You are trying to open the combination lock.

%%PWDSEQ%=%0%What number do you want to turn the dial to?%%
%%PWDSEQ%=%1%You turned the dial and now need to turn it for the second number?%%
%%PWDSEQ%=%2%Two down, what's the third number?%%
%%PWDSEQ%=%3%Numbers entered, now to open the lock ...%%

  • 1 [showif PWDSEQ=0, set PWDSEQ=1, PWDSUC + 1] - goes this page
  • 2 [showif PWDSEQ=0, set PWDSEQ=1] - goes this page
  • ... [showif PWDSEQ=0, set PWDSEQ=1] - goes this page
  • 8 [showif PWDSEQ=0, set PWDSEQ=1] - goes this page
  • 9 [showif PWDSEQ=0, set PWDSEQ=1] - goes this page
  • 1 [showif PWDSEQ=1, set PWDSEQ=2, PWDSUC + 1] - goes this page
  • 2 [showif PWDSEQ=1, set PWDSEQ=2] - goes this page
  • ... [showif PWDSEQ=1, set PWDSEQ=2] - goes this page
  • 8 [showif PWDSEQ=1, set PWDSEQ=2] - goes this page
  • 9 [showif PWDSEQ=1, set PWDSEQ=2] - goes this page
  • 1 [showif PWDSEQ=2, set PWDSEQ=3] - goes this page
  • 2 [showif PWDSEQ=2, set PWDSEQ=3] - goes this page
  • ... [showif PWDSEQ=2, set PWDSEQ=3] - goes this page
  • 8 [showif PWDSEQ=2, set PWDSEQ=3, PWDSUC + 1] - goes this page
  • 9 [showif PWDSEQ=2, set PWDSEQ=3] - goes this page
  • Try to open the lock [showif PWDSEQ=3 and PWDSUC<3, set PWDSEQ=0,PWDSUC=0] - goes to still locked page
  • Try to open the lock [showif PWDSEQ=3 and PWDSUC=3, set PWDSEQ=0,PWDSUC=0] - goes to unlcoked page

 

Eh, eh?

Passwords

19 years ago
Danm straight, exept that who besides you and solo could actually do that? lololol

Passwords

19 years ago

LOL -- I can't wait till we have even more advanced features like scriptlets. Do you realize that you could write your entire storygame in script and use only one page? It would be the hardest to maintain storygame ever ... but just picture it.

Variables: PAGE

--- begin post-initialize page script --- (runs right before the page and its links are displayed to the user) ----

CLEAR_PAGE_LINKS
IF PAGE=0 THEN
  SET $PAGE_TEXT := "You are on the first page. What would you like to do?"
  ADD_NEW_LINK
  $LINK_1_DEST := 2
  $LINK_1_TEXT := "Go to the second page"
END IF

IF PAGE=1 THEN
  SET $PAGE_TEXT := "You are on the second page. What would you like to do?"
  ADD_NEW_LINK
  $LINK_1_DEST = 1
  $LINK_1_TEXT = "Go back to the first page"
END IF 

--- end -----

By the way, anyone follow that? I want to give user ability to control just about everything in the GameState, but coming up with a syntax to allow that easily is going to be tough.

Passwords

19 years ago
OK seriously who all is actually gonna use this lol.  its cool and all but i dont follow any of it lolz.  Actually i kindof do get it, but hahah ur length would be really low if you did that. hahah. Imagine how long the page would be for mattias.

Passwords

19 years ago
I knew it was possible.  You'd have to make 3 blank pages though.  It'd be a great way to confuse people on length.

Passwords

19 years ago
Why would u wanna do that though?

Passwords

19 years ago
That's why I didn't.

Passwords

19 years ago

dude that made no sense.

Passwords

19 years ago
I though about what it'd be like to make one like that.  I didn't actually try it.

Passwords

19 years ago
Due I asked you why would you want to do it?

Passwords

19 years ago
He didn't say he wanted to do it.

Passwords

19 years ago
Oh and Exiled, my way is the way Alex suggested, so I think its probably better ;) haha

Passwords

19 years ago
Right, thats way better then mine...

Passwords

19 years ago
ahhah btw your on my goodlist ;)

Passwords

19 years ago
Glad to be on it.

Passwords

19 years ago
My password system is very simple. Yet, in the same way, Really  flawed. If you want to see my cheat system, go to virtual video game. You will see how my system is flawed.

Passwords

19 years ago
The only reason yours wouldn't owrk is cuz it only takews a combination of two (if its 14) to get.  I could crack that.

Passwords

19 years ago
For ExiledPhoenix's way of doing things, it wouldn't be proper, as the person trying to guess (or write in) the password could just click one again and again until it reached fourteen.

Passwords

19 years ago

you dont get it.

Passwords

19 years ago
Why do you find almost everyone annoying on this site JJJ 0_o.Thanks for the method

Passwords

19 years ago
lol cuz most people are like 6.  lol

Passwords

19 years ago
I don't think a 6 year old would be smart enough to write a story

Passwords

19 years ago
You wouldn't think so.  There are many stories that look it though.

Passwords

19 years ago
Ah yes.But they aren't though.Making a game would still be to hard for a 6 year old

Passwords

19 years ago

How do you know?  Experiance?

Passwords

19 years ago
Umm, just make the game advance, so you can put special save points like in games like resident evil for example. Or go with a password thing (I hate passwords).

Passwords

19 years ago
Oh, nevermind.

Passwords

19 years ago
why do you hate passwords?

Passwords

19 years ago
Sorry, I was thinking passwords as in loading your game...I don't like that. However passwords in a game to solve a puzzle is fine.

Passwords

19 years ago
no, like in sw.  After you beat it, you get a password so that you can view it from the contrsuction side.  You can go to any area!

Passwords

19 years ago
I always wanted to be the first to bring that in and then I saw JJJ had already done it.

Passwords

19 years ago
youll find that about a lot of thigns BAHAHA KIDDNG KIDDING

Passwords

19 years ago
I want to be the first to bring a MASSIVE massive rpg in. I'll have to beat Havacoman somehow..

Passwords

19 years ago
Il beat you to it.. eventaully. HAHAH

Passwords

19 years ago
That's if you find time in between to beat me in posting, haha.

Passwords

19 years ago
*Barely works on any games/stories*

Um...  yah...

Passwords

19 years ago
What do you do online if you aren't writing stories then?

Passwords

19 years ago

For me im either replaying games, trying to beat ITS HERE or posting or very rarely working on the tower which ive lost all inspiration for.

Thats what i do anyway.

Passwords

19 years ago
Oh, you're trying to beat ITS HERE. I was wondering why you were only at 99.7% or something like that.

Passwords

19 years ago
yeah its pissing me off.

Passwords

19 years ago
It's like impossible to beat. There's those games when you can't get past certain parts. Somebody should make a walkthrough of the game or something.

Passwords

19 years ago
Well, I could work on my games over my 5 day break.  I'll try completing my party game.

Passwords

19 years ago

HAHAHAHA! I ALREADY BEATEN IT'S HERE!!!!!!!

I feel so proud of myself ;)

Passwords

19 years ago
Tell JJJ, he might give you his trophy.

Passwords

19 years ago

It's impossible for me, you won't know why, though.

Passwords

19 years ago
I do get it, in reply to JJJ's post a while back. I'm saying since whatever you click, it adds up and you have to get to fourteen, you could just keep clicking one over and over and it could end up at fourteen.. get what I mean?

Passwords

19 years ago

Err...sorry, I don't really understand..

What do you mean by fourteen and clicking?

Passwords

19 years ago
Read ExiledPhoenix's explanation of how to make a password. I'm saying that if you kept clicking one, you'd eventually get it, therefore the password isn't that good.