Raised This Month: $ Target: $400
 0% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
eryk172
Member
Join Date: Aug 2013
Old 04-07-2018 , 14:51   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #271

Could you add random models from 4 selected for no-permissions player?

Thanks
eryk172 is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 04-07-2018 , 15:36   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #272

Quote:
Originally Posted by eryk172 View Post
Could you add random models from 4 selected for no-permissions player?

Thanks
Sure why not I'll be doing it in next few days
__________________
ambn is offline
karakanek
New Member
Join Date: Apr 2018
Old 04-08-2018 , 09:59   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #273

Hello Is possible to first check player have any gloves weared? For example server is using this plugin: https://github.com/kaganus/gloves and your plugin have to first check user is using any gloves from it and then change arms to choosed skin
And second question is about checking flags... I mean on client connect (or something) plugin will check if user still have flag and if not, user will be removed from userskindata.ini. This would be very nice I think
Thx for your work
karakanek is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 04-08-2018 , 10:15   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #274

Quote:
Originally Posted by karakanek View Post
Hello Is possible to first check player have any gloves weared? For example server is using this plugin: https://github.com/kaganus/gloves and your plugin have to first check user is using any gloves from it and then change arms to choosed skin
And second question is about checking flags... I mean on client connect (or something) plugin will check if user still have flag and if not, user will be removed from userskindata.ini. This would be very nice I think
Thx for your work
The first one is already done using sm_ask_arms 1 and for the second one can you explain more?
__________________
ambn is offline
karakanek
New Member
Join Date: Apr 2018
Old 04-08-2018 , 11:06   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #275

If I'm not wrong, sm_ask_arms just asking user is he using for example gloves and I think about automatically detection this
I have sms shop plugin where users can buy vip for 30 days and after this, when user have choosed model, after this time he still have them in mentioned file :/ And I think about this if plugin will check users flag and he havent got vip, he will be deleted from userskindata.ini
karakanek is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 04-08-2018 , 11:44   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #276

Disable sm_save_skins ConVar

You know the thing you're saying is possible but how about casual users which have saved skins?

Awh and about sm_ask_arms yeah it checks users status whether the user have gloves or not then ask them if they want it so if they do no more gloves are going to be set due to arms overlapping and if yeah it sets the glove what's the auto detection you're looking for?
__________________

Last edited by ambn; 04-08-2018 at 11:53.
ambn is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 04-09-2018 , 21:50   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #277

I'm still getting the error:

Code:
L 04/09/2018 - 22:14:32: [SM] Exception reported: Client 4 is not in game
L 04/09/2018 - 22:14:32: [SM] Blaming: PlayerSkin.smx
L 04/09/2018 - 22:14:32: [SM] Call stack trace:
L 04/09/2018 - 22:14:32: [SM]   [0] GetClientTeam
L 04/09/2018 - 22:14:32: [SM]   [1] Line 627, E:\_MyFiles\Sourcemod\Files\Working On\Released\SkinShop\PlayerSkin.sp::RoundStart
To fix that add "IsClientInGame(client)" at line #624.

Why do you have this line? Because you ask to use SM Downloader and Precacher and you have a "useless" folder inside your zip, which doesn't make sense, it's just throwing errors
Code:
AddFilesToDownload("addons/sourcemod/configs/download_list.ini");
I had few issues compiling your plugin. Functions not returning values or void functions returning values. Is the .sp tha latest version?
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile

Last edited by plock; 04-09-2018 at 21:57.
plock is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 04-09-2018 , 22:03   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #278

Well i actually do not pay much attention to these errors unless they cause trouble but fine I'll do a clean up for the next release
__________________
ambn is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 04-09-2018 , 22:49   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #279

Quote:
Originally Posted by ambn View Post
Well i actually do not pay much attention to these errors unless they cause trouble but fine I'll do a clean up for the next release
I didn't mean to be rude, sorry xD. I was just asking, because I like to keep my logs clean. Don't worry about that, I will fix these error messages for me, because I'm having some issues on my servers and I want to remove all the error messages to try to find what's happening.

EDIT: The issues I mentioned it's not regarding the skins plugin, but I want to clear all the error messages and see it helps.

Thanks for your time!
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile

Last edited by plock; 04-09-2018 at 22:51.
plock is offline
ambn
Veteran Member
Join Date: Feb 2015
Location: Fun servers
Old 04-18-2018 , 10:54   Re: [CS:GO] Player Skin (With flag support)
Reply With Quote #280

UPDATED! Version 4.6.1 fix1** 4/18/2018
- Fixed permissions being denied which wasn't really fixed in previous verison.
- Fixed wating message on roundstart going on a loop on every single rounds.
- Added a new ConVar Called sm_save_setskins which will be used to control restoring skins, so if it's enabled people are going to get their saved skins and if it doesn't then even if the user has saved skins or saving is enabled, no skins are gonna apply (Enabled by default).
- Did some code cleanup and will do more in next release.

Todo:
- Add Randomization to selected skins in skin.ini file which make it easy for operators to let eveyone have a random skin each mapchange.
- Remove unrequired Cvars which making the code looking aweful.
- Add PerMapSkin to make it easier for operators with multi-mode servers to have specific skins on clients per map
__________________

Last edited by ambn; 04-18-2018 at 10:56.
ambn 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 10:02.


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