AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Steam Works Group Manager (https://forums.alliedmods.net/showthread.php?t=300505)

Russian85 08-19-2017 11:30

Steam Works Group Manager
 
1 Attachment(s)
Description:

This plugin provides additional features for other plugin. Working as core.
It can check player is in steam group.

Commands:
  • swgm_check — force check all connected players.
  • swgm_list— list of players with group info.

Cvars:
  • swgm_groupid — identifier of your steam group.
  • swgm_timer — interval beetwen checks.

Requirements:

Sourcemod 1.8+
SteamWorks

Instalation:

Put files from archive into your Sourcemod folder.

Open group administration panel and copy identifier, then set it in swgm_groupid. (Don't forget edit cfg/sourcemod/swgm.cfg)

GitHub: SWGM

Archive contains these modules:
  1. Command Listener - block commands SM (some client side commands as kill may work).
  2. Admin - give specific flags or group.

Wacci 08-20-2017 06:43

Re: Steam Works Group Manager
 
Error while compiling.

Code:

//// SWGM.sp
//
// D:\csgo\scripting\SWGM.sp(165) : error 180: function return type differs from prototype. expected 'int', but got 'void'
//
// 1 Error.
//
// Compilation Time: 0,25 sec
// ----------------------------------------

Press enter to exit ...


Russian85 08-20-2017 10:02

Re: Steam Works Group Manager
 
1 Attachment(s)
Quote:

Originally Posted by Wacci (Post 2543028)
Error while compiling.

Code:

//// SWGM.sp
//
// D:\csgo\scripting\SWGM.sp(165) : error 180: function return type differs from prototype. expected 'int', but got 'void'
//
// 1 Error.
//
// Compilation Time: 0,25 sec
// ----------------------------------------

Press enter to exit ...


Try:

Hallucinogenic Troll 08-20-2017 11:32

Re: Steam Works Group Manager
 
1 error log found in my test server (with bots).

Code:

L 08/20/2017 - 16:30:59: [SM] Exception reported: iClient index 2 is a bot
L 08/20/2017 - 16:30:59: [SM] Blaming: SWGM.smx
L 08/20/2017 - 16:30:59: [SM] Call stack trace:
L 08/20/2017 - 16:30:59: [SM]  [0] ThrowNativeError
L 08/20/2017 - 16:30:59: [SM]  [1] Line 212, C:\csgo\1.7\addons\sourcemod\scripting\1.8\SWGM.sp::Native_InGroup
L 08/20/2017 - 16:30:59: [SM]  [3] SWGM_InGroup
L 08/20/2017 - 16:30:59: [SM]  [4] Line 33, D:\CS Files\Compiler\swgm_groupsteamwarning.sp::Event_PlayerTeam
L 08/20/2017 - 16:31:12: Error log file session closed.


Russian85 08-20-2017 12:06

Re: Steam Works Group Manager
 
Quote:

Originally Posted by Hallucinogenic Troll (Post 2543082)
1 error log found in my test server (with bots).

Code:

L 08/20/2017 - 16:30:59: [SM] Exception reported: iClient index 2 is a bot
L 08/20/2017 - 16:30:59: [SM] Blaming: SWGM.smx
L 08/20/2017 - 16:30:59: [SM] Call stack trace:
L 08/20/2017 - 16:30:59: [SM]  [0] ThrowNativeError
L 08/20/2017 - 16:30:59: [SM]  [1] Line 212, C:\csgo\1.7\addons\sourcemod\scripting\1.8\SWGM.sp::Native_InGroup
L 08/20/2017 - 16:30:59: [SM]  [3] SWGM_InGroup
L 08/20/2017 - 16:30:59: [SM]  [4] Line 33, D:\CS Files\Compiler\swgm_groupsteamwarning.sp::Event_PlayerTeam
L 08/20/2017 - 16:31:12: Error log file session closed.


Use IsFakeClient for check.

Cripix 08-20-2017 13:33

Re: Steam Works Group Manager
 
1 Attachment(s)
Hi !

I tried to use the Command Listener plugin but it does not work though I followed the installation

Code:

"Command_Listener"
{
        "sm_gloves" {}
        "sm_glove" {}
        "sm_gl" {}
}

Code:

// This file was auto-generated by SourceMod (v1.8.0.6024)
// ConVars for plugin "SWGM.smx"


// Steam Group ID.
// -
// Default: "XXXXXXXX"
swgm_groupid "103582791457978580"

// Interval beetwen steam group checks.
// -
// Default: "60.0"
swgm_timer "15.0"

But every time I make the command it tells me that I am not in the group but I am there.

Can you help me or fix it?

PS:Add an s to the translate folder and French Translate ! :bacon!::bacon!:

Hallucinogenic Troll 08-20-2017 13:42

Re: Steam Works Group Manager
 
Quote:

Originally Posted by Cripix (Post 2543110)
Hi !

I tried to use the Command Listener plugin but it does not work though I followed the installation

Code:

"Command_Listener"
{
        "sm_gloves" {}
        "sm_glove" {}
        "sm_gl" {}
}

Code:

// This file was auto-generated by SourceMod (v1.8.0.6024)
// ConVars for plugin "SWGM.smx"


// Steam Group ID.
// -
// Default: "XXXXXXXX"
swgm_groupid "103582791457978580"

// Interval beetwen steam group checks.
// -
// Default: "60.0"
swgm_timer "15.0"

But every time I make the command it tells me that I am not in the group but I am there.

Can you help me or fix it?

PS:Add an s to the translate folder and French Translate ! :bacon!::bacon!:

I believe you set a ClanID64, instead of a ClanID32.

I tested with my group and it was working very good:

Go to your group and click on Edit Group Profile:

http://i.imgur.com/oxBQHiB.png

Check your Group ID:

http://i.imgur.com/jBDQOcj.png

Cripix 08-20-2017 15:27

Re: Steam Works Group Manager
 
Quote:

Originally Posted by Hallucinogenic Troll (Post 2543113)
I believe you set a ClanID64, instead of a ClanID32.

I tested with my group and it was working very good:

Go to your group and click on Edit Group Profile:

http://i.imgur.com/oxBQHiB.png

Check your Group ID:

http://i.imgur.com/jBDQOcj.png

Thanks Bro !

It's working now!

Russian85 08-20-2017 15:42

Re: Steam Works Group Manager
 
Quote:

Originally Posted by Cripix (Post 2543110)
PS:Add an s to the translate folder and French Translate ! :bacon!::bacon!:

Thank you for translation!

Added new module - Admin Flags/Group.

WmakiWmak 08-25-2017 09:15

Re: Steam Works Group Manager
 
Wow! so cool idea, nice release


All times are GMT -4. The time now is 07:56.

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