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

[Any][MySQL] tVip (2.3 | 04-04-21) - The simplest to use Vip Manager


Post New Thread Reply   
 
Thread Tools Display Modes
B_R
Member
Join Date: May 2017
Old 02-23-2018 , 21:02   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #101

Hi, could be any possible way to add vips with different flags in the mysql table ?
B_R is offline
Salamon75
Junior Member
Join Date: Feb 2018
Location: UK
Old 02-24-2018 , 10:32   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #102

For me it doesn't create the sql table automatically.
I tried to run the script from the source but getting this:
CREATE TABLE IF NOT EXISTS `tVip` (
`Id` bigint(20) NOT NULL AUTO_INCREMENT,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`playername` varchar(36) COLLATE utf8_bin NOT NULL,
`playerid` varchar(20) COLLATE utf8_bin NOT NULL,
`enddate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`admin_playername` varchar(36) COLLATE utf8_bin NOT NULL,
`admin_playerid` varchar(20) COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`Id`),
UNIQUE KEY `playerid` (`playerid`)
) ENGINE = InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COLLATE=utf8_bin

MySQL said: Documentation
#1067 - Invalid default value for 'enddate'
Salamon75 is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 02-24-2018 , 11:04   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #103

Quote:
Originally Posted by B_R View Post
Hi, could be any possible way to add vips with different flags in the mysql table ?
Someone requested that in private and it was doable. But I didn't want it for this plugin to keep things simple. So no
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 02-24-2018 , 11:05   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #104

Quote:
Originally Posted by Salamon75 View Post
MySQL said: Documentation
#1067 - Invalid default value for 'enddate'
I tested it for both linux and windows on MariaDB and MySQL. What are you using?
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch is offline
Veckia
New Member
Join Date: Mar 2018
Old 08-02-2018 , 10:52   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #105

I think this link answers him.

Tell us if it worked.

Thanks.
__________________

Last edited by Veckia; 08-02-2018 at 10:56.
Veckia is offline
Groven
AlliedModders Donor
Join Date: Apr 2011
Location: Sweden
Old 08-06-2018 , 14:38   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #106

Is there a way to add so only Vips can use https://forums.alliedmods.net/showthread.php?t=276677 ?
__________________
Groven is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 08-06-2018 , 15:18   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #107

Quote:
Originally Posted by Groven View Post
Is there a way to add so only Vips can use https://forums.alliedmods.net/showthread.php?t=276677 ?
Use the Flag parameter within your items.txt in zephstore. Nothing to change in tVip
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch is offline
Groven
AlliedModders Donor
Join Date: Apr 2011
Location: Sweden
Old 08-06-2018 , 15:31   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #108

Quote:
Originally Posted by Totenfluch View Post
Use the Flag parameter within your items.txt in zephstore. Nothing to change in tVip
Thanks,

I tried to start tVip but it dosen't let me.

Code:
	"tVip"
	{
		"driver"			"mysql"
		"host"				"localhost"
		"database"			"db49"
		"user"				"removed"
		"pass"				"removed"
		//"timeout"			"0"
		"port"			"3306"
	}
__________________
Groven is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 08-06-2018 , 15:36   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #109

Quote:
Originally Posted by Groven View Post
Thanks,

I tried to start tVip but it dosen't let me.

Code:
	"tVip"
	{
		"driver"			"mysql"
		"host"				"localhost"
		"database"			"db49"
		"user"				"removed"
		"pass"				"removed"
		//"timeout"			"0"
		"port"			"3306"
	}
Please post the relevant errors. You can find them in the generic error logs.
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch is offline
Groven
AlliedModders Donor
Join Date: Apr 2011
Location: Sweden
Old 08-06-2018 , 15:40   Re: [Any][MySQL] tVip (2.1 | 27-06-17) - The simplest to use Vip Manager
Reply With Quote #110

Quote:
Originally Posted by Totenfluch View Post
Please post the relevant errors. You can find them in the generic error logs.
Here you go

I think I found another problem. I use KZTimer and added these to the
Code:
exception_list
But when I click on Add Vip I recieve this
Code:
No matching clients found (Noone there or everyone is already VIP/Admin)
Or is that because I am Admin and alone on the server?

Code:
sm_tvip
sm_vips
sm_vip
sm_addvip
sm_removevip
Edit: I fixed it. I switched back to localhost instead of IP.

Code:
L 08/06/2018 - 20:39:33: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 08/06/2018 - 20:39:33: [SM] Blaming: tvip.smx
L 08/06/2018 - 20:39:33: [SM] Call stack trace:
L 08/06/2018 - 20:39:33: [SM]   [0] SQL_SetCharset
L 08/06/2018 - 20:39:33: [SM]   [1] Line 55, C:\Users\ziegl\Downloads\tVip-master\tVip.sp::OnPluginStart
L 08/06/2018 - 20:39:33: [SM] Unable to load plugin "tvip.smx": Error detected in plugin startup (see error logs)
__________________

Last edited by Groven; 08-06-2018 at 15:50.
Groven 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 04:46.


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