Traceability codes are designed to be used in schemes that protect copyrighted digital data against piracy. The main aim of this paper is to give an answer to a Staddon-Stinson-Wei's problem of the existence of traceability codes with q < w2 and b > q. We provide a large class of these codes constructed by using a new general construction method for q-ary codes.