Author Archives: Valerio Riva

New nds games for Christmas


hello guys.. i’m developing 2 new little games for nds..
first: MancalaDS
second: ShowMeTheMoney.

MancalaDS
———
First, what the fuck is Mancala? Mancala is an ancient game played by Egyptians. It has many names like Bantumi, Kalah, etc.. It appears also on the legendary (and ancient) Nokia 3310 as a game. I fallen in love with this game when my father bought that mobile phone.
MancalaDS it’s finished, i have to solve just a bug on 2 sprites, but it’s done! the version 1.0 will be out today for sure (maybe not before 10-12 hours.. i need to sleep!)
The good thing is that MancalaDS is a very nice and simple strategic game and this version it’s for 2 player on the same nds.
Another good thing it’s that i’m planning to do an AI for this game.
Another (and last) good thing about this game is that i planned to use a better gfx but it’s still in development (cool effects need more time to be coded).
So i can show you a screen of this MancalaDS.. it’s on the right side of this post.
That’s all for MancalaDS. for now.

ShowMeTheMoney
————–
This second game it’s an adaptation to nds of the american tv show “Show Me The Money”/italian show “Tutto per Tutto”. This is not an ability game. It’s all fortune based. here, you can read the plot of “Show Me The Money” show, so you can figure out what this game is.
The engine of this game it’s done, but i need to craft a lot of missing graphic/sprites. Two people said “we’ll give you a hand with gfx and sound effects” (those are Dexther (sound) and krad (graphic) on gbarl) a week ago, but i didn’t see anything till today. I think that if they wouldn’t help me, i’ll put this game on “pause” until MancalaDS is finished.

So, that’s all for tonight. i’m very tired. see you around and feel free to reply whatever you want. bye.

Dat Manager is out!

today i wrote a dat manager (for nintendo ds, compatible with offline list) that works with php and mysql (only 1 table). it’s pretty basic but it works well. it uses smarty (as template manager). if you want to take a look to it or just take a copy of source code to build your own nintendo ds dat file, simple ask me about it.
lotti AT fastwebnet DOT it

improving the md5 encryption!

hello guys 🙂 today i studied a very simple method to improve the md5 protection against all available vocabulary attacks that are popping out in these months.
it’s very simple. it consists of add 2 or more md5 hash (for example, the password plus username plus date of registration) char by char.

now we got a new hash string that doesn’t appears like a normal hash (isn’t hexadecimal). so what we need to do now? simple! just re-encrypt this strange hash.

now we got particular hash that can’t return in any way the username nor password nor date of registration.

here’s the sample code:
————————–

<form method=”post”>
username: <input name=”username”> <br>
password: <input name=”password”><br>
<input name=”data”><br>
<br>
<?
$username=$_POST[“username”];
$password=$_POST[“password”];
$data=$_POST[“data”];
$sum=””;

$md5username=md5($username);
$md5password=md5($password);
$md5data=md5($data);

for($i=0;$i<32;$i++)
$sum.=chr(ord($md5username[$i])+ord($md5password[$i])+ord($md5data[$i]));

$hash=md5($sum);

echo “hash di “.$username.”: “.$md5username.”<br>”;
echo “hash di “.$password.”: “.$md5password.”<br>”;
echo “hash di “.$data.”: “.$md5data.”<br>”;
echo “somma degli hash: “.$sum.”<br>”;
echo “hash della somma: “.$hash.”<br>”;

?>
<br>
<br>
LOGIN <br>
username: <input name=”l1″> <br>
password: <input name=”l2″><br>
<input name=”l3″><br>
<input type=”submit”><br>
</form>

<?

$l1=$_POST[“l1”];
$l2=$_POST[“l2”];
$l3=$_POST[“l3″];
$l4=””;

$md5l1=md5($l1);
$md5l2=md5($l2);
$md5l3=md5($l3);

for($i=0;$i<32;$i++)
$l4.=chr(ord($md5l1[$i])+ord($md5l2[$i])+ord($md5l3[$i]));

$hashl4=md5($l4);

if ($hashl4==$hash) echo “login succesful”;
else echo “login denied”;

?>