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

Sourcemod Webadmin (Updated 12/05/2012)


Post New Thread Reply   
 
Thread Tools Display Modes
Rat-Thon
New Member
Join Date: Dec 2008
Old 03-28-2011 , 04:58   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #491

Hi,

I just found a little bug when making a copy config.
When I make a copy, commands and values ​​are reversed.
File: serverconfigs.php
Line: 634

Code:
sqlexec("INSERT INTO ".$plugin['Tablename']." SET Filename ='".$scfgtargetfilename."', Server_ID ='".$scfgtargetsid."', Command_Name ='".$newfile[$key]['Command_Value']."', Command_Value ='".$newfile[$key]['Command_Name']."', Type ='".$newfile[$key]['Type']."', Activ ='".$newfile[$key]['Activ']."'");
Code:
sqlexec("INSERT INTO ".$plugin['Tablename']." SET Filename ='".$scfgtargetfilename."', Server_ID ='".$scfgtargetsid."', Command_Name ='".$newfile[$key]['Command_Name']."', Command_Value ='".$newfile[$key]['Command_Value']."', Type ='".$newfile[$key]['Type']."', Activ ='".$newfile[$key]['Activ']."'");
Rat-Thon is offline
.=QUACK=.Major.pain
Senior Member
Join Date: Jan 2010
Old 04-19-2011 , 19:08   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #492

Still can't figure out why both our servers appear as offline while they are both up and running.

I also setup remote mysql for both server ips to see if that helped, but still offline.

I am at a loss now.
.=QUACK=.Major.pain is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 04-21-2011 , 10:10   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #493

Quote:
Originally Posted by Rat-Thon View Post
Hi,

I just found a little bug when making a copy config.
When I make a copy, commands and values ​​are reversed.
File: serverconfigs.php
Line: 634

Code:
sqlexec("INSERT INTO ".$plugin['Tablename']." SET Filename  ='".$scfgtargetfilename."', Server_ID ='".$scfgtargetsid."',  Command_Name ='".$newfile[$key]['Command_Value']."', Command_Value ='".$newfile[$key]['Command_Name']."',  Type ='".$newfile[$key]['Type']."', Activ  ='".$newfile[$key]['Activ']."'");
Code:
sqlexec("INSERT INTO  ".$plugin['Tablename']." SET Filename ='".$scfgtargetfilename."',  Server_ID ='".$scfgtargetsid."', Command_Name ='".$newfile[$key]['Command_Name']."', Command_Value ='".$newfile[$key]['Command_Value']."', Type ='".$newfile[$key]['Type']."', Activ ='".$newfile[$key]['Activ']."'");
Add to next relase. Thx
Quote:
Originally Posted by .=QUACK=.Major.pain View Post
Still can't figure out why both our servers appear as offline while they are both up and running.
--------

I also setup remote mysql for both server ips to see if that helped, but still offline.

I am at a loss now.
Please explain me your Server IP and Port.

---------
Quote:
Originally Posted by daleGEND View Post
How are things progressing with this HSFighter? Looking forward to your next release!
I am currently very very busy in my reallife.
Here the current (21.04.2011) status of the next release:

71% Finish

To do List 2.2 Beta:
  • Style (.css file) selection
  • Player-Details-Window (Infos from Steam-API) --> Done
  • Plugin Control (Start, Restart, Stop, Info e.t.c.) --> Done
  • Player name with ban import (Infos from Steam-API) --> Done
  • Enable support for russian language again --> Done
  • Bugfix errors from 2.1 Final --> Done
  • New Install/Update Engine --> Done
  • RSS-News and versioncheck on the mainpage --> Done
  • Some Admins can show plugins but not edit something --> Done
  • Support "Watchlist" plugin
  • Support "Permanent Gag/Mute/Rename" plugin --> Done
  • Support "Slot Expiration Notification" plugin
  • Support "MySQL Polls" plugin
  • Support "SteamID Restrict MySQL" plugin
__________________



Sorry for my very bad english
Greetings HSFighter

Last edited by HSFighter; 04-21-2011 at 10:40.
HSFighter is offline
Send a message via ICQ to HSFighter
.=QUACK=.Major.pain
Senior Member
Join Date: Jan 2010
Old 04-21-2011 , 18:29   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #494

66.150.214.16:27015
69.31.134.120:27015
74.201.57.9:27015

All 3 appear as offline, all the time, yet they are all running ok.
.=QUACK=.Major.pain is offline
Ard Choille
Member
Join Date: Mar 2006
Old 04-22-2011 , 00:35   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #495

Have installed this again after not using it for along time.

Have a problem thou. Web upload is missing adsmysql.php in plugins folder.
Would be nice if adsmysql.php could work with updated adsmysql plugin
It has had some features added to it.
Ard Choille is offline
HSFighter
Veteran Member
Join Date: Aug 2007
Location: Flensburg - Germany
Old 04-22-2011 , 05:54   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #496

Quote:
Originally Posted by .=QUACK=.Major.pain View Post
66.150.214.16:27015
69.31.134.120:27015
74.201.57.9:27015

All 3 appear as offline, all the time, yet they are all running ok.
I add your server ip to my webadmin and all work fine.
The webscript opens a socket to check servers.
Please check if sockets-functions are allowed/installed on your webserver.



Quote:
Originally Posted by Ard Choille View Post
Have installed this again after not using it for along time.

Have a problem thou. Web upload is missing adsmysql.php in plugins folder.
Would be nice if adsmysql.php could work with updated adsmysql plugin
It has had some features added to it.
Add to my Todolist. Thx
__________________



Sorry for my very bad english
Greetings HSFighter
HSFighter is offline
Send a message via ICQ to HSFighter
.=QUACK=.Major.pain
Senior Member
Join Date: Jan 2010
Old 04-22-2011 , 10:22   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #497

I am using hostgator, and they tell me that the sockets are not enabled.
They asked me to ask you which sockets are required, and once I find out, to submit a support ticket and they will make the adjustments for the sockets and firewall.
.=QUACK=.Major.pain is offline
Adjo
Member
Join Date: Dec 2009
Location: UK
Old 04-22-2011 , 15:24   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #498

Quote:
Originally Posted by .=QUACK=.Major.pain View Post
I am using hostgator, and they tell me that the sockets are not enabled.
They asked me to ask you which sockets are required, and once I find out, to submit a support ticket and they will make the adjustments for the sockets and firewall.
I had a quick look at the code, it requires fsockopen, fwrite, fread and fclose

@HSFighter, at lines 155 to 158 in server.php, you can just do something like this I think...
Code:
$os = $infos['os'] == 'w'?'Windows':'Linux';
$vac = $infos['secure'] == '1'?'Secure':'Not secure';

Adjo is offline
.=QUACK=.Major.pain
Senior Member
Join Date: Jan 2010
Old 04-22-2011 , 15:26   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #499

Thanks, but I think they requested something specific.
Or is it just basically that it has to be enabled?
.=QUACK=.Major.pain is offline
Adjo
Member
Join Date: Dec 2009
Location: UK
Old 04-22-2011 , 15:30   Re: Sourcemod Webadmin (Updated 19/07/2010)
Reply With Quote #500

Quote:
Originally Posted by .=QUACK=.Major.pain View Post
Thanks, but I think they requested something specific.
Or is it just basically that it has to be enabled?
The functions I posted above is what it uses to communicate with the gameserver.

These are normally enabled by default, I think.
Adjo 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 22:53.


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