Raised This Month: $32 Target: $400
 8% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Notifications
AlliedModders Donor
Join Date: Oct 2015
Old 09-09-2018 , 17:49   Re: [ANY] Reserved Slots with tVip support (v1.4, 2018-08-28)
Reply With Quote #41

Quote:
Originally Posted by plock View Post
Hey, please share your errors logs. Also, I think the problem is in your tVip config. You used flag “a”, but it requires the number. Please make sure you use the number that corresponds to the flag “a”.
There's no errors, related to either TVIP or TVIP Reserved.
Also, I assume for "A" it's 1?
Notifications is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 09-09-2018 , 18:09   Re: [ANY] Reserved Slots with tVip support (v1.4, 2018-08-28)
Reply With Quote #42

Quote:
Originally Posted by Notifications View Post
There's no errors, related to either TVIP or TVIP Reserved.
Also, I assume for "A" it's 1?
Hmm, ok. Regarding the number you can check on the admins level cfg something like that. As far as I can remember the flag "a" is 4.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
Notifications
AlliedModders Donor
Join Date: Oct 2015
Old 09-09-2018 , 18:10   Re: [ANY] Reserved Slots with tVip support (v1.4, 2018-08-28)
Reply With Quote #43

Quote:
Originally Posted by plock View Post
Hmm, ok. Regarding the number you can check on the admins level cfg something like that. As far as I can remember the flag "a" is 4.
#define ADMFLAG_RESERVATION (1<<0) /**< Convenience macro for Admin_Reservation as a FlagBit */
Seems to be flag 1
Flags
{
"reservation" "a" //Reserved slots
Will try with that and see what happens,.
Notifications is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 09-17-2018 , 13:48   Re: [ANY] Reserved Slots with tVip support (v1.4, 2018-08-28)
Reply With Quote #44

Quote:
Originally Posted by Notifications View Post
#define ADMFLAG_RESERVATION (1<<0) /**< Convenience macro for Admin_Reservation as a FlagBit */
Seems to be flag 1
Flags
{
"reservation" "a" //Reserved slots
Will try with that and see what happens,.
Did it work?

Let me know if you need more help!
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
Notifications
AlliedModders Donor
Join Date: Oct 2015
Old 09-18-2018 , 00:56   Re: [ANY] Reserved Slots with tVip support (v1.4, 2018-08-28)
Reply With Quote #45

Quote:
Originally Posted by plock View Post
Did it work?

Let me know if you need more help!
Quote:
// 20=Custom6, 19=Custom5 etc. Numeric Flag See: 'https://wiki.alliedmods.net/Checking_Admin_Flags_(SourceMod_Scripting)' for Definitions ---- Multiple flags seperated with Space: '16 17 18 19' !!
// -
// Default: "19"
tVip_flag "1"

// Test Vip duration in minutes
// -
// Default: "15"
tVip_testVipDuration "15"
Quote:
// Amount of reserved slots.
// -
// Default: "0"
tvip_reservedslots "10"

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

// 0 = 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).
// -
// Default: "0"
tvip_dropmethod "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 "a"
Assuming this is right, no, doesn't kick anyone.
Notifications is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 09-18-2018 , 15:40   Re: [ANY] Reserved Slots with tVip support (v1.4, 2018-08-28)
Reply With Quote #46

Quote:
Originally Posted by Notifications View Post
Assuming this is right, no, doesn't kick anyone.
Are you sure the tvip flag (1) is working? Also nothing is showing up on your error logs?

Weird that it doesn't work and the nothing shows on the error logs :/

edit: Use "0" in the tVip. I checked my tVip cfg and I have tVip_flag "0 15". Which is A and O. Let me know if that works for you.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile

Last edited by plock; 09-18-2018 at 15:46.
plock is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 12-01-2018 , 21:15   Re: [ANY] Reserved Slots with tVip support (v1.5, 2018-12-01)
Reply With Quote #47

Updated to Version 1.5
Quote:
2018-12-01(v1.5)
- Fixed flag verification.
- Fixed drop methods 1 and 2 (player count wasn't working properly)
- Fixed verifications for server full and reserved slots.
- Added forwards for player left and player join.
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
Trum
AlliedModders Donor
Join Date: Jan 2017
Old 12-10-2018 , 10:33   Re: [ANY] Reserved Slots with tVip support (v1.5, 2018-12-01)
Reply With Quote #48

So i have the config of my reserved slots like this```
sm_reserve_type 1
sm_reserve_kicktype 0
sm_reserve_maxadmins 1
sm_reserved_slots 1
sm_hide_slots 0

And i want there to be 10 regular players to be able to join and when a vip joins, a player will be kicked so the vip can get place to play.

My tVip reserved slot cfg is like this:

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

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

// 0 = 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).
// -
// Default: "0"
tvip_dropmethod "2"
```
Can someone help me please?
Trum is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 12-10-2018 , 11:16   Re: [ANY] Reserved Slots with tVip support (v1.5, 2018-12-01)
Reply With Quote #49

Quote:
Originally Posted by Trum View Post
So i have the config of my reserved slots like this```
sm_reserve_type 1
sm_reserve_kicktype 0
sm_reserve_maxadmins 1
sm_reserved_slots 1
sm_hide_slots 0

And i want there to be 10 regular players to be able to join and when a vip joins, a player will be kicked so the vip can get place to play.

My tVip reserved slot cfg is like this:

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

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

// 0 = 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).
// -
// Default: "0"
tvip_dropmethod "2"
```
Can someone help me please?
If you want to limit the server to 10 players you can set tvip_serverslots "10". I would suggest to not use the reserved slots from Sourcemod if you are using mine.

Also, make sure you have the latest tVip in your server if you are using tVip. (download the .smx again, since Totenfluch have updated the .smx that was uploaded recently)
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile
plock is offline
plock
Senior Member
Join Date: Feb 2016
Location: noitacoL
Old 12-13-2018 , 18:38   Re: [ANY] Reserved Slots with tVip support (v1.6, 2018-12-13)
Reply With Quote #50

Updated to Version 1.6
Quote:
2018-12-13(v1.6)
- Changed the way we check for flags (Thanks to Hex, I took this snippet from a his include)
- Fixed VIPs being add to the array of Players (Kick list)
- Fixed Admins being kicked with Drop Method 2 (High Ping)
__________________
~tuturu

Owner/Developer at Kniv
My Steam Profile

Last edited by plock; 01-29-2019 at 12:04.
plock 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 00:28.


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