Skip to content

BUG VIP Admin Exception reported: ThrowNativeError & VIP_GiveClientVIP #124

@crashzk

Description

@crashzk

I'm using version DEV 3.1 with the VIP Admin and VIP Admin Privileges modules, follow the code of the version I use below.

VIP Admin & Admin Privileges.zip

In theory everything would be working correctly, players with VIP added by VIP Core have access to everything I configured with the flag a.

And the players I added VIP through SourceBans++ also have access to VIP Core privileges normally.

However, in the server console I am receiving this error:

L 09/16/2023 - 19:06:53: [SM] Exception reported: The player Death<6><STEAM_1:0:232114543><> is already a VIP
L 09/16/2023 - 19:06:53: [SM] Blaming: VIP_Core.smx
L 09/16/2023 - 19:06:53: [SM] Call stack trace:
L 09/16/2023 - 19:06:53: [SM]   [0] ThrowNativeError
L 09/16/2023 - 19:06:53: [SM]   [1] Line 639, vip\API.sp::API_GiveClientVIP
L 09/16/2023 - 19:06:53: [SM]   [2] Line 591, vip\API.sp::Native_GiveClientVIP
L 09/16/2023 - 19:06:53: [SM]   [4] VIP_GiveClientVIP
L 09/16/2023 - 19:06:53: [SM]   [5] Line 145, D:\ZK Servidores™\Servidores CSGO\Editar Plugins\addons\sourcemod\scripting\VIP_Admin.sp::LoadVIPClient
L 09/16/2023 - 19:06:53: [SM]   [6] Line 107, D:\ZK Servidores™\Servidores CSGO\Editar Plugins\addons\sourcemod\scripting\VIP_Admin.sp::Timer_Delay
L 09/16/2023 - 19:18:46: [SM] Exception reported: The player -Spectree<7><STEAM_1:0:433052156><> is already a VIP
L 09/16/2023 - 19:18:46: [SM] Blaming: VIP_Core.smx
L 09/16/2023 - 19:18:46: [SM] Call stack trace:
L 09/16/2023 - 19:18:46: [SM]   [0] ThrowNativeError
L 09/16/2023 - 19:18:46: [SM]   [1] Line 639, vip\API.sp::API_GiveClientVIP
L 09/16/2023 - 19:18:46: [SM]   [2] Line 591, vip\API.sp::Native_GiveClientVIP
L 09/16/2023 - 19:18:46: [SM]   [4] VIP_GiveClientVIP
L 09/16/2023 - 19:18:46: [SM]   [5] Line 145, D:\ZK Servidores™\Servidores CSGO\Editar Plugins\addons\sourcemod\scripting\VIP_Admin.sp::LoadVIPClient
L 09/16/2023 - 19:18:46: [SM]   [6] Line 107, D:\ZK Servidores™\Servidores CSGO\Editar Plugins\addons\sourcemod\scripting\VIP_Admin.sp::Timer_Delay
L 09/16/2023 - 19:26:58: [SM] Exception reported: The player Death<8><STEAM_1:0:232114543><> is already a VIP
L 09/16/2023 - 19:26:58: [SM] Blaming: VIP_Core.smx
L 09/16/2023 - 19:26:58: [SM] Call stack trace:
L 09/16/2023 - 19:26:58: [SM]   [0] ThrowNativeError
L 09/16/2023 - 19:26:58: [SM]   [1] Line 639, vip\API.sp::API_GiveClientVIP
L 09/16/2023 - 19:26:58: [SM]   [2] Line 591, vip\API.sp::Native_GiveClientVIP
L 09/16/2023 - 19:26:58: [SM]   [4] VIP_GiveClientVIP
L 09/16/2023 - 19:26:58: [SM]   [5] Line 145, D:\ZK Servidores™\Servidores CSGO\Editar Plugins\addons\sourcemod\scripting\VIP_Admin.sp::LoadVIPClient
L 09/16/2023 - 19:26:58: [SM]   [6] Line 107, D:\ZK Servidores™\Servidores CSGO\Editar Plugins\addons\sourcemod\scripting\VIP_Admin.sp::Timer_Delay
L 09/16/2023 - 19:58:29: Error log file session closed.

Every help is welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions