That's gotta be the best exercise in obfuscating a message box I've ever seen. Neat!Yes, but did you see the MessageBox(Api or native) call in the source?
Winner of Pure-Summercontest 2006 ?
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Yes, i have see the API call in the source!Yes, but did you see the MessageBox(Api or native) 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

va!n aka Thorsten
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
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.)
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.)
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
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
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.netmaestro wrote:That's gotta be the best exercise in obfuscating a message box I've ever seen. Neat!Yes, but did you see the MessageBox(Api or native) call in the source?
But its some nice code anyway

All nice contributions. I voted for trond (why? Its actually original not to make a game/demo IMHO. ).