Skip to content
This repository was archived by the owner on Mar 25, 2026. It is now read-only.
This repository was archived by the owner on Mar 25, 2026. It is now read-only.

Bug with 'quality_name' of StatTrak knives #106

Open

Description

@NikittyS

Hello. Just one mistake.

quality_name: '★',
full_item_name: '★ StatTrak™ Butterfly Knife | Doppler (Factory New)'
quality_name: '★',
full_item_name: '★ Bayonet | Gamma Doppler (Factory New)'

Quality name don't display StatTrak knife or not.

To fix this In game_data.js just do this:

after:

// Get the quality name (Souvenir, Stattrak, etc...)
const qualityKey = Object.keys(this.items_game['qualities']).find((key) => {
     return parseInt(this.items_game['qualities'][key]['value']) === iteminfo.quality;
});

paste:

if (iteminfo.killeatervalue !== null && iteminfo.quality !== 9) {
    iteminfo['quality_name'] += ` ${this.csgo_english['strange']}`;
}

and comment pasted code above in getFullItemName method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions