search path in game client, wirten in c