[Version 3.3.3] remoteCP 3 - non TMF only

This is the dedicated forum for RemoteCP4: the web based dedicated server control script.

Moderators: hal|Sascha, TM-Patrol

User avatar
utal
speedy pilot
speedy pilot
Posts: 408
Joined: 30 Apr 2006 01:25
Owned TM-games: TMN, TMU, TMO, TMS
Location: Massamá, Portugal
Contact:

Re: remoteCP~3.2, out now!

Post by utal » 21 Oct 2007 22:52

heys!

i'm having a problem with RCP 3.2 in both TMN and TMU. When i login it misses the connection to mysql.

"Connection to the mysql server missed"

seems that i'm missing something basic but i dont know what :P

tks!
utal

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: remoteCP~3.2, out now!

Post by hal|Sascha » 22 Oct 2007 08:26

@dragu: I really can't find your error, it should work with php 5.1.6! The Error should come from the new who is online system, this wasn't available in 3.1.0 version. You could remove it for the moment... until I find this bug...

@TurboTech: this "invalid server response" error comes from the ajax-javascript. Does it happens the whole time again and again or only sometimes? Error 500 means that the called script can't be executed because of an server missconfiguration or something like that... I'm really sorry but I wont have a solution at the moment :oops:

@utal: this error will be dropped from the mysql functions used for the aseco plugin. If you don't want to use the aseco plugin, just delete the Aseco directory from the plugins directory. If you want to use it, you have to enter valid mysql login data to your xml/servers.xml file.
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

dragu
wheelbarrow operator
wheelbarrow operator
Posts: 19
Joined: 24 Nov 2006 21:44
Owned TM-games: TMN
Location: Sweden
Contact:

Re: remoteCP~3.2, out now!

Post by dragu » 22 Oct 2007 09:10

Ok, well just to be ceartin it's done the right way so to say.
How do i remove it?
Image
Image

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: remoteCP~3.2, out now!

Post by hal|Sascha » 22 Oct 2007 09:22

dragu wrote:Ok, well just to be ceartin it's done the right way so to say.
How do i remove it?
open system.system.php and remove everthing from

Code: Select all

			/*
			 * Who is online
			 * check who is online every minute (60 sec.)
			 */
until:

Code: Select all

				$sxml = simplexml_import_dom($dom);
				$sxml->asXML('./xml/online.xml');
			}
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

User avatar
utal
speedy pilot
speedy pilot
Posts: 408
Joined: 30 Apr 2006 01:25
Owned TM-games: TMN, TMU, TMO, TMS
Location: Massamá, Portugal
Contact:

Re: remoteCP~3.2, out now!

Post by utal » 22 Oct 2007 09:43

my bad! i overwrote new servers.xml with old version :P

tks!
utal

dragu
wheelbarrow operator
wheelbarrow operator
Posts: 19
Joined: 24 Nov 2006 21:44
Owned TM-games: TMN
Location: Sweden
Contact:

Re: remoteCP~3.2, out now!

Post by dragu » 22 Oct 2007 20:52

Alright after a bit of fiddling around in that system.system.php file i've now atleast managed to get the overview somewhat
fixed, although that there is a warning still there now.

Code: Select all

Warning: Invalid argument supplied for foreach() in /var/www/html/remoteCP32/includes/system.system.php on line 209
And when I tried to dig around a bit regarding the sXML codes at firxt there are apperently some changes in the later
PHP5 versions which makes that you have to use a different coding to solve it.
But since I'm no good at php quite yet but still learning it didn't quite say that much to me other then that I tried to
chop at the code with a bit of brute force.

/Dragu
Image
Image

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: remoteCP~3.2, out now!

Post by hal|Sascha » 24 Oct 2007 15:53

3.2.1 Update available, see first post for further informations :)
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: remoteCP~3.2, out now!

Post by hal|Sascha » 26 Oct 2007 06:58

hum... yeah this is not my week version 3.2.1 currently has more bugs then expected :oops:

I'm currently working on rcp3.2.2 you should only download 3.2.1 if youre using a TMN server, for TMU the update is more or less useless.

changelog so far:
- added new permission level to admins.xml, editglobaladmin
- added new admins.xml value, tmaccount for a new aseco plugin and some future stuff
- new plugin: settings (by lukefwkr)
- maintenance plugin: changed to fit editglobaladmin permission (by lukefwkr)
- maintenance plugin: added server select (by lukefwkr)
- lists plugin: fixed bug that showed the lists plugin in players tab
- overview plugin: fixed ForceScores, removed silent mode option for TMN servers
- players plugin: fixed bug with forcespectator, forceteam on TMN (method not available)
- players plugin: fixed bug that happend if no players beeing selected on form submit
- challenges plugin: fixed bug that happend if no players beeing selected on form submit
- lists plugin: fixed bug that happend if no players beeing selected on form submit

I'm currently waiting for the "ok" from luke to add his plugins/modifications.
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

moop
pedestrian
pedestrian
Posts: 11
Joined: 27 Oct 2007 18:53
Owned TM-games: TMN

Re: remoteCP~3.2, out now!

Post by moop » 27 Oct 2007 18:59

I got another bug, but this one isnt new with 3.2, it was there on 3.1 also.
When I go in RemoteCp, browser, i get this error:
Warning: opendir(C:/home/felix/tmserver/GameData/Tracks/) [function.opendir]: failed to open dir: No such file or directory in /home/felix/www/remoteCP3-2-1_release/plugins/Browse/index.php on line 311
but I am running on linux! Pretty normal it wont open a C:/ directory :).

