Raised This Month: $51 Target: $400
 12% 

[ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)


Post New Thread Reply   
 
Thread Tools Display Modes
shadow1
Junior Member
Join Date: Jan 2018
Old 12-05-2019 , 07:55   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #71

Code:
L 12/05/2019 - 12:47:26: SourceMod error session started
L 12/05/2019 - 12:47:26: Info (map "de_mirage") (file "/home/csgo1/addons/sourcemod/logs/errors_20191205.log")
L 12/05/2019 - 12:47:26: [SM] Exception reported: Invalid index -1 (count: 1)
L 12/05/2019 - 12:47:26: [SM] Blaming: tVip_ReservedSlots.smx
L 12/05/2019 - 12:47:26: [SM] Call stack trace:
L 12/05/2019 - 12:47:26: [SM]   [0] ArrayList.Get
L 12/05/2019 - 12:47:26: [SM]   [1] Line 303, D:\Servers\csgo\csgo\addons\sourcemod\scripting\tVip_ReservedSlots.sp::KickMethod
L 12/05/2019 - 12:47:26: [SM]   [2] Line 207, D:\Servers\csgo\csgo\addons\sourcemod\scripting\tVip_ReservedSlots.sp::StartSlotReservationCheck
L 12/05/2019 - 12:47:26: [SM]   [3] Line 133, D:\Servers\csgo\csgo\addons\sourcemod\scripting\tVip_ReservedSlots.sp::tVip_OnClientLoadedPost
L 12/05/2019 - 12:47:26: [SM]   [5] Call_Finish
L 12/05/2019 - 12:47:26: [SM]   [6] Line 490, C:\Users\ziegl\Dropbox\SourcePawnSP\Products\tVIP\tVip\tVip.sp::SQLCheckVIPQuery
Getting this error please help me out
shadow1 is offline
Notifications
AlliedModders Donor
Join Date: Oct 2015
Old 12-07-2019 , 17:39   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #72

Quote:
Originally Posted by shadow1 View Post
Code:
L 12/05/2019 - 12:47:26: SourceMod error session started
L 12/05/2019 - 12:47:26: Info (map "de_mirage") (file "/home/csgo1/addons/sourcemod/logs/errors_20191205.log")
L 12/05/2019 - 12:47:26: [SM] Exception reported: Invalid index -1 (count: 1)
L 12/05/2019 - 12:47:26: [SM] Blaming: tVip_ReservedSlots.smx
L 12/05/2019 - 12:47:26: [SM] Call stack trace:
L 12/05/2019 - 12:47:26: [SM]   [0] ArrayList.Get
L 12/05/2019 - 12:47:26: [SM]   [1] Line 303, D:\Servers\csgo\csgo\addons\sourcemod\scripting\tVip_ReservedSlots.sp::KickMethod
L 12/05/2019 - 12:47:26: [SM]   [2] Line 207, D:\Servers\csgo\csgo\addons\sourcemod\scripting\tVip_ReservedSlots.sp::StartSlotReservationCheck
L 12/05/2019 - 12:47:26: [SM]   [3] Line 133, D:\Servers\csgo\csgo\addons\sourcemod\scripting\tVip_ReservedSlots.sp::tVip_OnClientLoadedPost
L 12/05/2019 - 12:47:26: [SM]   [5] Call_Finish
L 12/05/2019 - 12:47:26: [SM]   [6] Line 490, C:\Users\ziegl\Dropbox\SourcePawnSP\Products\tVIP\tVip\tVip.sp::SQLCheckVIPQuery
Getting this error please help me out
Can you attach your plugins list as well as your tvip_reservedslots.cfg?
Notifications is offline
shadow1
Junior Member
Join Date: Jan 2018
Old 12-07-2019 , 23:17   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #73

Plugins

