Raised This Month: $214 Target: $400
 53% 

Player add Country Tag - Problems SourceMod11


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mi.Cura
Senior Member
Join Date: Dec 2016
Location: Brazil
Old 07-10-2020 , 14:34   Player add Country Tag - Problems SourceMod11
Reply With Quote #1

Hello, I use a plugin that applies a "TAG" in front of the names for admins, this plugin also identifies the country of origin of all players.

L4D2

It works very well until SourceMod v1.10.0.6460.

However, when I updated SourceMod v1.11.0.6591 on my servers, the "TAG" is being applied to players who are not admins, in any player in a random way.

Note: The real admins, continue to receive their TAGS normally.

I've done several tests, and only in SourceMod 10 it works without a problem.
Does anyone have any idea what may be causing this?
Or is it possible to indicate some way of applying an identification "TAG" for admins?

Works fine now, thanks SSheriFF and foxhound27 for suport
Attached Files
File Type: sp Get Plugin or Get Source (PlayerAddCountryTag[LANsupport].sp - 39 views - 9.5 KB)
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie

Last edited by Mi.Cura; 10-01-2020 at 14:50. Reason: Plugin works now, im update .sp file
Mi.Cura is offline
foxhound27
Senior Member
Join Date: Sep 2019
Location: Argentina
Old 09-30-2020 , 16:43   Re: Player add Country Tag - Problems SourceMod11
Reply With Quote #2

try

Update:

Fixed my bad typos thx Mi.Cura,SSheriFF for report/fix
Converted to new syntax


Glad to know its working now
Attached Files
File Type: sp Get Plugin or Get Source (PlayerAddCountryTag[LANsupport].sp - 22 views - 9.3 KB)

Last edited by foxhound27; 10-01-2020 at 23:45.
foxhound27 is offline
gamer_kanelita
Senior Member
Join Date: Jun 2019
Location: Peru
Old 09-30-2020 , 17:25   Re: Player add Country Tag - Problems SourceMod11
Reply With Quote #3

could not compile
gamer_kanelita is offline
Mi.Cura
Senior Member
Join Date: Dec 2016
Location: Brazil
Old 10-01-2020 , 09:50   Re: Player add Country Tag - Problems SourceMod11
Reply With Quote #4

Quote:
Originally Posted by foxhound27 View Post
try
Thanks Foxhound27, i will try .
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
Mi.Cura
Senior Member
Join Date: Dec 2016
Location: Brazil
Old 10-01-2020 , 09:55   Re: Player add Country Tag - Problems SourceMod11
Reply With Quote #5

I tried to compile with sourcemod 11.6567 and 10.6460
and the same error occurred.



//// PlayerAddCountryTag[LANsupport].sp
//
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(8 : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(99) : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(117) : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(159) : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(212) : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(270) : error 017: undefined symbol "GetUserFlagsBit"
//
// 6 Errors.
//
// Compilation Time: 0,76 sec
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
SSheriFF
AlliedModders Donor
Join Date: May 2020
Location: Israel
Old 10-01-2020 , 12:31   Re: Player add Country Tag - Problems SourceMod11
Reply With Quote #6

Quote:
Originally Posted by Mi.Cura View Post
I tried to compile with sourcemod 11.6567 and 10.6460
and the same error occurred.



//// PlayerAddCountryTag[LANsupport].sp
//
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(8 : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(99) : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(117) : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(159) : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(212) : error 017: undefined symbol "GetUserFlagsBit"
// D:\Games e Programas\sourcemod-1.10.0-git6460-windows\addons\sourcemod\scripting\PlayerAddC ountryTag[LANsupport].sp(270) : error 017: undefined symbol "GetUserFlagsBit"
//
// 6 Errors.
//
// Compilation Time: 0,76 sec
Change
PHP Code:
GetUserFlagsBit 
To:
PHP Code:
GetUserFlagBits 
__________________
Taking small private requests (Free) and big private requests (Paid).
Contact me via Discord: WilDick#1524

My Plugins:
SSheriFF is offline
Mi.Cura
Senior Member
Join Date: Dec 2016
Location: Brazil
Old 10-01-2020 , 13:01   Re: Player add Country Tag - Problems SourceMod11
Reply With Quote #7

Thanks SSheriFF, i try this
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie
Mi.Cura is offline
ThatOneGuy
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Old 10-01-2020 , 14:10   Re: Player add Country Tag - Problems SourceMod11
Reply With Quote #8

TOGs Clan Tags can be used for custom/admin/donator/member tags. It doesnt currently have the country replacement though.

https://forums.alliedmods.net/showthread.php?p=2281988
__________________
ThatOneGuy is offline
Mi.Cura
Senior Member
Join Date: Dec 2016
Location: Brazil
Old 10-07-2020 , 16:03   Re: Player add Country Tag - Problems SourceMod11
Reply With Quote #9

Quote:
Originally Posted by SSheriFF View Post
Change
PHP Code:
GetUserFlagsBit 
To:
PHP Code:
GetUserFlagBits 


Thank you SSheriFF, This solved the problem, thank you very much. Works fine, now!
Attached Files
File Type: smx PlayerAddCountryTag[LANsupport].smx (8.7 KB, 29 views)
File Type: sp Get Plugin or Get Source (PlayerAddCountryTag[LANsupport].sp - 27 views - 9.5 KB)
__________________
Mi.Cura | Modded Servers | L4D2
https://steamcommunity.com/groups/micuramodzombie

Last edited by Mi.Cura; 10-07-2020 at 16:03.
Mi.Cura is offline
canadianjeff
Senior Member
Join Date: Sep 2016
Old 07-27-2021 , 11:25   Re: Player add Country Tag - Problems SourceMod11
Reply With Quote #10

does this plugin use the newer version of the MaxMind GeoIP DB? MMDB instead of the old DAT file?
canadianjeff is offline
Reply


Thread Tools
Display Modes

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 22:15.


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