if(!itemdb_exists || !itemdb_exists(nameid)) => or we need to alter itemdb_exists to properly return fail when id=0 cause currently he will return a dummy item.