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

[CS:GO] Skins Chooser


Post New Thread Reply   
 
Thread Tools Display Modes
andi67
Veteran Member
Join Date: Mar 2007
Location: Somewhere near you!!!
Old 05-28-2017 , 09:04   Re: [CS:GO] Skins Chooser
Reply With Quote #191

Seems like there is a problem with the random function.....
__________________
Waiting for HL3,Day of Defeat3 ,but will it ever come? So I'm gonna play COD WW2.>>>>SM_SKINCHOOSER<<<<
>>You need Models for DODS/CSS/CSGO , than click here!!!<<
andi67 is offline
weeeishy
Senior Member
Join Date: Jul 2015
Location: Kuwait
Old 05-29-2017 , 08:05   Re: [CS:GO] Skins Chooser
Reply With Quote #192

Quote:
Originally Posted by andi67 View Post
Seems like there is a problem with the random function.....
I see. I also got this error in my logs.

Code:
L 05/29/2017 - 12:44:41: [SM] Exception reported: Client 13 is not connected
L 05/29/2017 - 12:44:41: [SM] Blaming: csgo_skins.smx
L 05/29/2017 - 12:44:41: [SM] Call stack trace:
L 05/29/2017 - 12:44:41: [SM]   [0] IsFakeClient
L 05/29/2017 - 12:44:41: [SM]   [1] Line 345, plugin.sp::SetModels
I'm using the official maps if that helps.

EDIT: I found out that somehow the plugin is memory leaking. It's been happening for a while.

Code:
L 05/29/2017 - 12:54:40: [SM] MEMORY LEAK DETECTED IN PLUGIN (file "csgo_skins.smx")
L 05/29/2017 - 12:54:40: [SM] Unloading plugin to free 31145 handles.
L 05/29/2017 - 12:54:40: [SM] Contact the author(s) of this plugin to correct this error.
L 05/29/2017 - 12:54:40: --------------------------------------------------------------------------
L 05/29/2017 - 12:54:40: Type	IBaseMenu           |	Count	2
L 05/29/2017 - 12:54:40: Type	DataPack            |	Count	31135
L 05/29/2017 - 12:54:40: Type	Timer               |	Count	8
L 05/29/2017 - 12:54:40: -- Approximately 4585050 bytes of memory are in use by (31145) Handles.
__________________

Last edited by weeeishy; 05-29-2017 at 08:13.
weeeishy is offline
diman1000w
New Member
Join Date: May 2017
Old 05-31-2017 , 19:42   Re: [CS:GO] Skins Chooser
Reply With Quote #193

Quote:
Originally Posted by andi67 View Post
Try this one , I increased the timer a bit more , seems to work correctly......
Blaming: csgo_skins.smx
L 06/01/2017 - 01:06:56: [SM] Call stack trace:
L 06/01/2017 - 01:06:56: [SM] [0] IsFakeClient
L 06/01/2017 - 01:06:56: [SM] [1] Line 342, E:\csgo\csgo\addons\sourcemod\Root%C2%B4s%20C SGO%20Skin%20Chooser%201.2.5\Rootґs CSGO Skin Chooser 1.2.5\addons\sourcemod\scripting\csgo_skins.s p::SetModels
L 06/01/2017 - 01:11:48: Error log file session closed
diman1000w is offline
TheEdgeClan.Eu
Member
Join Date: Jun 2016
Old 09-29-2017 , 00:35   Re: [CS:GO] Skins Chooser
Reply With Quote #194

Quote:
Originally Posted by andi67 View Post
Try this one , I increased the timer a bit more , seems to work correctly......
it over lays store plugin.
so store models dont show now
__________________
TheEdgeClan.Eu is offline
rokfestr
Member
Join Date: Apr 2011
Old 11-07-2017 , 15:18   Re: [CS:GO] Skins Chooser
Reply With Quote #195

Quote:
Originally Posted by andi67 View Post
Try this one , I increased the timer a bit more , seems to work correctly......
Can make it so that the players can choose their skins?
rokfestr is offline
AbraCadabra
Member
Join Date: Aug 2013
Old 03-02-2018 , 16:34   Re: [CS:GO] Skins Chooser
Reply With Quote #196

andi67 can you tell me why i can't compile your version 1.2.6?
Windows, sm 1.8.6041
Attached Images
File Type: jpg 12341weqe.jpg (40.7 KB, 405 views)
AbraCadabra is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 03-02-2018 , 17:01   Re: [CS:GO] Skins Chooser
Reply With Quote #197

Quote:
Originally Posted by AbraCadabra View Post
andi67 can you tell me why i can't compile your version 1.2.6?
Windows, sm 1.8.6041
Replace line 299
PHP Code:
PrepareConfig(const String:file[]) 
to
PHP Code:
PrepareConfig(const char[] file
I know that I'm mixing the new with the old syntax but idk how that is done in the old syntax...
Other than that should work
</span>
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
AbraCadabra
Member
Join Date: Aug 2013
Old 03-04-2018 , 01:16   Re: [CS:GO] Skins Chooser
Reply With Quote #198

Thank you for help, but 299 line looks like this:
Quote:
public OnLibraryAdded(char name[])
There is file:
https://forums.alliedmods.net/attach...1&d=1495886818
AbraCadabra is offline
Papero
Veteran Member
Join Date: Aug 2016
Location: Italy
Old 03-04-2018 , 02:35   Re: [CS:GO] Skins Chooser
Reply With Quote #199

Quote:
Originally Posted by AbraCadabra View Post
Thank you for help, but 299 line looks like this:


There is file:
https://forums.alliedmods.net/attach...1&d=1495886818
Use the file on GitHub, I took that as reference
__________________
My Plugins
SPCode


Steam: hexer504
Telegram: Hexah
Discord: Hexah#6903

If you like my work you can donate here!
Papero is offline
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 08-29-2018 , 18:59   Re: [CS:GO] Skins Chooser
Reply With Quote #200

My server is crashing with absolutely no error logs. I have tried having only one skin in the config, didn't work either.
Game: CSGO, latest sourcemod.

Code:
"Skins"
{
	"Terrorists"
	{
		"Heavy [T]"
		{
			"skin"	"models/player/custom_player/kuristaja/tf2/soldier/soldier_redv2.mdl"
			"arms"	"models/player/custom_player/kuristaja/tf2/soldier/soldier_red_arms.mdl"
		}

	}
	"Counter-Terrorists"
	{
		"Heavy [CT]"
		{
			"skin"	"models/player/custom_player/kuristaja/tf2/soldier/soldier_bluv2.mdl"
			"arms"	"models/player/custom_player/kuristaja/tf2/soldier/soldier_blu_arms.mdl"
		}
	}
}

Server crashes as soon as I try to join the game.



EDIT: I managed to fix this by digging up through the thread and using bit older version. I think I found it on 14th page or lower but I will attach the file here in case someone has the same problem.
Attached Files
File Type: sp Get Plugin or Get Source (csgo_skins.sp - 747 views - 17.2 KB)

Last edited by HvG Community; 08-29-2018 at 19:53.
HvG Community 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 11:05.


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