Raised This Month: $51 Target: $400
 12% 

[CS:GO] Player Skin (Flag + SQL Support)


Post New Thread Reply   
 
Thread Tools Display Modes
iGreen112
Junior Member
Join Date: Dec 2018
Location: Moldova!
Old 01-05-2019 , 17:15   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #321

why did u put databases.cfg in there man? omg, i replaced accidentaly with my databases.cfg, wtf bro.
edit: not working in csgo.

Last edited by iGreen112; 01-05-2019 at 19:43.
iGreen112 is offline
UntitledMcC
Member
Join Date: Sep 2016
Old 01-05-2019 , 21:44   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #322

Does this support mysql?
UntitledMcC is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 01-06-2019 , 02:14   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #323

Quote:
Originally Posted by iGreen112 View Post
why did u put databases.cfg in there man? omg, i replaced accidentaly with my databases.cfg, wtf bro.
edit: not working in csgo.
Well that was the sample file like any other file i put
I'm pretty sure it works on csgo because i tested it on csgo with sqlite manager to see if databis parsing.
__________________
ambn is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 01-06-2019 , 02:15   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #324

Quote:
Originally Posted by UntitledMcC View Post
Does this support mysql?
Since it uses database.cfg then yes
Just change the driver and add your login info
__________________

Last edited by ambn; 01-06-2019 at 02:16.
ambn is offline
iGreen112
Junior Member
Join Date: Dec 2018
Location: Moldova!
Old 01-06-2019 , 06:54   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #325

Quote:
Originally Posted by ambn View Post
Well that was the sample file like any other file i put
I'm pretty sure it works on csgo because i tested it on csgo with sqlite manager to see if databis parsing.
It works but it doesnt download the matarials and models, we have to use a downloader but those download plugins are fkn satanic and they just made me crazy beucase all of them have some bugs or something is wrong.

Can u make the plugin so it will force the models and materials to autodownload? Just a like a normal plugin?
iGreen112 is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 01-06-2019 , 07:06   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #326

Quote:
Originally Posted by iGreen112 View Post
It works but it doesnt download the matarials and models, we have to use a downloader but those download plugins are fkn satanic and they just made me crazy beucase all of them have some bugs or something is wrong.

Can u make the plugin so it will force the models and materials to autodownload? Just a like a normal plugin?
Creating a file to put your download path is possible but automating it will take some time and testing
I'll try to add something for that next week
__________________
ambn is offline
iGreen112
Junior Member
Join Date: Dec 2018
Location: Moldova!
Old 01-06-2019 , 07:16   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #327

Quote:
Originally Posted by ambn View Post
Creating a file to put your download path is possible but automating it will take some time and testing
I'll try to add something for that next week
Thank you bro, untin then you should edit your post and say that people need some download plugin to make it work.
Really apreciate your work, you're a boss.
iGreen112 is offline
UntitledMcC
Member
Join Date: Sep 2016
Old 01-06-2019 , 09:02   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #328

Quote:
Originally Posted by ambn View Post
Since it uses database.cfg then yes
Just change the driver and add your login info
That's what I figured. But when I put an entry for PlayerSkins in it, it gives me an error...


Quote:
L 01/06/2019 - 09:00:16: [SM] Exception reported: Invalid query Handle 0 (error: 4)
L 01/06/2019 - 09:00:16: [SM] Blaming: PlayerSkin.smx
L 01/06/2019 - 09:00:16: [SM] Call stack trace:
L 01/06/2019 - 09:00:16: [SM] [0] SQL_FetchRow
L 01/06/2019 - 09:00:16: [SM] [1] Line 1180, E:\_MyFiles\Sourcemod\Files\Working On\Released\SkinShop\Version 5.0.0\addons\sourcemod\scripting\PlayerSkin.s p::IsUserOnDatabase
L 01/06/2019 - 09:00:16: [SM] [2] Line 1005, E:\_MyFiles\Sourcemod\Files\Working On\Released\SkinShop\Version 5.0.0\addons\sourcemod\scripting\PlayerSkin.s p::AddUserSkin
L 01/06/2019 - 09:00:16: [SM] [3] Line 582, E:\_MyFiles\Sourcemod\Files\Working On\Released\SkinShop\Version 5.0.0\addons\sourcemod\scripting\PlayerSkin.s p::SkinMenu
It's not putting anything into the mysql DB for some reason. I've triple checked the entry into database.cfg and its all correct.


-------------------------------

Also.. Is there anyway to have this plugin save and remember a users skin they picked? I don't want default skins, I just want the skins to be reapplied when someone dies or reconnects... Is this possible??

Everything else seems to be working very well.. my users are enjoying the new player skins!

Thanks ambn!

Last edited by UntitledMcC; 01-06-2019 at 09:08.
UntitledMcC is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 01-06-2019 , 10:02   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #329

Quote:
Originally Posted by UntitledMcC View Post
That's what I figured. But when I put an entry for PlayerSkins in it, it gives me an error...




It's not putting anything into the mysql DB for some reason. I've triple checked the entry into database.cfg and its all correct.


-------------------------------

Also.. Is there anyway to have this plugin save and remember a users skin they picked? I don't want default skins, I just want the skins to be reapplied when someone dies or reconnects... Is this possible??

Everything else seems to be working very well.. my users are enjoying the new player skins!

Thanks ambn!
I'm glad you choose this plugin
Well that's what sql is about to to, it will remeber their last choosed skin and apply it in every spawn and respawn.

Try using sqlite to see if it's really a plugin issue other than that, that's how sourcemod's sql system is working.

But i will check it out again my self when i found time
__________________
ambn is offline
UntitledMcC
Member
Join Date: Sep 2016
Old 01-06-2019 , 10:43   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #330

Quote:
Originally Posted by ambn View Post
I'm glad you choose this plugin
Well that's what sql is about to to, it will remeber their last choosed skin and apply it in every spawn and respawn.

Try using sqlite to see if it's really a plugin issue other than that, that's how sourcemod's sql system is working.

But i will check it out again my self when i found time
I tried using sqlite and it didnt save the player skins too.

When I used sqlite I received this error... and no skins save, with either mysql or sqlite.

Quote:
L 01/06/2019 - 01:17:23: [SM] Exception reported: Invalid key value handle 83560a70 (error 3)
L 01/06/2019 - 01:17:23: [SM] Blaming: PlayerSkin.smx
L 01/06/2019 - 01:17:23: [SM] Call stack trace:
L 01/06/2019 - 01:17:23: [SM] [0] KvGetString
L 01/06/2019 - 01:17:23: [SM] [1] Line 449, E:\_MyFiles\Sourcemod\Files\Working On\Released\SkinShop\Version 5.0.0\addons\sourcemod\scripting\PlayerSkin.s p::SkinMenuHandle

Last edited by UntitledMcC; 01-06-2019 at 10:45.
UntitledMcC is offline
Reply



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 21:07.


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