Code:
  01 "Admin Menu" (1.10.0.6456) by AlliedModders LLC
  02 "SourceBans++: Admin Config Loader" (1.6.3) by AlliedModders LLC, SourceBans++ Dev Team
  03 "Chat-Processor" (2.2.1) by Drixevel
  04 "Basic Commands" (1.10.0.6456) by AlliedModders LLC
  05 "SourceBans++: SourceComms" (1.6.3) by Alex, SourceBans++ Dev Team
  06 "Advertisements" (2.0.2) by Tsunami
  07 "Anti-Flood" (1.10.0.6456) by AlliedModders LLC
  08 "Sound Commands" (1.10.0.6456) by AlliedModders LLC
  09 "AbNeR Kill Feed Filter" (1.5) by abnerfs
  10 "Basic Chat" (1.10.0.6456) by AlliedModders LLC
  11 "SourceBans++: SourceSleuth" (1.6.3) by ecca, SourceBans++ Dev Team
  12 "tVip - Reserved Slots" (2.3) by Plock, Totenfluch
  13 "Basic Comm Control" (1.10.0.6456) by AlliedModders LLC
  14 "Fun Commands" (1.10.0.6456) by AlliedModders LLC
  15 "SourceBans++: Bans Checker" (1.6.3) by psychonic, Ca$h Munny, SourceBans++ Dev Team
  16 "Admin File Reader" (1.10.0.6456) by AlliedModders LLC
  17 "Client Preferences" (1.10.0.6456) by AlliedModders LLC
  18 "[CS:GO] Deathmatch" (2.1.0) by Maxximou5
  19 "SourceBans++: Main Plugin" (1.6.3) by SourceBans Development Team, SourceBans++ Dev Team
  20 "tVip" (2.2) by Totenfluch
  21 "Gloves" (1.0.4) by kgns | oyunhost.net
  22 "Basic Votes" (1.10.0.6456) by AlliedModders LLC
  23 "Basic Info Triggers" (1.10.0.6456) by AlliedModders LLC
  24 "Weapons & Knives" (1.5.0) by kgns | oyunhost.net
  25 "Fun Votes" (1.10.0.6456) by AlliedModders LLC
  26 "SourceBans++ Report Plugin" (1.6.3) by RumbleFrog, SourceBans++ Dev Team
  27 "hextags" (1.47) by Hexah
  28 "Admin Help" (1.10.0.6456) by AlliedModders LLC
  29 "Player Commands" (1.10.0.6456) by AlliedModders LLC
tvip_reservedslots.cfg

Code:
// This file was auto-generated by AutoExecConfig v0.1.5 (https://forums.alliedmods.net/showthread.php?t=204254)
// ConVars for plugin "tVip_ReservedSlots.smx"


// Amount of reserved slots.
// -
// Default: "0"
tvip_reservedslots "16"

// Total amount of slots available.
// -
// Default: "0"
tvip_serverslots "16"

// 0 = Default Reserved Slots. 1 = Kicks last player who joined the server (Until all reserved slots are occupied, after that it won't kick). 2 = Kick player with highest ping (Until all reserved slots are occupied, after that it won't kick). 3 = Default Reserved slots based on sv_visiblemaxplayers
// -
// Default: "0"
tvip_method "1"

// 1 = Use tVip integration. Any other value will use OnClientPostAdminCheck verification.
// -
// Default: "1"
tvip_plugin "1"

// Flag to check Admin immunity.
// -
// Default: "d"
tvip_adminflag "d"

// Flag to check Vip permissions.
// -
// Default: "o"
tvip_vipflag "t"

// Call forward when a player joined the server sucessfully.
// -
// Default: "1"
tvip_playerjoin "1"

// Call forward when a player left the server, won't call on kick.
// -
// Default: "1"
tvip_playerleft "1"

// Call forward when an admin joined the server sucessfully.
// -
// Default: "1"
tvip_adminjoin "1"

// Call forward when an admin left the server, won't call on kick.
// -
// Default: "1"
tvip_adminleft "1"

// Bypass root from flag check
// -
// Default: "1"
tvip_rootbypass "1"

// Count players in Spectators?
// -
// Default: "1"
tvip_countspectators "1"

// Count admins as players in Spectators?
// -
// Default: "1"
tvip_countadminspectators "1"

// Count admins as players?
// -
// Default: "1"
tvip_countadmins "1"

// Use reserved slots for VIPs in Specators?
// -
// Default: "1"
tvip_countvipspectators "1"

// Turn on debug messages for Reserved Slots
// -
// Default: "0"
tvip_debug "0"
Getting error after updating sourcemod maybe. before it was working perfectly

Last edited by shadow1; 12-07-2019 at 23:19.
shadow1 is offline
Notifications
AlliedModders Donor
Join Date: Oct 2015
Old 12-08-2019 , 13:45   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #74

Quote:
Originally Posted by shadow1 View Post
Plugins

