AdvanceLevel implementation; sprintf hardening