AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   Player add Country Tag - Problems SourceMod11 (https://forums.alliedmods.net/showthread.php?t=325908)

Mi.Cura 07-10-2020 14:34

Player add Country Tag - Problems SourceMod11
 
1 Attachment(s)
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

foxhound27 09-30-2020 16:43

Re: Player add Country Tag - Problems SourceMod11
 
1 Attachment(s)
try

Update:

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


Glad to know its working now :up:

gamer_kanelita 09-30-2020 17:25

Re: Player add Country Tag - Problems SourceMod11
 
could not compile :(

Mi.Cura 10-01-2020 09:50

Re: Player add Country Tag - Problems SourceMod11
 
Quote:

Originally Posted by foxhound27 (Post 2719723)
try

Thanks Foxhound27, i will try .

Mi.Cura 10-01-2020 09:55

Re: Player add Country Tag - Problems SourceMod11
 
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(88) : 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

SSheriFF 10-01-2020 12:31

Re: Player add Country Tag - Problems SourceMod11
 
Quote:

Originally Posted by Mi.Cura (Post 2719819)
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(88) : 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 


Mi.Cura 10-01-2020 13:01

Re: Player add Country Tag - Problems SourceMod11
 
Thanks SSheriFF, i try this :)

ThatOneGuy 10-01-2020 14:10

Re: Player add Country Tag - Problems SourceMod11
 
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

Mi.Cura 10-07-2020 16:03

Re: Player add Country Tag - Problems SourceMod11
 
2 Attachment(s)
Quote:

Originally Posted by SSheriFF (Post 2719835)
Change
PHP Code:

GetUserFlagsBit 

To:
PHP Code:

GetUserFlagBits 




Thank you SSheriFF, This solved the problem, thank you very much. Works fine, now!

canadianjeff 07-27-2021 11:25

Re: Player add Country Tag - Problems SourceMod11
 
does this plugin use the newer version of the MaxMind GeoIP DB? MMDB instead of the old DAT file?


All times are GMT -4. The time now is 01:04.

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