Code:
  01 "Admin Menu" (1.10.0.6456) by AlliedModders LLC
  02 "SourceBans++: Admin Config Loader" (1.6.3) by AlliedModders LLC, SourceBans++ Dev Team
  03 "Chat-Processor" (2.2.1) by Drixevel
  04 "Basic Commands" (1.10.0.6456) by AlliedModders LLC
  05 "SourceBans++: SourceComms" (1.6.3) by Alex, SourceBans++ Dev Team
  06 "Advertisements" (2.0.2) by Tsunami
  07 "Anti-Flood" (1.10.0.6456) by AlliedModders LLC
  08 "Sound Commands" (1.10.0.6456) by AlliedModders LLC
  09 "AbNeR Kill Feed Filter" (1.5) by abnerfs
  10 "Basic Chat" (1.10.0.6456) by AlliedModders LLC
  11 "SourceBans++: SourceSleuth" (1.6.3) by ecca, SourceBans++ Dev Team
  12 "tVip - Reserved Slots" (2.3) by Plock, Totenfluch
  13 "Basic Comm Control" (1.10.0.6456) by AlliedModders LLC
  14 "Fun Commands" (1.10.0.6456) by AlliedModders LLC
  15 "SourceBans++: Bans Checker" (1.6.3) by psychonic, Ca$h Munny, SourceBans++ Dev Team
  16 "Admin File Reader" (1.10.0.6456) by AlliedModders LLC
  17 "Client Preferences" (1.10.0.6456) by AlliedModders LLC
  18 "[CS:GO] Deathmatch" (2.1.0) by Maxximou5
  19 "SourceBans++: Main Plugin" (1.6.3) by SourceBans Development Team, SourceBans++ Dev Team
  20 "tVip" (2.2) by Totenfluch
  21 "Gloves" (1.0.4) by kgns | oyunhost.net
  22 "Basic Votes" (1.10.0.6456) by AlliedModders LLC
  23 "Basic Info Triggers" (1.10.0.6456) by AlliedModders LLC
  24 "Weapons & Knives" (1.5.0) by kgns | oyunhost.net
  25 "Fun Votes" (1.10.0.6456) by AlliedModders LLC
  26 "SourceBans++ Report Plugin" (1.6.3) by RumbleFrog, SourceBans++ Dev Team
  27 "hextags" (1.47) by Hexah
  28 "Admin Help" (1.10.0.6456) by AlliedModders LLC
  29 "Player Commands" (1.10.0.6456) by AlliedModders LLC
tvip_reservedslots.cfg

Code:
// This file was auto-generated by AutoExecConfig v0.1.5 (https://forums.alliedmods.net/showthread.php?t=204254)
// ConVars for plugin "tVip_ReservedSlots.smx"


// Amount of reserved slots.
// -
// Default: "0"
tvip_reservedslots "16"

// Total amount of slots available.
// -
// Default: "0"
tvip_serverslots "16"

// 0 = Default Reserved Slots. 1 = Kicks last player who joined the server (Until all reserved slots are occupied, after that it won't kick). 2 = Kick player with highest ping (Until all reserved slots are occupied, after that it won't kick). 3 = Default Reserved slots based on sv_visiblemaxplayers
// -
// Default: "0"
tvip_method "1"

// 1 = Use tVip integration. Any other value will use OnClientPostAdminCheck verification.
// -
// Default: "1"
tvip_plugin "1"

// Flag to check Admin immunity.
// -
// Default: "d"
tvip_adminflag "d"

// Flag to check Vip permissions.
// -
// Default: "o"
tvip_vipflag "t"

// Call forward when a player joined the server sucessfully.
// -
// Default: "1"
tvip_playerjoin "1"

// Call forward when a player left the server, won't call on kick.
// -
// Default: "1"
tvip_playerleft "1"

// Call forward when an admin joined the server sucessfully.
// -
// Default: "1"
tvip_adminjoin "1"

// Call forward when an admin left the server, won't call on kick.
// -
// Default: "1"
tvip_adminleft "1"

// Bypass root from flag check
// -
// Default: "1"
tvip_rootbypass "1"

// Count players in Spectators?
// -
// Default: "1"
tvip_countspectators "1"

// Count admins as players in Spectators?
// -
// Default: "1"
tvip_countadminspectators "1"

// Count admins as players?
// -
// Default: "1"
tvip_countadmins "1"

// Use reserved slots for VIPs in Specators?
// -
// Default: "1"
tvip_countvipspectators "1"

// Turn on debug messages for Reserved Slots
// -
// Default: "0"
tvip_debug "0"
Getting error after updating sourcemod maybe. before it was working perfectly
In your CFG enable tvip_debug and then monitor it and it should give more information on your error, to me it looks as if it's trying to kick a non existent client.
Notifications is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 12-13-2019 , 14:34   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #75

Quote:
Originally Posted by shadow1 View Post
Plugins

