Open crashzk opened 1 year ago
we need to fix module VIP_Admin.sp =)
I have already fixed it, later I will find and send you the solution
@R1KO I'm waiting... Just to update the Admin Privileges plugin, when we update/add VIP for players other than through VIP Core, sourcebans for example generates this error in the console log.
L 09/18/2023 - 23:56:33: [SM] Exception reported: AdminId 0 is invalid
L 09/18/2023 - 23:56:33: [SM] Blaming: vip/VIP_AdminPrivileges.smx
L 09/18/2023 - 23:56:33: [SM] Call stack trace:
L 09/18/2023 - 23:56:33: [SM] [0] SetUserAdmin
L 09/18/2023 - 23:56:33: [SM] [1] Line 225, C:\Google Drive\ZK Servidores\Servidores CSGO\Editar Plugins\addons\sourcemod\scripting\VIP_AdminPrivileges.sp::restoreRights
L 09/18/2023 - 23:56:33: [SM] [2] Line 131, C:\Google Drive\ZK Servidores\Servidores CSGO\Editar Plugins\addons\sourcemod\scripting\VIP_AdminPrivileges.sp::VIP_OnVIPClientRemoved
L 09/18/2023 - 23:56:33: [SM] [4] Call_Finish
L 09/18/2023 - 23:56:33: [SM] [5] Line 104, vip\API.sp::CallForward_OnVIPClientRemoved
L 09/18/2023 - 23:56:33: [SM] [6] Line 733, vip\API.sp::API_RemoveClientVIP
L 09/18/2023 - 23:56:33: [SM] [7] Line 693, vip\API.sp::Native_RemoveClientVIP2
L 09/18/2023 - 23:56:33: [SM] [9] VIP_RemoveClientVIP2
L 09/18/2023 - 23:56:33: [SM] [10] Line 197, D:\ZK Servidores\Servidores CSGO\Editar Plugins\addons\sourcemod\scripting\VIP_Admin.sp::Timer_RebuildDelay
News? Unfortunately, some plugins do not allow access to VIP players due to the error.
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:
Every help is welcome.