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

Release Donation Control 3.1.0 [over 1000 donations served!]


Post New Thread Reply   
 
Thread Tools Display Modes
Rytis
Veteran Member
Join Date: Feb 2012
Location: Germany
Old 02-02-2015 , 18:42   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #501

Quote:
Originally Posted by Creampuffyness View Post
Rytis,
I am not a SQL guy. Is there any easy fix? I'm not sure exactly what you are referring to on that page.
I'm not that guy either lol; I left that for nineteeneleven here, in case he needs it
Rytis is offline
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 02-02-2015 , 20:54   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #502

MySQL-Data absolutely correct, but I get an error at login: Unable to open connection to MySQL server.

I use different Databases for SourceBans and the database where I import the install.sql (Player-Analytics-DB).
2NASTY4U is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 02-02-2015 , 22:55   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #503

2Nasty4u i get the same error with localhost. I tried installing to another host with same results. Hoping ninteen can fix.
__________________
Creampuffyness is offline
Phaiz
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 02-03-2015 , 01:05   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #504

Quote:
Originally Posted by Creampuffyness View Post
Recently nfoservers.com upgraded from MySQL 5.5 to 5.6 and this stopped working. Do I need to reinstall? Anyone else having the issue?
Works for me with 5.5.9
What does php -v tell you?
__________________
Phaiz is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 02-03-2015 , 09:16   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #505

Quote:
Originally Posted by Phaiz View Post
Works for me with 5.5.9
What does php -v tell you?
I have no control over the version of MySQL NFO provides. And like I said I am now on 5.6, and I cannot go back to 5.5.x
__________________
Creampuffyness is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 02-03-2015 , 21:59   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #506

I've tried using an external MySQL 5.5 but I get an error. I have this set along with the sourcebans database info:
define('SB_DB', true); //ONLY SET TRUE IF SOURCEBANS IS ON A DIFFERENT MYSQL SERVER
but i get this
Unable to connect to Sourcebans SQLSTATE[HY000] [2002] Connection timed out

I have port 3306 open on my server and my router, and I can connect via the ip address. Any advice?
__________________
Creampuffyness is offline
Creampuffyness
Senior Member
Join Date: Jun 2009
Old 02-04-2015 , 20:07   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #507

Ok guys I was able to fix it on my NFO hosted Sourcebans. Heres what you do. Go into your donation control folder on your web server or FTP whatever. So to the "includes" folder. Edit the file SourceBansClass.php. Go to Line 17. See this:
$this->sdb = new PDO('mysql:host=' . SB_HOST . ';dbname=' . SOURCEBANS_DB . ';charset=utf8', SB_USER, SB_PASS);

Add a space between 'mysql:host=' so it reads:

$this->sdb = new PDO('mysql: host=' . SB_HOST . ';dbname=' . SOURCEBANS_DB . ';charset=utf8', SB_USER, SB_PASS);

Do the same for line 25. Mine started loading right away.
__________________

Last edited by Creampuffyness; 02-04-2015 at 20:08.
Creampuffyness is offline
benek
Member
Join Date: Jan 2014
Location: Poland
Old 02-05-2015 , 09:44   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #508

Hello,

I have a strange problem with donation/VIP system.

I just installed it. Connection to SB work as groups are adding without any problems.

I missing few options:

1. How can i remove group? I do not see Delete button on group list or in Edit group view. https://www.dropbox.com/sh/uqbgzlq62...8N-NWW7ta?dl=0
2. I wasn't able to figure out how to setup Donation groups so user will automatically get access to certain servers or server
Explanation:
I have 3 servers. i want player to have such options:
  1. slot reservation on 1st server
  2. slot reservation on 2nd server
  3. slot reservation on 3rd server
  4. slot reservation on ALL servers
  5. etc with VIP perks
3. It looks like panel on my server it not correctly installed, but i have already tried to reinstall whole system and i have the same problem. It looks like the layout is not complete as in group edit view srv_group_id: and server_id: is not translated and there is no "info" icon.

I tried to search for those problem but probably i haven't noticed such post.
__________________
benek is offline
benek
Member
Join Date: Jan 2014
Location: Poland
Old 02-09-2015 , 10:26   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #509

Sorry for post under post, but i couldn't press Edit.

Any help with my problem?
__________________
benek is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 02-19-2015 , 10:29   Re: Donation Control 3.1.0 [over 1000 donations served!]
Reply With Quote #510

Hi, i'm trying to compile the plugin and this is what i'm getting:

Quote:
//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// donationcontrol.sp
// C:\Users\Grant\Desktop\scripting\donationcont rol.sp(112) : error 017: undefin
ed symbol "newValue"
// C:\Users\Grant\Desktop\scripting\donationcont rol.sp(142) : error 017: undefin
ed symbol "hMenu"
// C:\Users\Grant\Desktop\scripting\donationcont rol.sp(160) : error 017: undefin
ed symbol "g_cvUrl"
//
// 3 Errors.
//
// Compilation Time: 0.14 sec
// ----------------------------------------

Press enter to exit ...
ThatKidWhoGames is offline
Reply


Thread Tools
Display Modes

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


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