This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-12 11:35:30

dancet8m2
Scratcher
Registered: 2010-03-04
Posts: 12

Need Help On Message Coder

I Made A First Version That Works Fine But The Script Is Huge, It Didn't Recognize Lower Case And Upper Case As Different, It Didn't Have Any Punctuation, It Could Recognize Spaces But They Kept The Word Lengths The Same (It's Not Really Coding). It Also Coded Through A 'Key' Word To Make The Coded Message Unique.

I Then Decided To Make A Second Version To Correct All Of The Above And To Make The Key Except Any Characters But It Hasn't Worked. I Haven't Been Able To Fix It. I Have Changed The Code 3 or 4 Times Now And So I Really Need Some Help.

Thanks

dancet8m2

Project Not Latest Version But All Of Them Don't Work So It Doesn't Matter:
http://scratch.mit.edu/projects/dancet8m2/1917248


http://www.purple.com/affinity/pointlessly_purple.png

Offline

 

#2 2011-07-12 11:42:41

sci_test
Scratcher
Registered: 2011-06-22
Posts: 100+

Re: Need Help On Message Coder

There's a Scratch Wiki tutorial about case-sensing if you want.  smile


[signature removed - please be respectful]
Last edited by scimonster (1970-01-01 00:00:00)

Offline

 

#3 2011-07-12 11:45:40

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Need Help On Message Coder

sci_test wrote:

There's a Scratch Wiki tutorial about case-sensing if you want.  smile

What, you couldn't even give them a link? Sheesh...  tongue
http://wiki.scratch.mit.edu/wiki/Case_Sensing


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#4 2011-07-12 11:48:57

sci_test
Scratcher
Registered: 2011-06-22
Posts: 100+

Re: Need Help On Message Coder

Harakou wrote:

sci_test wrote:

There's a Scratch Wiki tutorial about case-sensing if you want.  smile

What, you couldn't even give them a link? Sheesh...  tongue
http://wiki.scratch.mit.edu/wiki/Case_Sensing

I'm so un-used to giving a link without the URL tags (which this account can't use due to a glitch), that I honestly didn't think of that! O.o


[signature removed - please be respectful]
Last edited by scimonster (1970-01-01 00:00:00)

Offline

 

#5 2011-07-12 11:50:24

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Need Help On Message Coder

sci_test wrote:

Harakou wrote:

sci_test wrote:

There's a Scratch Wiki tutorial about case-sensing if you want.  smile

What, you couldn't even give them a link? Sheesh...  tongue
http://wiki.scratch.mit.edu/wiki/Case_Sensing

I'm so un-used to giving a link without the URL tags (which this account can't use due to a glitch), that I honestly didn't think of that! O.o

Glitch? I thought New Scratchers just couldn't use the url tag.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#6 2011-07-12 13:27:16

dancet8m2
Scratcher
Registered: 2010-03-04
Posts: 12

Re: Need Help On Message Coder

Thanks sci_test and Harakou
I Am Using The List Contains Method.
Uppercase And Lowercase Works It's Just That When It Is Being Coded Or Decoded Something Happens That Makes It Mess Up.
I Think It May Be To Do With The Key?


http://www.purple.com/affinity/pointlessly_purple.png

Offline

 

#7 2011-07-12 13:32:15

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: Need Help On Message Coder

Harakou wrote:

sci_test wrote:

Harakou wrote:


What, you couldn't even give them a link? Sheesh...  tongue
http://wiki.scratch.mit.edu/wiki/Case_Sensing

I'm so un-used to giving a link without the URL tags (which this account can't use due to a glitch), that I honestly didn't think of that! O.o

Glitch? I thought New Scratchers just couldn't use the url tag.

New Scratchers can link in scratch.mit.edu, but not anything like info.scratch... suggest.scratch... wiki.scratch...

Offline

 

#8 2011-07-12 13:46:43

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Need Help On Message Coder

dancet8m2 wrote:

Thanks sci_test and Harakou
I Am Using The List Contains Method.
Uppercase And Lowercase Works It's Just That When It Is Being Coded Or Decoded Something Happens That Makes It Mess Up.
I Think It May Be To Do With The Key?

What exactly messes up? There are a lot of things that could go wrong, like an item being missing or added, which could throw the entire key/message out of line.


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#9 2011-07-12 13:49:46

sci_test
Scratcher
Registered: 2011-06-22
Posts: 100+

Re: Need Help On Message Coder

Harakou wrote:

dancet8m2 wrote:

Thanks sci_test and Harakou
I Am Using The List Contains Method.
Uppercase And Lowercase Works It's Just That When It Is Being Coded Or Decoded Something Happens That Makes It Mess Up.
I Think It May Be To Do With The Key?

What exactly messes up? There are a lot of things that could go wrong, like an item being missing or added, which could throw the entire key/message out of line.

Yes.
It would help if you uploaded what you have. :3

scimonster wrote:

Harakou wrote:

sci_test wrote:


I'm so un-used to giving a link without the URL tags (which this account can't use due to a glitch), that I honestly didn't think of that! O.o

Glitch? I thought New Scratchers just couldn't use the url tag.

New Scratchers can link in scratch.mit.edu, but not anything like info.scratch... suggest.scratch... wiki.scratch...

Testing that...
suggest.scratch.mit.edu Wiki
Me!


[signature removed - please be respectful]
Last edited by scimonster (1970-01-01 00:00:00)

Offline

 

#10 2011-07-13 02:46:36

dancet8m2
Scratcher
Registered: 2010-03-04
Posts: 12

Re: Need Help On Message Coder

I Did Upload My Project I Think...

Project Not Latest Version But All Of Them Don't Work So It Doesn't Matter:
http://scratch.mit.edu/projects/dancet8m2/1917248

I Can't Upload A Different Project At The Moment Because Computer And Internet Won't Allow It.
I Still Think The Key Is The Problem, I Will Check Now.

Edit: Spaces And Special Characters Aren't Working Like They Are Supposed To,
I Will Check If It Is Key Or Message.

Edit: It Is Weird Now, I Typed In The Same Message And Key And They Come Out With Seperate Answers. I Will Try To Create Maybe A Script To Check If It Is Correct Or Not. And Also The Problem Could Be In The Coder, And If The Coder Is WWrong So Is The Decoder.

Last edited by dancet8m2 (2011-07-13 02:57:00)


http://www.purple.com/affinity/pointlessly_purple.png

Offline

 

Board footer