AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] tETF2LDivision v0.1.2 (2014-06-01) (https://forums.alliedmods.net/showthread.php?t=187055)

Thrawn2 06-08-2012 08:07

[TF2] tETF2LDivision v0.1.2 (2014-06-01)
 
2 Attachment(s)
Description:
This plugin shows a players ETF2L team and division in the server chat when she's joining the server.

Requirements:
ConVars:
  • sm_tetf2ldivision_enable Set to 0 to disable the plugin. Default is 1.
  • sm_tetf2ldivision_maxage Update infos about all players every x-th day. Default is 7.
  • sm_tetf2ldivision_teamtype The team type to show (6on6, Highlander, 2on2...). Default is 6on6.
  • sm_tetf2ldivision_seasonsonly Filter competition by category: everything that is not a regular season will be skipped. Default is 1.
  • sm_tetf2ldivision_announce Announce players on connect. Default is 1.
  • sm_tetf2ldivision_announce_adminsonly Announce players on connect to admins only. Default is 0.

Commands:
  • sm_div [<target>]
    Show information about the specified target (or all if omitted).

Notes:
Files will be cached in your configs/etf2lcache/ directory.

Build dependencies:
smlib.

NameUser 06-08-2012 13:34

Re: [TF2] tETF2LDivision v0.0.1 (2012-06-08)
 
Yay, you released it! :)

nTraum 08-22-2012 17:49

Re: [TF2] tETF2LDivision v0.0.1 (2012-06-08)
 
Using it via curl, works like a charm. Thanks.

nTraum 08-24-2012 11:13

Re: [TF2] tETF2LDivision v0.0.1 (2012-06-08)
 
Get errors when some people connect.

Code:

L 08/24/2012 - 17:06:43: "loukou19<82><STEAM_0:0:54129056><>" connected, address "90.177.115.139:10679"
Client "loukou19" connected (90.177.115.139:10679).
L 08/24/2012 - 17:06:43: [tETF2LDivisions.smx] Updating data for: STEAM_0:0:54129056
L 08/24/2012 - 17:06:43: [SM] Native "GetTrieString" reported: Invalid Handle 0 (error 4)
L 08/24/2012 - 17:06:43: [SM] Displaying call stack trace for plugin "tETF2LDivisions.smx":
L 08/24/2012 - 17:06:43: [SM]  [0]  Line 206, tETF2LDivisions.sp::GetAnnounceString()
L 08/24/2012 - 17:06:43: [SM]  [1]  Line 240, tETF2LDivisions.sp::AnnouncePlayerToAll()
L 08/24/2012 - 17:06:43: [SM]  [2]  Line 190, tETF2LDivisions.sp::OnEtf2lDataReady()
L 08/24/2012 - 17:06:43: "loukou19<82><STEAM_0:0:54129056><>" STEAM USERID validated
L 08/24/2012 - 17:07:12: "Rifat<81><STEAM_0:0:12798309><Red>" disconnected (reason "Disconnect by user.")

Code:

L 08/24/2012 - 17:05:37: "w                          ooF<80><STEAM_0:1:28684618><>" connected, address "80.216.
226.81:27005"
Client "w                          ooF" connected (80.216.226.81:27005).
L 08/24/2012 - 17:05:37: [tETF2LDivisions.smx] Updating data for: STEAM_0:1:28684618
L 08/24/2012 - 17:05:37: [SM] Native "GetTrieString" reported: Invalid Handle 0 (error 4)
L 08/24/2012 - 17:05:37: [SM] Displaying call stack trace for plugin "tETF2LDivisions.smx":
L 08/24/2012 - 17:05:37: [SM]  [0]  Line 206, tETF2LDivisions.sp::GetAnnounceString()
L 08/24/2012 - 17:05:37: [SM]  [1]  Line 240, tETF2LDivisions.sp::AnnouncePlayerToAll()
L 08/24/2012 - 17:05:37: [SM]  [2]  Line 190, tETF2LDivisions.sp::OnEtf2lDataReady()
L 08/24/2012 - 17:05:37: "w                          ooF<80><STEAM_0:1:28684618><>" STEAM USERID validated

Code:

L 08/24/2012 - 17:00:44: "Rifat<77><STEAM_0:0:12798309><>" connected, address "92.32.44.48:27005"
Client "Rifat" connected (92.32.44.48:27005).
L 08/24/2012 - 17:00:44: [tETF2LDivisions.smx] Updating data for: STEAM_0:0:12798309
L 08/24/2012 - 17:00:44: [SM] Native "GetTrieString" reported: Invalid Handle 0 (error 4)
L 08/24/2012 - 17:00:44: [SM] Displaying call stack trace for plugin "tETF2LDivisions.smx":
L 08/24/2012 - 17:00:44: [SM]  [0]  Line 206, tETF2LDivisions.sp::GetAnnounceString()
L 08/24/2012 - 17:00:44: [SM]  [1]  Line 240, tETF2LDivisions.sp::AnnouncePlayerToAll()
L 08/24/2012 - 17:00:44: [SM]  [2]  Line 190, tETF2LDivisions.sp::OnEtf2lDataReady()

