-
Notifications
You must be signed in to change notification settings - Fork 2
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 #2
base: master
Are you sure you want to change the base?
Conversation
|
Hello, Thanks for your contribution, can you please share your script to generate this json file ? |
|
I didn't quite understand which script. Maybe you meant a complete ready-made archive with eItem? |
|
How did you generated this json ?
Le mer. 24 févr. 2021 à 12:54, z1ntex <notifications@github.com> a écrit :
… I didn't quite understand which script. Maybe you meant a complete
ready-made archive with eItem?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACIAAI6YX4FWQ5YMD2QABBTTATSHJANCNFSM4WXRITCA>
.
|
|
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! |
|
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) |
|
@z1ntex updated both eItems and sticker plugin, but none of the community 2021 stickers. |
|
I dont know what you smoked man but if u take a look at his commit you see he added the stickers aswell. |
|
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 |
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. |
|
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. |
|
I didn't get to test: |
|
Works 100%, tnks so much, i need to understand how to upgrade with github. ;)
|
|
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. If this is incorrect I hope this gave you a laugh, if not I hope this helps. |
I tryed but didnt't work :/ |
CSGO WeaponStickers v1.1.zip |
|
@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.
I think now it would be better to just leave support for ESKO eItems and download it directly, wouldn't it be better? |
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 |

No description provided.