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

[CS:GO] VIP System


Post New Thread Reply   
 
Thread Tools Display Modes
freak.exe_uLow
AlliedModders Donor
Join Date: Jul 2012
Location: Germany
Old 11-03-2019 , 11:37   Re: [CS:GO/CSS?] VIP System
Reply With Quote #61

Quote:
Originally Posted by doxxa View Post
Thank for your help i really appreciate it!
here is my plugin list: https://pastebin.com/5E4PGG5R
And i am updated the Chat Processor plugin for the latest version but i got a new mistake..
Maybe u can find what i am doing bad here is my error log: https://pastebin.com/PsKNS9d4
Thanks in advance and have a nice day guys.
you are using another chat processor that is old..please remove the old files from the server
Code:
"Simple Chat Processor (Redux)" (1.1.5) by Simple Plugins, Mini
freak.exe_uLow is offline
iclassdon
AlliedModders Donor
Join Date: May 2006
Old 11-25-2019 , 14:49   Re: [CS:GO/CSS?] VIP System
Reply With Quote #62

Quote:
Originally Posted by lemonpaka View Post
This plugin is amazing. but I found some small problems and I tried to fix it by myself.
Here is my modified version( mixed some codes from reservedslots.sp), it looks working pretty well in my own servers.

New Feature:
① player can get their VIP via Cdkey now. (you need to add cdkey manually to your database or just make a generator)
② Connect message and Disconnect message can be disabled now.

New Command:
sm_getvip - Get VIP via cdkey

New Cvars:
sm_vip_message - Enable the VIP join/leave Message? 0 = Disable, 1 = Enable(default: 0)
sm_vip_slots - Number of Vip player slots(set 0 vip can join via console if sm_slots_enable 1), if VIP slots feature disabled ,whatever you input will be 0(default: 0)
sm_slots_enable - Enable the VIP slots feature? 0 = Disable, 1 = Enable(default: 1)

Fixed bugs?:
① If someone's VIP is expired, he can't get VIP via cdkey or be re-add VIP by admin.
② If someone set his skin back to default, next time he join into server will crash the server.
③ When VIP join into server will kick a player who is not VIP and played longest time now.
This doesn't compile can you please fix? This plugin is awesome these additions are excellent.

Update: Compiled on sourcemod 1.10. I was using dev version.

Also maybe this is because I'm new to sourcemod. I'm using this on a deathmatch server and when I add sm_vip_pistol 0 to sourcemod.cfg it doesn't not change cvar automatically on startup. I have to manually do it in console. Can anyone help?

Update: I ended up editing code to remove pistol menu to achieve what I wanted. Note: Despite me editing sm_vip_pistol cvar values and recompiling, it still didn't work.

Last edited by iclassdon; 11-25-2019 at 18:34.
iclassdon is offline
Send a message via MSN to iclassdon
MAJ3ST1C1313
Junior Member
Join Date: Nov 2019
Old 11-30-2019 , 13:50   Re: [CSGO]VIP System - On database, with features
Reply With Quote #63

when i use sm_addvip myname 1 it says that i got vip but when i use !vip command it says that is vip only. Pls help
MAJ3ST1C1313 is offline
S7Jinzo
Junior Member
Join Date: Dec 2019
Old 01-18-2020 , 17:47   Re: [CS:GO/CSS?] VIP System
Reply With Quote #64

Hi I've got a few questions:

- Blockedtags.txt" comes blank, could you update with a defult template? (What is the template anyway?) -> In your instructions link it only shows for skin template and blockedtags.txt comes as:

//
ignorethis
admin
Owner
//

