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

[ANY] Registered User Voice Enabler 1.1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Lucky_luck
AlliedModders Donor
Join Date: May 2011
Location: Germany
Old 01-03-2015 , 07:43   Re: [ANY] Registered User Voice Enabler
Reply With Quote #11

hi, can you add Woltlap Burning Board 4
Lucky_luck is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-03-2015 , 18:53   Re: [ANY] Registered User Voice Enabler
Reply With Quote #12

Quote:
Originally Posted by Lucky_luck View Post
hi, can you add Woltlap Burning Board 4

Do you have a addon that allows players to login / link their steamid?

If so, I need to see the table structures where the steamid is stored.

If you provide: tablename, feildname and steamid format (formats in first post) I can make a query for youm
__________________
Neuro Toxin is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-03-2015 , 18:55   Re: [ANY] Registered User Voice Enabler
Reply With Quote #13

Quote:
Originally Posted by snelvuur View Post
I assume you already know this one, https://forums.alliedmods.net/showthread.php?p=1655283 but if you have that you can just say registered users have a certain flag and only allow those to talk. Other then that, ofcourse nice work
No I didn't. This was build as per a request at https://forums.alliedmods.net/showthread.php?t=254153
__________________
Neuro Toxin is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-03-2015 , 20:33   Re: [ANY] Registered User Voice Enabler
Reply With Quote #14

I just made a basic page to help people generate their required database queries.

It's really basic.

http://console.aus-tg.com/index.php?page=ruv_dbsetup
__________________
Neuro Toxin is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 01-04-2015 , 19:30   Re: [ANY] Registered User Voice Enabler
Reply With Quote #15

Testing this plugin tomorrow.

Sourcebans should be like (?):
reguservoiceenabler_query "SELECT * FROM `sb_admins` WHERE `authid` LIKE '{steamid}|%';"
reguservoiceenabler_steamidformat 1

So that only admins/freeslot can use voice.
Ejziponken is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-04-2015 , 19:43   Re: [ANY] Registered User Voice Enabler
Reply With Quote #16

Quote:
Originally Posted by Ejziponken View Post
Testing this plugin tomorrow.

Sourcebans should be like (?):
reguservoiceenabler_query "SELECT * FROM `sb_admins` WHERE `authid` LIKE '{steamid}|%';"
reguservoiceenabler_steamidformat 1

So that only admins/freeslot can use voice.
That appears ok off top of head. Steamid format will be 2.

Ill check when I get home.
__________________

Last edited by Neuro Toxin; 01-04-2015 at 19:44.
Neuro Toxin is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 01-04-2015 , 20:06   Re: [ANY] Registered User Voice Enabler
Reply With Quote #17

Quote:
Originally Posted by Neuro Toxin View Post
That appears ok off top of head. Steamid format will be 2.

Ill check when I get home.
"SELECT * FROM 'sb_admins' WHERE authid = '{steamid}';"

works for sourcebans.
Ejziponken is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-04-2015 , 21:35   Re: [ANY] Registered User Voice Enabler
Reply With Quote #18

. I'll update it into the second post tonight.
__________________
Neuro Toxin is offline
Research
SourceMod Donor
Join Date: Nov 2011
Old 01-18-2015 , 04:16   Re: [ANY] Registered User Voice Enabler
Reply With Quote #19

Quote:
L 01/18/2015 - 18:13:20: [SM] Native "IsClientConnected" reported: Client index 33 is invalid
L 01/18/2015 - 18:13:20: [SM] Displaying call stack trace for plugin "reguservoiceenabler.smx":
L 01/18/2015 - 18:13:20: [SM] [0] Line 63, reguservoiceenabler.sp::OnDatabaseConnected()
L 01/18/2015 - 18:13:20: [SM] [1] Line 241, reguservoiceenabler.sp::OnDatabaseEndConnect( )
L 01/18/2015 - 18:13:20: [reguservoiceenabler.smx] Error encountered during database query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''sb_admins' WHERE authid = 'BOT'' at line 1
L 01/18/2015 - 18:13:20: [reguservoiceenabler.smx] Error encountered during database query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''sb_admins' WHERE authid = 'STEAM_0:0:********'' at line 1
Quote:
reguservoiceenabler_enabled 1
reguservoiceenabler_query "SELECT * FROM 'sb_admins' WHERE authid = '{steamid}';"
reguservoiceenabler_muteondbfailure 1
reguservoiceenabler_steamidformat 2
reguservoiceenabler_alwaysshowmessage 1
have so many error how can I fix that?
Research is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 01-18-2015 , 05:07   Re: [ANY] Registered User Voice Enabler
Reply With Quote #20

Quote:
Originally Posted by Research View Post
have so many error how can I fix that?
Version 1.0.1 [18.01.2015]
- Fixed client index out of range errors
- Disabled bot processing


Quote:
Originally Posted by Research View Post
reguservoiceenabler_enabled 1
reguservoiceenabler_query "SELECT * FROM 'sb_admins' WHERE authid = '{steamid}';"
reguservoiceenabler_muteondbfailure 1
reguservoiceenabler_steamidformat 2
reguservoiceenabler_alwaysshowmessage 1
SELECT * FROM `sb_admins` WHERE authid = '{steamid}';

Edit: I fixed this typo in the second post also
__________________

Last edited by Neuro Toxin; 01-18-2015 at 05:20.
Neuro Toxin 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 02:55.


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