- Nouse Web Tool Bundle V2.1
Update 2.1:
- changed the shell scripts to a better way to handle the processes (thanks to nocturne)
- server user should be named "tmf" otherwhise you need to edit
/tools/Control/index.php line 39 "sudo -u tmf" to the correct user
Update:
- added function to view some pages without log in, must be enabled via user permissions of user "view"
- added clan member online view, incl chat. (atm only available in bundle)
- fixed (i hope) some security issues
- fixed some style bugs
how to update:
i recommend to install it from scratch, but its possible to keep server.xml.
remark:
read the informations in readme.txt for the "view only" function. not all pages are available for that.
Here we go,
i created a bundle package of all my web tools. some are modified and improved. Also some new tools inside.
all with user/server management via web interface.
Whats inside:
- Website Chat Log Viewer, now with seperate log file path for each server and track change display if checked
- CheatRecordsDelete from DB, now with possibillity to delete single records of one given login and some more nice information. better than the original one.
- Website Backup tracks, to backup tracks of online servers.
- Prune tracks, delete older track data from database
- State control bundle (linux only), with web interface to start/stop/restart dedicated and/or xaseco
- a nice status view of all servers, with online players list
- clan member server ranking list
- more in the future possible
installation:
- read the readme.txt
- copy all files to web server
- call page in your browser
- chmod neccessary files
- login with Admin / admin
- add/change user settings via interface
- some settings must be set on your server itself, in case script dont work. specially for the state control interface.
- you may have problems with Gbx.remote.inc.php, try one of the others gbx.remote files in "Classes" folder.
also this information might be useful for the state control and other problems:
viewtopic.php?p=161143#p161143
it's quite easy to add tools/pages just by adding the name into the tools.xml. of course the page must be prepared too.
download:
Download here
Have fun using it and let me know if you like it.
thanks all
[PHP] Nouse Web Tool Bundle V2.1
-
- swift roadking
- Posts: 840
- Joined: 20 Apr 2008 08:58
- Owned TM-games: TMUF,TMNF, TMN
- Manialink(s): therookies
- Location: Germany
- Contact:
[PHP] Nouse Web Tool Bundle V2.1
Last edited by nouseforname on 30 Dec 2010 12:30, edited 7 times in total.
Re: Nouse Web Tool Bundle RC_1
Wouldn't this be more suitable for the general Toolbox forum?
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
-
- swift roadking
- Posts: 840
- Joined: 20 Apr 2008 08:58
- Owned TM-games: TMUF,TMNF, TMN
- Manialink(s): therookies
- Location: Germany
- Contact:
Re: Nouse Web Tool Bundle RC_1
for the test yes, but some of the script are just made for xaseco, so i would say it's basically for xaseco users.Xymph wrote:Wouldn't this be more suitable for the general Toolbox forum?
with a little modification it can be used for Aseco too i think. didnt test it.
all others can't use half of the scripts, or even don't need it.
maybe a second thread in generell toolbox, for those who still wanna use the generell tools is possible, but later.
xAseco:
- CheatRecordsDelete
- Prune tracks
- State control
generell:
- Website Chat Log Viewer
- Website Backup tracks
- statusview
Re: Nouse Web Tool Bundle RC_1
im going to test this. i will be back with a report soon
-
- swift roadking
- Posts: 840
- Joined: 20 Apr 2008 08:58
- Owned TM-games: TMUF,TMNF, TMN
- Manialink(s): therookies
- Location: Germany
- Contact:
Re: Nouse Web Tool Bundle RC_1
30 downloads yet.
what about any information?
what about any information?
-
- wheelbarrow operator
- Posts: 15
- Joined: 14 Sep 2008 17:33
- Owned TM-games: TMU
Re: Nouse Web Tool Bundle RC_1
Hi All
The script works very well change after the rights of the user sudo
everything else is very good
very good work
ty again Nouse
The script works very well change after the rights of the user sudo
everything else is very good
very good work
ty again Nouse
-
- swift roadking
- Posts: 840
- Joined: 20 Apr 2008 08:58
- Owned TM-games: TMUF,TMNF, TMN
- Manialink(s): therookies
- Location: Germany
- Contact:
Re: Nouse Web Tool Bundle RC_1
- here we go:
i found some little bugs. fixed and updated download pack to RC2.
i forgot to mention one of the most important settings to get the Control script working.
you have to add in /etc/sudoers:usually the user is "www-data", in case you are using xampp, it's "nobody".Code: Select all
www-data ALL=(ALL) NOPASSWD: /path/to/shellscripts/*
this setting will change the permission of the web script user, to be able to execute the shell files in the given folder.
in case you dont want to run the servers as root, create a user eg.: tmf and add
sudo -u tmf
in the shell scripts SAMPLExaseco:SAMPLEdedi:Code: Select all
sudo -u tmf /usr/bin/php $NAME.php </dev/null >aseco.log 2>&1 &
xampp users have to change some values in php.ini if original.Code: Select all
sudo -u tmf ./$DEDINAME /dedicated_cfg=$DEDICONF /game_settings=MatchSettings/$MATCHSETTINGS > /dev/null
i am not 100% sure if all are needed, but at least after set this it worked.
php.ini:remark again:Code: Select all
y2k_compliance = On safe_mode_gid = Off register_globals = Off session.use_trans_sid = 0
the "control" script of the bundle only works in linux, cause it controls the shell files.
for the other scripts it might be neccessary to set this in php.ini:Code: Select all
php_admin_flag engine on php_admin_flag safe_mode off php_admin_value open_basedir none
Last edited by nouseforname on 12 Sep 2009 06:56, edited 1 time in total.
-
- smooth traffic navigator
- Posts: 199
- Joined: 05 May 2009 15:52
- Owned TM-games: TM2
Re: [PHP] Nouse Web Tool Bundle RC_2
Hello nouseforname
In your Startpost is no advice for the OS. In the readme-file you told : "running on linux"
I thing, you told it at another Topic, that you make only Scripts for Linuxsystems.
Ist this Bundle only for Linux OS ?
In your Startpost is no advice for the OS. In the readme-file you told : "running on linux"
I thing, you told it at another Topic, that you make only Scripts for Linuxsystems.
Ist this Bundle only for Linux OS ?
-
- swift roadking
- Posts: 840
- Joined: 20 Apr 2008 08:58
- Owned TM-games: TMUF,TMNF, TMN
- Manialink(s): therookies
- Location: Germany
- Contact:
Re: [PHP] Nouse Web Tool Bundle RC_2
i think i didn't articulate it clear enough. but at least i made this in first post:scg-flighthigh wrote:Hello nouseforname
In your Startpost is no advice for the OS. In the readme-file you told : "running on linux"
I thing, you told it at another Topic, that you make only Scripts for Linuxsystems.
Ist this Bundle only for Linux OS ?
you can use the tool bundle on each web server, windows and linux. cause main function is normal web servers function, display and update mysql data etc. or display dedicated server data.- State control bundle (linux only), with web interface to start/stop/restart dedicated and/or xaseco
BUT ( yes there is one but)
the "Control" script itself just execute the shell files via web interface, and the shell scripts are linux only.
so the bundle is mainly for linux systems with dedicated servers and xaseco. if you running the servers at windows, just disable "Control", but the other 5 tools can be used. if you don't diable "control" u can view the page and click buttons, but nothing will happen

clear now?
-
- smooth traffic navigator
- Posts: 199
- Joined: 05 May 2009 15:52
- Owned TM-games: TM2
Re: [PHP] Nouse Web Tool Bundle RC_2
OK thanks i think that it is so if you told me that.
But one Question is better than a "Blackout" of the Serverstruktur.
I download the bundle and look whats in it.
I think that is disable the Control with this line
and than i take a look into your bundlepack. 
But one Question is better than a "Blackout" of the Serverstruktur.
I download the bundle and look whats in it.
I think that is disable the Control with this line
Code: Select all
<!-- <tool>Control</tool> -->

-
- smooth traffic navigator
- Posts: 199
- Joined: 05 May 2009 15:52
- Owned TM-games: TM2
Re: [PHP] Nouse Web Tool Bundle RC_2
Here my way:
Put my Database and Server info into the servers.xml. There is a Problem. I have a Win-Systemserver with Plesk. In Plesk you cant give to different Databases the same Loginname and Password. So for my Test i make only one Server. I make a <!-- for the second Server -->
Then i upload it and call the index.php over Firefox. I make a login with Admin admin and change the Adminpassword. So i make a new Login with this new Password. All is ok. But if i klick Status i get an Errormessage like this:
I have no idea whats wrong 
Put my Database and Server info into the servers.xml. There is a Problem. I have a Win-Systemserver with Plesk. In Plesk you cant give to different Databases the same Loginname and Password. So for my Test i make only one Server. I make a <!-- for the second Server -->
Then i upload it and call the index.php over Firefox. I make a login with Admin admin and change the Adminpassword. So i make a new Login with this new Password. All is ok. But if i klick Status i get an Errormessage like this:
Code: Select all
Warning: unpack() [function.unpack]: Type V: not enough input, need 4, have 0 in D:\inetpub\vhosts\sc-gamer.de\httpdocs\statistik\test\classes\GbxRemote.inc.php on line 495

-
- swift roadking
- Posts: 840
- Joined: 20 Apr 2008 08:58
- Owned TM-games: TMUF,TMNF, TMN
- Manialink(s): therookies
- Location: Germany
- Contact:
Re: [PHP] Nouse Web Tool Bundle RC_2
thats funny, i also use plesk, but i can go phpmyadmin and make all databases with same user. never heard that kinda problem.scg-flighthigh wrote:Here my way:
Put my Database and Server info into the servers.xml. There is a Problem. I have a Win-Systemserver with Plesk. In Plesk you cant give to different Databases the same Loginname and Password.
i think some mistake with configuration. status need server connection, port, admin name and password. nothing with db.I have no idea whats wrong
could u send me your config via pm?
btw server and tool all at same machine?
-
- smooth traffic navigator
- Posts: 199
- Joined: 05 May 2009 15:52
- Owned TM-games: TM2
Re: [PHP] Nouse Web Tool Bundle RC_2
Yes the Server and Tools are on the same Maschine.
You got an PM from me
You got an PM from me
-
- swift roadking
- Posts: 840
- Joined: 20 Apr 2008 08:58
- Owned TM-games: TMUF,TMNF, TMN
- Manialink(s): therookies
- Location: Germany
- Contact:
Re: [PHP] Nouse Web Tool Bundle V1.0
- Released V1.0
updated first post.
i think now all problems are clear and easy to solve at different systems.
-
- swift roadking
- Posts: 840
- Joined: 20 Apr 2008 08:58
- Owned TM-games: TMUF,TMNF, TMN
- Manialink(s): therookies
- Location: Germany
- Contact:
Re: [PHP] Nouse Web Tool Bundle V2.0
- Released V2.0
updated first post.