Raised This Month: $318 Target: $400
 79%   Almost there!

[CS:GO] Weapon Stickers (!stickers)


Post New Thread Reply   
 
Thread Tools Display Modes
samek4z
Junior Member
Join Date: Oct 2021
Old 12-13-2021 , 19:33   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #301

Quote:
Originally Posted by paulo_crash View Post
I'll leave all links to plugins and extensions that need to be updated for the stickers to work.

And finally the plugin for Stickers: https://github.com/z1ntex/CSGO_WeaponStickers

Downloading the latest versions of the links I sent the plugin and everything works correctly.

I recommend just removing the eItems that you already have on your server, from him everything related to it and I sent it again.
I've installed and reinstalled everything but still...

L 12/13/2021 - 211:04: [SM] Exception reported: Invalid JSON in line 1, column 1993: premature end of input near '"1'
L 12/13/2021 - 211:04: [SM] Blaming: eitems.smx
L 12/13/2021 - 211:04: [SM] Call stack trace:
L 12/13/2021 - 211:04: [SM] [0] HTTPResponse.Data.get
L 12/13/2021 - 211:04: [SM] [1] Line 62, e:\SourceMod\GitHub\eItems\scripting\files\pa rse.sp:arseItemsDownloaded
samek4z is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-13-2021 , 21:49   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #302

Quote:
Originally Posted by samek4z View Post
I've installed and reinstalled everything but still...

L 12/13/2021 - 211:04: [SM] Exception reported: Invalid JSON in line 1, column 1993: premature end of input near '"1'
L 12/13/2021 - 211:04: [SM] Blaming: eitems.smx
L 12/13/2021 - 211:04: [SM] Call stack trace:
L 12/13/2021 - 211:04: [SM] [0] HTTPResponse.Data.get
L 12/13/2021 - 211:04: [SM] [1] Line 62, e:\SourceMod\GitHub\eItems\scripting\files\pa rse.sp:arseItemsDownloaded
According to eItem's author this error is due to Windows, something like that.

[SM] Exception reported: Invalid JSON in line
  • This happens mostly only for Windows users. Windows have an issue with HTTP/2 requests. Set UseLocal to true and upload selected language file (items_XX.json) to data folder.

And if this is the eItem you are using: eitems.smx

You have the wrong version, use the one from the link I sent you and delete this version from your server.
paulo_crash is offline
samek4z
Junior Member
Join Date: Oct 2021
Old 12-14-2021 , 10:58   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #303

Quote:
Originally Posted by paulo_crash View Post
According to eItem's author this error is due to Windows, something like that.

[SM] Exception reported: Invalid JSON in line
  • This happens mostly only for Windows users. Windows have an issue with HTTP/2 requests. Set UseLocal to true and upload selected language file (items_XX.json) to data folder.

And if this is the eItem you are using: eitems.smx

You have the wrong version, use the one from the link I sent you and delete this version from your server.
It worked like a charm, thanks a lot bro <3
samek4z is offline
TigerXN
Junior Member
Join Date: Apr 2020
Old 12-26-2021 , 22:27   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #304

Quote:
Originally Posted by paulo_crash View Post
According to eItem's author this error is due to Windows, something like that.

[SM] Exception reported: Invalid JSON in line
  • This happens mostly only for Windows users. Windows have an issue with HTTP/2 requests. Set UseLocal to true and upload selected language file (items_XX.json) to data folder.

And if this is the eItem you are using: eitems.smx

You have the wrong version, use the one from the link I sent you and delete this version from your server.
Can you tell me where I need to change UseLocal? As for the items_xx.json file, I see it is already in the sourcemod/data folder, do I need to move it into the sourcemod/data/eItems folder?
TigerXN is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 12-27-2021 , 14:04   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #305

Quote:
Originally Posted by TigerXN View Post
Can you tell me where I need to change UseLocal?
eItems/configs/eItems.json

https://github.com/ESK0/eItems/blob/...gs/eItems.json

Quote:
Originally Posted by TigerXN View Post
As for the items_xx.json file, I see it is already in the sourcemod/data folder, do I need to move it into the sourcemod/data/eItems folder?
I don't think so, make the first change and test it, and if not, try changing it.

Instalation:
  • Upload configs and eitems.smx to your server.
  • Change language in eItems.json if needed.
  • Upload selected language data file to your server. (Only if UseLocal is set to true in config)
  • Restart your server or load plugin manually.
  • Upload Graffiti files to server + fastdl. (Only if DownloadSprays is set to true in config, skip otherwise)
paulo_crash is offline
TigerXN
Junior Member
Join Date: Apr 2020
Old 12-27-2021 , 21:27   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #306

