Raised This Month: $ Target: $400
 0% 

qServerinfo [MYSQL] - (v 0.6 / 26-01-2014)


Post New Thread Reply   
 
Thread Tools Display Modes
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 09-14-2013 , 12:07   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #41

UPDATED

< Plugin >
* 0.4 - Removed Server ID.
- Set Server IP as Primary key.
- Changed way to get Server IP.
- Added maxplayers.
- Fixed Player count. ( Testing. )
* 0.5 - Added log to amx.
- Fixed server IP.

< Php Script >
*0.4 - Added IP/MaxPlayers.
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
kwpd
AlliedModders Donor
Join Date: Mar 2009
Location: panama
Old 09-14-2013 , 14:47   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #42

ty
+karma
__________________
kwpd is offline
kwpd
AlliedModders Donor
Join Date: Mar 2009
Location: panama
Old 10-16-2013 , 01:56   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #43

FIX plz
PHP Code:
public client_connect(player)
{
    
/* When user connect it will count 1 more in variable, */
    /*          and update the players in the Table        */
    
g_iPlayers++;
    
UpdateqSiPlayers();
    
/* ----------------------- */

FOR
PHP Code:
public client_putinserver(player)
{
    
/* When user connect it will count 1 more in variable, */
    /*          and update the players in the Table        */
    
g_iPlayers++;
    
UpdateqSiPlayers();
    
/* ----------------------- */

__________________
kwpd is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 10-17-2013 , 18:24   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #44

I'm tired of amxx. It's not funny anymore. But maybe i'll release next verion tomorrow.
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark is offline
Eckat
Junior Member
Join Date: Jun 2013
Old 01-05-2014 , 07:15   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #45

I've been working to get that running quite a while now. For some reason I encounter this error every time I startup the server.

PHP Code:
Executing AMX Mod X Configuration File
L 01
/05/2014 13:04:01: [AMXXPlugin ("qServerinfo.amxx"is setting itself as failed.
L 01/05/2014 13:04:01: [AMXXPlugin saysCan't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
L 01/05/2014 - 13:04:01: [AMXX] Run time error 1 (plugin "qServerinfo.amxx") - forced exit 
From my feelings, I am almost certain having everything configured correctly. The amxx.cfg contains the lines:

qSi_host "localhost" // Host
qSi_user "<myuser>" // db username
qSi_pass "<mypass>" // db password
qSi_db "amx" // db name
qSi_sid "1" // Server ID

There is a number of other plugins also accessing the database. Could that be the reason for the unsuccessful connection?

Thanks in advance for any comment!
Eckat is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-05-2014 , 07:26   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #46

Use 127.0.0.1 for qSi_host instead
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Eckat
Junior Member
Join Date: Jun 2013
Old 01-05-2014 , 07:47   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #47

Quote:
Originally Posted by YamiKaitou View Post
Use 127.0.0.1 for qSi_host instead
I also tried that earlier. Unfortunately this doesn't solve the issue.
Eckat is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-05-2014 , 07:54   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #48

Quote:
Originally Posted by Eckat View Post
I also tried that earlier. Unfortunately this doesn't solve the issue.
Then complain to your host
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Eckat
Junior Member
Join Date: Jun 2013
Old 01-05-2014 , 10:29   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #49

The solution was to redirect to the socket manually via

ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock

which ended up in a login error, which brought me to enter the details directly into the .sma as follows

PHP Code:
        /*     Register Cvars       */
        
g_pcvarHost register_cvar"qSi_host""localhost"FCVAR_PROTECTED );
        
g_pcvaruUser register_cvar"qSi_user""<myuser>"FCVAR_PROTECTED );
        
g_pcvarPass register_cvar"qSi_pass""<mypass>"FCVAR_PROTECTED );
        
g_pcvarDB register_cvar"qSi_db""amx"FCVAR_PROTECTED );
        
/*  ----------------------------------------------------------------------------------  */ 
All is now up and running.

/shrug
Eckat is offline
quark
Veteran Member
Join Date: Oct 2011
Location: Your mind.
Old 01-06-2014 , 18:17   Re: qServerinfo [MYSQL] - (v 0.5 / 14-09-2013)
Reply With Quote #50

oh this plugin... I have new versions on my pc. I'll try to upload it tomorow
__________________

Check out My Plugins:
qServerInfo ; ASKTAG
quark 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 10:40.


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