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

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


Post New Thread Reply   
 
Thread Tools Display Modes
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 03-09-2019 , 23:28   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #351

Quote:
Originally Posted by GeNTiL View Post
between rounds it doesn't even work ..
it says
[PlayerSkin] You cannot change your skins anymore!
That error has nothing to do with your problem since it's just there to add a limit for skins selection between rounds,
Your problem could have many reasons like
- You haven't correctly setup the sql database (sqlite or else)
- On Linux, you have setup the database but you does not have enough permissions to be able to write on the database.
- Your sourcemod's sql drivers might be missing.
- You might have installed previous version of the plugin which did not support sql
and ...

Please be more specific about your problem so i can see if there is any bug and fix it.
__________________
ambn is offline
GeNTiL
New Member
Join Date: Mar 2019
Old 03-10-2019 , 07:52   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #352

here's my data base.. i don't think there's nothing wrong with it
http://prntscr.com/mvunyb
GeNTiL is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 03-19-2019 , 03:21   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #353

1) Is there a way to make admin skins with a @ parameter? Like:

@Admins
@Vips
@Member
@Owner

2) I didnt get what is u_id and catgroup, can you explain it better?

3) Is there any cvar to force players to automatically set any skin? Like sm_skinchooser forceskin
__________________
NanoC is offline
Send a message via Skype™ to NanoC
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 03-19-2019 , 03:25   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #354

Quote:
Originally Posted by NanoC View Post
1) Is there a way to make admin skins with a @ parameter? Like:

@Admins
@Vips
@Member
@Owner

2) I didnt get what is u_id and catgroup, can you explain it better?

3) Is there any cvar to force players to automatically set any skin? Like sm_skinchooser forceskin
1) You mean like a command using these chat triggers to set skins on a group?

2) u_id is what the menu uses to check selected skins and must be unique per skin and catgroup is what used only when you enable categories and put skins in same group in same category in the menu.

3)you can already use admin_skins.ini file and set skins to def instead of a flag.
__________________
ambn is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 03-19-2019 , 03:36   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #355

Quote:
Originally Posted by ambn View Post
1) You mean like a command using these chat triggers to set skins on a group?
Ye something like that, take a look to sm_skinchooser, you can set differents skins for differents groups likw @admin @vip etc, instead using a flag (this could be good because i've a lot of differents groups in my admin_groups and some of them have same flags)

Quote:
Originally Posted by ambn View Post
2) u_id is what the menu uses to check selected skins and must be unique per skin and catgroup is what used only when you enable categories and put skins in same group in same category in the menu.
Ah its perfect, so i can type whatever i want in u_id for any skin

Quote:
Originally Posted by ambn View Post
3) You can already use admin_skins.ini file and set skins to def instead of a flag.
I mean, i want a public skin menu for normal users, but if they don't choose any model could be possible that the plugin set automatically a skin for them? Or at least for new players, idk
__________________
NanoC is offline
Send a message via Skype™ to NanoC
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 03-19-2019 , 05:52   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #356

Quote:
Originally Posted by NanoC View Post
Ye something like that, take a look to sm_skinchooser, you can set differents skins for differents groups likw @admin @vip etc, instead using a flag (this could be good because i've a lot of differents groups in my admin_groups and some of them have same flags)

Ah its perfect, so i can type whatever i want in u_id for any skin



I mean, i want a public skin menu for normal users, but if they don't choose any model could be possible that the plugin set automatically a skin for them? Or at least for new players, idk

I'm currently on a vacation but I'll look into it.
And like i said, you can use the def section in admin skin file to force the skin
__________________
ambn is offline
OneMore
Senior Member
Join Date: Feb 2019
Old 03-19-2019 , 06:24   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #357

Quote:
Originally Posted by ambn View Post
And like i said, you can use the def section in admin skin file to force the skin
It's a good idea. I missed it in the plugin's description as many others. So it may help if you add this to the first post.

One more thing if you are going to work on the plugin... We do custom events on our server. And all of them may be set from Admin menu changing cvars and then just reload a map. I try to avoid changing сonfig files for each event. We use forced different player models (one for CT and one for T) for different events. And this is the only change I need to do in configs before the event.
It would be perfect to set a cvar which define a forced skin for CT team and another cvar for T team. In that case, all settings for the event may be set with cvars only!

Thank you for your consideration of this matter.
OneMore is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 03-19-2019 , 06:28   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #358

Quote:
Originally Posted by OneMore View Post
It's a good idea. I missed it in the plugin's description as many others. So it may help if you add this to the first post.

One more thing if you are going to work on the plugin... We do custom events on our server. And all of them may be set from Admin menu changing cvars and then just reload a map. I try to avoid changing сonfig files for each event. We use forced different player models (one for CT and one for T) for different events. And this is the only change I need to do in configs before the event.
It would be perfect to set a cvar which define a forced skin for CT team and another cvar for T team. In that case, all settings for the event may be set with cvars only!

Thank you for your consideration of this matter.
Not a problem, will add a cvar for that matter after the vacation or soon if i could access my laptop
__________________
ambn is offline
NanoC
Veteran Member
Join Date: Jan 2016
Location: Argentina
Old 03-19-2019 , 10:06   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #359

Quote:
Originally Posted by ambn View Post
I'm currently on a vacation but I'll look into it.
And like i said, you can use the def section in admin skin file to force the skin
Another good suggestion would be make more than 2 skins (more than 1 skin for ct & and t) per groups in admin_skin, so skins can be choosen randomly
__________________
NanoC is offline
Send a message via Skype™ to NanoC
Sniperino
Member
Join Date: Apr 2019
Old 05-02-2019 , 10:34   Re: [CS:GO] Player Skin (Flag + SQL Support)
Reply With Quote #360

Can you help me ? How can i fix this ?
L 05/02/2019 - 161:59: [SM] Exception reported: Invalid timer handle 254a0e8f (error 1)
L 05/02/2019 - 161:59: [SM] Blaming: PlayerSkin.smx
L 05/02/2019 - 161:59: [SM] Call stack trace:
L 05/02/2019 - 161:59: [SM] [0] KillTimer
L 05/02/2019 - 161:59: [SM] [1] Line 89, E:\_MyFiles\Sourcemod\Files\Working On\Released\SkinShop\Version 5.0.1\addons\sourcemod\scripting\PlayerSkin.s p::RoundStart
Sniperino 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 06:39.


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