Page 2 of 2
Posted: Sun May 28, 2006 12:22 am
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!
Posted: Sun May 28, 2006 12:37 am
by traumatic
Rings, your contribution rules

Posted: Sun May 28, 2006 2:44 pm
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

Posted: Sun May 28, 2006 2:59 pm
by josku_x
va!n you fun spoiler!
Anyway, that trick with the "hidden" MessageBox call sure was tricky

Posted: Sun May 28, 2006 3:28 pm
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.)
Posted: Thu Jun 01, 2006 12:53 pm
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
Posted: Thu Jun 01, 2006 1:08 pm
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. ).
Posted: Thu Jun 01, 2006 4:20 pm
by Trond
Thanks to those who voted for me!