If the wooden floor, stuck on the ground, is rotten, it is better to replace it with a concrete, covering it from above with a screed. Concrete floor with waterproofing with polyethylene membrane after covering ceramic and stone tiles or chipboard is dry, even and durable.