Code:
  01 "Admin Menu" (1.10.0.6456) by AlliedModders LLC
  02 "SourceBans++: Admin Config Loader" (1.6.3) by AlliedModders LLC, SourceBans++ Dev Team
  03 "Chat-Processor" (2.2.1) by Drixevel
  04 "Basic Commands" (1.10.0.6456) by AlliedModders LLC
  05 "SourceBans++: SourceComms" (1.6.3) by Alex, SourceBans++ Dev Team
  06 "Advertisements" (2.0.2) by Tsunami
  07 "Anti-Flood" (1.10.0.6456) by AlliedModders LLC
  08 "Sound Commands" (1.10.0.6456) by AlliedModders LLC
  09 "AbNeR Kill Feed Filter" (1.5) by abnerfs
  10 "Basic Chat" (1.10.0.6456) by AlliedModders LLC
  11 "SourceBans++: SourceSleuth" (1.6.3) by ecca, SourceBans++ Dev Team
  12 "tVip - Reserved Slots" (2.3) by Plock, Totenfluch
  13 "Basic Comm Control" (1.10.0.6456) by AlliedModders LLC
  14 "Fun Commands" (1.10.0.6456) by AlliedModders LLC
  15 "SourceBans++: Bans Checker" (1.6.3) by psychonic, Ca$h Munny, SourceBans++ Dev Team
  16 "Admin File Reader" (1.10.0.6456) by AlliedModders LLC
  17 "Client Preferences" (1.10.0.6456) by AlliedModders LLC
  18 "[CS:GO] Deathmatch" (2.1.0) by Maxximou5
  19 "SourceBans++: Main Plugin" (1.6.3) by SourceBans Development Team, SourceBans++ Dev Team
  20 "tVip" (2.2) by Totenfluch
  21 "Gloves" (1.0.4) by kgns | oyunhost.net
  22 "Basic Votes" (1.10.0.6456) by AlliedModders LLC
  23 "Basic Info Triggers" (1.10.0.6456) by AlliedModders LLC
  24 "Weapons & Knives" (1.5.0) by kgns | oyunhost.net
  25 "Fun Votes" (1.10.0.6456) by AlliedModders LLC
  26 "SourceBans++ Report Plugin" (1.6.3) by RumbleFrog, SourceBans++ Dev Team
  27 "hextags" (1.47) by Hexah
  28 "Admin Help" (1.10.0.6456) by AlliedModders LLC
  29 "Player Commands" (1.10.0.6456) by AlliedModders LLC
tvip_reservedslots.cfg

Code:
// This file was auto-generated by AutoExecConfig v0.1.5 (https://forums.alliedmods.net/showthread.php?t=204254)
// ConVars for plugin "tVip_ReservedSlots.smx"


// Amount of reserved slots.
// -
// Default: "0"
tvip_reservedslots "16"

// Total amount of slots available.
// -
// Default: "0"
tvip_serverslots "16"

// 0 = Default Reserved Slots. 1 = Kicks last player who joined the server (Until all reserved slots are occupied, after that it won't kick). 2 = Kick player with highest ping (Until all reserved slots are occupied, after that it won't kick). 3 = Default Reserved slots based on sv_visiblemaxplayers
// -
// Default: "0"
tvip_method "1"

// 1 = Use tVip integration. Any other value will use OnClientPostAdminCheck verification.
// -
// Default: "1"
tvip_plugin "1"

// Flag to check Admin immunity.
// -
// Default: "d"
tvip_adminflag "d"

// Flag to check Vip permissions.
// -
// Default: "o"
tvip_vipflag "t"

// Call forward when a player joined the server sucessfully.
// -
// Default: "1"
tvip_playerjoin "1"

// Call forward when a player left the server, won't call on kick.
// -
// Default: "1"
tvip_playerleft "1"

// Call forward when an admin joined the server sucessfully.
// -
// Default: "1"
tvip_adminjoin "1"

// Call forward when an admin left the server, won't call on kick.
// -
// Default: "1"
tvip_adminleft "1"

// Bypass root from flag check
// -
// Default: "1"
tvip_rootbypass "1"

// Count players in Spectators?
// -
// Default: "1"
tvip_countspectators "1"

// Count admins as players in Spectators?
// -
// Default: "1"
tvip_countadminspectators "1"

// Count admins as players?
// -
// Default: "1"
tvip_countadmins "1"

// Use reserved slots for VIPs in Specators?
// -
// Default: "1"
tvip_countvipspectators "1"