- Is it possible to add a CFG option to remove TAG change in-game? (Don't want V.I.P tag to be changed to another one, to avoid TAG abuse, so how to keep it always as defult V.I.P?)

- How do I add vip with SteamID when user is not inside the server ? Something like sm_addvip "[SteamID]" [Duration in Month], is there a way?

- Are there any PT/BR translations for this plugin, or any other language?

Last edited by S7Jinzo; 01-18-2020 at 17:57.
S7Jinzo is offline
FuHua
Member
Join Date: Nov 2019
Location: 天穹市
Old 01-27-2020 , 05:32   Re: [CS:GO/CSS?] VIP System
Reply With Quote #65

Quote:
Originally Posted by lemonpaka View Post
This plugin is amazing. but I found some small problems and I tried to fix it by myself.
Here is my modified version( mixed some codes from reservedslots.sp), it looks working pretty well in my own servers.

New Feature:
① player can get their VIP via Cdkey now. (you need to add cdkey manually to your database or just make a generator)
② Connect message and Disconnect message can be disabled now.

New Command:
sm_getvip - Get VIP via cdkey

New Cvars:
sm_vip_message - Enable the VIP join/leave Message? 0 = Disable, 1 = Enable(default: 0)
sm_vip_slots - Number of Vip player slots(set 0 vip can join via console if sm_slots_enable 1), if VIP slots feature disabled ,whatever you input will be 0(default: 0)
sm_slots_enable - Enable the VIP slots feature? 0 = Disable, 1 = Enable(default: 1)

Fixed bugs?:
① If someone's VIP is expired, he can't get VIP via cdkey or be re-add VIP by admin.
② If someone set his skin back to default, next time he join into server will crash the server.
③ When VIP join into server will kick a player who is not VIP and played longest time now.
Thank you for your work. But. I can't compile it. In addition. How do you make it work with the simple chat processor in the ZAF store? Sorry I used Baidu translation
XD
FuHua is offline
FuHua
Member
Join Date: Nov 2019
Location: 天穹市
Old 01-29-2020 , 08:01   Re: [CS:GO/CSS?] VIP System
Reply With Quote #66

//// VIPCore.sp
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\console.inc(961) : error 025: function heading differs from prototype
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\sourcemod.inc(140) : error 025: function heading differs from prototype
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(26) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(26) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(36) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(36) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(46) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(46) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(57) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(57) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(66) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(66) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(77) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(77) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(87) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(87) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(97) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(97) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(112) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(112) : error 010: invalid function or declaration
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(132) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(132) : error 010: invalid function or declaration
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(132 -- 14 : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(132 -- 14 : fatal error 127: too many error messages on one line
FuHua is offline
lemonpaka
Member
Join Date: Sep 2018
Location: China
Old 01-31-2020 , 14:22   Re: [CS:GO/CSS?] VIP System
Reply With Quote #67

Quote:
Originally Posted by FuHua View Post
//// VIPCore.sp
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\console.inc(961) : error 025: function heading differs from prototype
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\sourcemod.inc(140) : error 025: function heading differs from prototype
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(26) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(26) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(36) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(36) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(46) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(46) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(57) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(57) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(66) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(66) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(77) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(77) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(87) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(87) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(97) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(97) : error 001: expected token: ";", but found "("
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(112) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(112) : error 010: invalid function or declaration
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(132) : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(132) : error 010: invalid function or declaration
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(132 -- 14 : error 001: expected token: "(", but found "-identifier-"
// D:\csgoserver\csgo\addons\sourcemod\scripting \include\chat-processor.inc(132 -- 14 : fatal error 127: too many error messages on one line
use older version sm to compile it instead of the lastest one
lemonpaka is offline
Enzyoo
Member
Join Date: Dec 2017
Location: Įsgaršr
Old 03-04-2020 , 19:11   Re: [CS:GO/CSS?] VIP System
Reply With Quote #68

Code:
L 03/05/2020 - 01:05:08: [SM] Exception reported: Cannot connect to datbase error: [1045]: Access denied for user '"root'@'localhost' (using password: YES)
L 03/05/2020 - 01:05:08: [SM] Blaming: VIPCore.smx
L 03/05/2020 - 01:05:08: [SM] Call stack trace:
L 03/05/2020 - 01:05:08: [SM]   [0] SetFailState
L 03/05/2020 - 01:05:08: [SM]   [1] Line 645, F:\CSGO\! Folders\VIP\VIPCore.sp::SQL_MakeConnection
L 03/05/2020 - 01:05:08: [SM]   [2] Line 96, F:\CSGO\! Folders\VIP\VIPCore.sp::OnPluginStart
[SM] Plugin VIPCore.smx failed to reload: Error detected in plugin startup (see error logs).
[SM] Plugin VIPCore.smx reloaded successfully.
Doesn't matter which user I change it to, or if I remove password it still gives me the error.
Enzyoo is offline
ToNNi
Junior Member
Join Date: Jan 2017
Old 03-04-2020 , 21:11   Re: [CS:GO/CSS?] VIP System
Reply With Quote #69

Quote:
Originally Posted by Enzyoo View Post
Code:
L 03/05/2020 - 01:05:08: [SM] Exception reported: Cannot connect to datbase error: [1045]: Access denied for user '"root'@'localhost' (using password: YES)
L 03/05/2020 - 01:05:08: [SM] Blaming: VIPCore.smx
L 03/05/2020 - 01:05:08: [SM] Call stack trace:
L 03/05/2020 - 01:05:08: [SM]   [0] SetFailState
L 03/05/2020 - 01:05:08: [SM]   [1] Line 645, F:\CSGO\! Folders\VIP\VIPCore.sp::SQL_MakeConnection
L 03/05/2020 - 01:05:08: [SM]   [2] Line 96, F:\CSGO\! Folders\VIP\VIPCore.sp::OnPluginStart
[SM] Plugin VIPCore.smx failed to reload: Error detected in plugin startup (see error logs).
[SM] Plugin VIPCore.smx reloaded successfully.
Doesn't matter which user I change it to, or if I remove password it still gives me the error.
Your problem is Exception reported: Cannot connect to datbase error: [1045]: Access denied for user '"root'@'localhost' (using password: YES)

go edit addons/sourcemod/configs/database.cfg
ToNNi is offline
Enzyoo
Member
Join Date: Dec 2017
Location: Įsgaršr
Old 03-04-2020 , 22:36   Re: [CS:GO/CSS?] VIP System
Reply With Quote #70

Nvm, had a typo

Last edited by Enzyoo; 03-04-2020 at 22:46. Reason: nvm
Enzyoo 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 12:05.


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