AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Release Donation Control 3.1.0 [over 1000 donations served!] (https://forums.alliedmods.net/showthread.php?t=221742)

Rytis 02-02-2015 18:42

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
Quote:

Originally Posted by Creampuffyness (Post 2257664)
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

2NASTY4U 02-02-2015 20:54

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
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).

Creampuffyness 02-02-2015 22:55

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
2Nasty4u i get the same error with localhost. I tried installing to another host with same results. Hoping ninteen can fix.

Phaiz 02-03-2015 01:05

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
Quote:

Originally Posted by Creampuffyness (Post 2257647)
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?

Creampuffyness 02-03-2015 09:16

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
Quote:

Originally Posted by Phaiz (Post 2257766)
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 02-03-2015 21:59

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
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 02-04-2015 20:07

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
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.

benek 02-05-2015 09:44

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
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 02-09-2015 10:26

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
Sorry for post under post, but i couldn't press Edit.

Any help with my problem?

ThatKidWhoGames 02-19-2015 10:29

Re: Donation Control 3.1.0 [over 1000 donations served!]
 
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 ...


All times are GMT -4. The time now is 10:50.

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