Doesn't happen on every connect though.

Thrawn2 08-26-2012 13:17

Re: [TF2] tETF2LDivision v0.0.2 (2012-08-26)
 
Source is on github now.

Updated to 0.0.2
  • Fixed above bug, thanks for reporting.
  • Also included an (untested and experimental) new command: sm_divdetail <player>
    Should open up your MOTD screen with the ETF2L profile of the player.
    Only if HTML MOTD screens are enabled though.

memcpy 08-27-2012 02:01

Re: [TF2] tETF2LDivision v0.0.2 (2012-08-26)
 
Code:

L 08/27/2012 - 01:40:34: -------- Mapchange to cp_badlands --------
L 08/27/2012 - 01:40:34: [SM] Unable to load plugin "tETF2LDivisions.smx": Native "FindStringTable" was not found
L 08/27/2012 - 01:40:34: [tDownloadCache.smx] Using Curl

[SM] Listing 10 plugins:
01 "Admin Menu" (1.4.5-dev) by AlliedModders LLC
02 "Supplemental Stats" (1.3.6) by Jean-Denis Caron
03 "Admin Help" (1.4.5-dev) by AlliedModders LLC
04 "Basic Votes" (1.4.5-dev) by AlliedModders LLC
05 "Basic Commands" (1.4.5-dev) by AlliedModders LLC
06 <Failed> "tETF2LDivision" (0.0.2) by Thrawn
07 "Match Recorder" (0.4) by carbon
08 "Basic Ban Commands" (1.4.5-dev) by AlliedModders LLC
09 "tDownloadCache" (0.0.2) by Thrawn
10 "Admin File Reader" (1.4.5-dev) by AlliedModders LLC

+ latest curl.ext and tinyxml.ext

userid_ivan 08-29-2012 03:05

Re: [TF2] tETF2LDivision v0.0.2 (2012-08-26)
 
Hey!
There is a problem with creation of etf2lcache directory on linux systems. I have installed it on Ubuntu and it created etf2lcache directory with a strange permission like d-wxr----t and I couldn't access it.
I think the problem is on row 57 "CreateDirectory(sPath, 755);". The number should be converted in decimal value 493 (Check this topic: http://forums.alliedmods.net/showthread.php?t=91632)

Thanks for this nice plugin! ;)

nTraum 08-30-2012 07:26

Re: [TF2] tETF2LDivision v0.0.2 (2012-08-26)
 
Quote:

Originally Posted by memcpy (Post 1783947)
Code:

L 08/27/2012 - 01:40:34: -------- Mapchange to cp_badlands --------
L 08/27/2012 - 01:40:34: [SM] Unable to load plugin "tETF2LDivisions.smx": Native "FindStringTable" was not found
L 08/27/2012 - 01:40:34: [tDownloadCache.smx] Using Curl

[SM] Listing 10 plugins:
01 "Admin Menu" (1.4.5-dev) by AlliedModders LLC
02 "Supplemental Stats" (1.3.6) by Jean-Denis Caron
03 "Admin Help" (1.4.5-dev) by AlliedModders LLC
04 "Basic Votes" (1.4.5-dev) by AlliedModders LLC
05 "Basic Commands" (1.4.5-dev) by AlliedModders LLC
06 <Failed> "tETF2LDivision" (0.0.2) by Thrawn
07 "Match Recorder" (0.4) by carbon
08 "Basic Ban Commands" (1.4.5-dev) by AlliedModders LLC
09 "tDownloadCache" (0.0.2) by Thrawn
10 "Admin File Reader" (1.4.5-dev) by AlliedModders LLC

+ latest curl.ext and tinyxml.ext

I've heard people not having latest sourcemod dev + metamod dev snapshot get this error.

Thrawn2 08-30-2012 08:24

Re: [TF2] tETF2LDivision v0.0.2 (2012-08-26)
 
Quote:

Originally Posted by userid_ivan (Post 1785843)
There is a problem with creation of etf2lcache directory on linux systems.

Nice catch, thanks. Will be fixed in the next update.

Quote:

Originally Posted by nTraum (Post 1786864)
I've heard people not having latest sourcemod dev + metamod dev snapshot get this error.

This.

Mariano 08-30-2012 14:56

Re: [TF2] tETF2LDivision v0.0.2 (2012-08-26)
 
I got some error in logs:

Code:

L 08/30/2012 - 20:52:07: [SM] Unable to load extension "tinyxml.ext": /home/srcds/tf2/WAR/orangebox/tf/addons/sourcemod/extensions/tinyxml.ext.so: invalid ELF header
L 08/30/2012 - 20:52:08: [SM] Unable to load plugin "tETF2LDivisions.smx": Required extension "TinyXml" file("tinyxml.ext") not running



All times are GMT -4. The time now is 16:29.

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