Kjell T. Ring
sunday driver
sunday driver
Posts: 71
Joined: 03 Aug 2007 09:31
Owned TM-games: TMN, TMS
Location: Norway

Re: remoteCP~3.2, out now!

Post by Kjell T. Ring » 28 Oct 2007 12:47

It seems to an issue with the blacklist in RCP. Whenever I add someone to blacklist
.\TmDedicatedServer\GameData\1_blacklist.txt gets updated. So far so good, everything works, the blacklisted players get kicked and can't join.

But the blacklist does not survice server restarts. 1_blacklist.txt still exists, but in RCP there are no players in the list. I have not verified if blacklisted players can join.

Running RCP 3.2.1

Lukefwkr
pedestrian
pedestrian
Posts: 5
Joined: 31 May 2007 14:59

Re: remoteCP~3.2, out now!

Post by Lukefwkr » 29 Oct 2007 08:35

Kjell T. Ring wrote:It seems to an issue with the blacklist in RCP. Whenever I add someone to blacklist
.\TmDedicatedServer\GameData\1_blacklist.txt gets updated. So far so good, everything works, the blacklisted players get kicked and can't join.

But the blacklist does not survice server restarts. 1_blacklist.txt still exists, but in RCP there are no players in the list. I have not verified if blacklisted players can join.

Running RCP 3.2.1
Currently there is no function inside the rcp3 to automatically load the saved lists (both blacklist and guestlist) so what you can do is using either the basic.php script, that comes with the server to load those lists back into the server, or creating a symbolic link from 1_blacklist.txt to blacklist.txt if you use linux. both blacklist.txt and guestlist.txt files get loaded automatically when you restart your trackmania server.

rcp2 was once able to automatically load the blacklist and the guestlist, when you logged into it. rcp3 currently misses this feature completely.

i made a small enhancement for rcp3.1.0 to get additional functions at the players module (where you can kick and ban, and add ppl to blacklist or guestlist), so you can load the lists. So if you like, i could modify that players/index.php file for you to also load the guestlist and blacklist on demand.

Yours

L.F.
...may the force be with you! Image
http://www.lukesfunarena.de || http://www.FiLEWALKER.de

User avatar
Slig
Pit Crew
Pit Crew
Posts: 2124
Joined: 05 Sep 2005 17:51
Owned TM-games: ALL
Location: TraxicoLand (Fr)
Contact:

Re: remoteCP~3, out now!

Post by Slig » 29 Oct 2007 08:59

hal|Sascha wrote:
Mistral wrote:When the server automatically bans a player (Incoherence detection) the ban wasnt shown in RCP2 (it was in Servermania). No clue where this came from, but maybe this is related to this problem in RCP3!?
what exactly happens if the server autobans? will the player added to the blacklist or whatever? :oops:
If it is the TMU dedicated Incoherence detection, then the players is "only" ban and a callback TrackMania.PlayerIncoherence is sent to any script having callbacks activated.

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: remoteCP~3.2, out now!

Post by hal|Sascha » 29 Oct 2007 10:31

autoloading of black and gueslist will be back in rcp3.2.2 :mrgreen:
Also many other long wished features will be added like serverchange without re-login...

I'm changed the login system and rewrote most of it. Now the maintenance plugin will update the session and you can set a tmaccount name for lukefwk's aseco-adminupdater. There is also a settings plugin from lukefwk thats allows instant change of systemmessage options and all other admin options (but no permissions).
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

Kjell T. Ring
sunday driver
sunday driver
Posts: 71
Joined: 03 Aug 2007 09:31
Owned TM-games: TMN, TMS
Location: Norway

Re: remoteCP~3.2, out now!

Post by Kjell T. Ring » 29 Oct 2007 13:50

Thanks for the suggestion and reply Lukefwkr :)
hal|Sascha wrote:autoloading of black and gueslist will be back in rcp3.2.2 :mrgreen:
I think I will wait for 3.2.2 rather than updating the .php file(s).

What a great community and friendly people! Thx a bunch again :D

User avatar
hal|Sascha
Pit Crew
Pit Crew
Posts: 671
Joined: 12 Aug 2005 16:22
Owned TM-games: TMU, TMN, TMS, TMO
Location: Germany Munich
Contact:

Re: remoteCP~3.2, out now!

Post by hal|Sascha » 31 Oct 2007 07:06

I'm currently searching someone that can translate the rcp3 to french or other languages (german will be done by hal.ko team). Please leave a message if you started a translation, so we can prevent useless work from other people.

Download:
http://www.hal-ko.de/file.php?p=dXBsb2F ... 5tbC56aXA=

To do:
- unzip the file
- go to plugins directory and copy the en.xml files and rename the copied file to, for example, fr.xml
- translate everything you can find but don't change the xml tag names (things behind < > and </ >)
- go to xml/language directory and do the same with the "en" directory.

Hope for some help, thx :)
CPU: Intel Core 2 Duo E6600
Mainboard: Asus P5W DH Deluxe
RAM: 2 GB
Graphics: ATI Radeon X1950XTX
Audio: Soundblaster Audigy 4
Internet: ADSL 6Mbit
OS: Windows Vista Bussiness

Post Reply