// Turn on debug messages for Reserved Slots
// -
// Default: "0"
tvip_debug "0"
Getting error after updating sourcemod maybe. before it was working perfectly
Which version of Sourcemod and Metamod are you using? (I see it's SM 1.10)

Did you try restarting the server?

Meanwhile try using the latest stable version of both SM and MM.

I will check this weekend. I've been very busy lately, sorry for the long delays.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
g2dgaming
Junior Member
Join Date: Jan 2020
Old 01-03-2020 , 08:59   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #76

Hey Plock, I need your help
My CFG:
// Amount of reserved slots.
// -
// Default: "0"
tvip_reservedslots "1"

// Total amount of slots available.
// -
// Default: "0"
tvip_serverslots "14"

// 0 = Default Reserved Slots. 1 = Kicks last player who joined the server (Until all reserved slots are occupied, after that it won't kick). 2 = Kick player with highest ping (Until all reserved slots are occupied, after that it won't kick). 3 = Default Reserved slots based on sv_visiblemaxplayers
// -
// Default: "0"
tvip_method "0"

// 1 = Use tVip integration. Any other value will use OnClientPostAdminCheck verification.
// -
// Default: "1"
tvip_plugin "1"


what I want: I have surf server with 15 slots, like the original reservedslots.smx file, I wanna keep 1 slot always reserved, like even if 1 by 1 vips join , it keeps kicking normal non vip players:
I tried setting tvip_serverslots 14 & tvip_reservedslots 14 & tvip_method 1 but then no non-vips players can join.It disables any non vip player to join the game, what I want is to let normal players play with max 14 slots( with total 15 slots on server ) and when a vip join , the number of player still remains 14 and one non vip guy is kicked , Please help!!
g2dgaming is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 01-03-2020 , 09:07   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #77

Quote:
Originally Posted by g2dgaming View Post
Hey Plock, I need your help
My CFG:
// Amount of reserved slots.
// -
// Default: "0"
tvip_reservedslots "1"

// Total amount of slots available.
// -
// Default: "0"
tvip_serverslots "14"

// 0 = Default Reserved Slots. 1 = Kicks last player who joined the server (Until all reserved slots are occupied, after that it won't kick). 2 = Kick player with highest ping (Until all reserved slots are occupied, after that it won't kick). 3 = Default Reserved slots based on sv_visiblemaxplayers
// -
// Default: "0"
tvip_method "0"

// 1 = Use tVip integration. Any other value will use OnClientPostAdminCheck verification.
// -
// Default: "1"
tvip_plugin "1"


what I want: I have surf server with 15 slots, like the original reservedslots.smx file, I wanna keep 1 slot always reserved, like even if 1 by 1 vips join , it keeps kicking normal non vip players:
I tried setting tvip_serverslots 14 & tvip_reservedslots 14 & tvip_method 1 but then no non-vips players can join.It disables any non vip player to join the game, what I want is to let normal players play with max 14 slots( with total 15 slots on server ) and when a vip join , the number of player still remains 14 and one non vip guy is kicked , Please help!!
Hi,

If you want 15 players on total on your server you can set tvip_serverslots to "15". Also if you want 1 vip slot, you just set tvip_reservedslots to "1". If you want 15 players non-vip to play, but when a VIP joins it kicks a non-vip player you need tvip_method to "1", in case you want 14 players non-vip playing but save the last slot for a vip to not kick anyone you jsut leave it as "0".
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
g2dgaming
Junior Member
Join Date: Jan 2020
Old 01-03-2020 , 10:58   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #78

bro I just want this plugin to work exactly like sourcemod's original reservedslots.smx (with tVip),
suggest me the config for this plugin based on my reservedslots.smx :
My Config for reservedslots.smx:
sm_reserve_type 1
sm_reserved_slots 1

I wanted to use the reservedslots.smx but tVip doesn't support that, please help!
g2dgaming is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 01-03-2020 , 12:15   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #79

Quote:
Originally Posted by g2dgaming View Post
bro I just want this plugin to work exactly like sourcemod's original reservedslots.smx (with tVip),
suggest me the config for this plugin based on my reservedslots.smx :
My Config for reservedslots.smx:
sm_reserve_type 1
sm_reserved_slots 1

I wanted to use the reservedslots.smx but tVip doesn't support that, please help!
If you read what I have replied you will have your answer.
tvip_serverslots 15
tvip_reservedslots 1
tvip_method 2 (will a kick player with highest ping when a vip joins with server full, same thing as sm_reserve_type 1)
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
g2dgaming
Junior Member
Join Date: Jan 2020
Old 01-03-2020 , 12:34   Re: [ANY] Reserved Slots with tVip support (v2.3, 2019-07-23)
Reply With Quote #80

bro is there anyway to make tVip work with original sourcemod reservedslots.smx ?
g2dgaming is offline
Reply



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 18:55.


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