#SetiDecrpytChallenge

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
idle
Always Here
Always Here
Posts: 6026
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

#SetiDecrpytChallenge

Post by idle »

#SetiDecrpytChallenge
http://www2.mps.mpg.de/homes/heller/dow ... _rules.txt

and the message
http://www2.mps.mpg.de/homes/heller/dow ... essage.txt

don't look at the code below if you want to work it out for yourself!
not that I've worked out what the message means.

Code: Select all

;scroll the image down

InitNetwork() 

If Not ReadFile(0,"SetiChallenge.txt")
  ReceiveHTTPFile("http://www2.mps.mpg.de/homes/heller/downloads/files/SETI_message.txt", "SetiChallenge.txt")
Else 
  CloseFile(0)
EndIf 

If ReadFile(0,"SetiChallenge.txt") 
  len = Lof(0)  
  *mem = AllocateMemory(len*4) 
  *char.long = *mem   
  While Not Eof(0) 
    a = ReadByte(0)    
    a - 48 
    If a 
      *char\l=$2357BD;
    EndIf 
    *Char+1
  Wend 
  CloseFile(0) 
EndIf 

*char = *mem 
While *char\l <> 0 
  w + 1
  *char+1
Wend   

w-2 
h = len / w 

CreateImage(1,w,h,24,0)
StartDrawing(ImageOutput(1)) 
For y = 0 To h-1 
  For x = 0 To w-1 
    Plot(x,y,*char\l) 
    *char+1 
  Next 
Next   
StopDrawing()

OpenWindow(0,0,0,w,600,"message") 
ScrollAreaGadget(1,0,0,w,600,w,h) 
ImageGadget(2,0,0,w,h,ImageID(1)) 
Repeat 
  ev = WaitWindowEvent() 
Until ev = #PB_Event_CloseWindow 
Windows 11, Manjaro, Raspberry Pi OS
Image
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

Re: #SetiDecrpytChallenge

Post by Keya »

SETI DECRYPTION challenge? if aliens are encrypting their messages what hope will SETI have of distinguishing one from random cosmic background radiation? :D
User avatar
idle
Always Here
Always Here
Posts: 6026
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: #SetiDecrpytChallenge

Post by idle »

Keya wrote:SETI DECRYPTION challenge? if aliens are encrypting their messages what hope will SETI have of distinguishing one from random cosmic background radiation? :D
Don't think decrypt is the right term, more just a case of interpreting it.

1st part gives you width and height to frame it 359 x 757
2nd counting in binary
3rd looks like primes to 757
4th frequency listening to or basis for units meters
5th what they look like
6th thier radio array
7th what rock they're on orbiting a gas giant
Windows 11, Manjaro, Raspberry Pi OS
Image
Post Reply