Winner of Pure-Summercontest 2006 ?

For everything that's not in any way related to PureBasic. General chat etc...

Your Favorite ?

Poll ended at Sat Jun 03, 2006 1:44 am

Pelagio
1
3%
Rings
7
19%
Hroudtwolf
9
25%
Trond
6
17%
Remi & Va!n
9
25%
Zeha
4
11%
 
Total votes: 36

User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Yes, but did you see the MessageBox(Api or native) call in the source?
That's gotta be the best exercise in obfuscating a message box I've ever seen. Neat!
BERESHEIT
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post by traumatic »

Rings, your contribution rules :!:
Good programmers don't comment their code. It was hard to write, should be hard to read.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

Yes, but did you see the MessageBox(Api or native) call in the source?
Yes, i have see the API call in the source!

Code: Select all

CA:
Data.c $4D,$65,$73,$73,$61,$67,$65,$42,$6F
Data.c $78,$41,0

Code: Select all

Rings just saved the MessageBoxA string as Data.c :lol:

$4D = M
$65 = e
$73 = s
$73 = s
$61 = a
$67 = g
$65 = e
$42 = B
$6F = o
$78 = x
$41 = A
anyway nice code and nice message :wink:
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
josku_x
Addict
Addict
Posts: 997
Joined: Sat Sep 24, 2005 2:08 pm

Post by josku_x »

va!n you fun spoiler! :lol:

Anyway, that trick with the "hidden" MessageBox call sure was tricky :shock:
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Are we allowed to run PR campaigns for our entries? Since I have a little too few votes I take the liberty to say something positive about mine and bash my opponents!

My source is almost twice as big as the source of pong the flowers.
Four times as long as Pelagio's.
I won't compare it to Rings'!

Try making a scrollarea with a bitmap background and display an image in it (like what happens when you use File -> Open in Photoon) without looking at my source. Then resize the window. Compare the flickering in Photoon with your program.

Notice the owner-drawn menus which respects the user's settings regarding the visibility of accellerators (underlined letters). And the accellerators are correctly drawn when the user opens the menu using the keyboard if they are off by default. Also notice that disabled menu items are implemented but not shown in the final program.

Take a closer look at the window position saving and compare it to that of the PB ide. If you close the window while it is minimized the correct positions are still saved in Photoon, unlike what happens with the PB ide.

Then the bashing:
In pong the flowers, sometimes 3/4 of the ball covers a flower, but a collision is not triggered. The ball can only go in three directions from the paddle, and it threshold for direction change is different on the left and right sides. (You have to get the ball to hit very far to the right to make it go to the right, but it goes to the left even if it hits barely over the middle.)
Jan2004
Enthusiast
Enthusiast
Posts: 163
Joined: Fri Jan 07, 2005 7:17 pm

Post by Jan2004 »

Trond.
The answer from Christian Ghisler:
"This archive was packed with the bzip2 or ppmd compression method, which is a Winzip extension of the original Zip format. You need to update to Total Commander 6.54a to unpack this file. If you already have this version, make sure that the file TCUNZLIB.DLL exists in the Totalcmd directory.
Best regards: Christian Ghisler"

BTW Trond: I gave you my vote.

Jan2004
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

netmaestro wrote:
Yes, but did you see the MessageBox(Api or native) call in the source?
That's gotta be the best exercise in obfuscating a message box I've ever seen. Neat!
Its well obfuscated in the code yes, but when you compile it and use ollydbg you can read the text directly. And you can see the call to MessageBoxA.
But its some nice code anyway :)


All nice contributions. I voted for trond (why? Its actually original not to make a game/demo IMHO. ).
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

Thanks to those who voted for me!
Post Reply