I was never able to play some EA games online because punkbuster always kicked me out. PunkBuster.exe is a small application which kicks players out of the server, if the game was modified. This prevents cheating. But I didn’t modifiy my game and I always got this message: “PunkBuster INIT Failure” – ord “Connection to server lost”. I found a way to fix this:
- First of all, download the latest punkbuster from here
- Make sure that you open the game with administrator privilegues
- Make sure your firewall or antivir doesn’t block the punkbuster service (PnkBstrA (B) whatever)
- Start – Run – Services.msc
- Make sure the process is running. If it is not running you will be kicked out of the server with the message: Punkbuster Init Failure.
- Make sure that your account does have a password (local computer account). This is needed for the next step.
- Right click the service – Preferences – Login – Click on this account instead of local account.

Please note that this screen is made on a german computer. After this you should be able to play your favorite games online again. You have to do this everytime you turned your computer off
I was searching an Adium Soundboard for my iPhone this weekend but unfortutately I didn’t find one. So I decided to make my own. I just uploaded it to www.modmyi.com
You will find it if you have the source: apt.modmyrepo.com added in Cydia.

I was working with JBoss 5.1.0GA and I wanted to activate the JBoss MD5 Authentication. The passwords were stored as HEX 16Byte long (32 Hex Characters). When you have a look at the official JBoss User Manual (Chapter 9) you will see that they are using Base64-Encoding. So we had to come up with a short PL/SQL-script to convert the passwords to Base64!
Simply create a PL-SQL Script and add the following code:
[codesyntax lang="plsql"]
set sqlblanklines on;
set serveroutput on;
DECLARE
BEGIN
//read password field as hex-encoded raw data and convert data using base64 encoding
update users set password=utl_raw.cast_to_varchar2(utl_encode.base64_encode(utl_raw.cast_to_raw(utl_raw.cast_to_varchar2(password))));
END;
[/codesyntax]
Additionally, if you have a unix or linux machine, you can check it in command line:
$ echo -n “j2ee” | openssl dgst -md5 -binary | openssl base64 glcikLhvxq1BwPBZN0EGMQ==
Recently I had the problem that I had to convert a normal password string to a MD5 Password String which is Base64-Encoded. I found a lot of results but they just worked on JBoss 4.2, so I changed it and now it will also run on JBoss 5.1.0GA::
[codesyntax lang="java" strict="yes"]
package com.sicap.ssis2.servlets;
import java.security.MessageDigest;
/**
* @author doonot
*
*/
public class MD5HashGenerator {
/**
* @param args
* @throws Exception
*/
public static void main(String[] args) throws Exception {
// TODO Auto-generated method stub
String password = “testpassword”;
MessageDigest md = null;
try
{
md = MessageDigest.getInstance(“MD5″);
}
catch(Exception e)
{
e.printStackTrace();
}
byte[] passwordBytes = password.getBytes();
byte[] hash = md.digest(passwordBytes);
System.out.println(getHexString(hash));
String passwordHash = org.jboss.security.Base64Encoder.encode(hash);
System.out.println(“password hash: “+ passwordHash);
}
/**
* This method returns the hex string from the password byte array
* @param b Byte[]
* @return string hex password string
* @throws Exception
*/
public static String getHexString(byte[] b) throws Exception {
String result = “”;
for (int i=0; i < b.length; i++) {
result +=
Integer.toString( ( b[i] & 0xff ) + 0×100, 16).substring( 1 );
}
return result;
}
}
[/codesyntax]
Leave a short comment if you think that was usefull! Best regards!
Es ist so weit. Am 13. August 2009 ist meine erste iPhone Applikation im Appstore erschienen. Inzwischen habe ich schon das erste Update geschrieben und heute an Apple freigegeben.
Die Applikation kommt mit dem Namen Bireweich. Bireweich ist eine Webcommunity betrieben von Daniel Gerber. Die Applikation vereint die verschiedenen Channels wie Youtube, Twitter, Website etc. Zusätzlich kommt sie mit einem smarten RSS Reader.
Anfangs hat die Applikation 1.10 gekostet, ab dem nächsten Update wird die Applikation gratis zu erwerben sein.
Twitter
So, es ist wohl an der Zeit meinen Blog zu aktualisieren. Es hat sich in letzter Zeit viel getan. Meine meisten Posts gehen nun über Twitter, da dies einfach viel schneller ist. Wenn Ihr Bock habt, könnt ihr mich followen (Follow me).
iPhone Applikation
Ich habe auch angefange, Applikationen zu entwickeln für das iPhone. Vorgestern habe ich meine erste Applikation mit dem Namen “Bireweich” an Apple freigegeben. Ich gehe mal davon aus, das der Review Prozess etwa 14 Tage geht. Wenn alles gut geht, findet Ihr die Applikation in 2 Wochen im Appstore. Nachfolgend ein paar Impressionen zur iApp:
Show Bireweich Image in Lightbox
Webdesign
Ich habe in der letzten Zeit vermehrt Anfragen bekommen bezüglich Webdesign für Firmen, Vereine etc. Ich denke ich werde mir mal ein Konzept ausdenken und bald online posten.
Die Bilder von der Abschlussreise der MMK4a sind online:
http://pictures.doonot.com
check it out.
So, ich habe mal wieder ein bisschen herumgebastelt und es gab einige Änderungen an meinem Winterboard iPhone Theme. Da Blink 182 wieder ein Thema ist, habe ich dies in mein Theme integriert. Hier ist der Changelog für v2.0:
Version 2.0 @ 25.02.2009
- Removed Ed Hardy Battery
- Added Blink 182 Battery from Blink 182 Theme
- Added Black, Green and Red Blink 182 Sliders
- Removed Apple Sliders
- Added Maci-sh Cydia Style
- Removed Blue SMS Bubbles
- Added Grey and White SMS Bubbles
- Removed Blue SBBadge BG Notification Pic
- Added Red SBBadge Notification Pic
- Changed Slide to Unlock Text to Slide to Doonot
Hier im Anschluss schon einmal ein paar Eindrücke (Screenshots). Das Theme wird höchstwarscheinlich noch heute, spätestens morgen in Cydia unter der Source http://cydia.doonot.com erreichbar sein.
Stay tuned!

(weiterlesen…)