Quote:
Originally Posted by paulo_crash View Post
eItems/configs/eItems.json

https://github.com/ESK0/eItems/blob/...gs/eItems.json


I don't think so, make the first change and test it, and if not, try changing it.

Instalation:
  • Upload configs and eitems.smx to your server.
  • Change language in eItems.json if needed.
  • Upload selected language data file to your server. (Only if UseLocal is set to true in config)
  • Restart your server or load plugin manually.
  • Upload Graffiti files to server + fastdl. (Only if DownloadSprays is set to true in config, skip otherwise)

Thanks, I got it working now.
TigerXN is offline
cakedon
New Member
Join Date: Oct 2021
Old 01-18-2022 , 14:43   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #307

Hi guys.
I've made a little local server on my PC to test some stuff on, etc. I've installed this plugin (along with all dependencies) but I can't seem to set up a local database.

No databases made - the plugin reacts to !stickers command in chat, does not apply and save stickers (obviously)

Copied in the default database config - does say that it can't connect to the database as expected, reacts to !stickers command

Made a local sqlite database using:
Code:
	"csgo_weaponstickers"
    {
        "driver"              "sqlite"
        "database"            "stickers-local"
	}
Now, SM made a database in the local folder. It's empty, but the plugin doesn't even react to !stickers - it's not even displayed in "sm plugins"...

There needs to be an obvious solution to this. I might just set up a free website on some free hosting and hook up a connection to that.
Cheers!
cakedon is offline
GoldBull3t
New Member
Join Date: May 2020
Old 01-27-2022 , 02:02   Error: Array index out-of-bounds
Reply With Quote #308

L 01/27/2022 - 06:58:02: [SM] Exception reported: Array index out-of-bounds (index 41, limit 24)
L 01/27/2022 - 06:58:02: [SM] Blaming: csgo_weaponstickers.smx
L 01/27/2022 - 06:58:02: [SM] Call stack trace:
L 01/27/2022 - 06:58:02: [SM] [1] Line 161, quasemago/csgo_weaponstickers/menus.inc::ShowWeaponStickerSlotMenu
L 01/27/2022 - 06:58:02: [SM] [2] Line 101, quasemago/csgo_weaponstickers/menus.inc::MenuHandler_Menu_WeaponStickers

Please help me, updated everthing!!
GoldBull3t is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 01-27-2022 , 10:13   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #309

Here is the latest version, everything updated, just upload it to the server.

Remember to remove previous eItems from the server so there is no error, delete the plugin and resubmit.

CSGO Weapon Stickers.zip

If you need the fix for the database, just run this script:
PHP Code:
CREATE TABLE IF NOT EXISTS `weaponstickers1` (
            `
idINT NOT NULL AUTO_INCREMENT,
            `
steamidvarchar(64COLLATE utf8mb4_unicode_ci NOT NULL,
            `
weaponindexint(11NOT NULL DEFAULT '0',
            `
slot0int(11NOT NULL DEFAULT '0',
            `
slot1int(11NOT NULL DEFAULT '0',
            `
slot2int(11NOT NULL DEFAULT '0',
            `
slot3int(11NOT NULL DEFAULT '0',
            `
slot4int(11NOT NULL DEFAULT '0',
            `
slot5int(11NOT NULL DEFAULT '0',
            `
wear0float4 NOT NULL DEFAULT '0.000000',
            `
wear1float4 NOT NULL DEFAULT '0.000000',
            `
wear2float4 NOT NULL DEFAULT '0.000000',
            `
wear3float4 NOT NULL DEFAULT '0.000000',
            `
wear4float4 NOT NULL DEFAULT '0.000000',
            `
wear5float4 NOT NULL DEFAULT '0.000000',
            `
rotation0float4 NOT NULL DEFAULT '0.000',
            `
rotation1float4 NOT NULL DEFAULT '0.000',
            `
rotation2float4 NOT NULL DEFAULT '0.000',
            `
rotation3float4 NOT NULL DEFAULT '0.000',
            `
rotation4float4 NOT NULL DEFAULT '0.000',
            `
rotation5float4 NOT NULL DEFAULT '0.000',
            `
last_seenint(11NOT NULL DEFAULT '0'
            
PRIMARY KEY (`id`),
            
UNIQUE KEY (`steamid`, `weaponindex`)
            ) 
ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci
paulo_crash is offline
badral9
New Member
Join Date: Apr 2021
Old 02-06-2022 , 21:47   Re: [CS:GO] Weapon Stickers (!stickers)
Reply With Quote #310

Boardroom Sticker Capsule please

Last edited by badral9; 02-07-2022 at 20:17.
badral9 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:48.


Powered by vBulletin®
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Theme made by Freecode