Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

Conversation

@z1ntex
Copy link

@z1ntex z1ntex commented Jan 28, 2021

No description provided.

@kossolax
Copy link

Hello,

Thanks for your contribution, can you please share your script to generate this json file ?

@z1ntex
Copy link
Author

z1ntex commented Feb 24, 2021

I didn't quite understand which script. Maybe you meant a complete ready-made archive with eItem?

@kossolax
Copy link

kossolax commented Feb 24, 2021 via email

@z1ntex
Copy link
Author

z1ntex commented Feb 24, 2021

It was already in version eItem hey and did not need to be created

@eldoradoel
Copy link

It was already in version eItem hey and did not need to be created

He wants to know how to use the script to generate or updates to this JSON file.Can you share your script code?Thanks!

@z1ntex z1ntex changed the title New Stickers RMR 2020 New Stickers "RMR 2020" and "Agent Patches" Mar 6, 2021
@z1ntex z1ntex changed the title New Stickers "RMR 2020" and "Agent Patches" New Stickers "RMR 2020" and "Agent Patches" and "Poorly Drawn Stickers" Mar 21, 2021
@z1ntex z1ntex changed the title New Stickers "RMR 2020" and "Agent Patches" and "Poorly Drawn Stickers" New Stickers "RMR 2020" and "Agent Patches" and "Poorly Drawn Stickers" and "2021 Community Sticker" Sep 10, 2021
@fipso
Copy link

fipso commented Sep 10, 2021

I did not test it yet but for example for the new stickers a script to build the json can look like this:

// JSON from:  https://csgofloat.com/api/v1/schema
const schema = JSON.parse(`  <INSERT JSON HERE>  `);

const data = {
    stickers: {
        categories: [{
            id: 19,
            name: "2021 Community Sticker",
            items: []
        }],
        items: []
    }
};

let i = 0;
for (let [key, value] of Object.entries(schema.stickers)){

    //Skip all old stickers
    const defIndex = parseInt(key);
    if(defIndex < 4882) continue;

    data.stickers.categories[0].items.push({
        [i]: defIndex
    });

    data.stickers.items.push({
        "def_index": defIndex,
        "item_name": value
    });

    i++;
}

console.log(data)

@crashzk
Copy link

crashzk commented Sep 11, 2021

@z1ntex updated both eItems and sticker plugin, but none of the community 2021 stickers.

@fipso
Copy link

fipso commented Sep 12, 2021

I dont know what you smoked man but if u take a look at his commit you see he added the stickers aswell.

@fipso
Copy link

fipso commented Sep 12, 2021

image

So for some reason the compability with the quasemago/CSGO_WeaponStickers plugins breaks

EDIT: my bad havent seen the PR on the other repo. Thanks so much for your work @z1ntex

@crashzk
Copy link

crashzk commented Sep 12, 2021

I dont know what you smoked man but if u take a look at his commit you see he added the stickers aswell.

I usually smoke cigarettes and marijuana, responding to you. And do you smoke something to take your stress away, or do you like to look like a dick anyway?

But yes, I saw, I thought in the case that it would be a category only for the 2021 community stickers, but no, in any case I found the stickers, thanks for your help, pass well.

@z1ntex z1ntex changed the title New Stickers "RMR 2020" and "Agent Patches" and "Poorly Drawn Stickers" and "2021 Community Sticker" New Stickers "RMR 2020" and "Agent Patches" and "Poorly Drawn Stickers" and "2021 Community Sticker" and "Operation Riptide Sticker Collection" and "Riptide Surf Shop Sticker Collection" and Operation Riptide Patch Collection Sep 22, 2021
@jpcrivelini
Copy link

Hello, how is everything ? I'm a bit lost with github but I would like to know if anyone has a .zip file with the eItens plugin along with the CSGOstickers updated with the new operation.

@crashzk
Copy link

crashzk commented Sep 23, 2021

I didn't get to test:

Weapon Stickers v1.0.20.zip

@jpcrivelini
Copy link

Works 100%, tnks so much, i need to understand how to upgrade with github. ;)

I didn't get to test:

Weapon Stickers v1.0.20.zip

@tk1114632
Copy link

Hi, is there an update for 2021 Stockholm Major stickers? Thanks in advance.

@ghost
Copy link

ghost commented Oct 23, 2021

Hi, is there an update for 2021 Stockholm Major stickers? Thanks in advance.

If all you had to do was add the index number and the item name to the .JSON. I believe I have done that. Thanks to @crashzk as I used his to add the community capsule as I was to lazy to add them myself and had already done the RMR teams and PGL teams.

Weapon Stickers v1.0.21.zip

If this is incorrect I hope this gave you a laugh, if not I hope this helps.

@jpcrivelini
Copy link

Hi, is there an update for 2021 Stockholm Major stickers? Thanks in advance.

If all you had to do was add the index number and the item name to the .JSON. I believe I have done that. Thanks to @crashzk as I used his to add the community capsule as I was to lazy to add them myself and had already done the RMR teams and PGL teams.

Weapon Stickers v1.0.21.zip

If this is incorrect I hope this gave you a laugh, if not I hope this helps.

I tryed but didnt't work :/

@jpcrivelini
Copy link

Hi, is there an update for 2021 Stockholm Major stickers? Thanks in advance.

If all you had to do was add the index number and the item name to the .JSON. I believe I have done that. Thanks to @crashzk as I used his to add the community capsule as I was to lazy to add them myself and had already done the RMR teams and PGL teams.

Weapon Stickers v1.0.21.zip

If this is incorrect I hope this gave you a laugh, if not I hope this helps.

CSGO WeaponStickers v1.1.zip
I make this one and wokd fine ! I'm very happy that i understand how to upgrade the stickers, i hope you enjoy :)

@z1ntex z1ntex changed the title New Stickers "RMR 2020" and "Agent Patches" and "Poorly Drawn Stickers" and "2021 Community Sticker" and "Operation Riptide Sticker Collection" and "Riptide Surf Shop Sticker Collection" and Operation Riptide Patch Collection New Stickers "RMR 2020" , "Agent Patches" , "Poorly Drawn Stickers" , "2021 Community Sticker" , "Operation Riptide Sticker Collection" , "Riptide Surf Shop Sticker Collection" , Operation Riptide Patch Collection , PGL Major Stockholm 2021 , PGL Major Stockholm Patches 2021 Oct 23, 2021
@crashzk
Copy link

crashzk commented Nov 17, 2021

@z1ntex In doubt, I can download eItems directly from ESKO: https://github.com/ESK0/eItems

And use it, or would it only work with your version, even the quasemago Stickers?

Another thing, the plugin's source file has a name and the plugin is compiled with another one.

eitems.smx and the source file eItems.sp.

I think now it would be better to just leave support for ESKO eItems and download it directly, wouldn't it be better?

@z1ntex
Copy link
Author

z1ntex commented Nov 17, 2021

@z1ntex В сомнениях, я могу загрузить eItems непосредственно из ESKO: https://github.com/ESK0/eItems

И используйте его, или он будет работать только с вашей версией, даже с наклейками quasemago?

Другое дело, что исходный файл плагина имеет имя, и плагин скомпилирован с другим файлом.

eitems.smx и исходный файл eItems.sp.

Я думаю, что сейчас было бы лучше просто оставить поддержку ESKO eItems и загрузить ее напрямую, не лучше ли было бы?

You can take directly from there and the plugin is connected to it.I just forgot to rename the file.Both there and the functionality is the same

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants