You are treating the hash as an integer (check your insert) you have to treat it as a string as well, 128 characters I believe this should fix your problem, make sure you have changed the settings in the database as CHAR with 129.
good luck
Query("INSERT INTO `playerinfo` (`user`,`password`,`IP`,`date`) VALUES ('%s',%s,'%s',%d)",
and do the udb hashing before and store it in a the password variable then insert it
make sure you have something like Password[129] at the top of ur script
I see that you having the same problem with the 'date' I don't know how your script works but if its a date it should be a string shouldn't it?