[Version 4.0.3.4] remoteCP 4 - TMF only

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

Moderators: hal|Sascha, TM-Patrol

User avatar
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Version 4.0.3.1] remoteCP 4 - TMF only

Post by oliverde8 » 16 May 2009 07:20

hi,
Just updated to last version, all files even the xml files...

But some of the popup windows doesen't open,

Image
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

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: [Version 4.0.3.1] remoteCP 4 - TMF only

Post by hal|Sascha » 16 May 2009 12:08

Which browser is this? :)
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
oliverde8
solid chaser
solid chaser
Posts: 1135
Joined: 07 Oct 2006 07:03
Owned TM-games: TMU
Manialink(s): oliverde8
Location: Turkey
Contact:

Re: [Version 4.0.3.1] remoteCP 4 - TMF only

Post by oliverde8 » 16 May 2009 13:23

:grmblz: Not working with Chrome. Sorry, works fine :thumbsup:
ImageImage
Manialink : oliverde8color>
Servers : STATS <> United | VeryShort | Made In Turkey

User avatar
k4nm4n
smooth traffic navigator
smooth traffic navigator
Posts: 262
Joined: 11 Feb 2008 10:30
Owned TM-games: TMUF
Location: Slovenia
Contact:

Re: [Version 4.0.3.1] remoteCP 4 - TMF only

Post by k4nm4n » 19 May 2009 11:35

It's possible to fix special characters in the database? If I use Rcp3 displays everyting fine. I'm using XAseco database.

Edit: I found the solution.
1. Open rcp_mysql.class.php
2. Find in lines 50 and 51.

Code: Select all

				
$this->query("SET NAMES 'utf8'", $this->handle);
$this->query("SET CHARACTER SET 'utf8'", $this->handle);
3. Add a comment.

Code: Select all

#$this->query("SET NAMES 'utf8'", $this->handle);
#$this->query("SET CHARACTER SET 'utf8'", $this->handle);
:thumbsup: tnx donaldl43 for the idea.

jokey
cyclist
cyclist
Posts: 34
Joined: 15 Mar 2009 19:52
Owned TM-games: TMNF, TMUF, TM2
Location: Germany
Contact:

Re: [Version 4.0.3.1] remoteCP 4 - TMF only

Post by jokey » 05 Jun 2009 10:05

Looks like RemoteCP4.0.3.1 has issues with adding maps via Browser that contain a ' either in filename or mapname. I have some "Short'n'Fun" maps here that I can't add as after the "short" it stops adding the filename. bug?

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: [Version 4.0.3.1] remoteCP 4 - TMF only

Post by hal|Sascha » 05 Jun 2009 11:13

jokey wrote:Looks like RemoteCP4.0.3.1 has issues with adding maps via Browser that contain a ' either in filename or mapname. I have some "Short'n'Fun" maps here that I can't add as after the "short" it stops adding the filename. bug?
Yeah thats a problem since ages, haven't got the perfect solution for this problem until now :cry:
A workaround is to upload all files with the remotecp internal upload (browse tab), this will rename all uploaded files (only A-Z, 0-9, -, _; will stay).
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: [Version 4.0.3.1] remoteCP 4 - TMF only

Post by hal|Sascha » 16 Jun 2009 13:50

If you want, you can find the 4.0.3.2 beta#2 here:
http://rapidshare.de/files/47553676/rem ... 2.zip.html

I don't recommend to use this version in any case on a non passworded open server.
It could be buggy as hell, I don't believe it, but it could ^^

you'll find the current changelog inside the todo.txt file
This version needs the dedi-server version from 2009-05-04 or newer.
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: [Version 4.0.3.2] remoteCP 4 - TMF only

Post by hal|Sascha » 15 Jul 2009 08:54

Version 4.0.3.2 now available!

You'll find the latest changelog here:
http://www.tmbase.de/V6/history/

See first post of this topic for download and 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

FDA
cyclist
cyclist
Posts: 32
Joined: 22 Feb 2008 17:28
Owned TM-games: TMU,TMN,TMSX DEMO

Re: [Version 4.0.3.2] remoteCP 4 - TMF only

Post by FDA » 18 Aug 2009 14:45

Hi !

I have a problem =)

On my server, the local records aren't saved.

Somebody can help me please ? =P

:gobananas:

You can have a look on the server tmtp://www.flygame-974.re#join=fly974

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: [Version 4.0.3.2] remoteCP 4 - TMF only

Post by hal|Sascha » 19 Aug 2009 07:37

FDA wrote:Hi !

I have a problem =)

On my server, the local records aren't saved.

Somebody can help me please ? =P

:gobananas:

You can have a look on the server tmtp://www.flygame-974.re#join=fly974
Do you enabled the sql settings and set valid values for all the sql-options?
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

druchii
highway camper
highway camper
Posts: 4
Joined: 24 May 2009 20:41
Owned TM-games: TMN, TMNF

Re: [Version 4.0.3.2] remoteCP 4 - TMF only

Post by druchii » 12 Sep 2009 10:10

Code: Select all

Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /var/www/remoteCP_4-0-3-2/includes/core/rcp_session.class.php:22 Stack trace: #0 /var/www/remoteCP_4-0-3-2/includes/core/rcp_session.class.php(22): SimpleXMLElement->__construct('./xml/servers.x...', 0, true) #1 /var/www/remoteCP_4-0-3-2/includes/core.class.php(149): rcp_session->__construct(Object(Core)) #2 /var/www/remoteCP_4-0-3-2/includes/core.class.php(97): Core->storeObject('core/rcp_sessio...', 'rcp_session', 'session') #3 /var/www/remoteCP_4-0-3-2/index.php(18): Core::storeCoreObjects() #4 {main} thrown in /var/www/remoteCP_4-0-3-2/includes/core/rcp_session.class.php on line 22
Is the error i get in index.php, i have filled out servers.xml, and it looks like the following:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<servers>
        <server>
                <id>1</id>
                <login></login>
                <name>Some test server</name>
                <settingset></settingset>                       <!-- Pathname without slashes, leave empty for default settings -->
                <filepath></filepath>                           <!-- Pathname without slashes, leave empty for old remoteCP3 style -->
                <connection>
                        <ip>localhost</ip>
                        <port>5000</port>
                        <account>SuperAdmin</account>
                        <password>MySuperAdminPasswordHere</password>
                </connection>
                <ftp enabled='false'>
                        <host>localhost</host>
                        <port></port>                                   <!-- leave empty for default port 21 -->
                        <username>username</username>
                        <password>password</password>
                        <path>/GameData/Tracks/</path>
                </ftp>
                <sql enabled='false'>
                        <type>mysql</type>
                        <host>localhost</host>
                        <username>username</username>
                        <password>password</password>
                        <dbname>remotecp</dbname>
                </sql>
                <lists>
                        <guestlist>guestlist.txt</guestlist>
                        <blacklist>blacklist.txt</blacklist>
                </lists>
        </server>
</servers>
I am also greeted non-stop by index.html telling me it's setup wrong :(

EDIT:
Solved it, reinstalled it.

Still not fixed the DirectoryIndex issue though, so any pointers are welcome ;)

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: [Version 4.0.3.3] remoteCP 4 - TMF only

Post by hal|Sascha » 21 Oct 2009 13:26

Version 4.0.3.3 now available :)
See first post of this thread for more informations.

Changelog...

Core:
- Live.php: removed a unexpected sleep command, that made the tool respond very slow
- New core class: rcp_activity, logs user acitivities into file "serverlogin_web_activity.log" / "serverlogin_live_activity.log"
- Removed writelog setting, logfile writing is now allways enabled
- Errorhandling: renamed function errorLog to writeLog, the new version supports multiple file handles
- Errorhandling: changed logfilename from log.txt to errors.log (if the serverlogin is known, filename is "serverlogin_errors.log")
- Plugin system: added new default method "debug" to rcp_plugin, allows to add debugging outputs without checking the debugging status inside plugins
- Plugin system: added new default method "isDebug" to rcp_plugin, allows to check if debugging is enabled for the plugin
- Plugin system: added new default method "setDebug" to rcp_plugin, allows to set the debugging status for the plugin
- Plugin system: added new default method "onMLADebug" to rcp_liveplugin
- Plugin system: added new default admin option "onMLADebug" to rcp_liveplugin
- Plugin system: plugins with nsqlcon option will be destroyed / not loaded if there is no SQL enabled for the current server
- Textparser class: changed color/link/tag removement, added new methods: stripCode and stripTags
- Session class: added activity logging for login/logout
- Session class: replaced all simplexml class creation calls by new method session::loadXML, that will handle possible XML errors a bit better
- Actions class: added activity logging for all added actions
- Replaced old SQL classes wie new rcp_database.class.php using PHP PDO
- Changes some SQL related options inside the servers.xml (see readme.txt)
- Removed some connection related options inside the servers.xml (see readme.txt)
- Login/Logout/Serverchange: now directly change to their destination without that odd intermediate page

Style:
- Fixed some html code errors
- Fixed some cascading style sheet errors
- Added new server select box in the upper right corner, replacing the servername
- Improved the core-javascript, plugins are now able to define a "PLUGINNAME_startup" JS function that will be called at plugin load

Plugins:
- All plugins: updated all SQL queries to support PHP PDO
- All plugins: updated all rcp_textparser::toHTML calls to fit the updated textparser
- Browse plugin: translated all old debugging methods to the new plugin based debug system
- Browse plugin: removed useless tmx-upload options for tmx original, sunrise and nations websites
- Challenge plugin: removed the sharemania data loading, since sharemania will go offline soon
- GameSettings plugin: changed behavior of the ForceShowAllOpponents option, this will now support integer values (thx to Jaypsi)
- Player plugin: added accounttype information
- Settings plugin: fixed some XHTML issues and the wrong default style value (thx to Jaypsi)
- Settings plugin: removed switchserver option
- Website plugin: changed behavior of the nocode option (wont affect old scripts)

Live - Core:
- Added update script update_4032.php, this adds/changes the nessesary database fields for the new BestCheckpoints handling
- Improved BestCheckpoint handling, checkpoints are now stored to the records data (@database)
- Removed rcp_interface.class.php
- Timedevents: added new method "check", this allows to check if a timedevent with a specific ID exists
- Manialinks: replaced some hardcoded values (thx to Corto-72)
- Manialinks: removed some unneeded XML outputs, should lower the traffic
- Manialinks: removed to outdated action parsing, actions will now created at xml code creation
- Live: added new method "resetMsgs", allows to reset the currently available live-messages (if messagesui is not in chatmode)
- Live: added new method "getMsgs", allows to get a array of all currently available live-messages (if messagesui is not in chatmode)
- Live: replaced method "updateAdmins" by "updateSession"
- Players: added relay server support
- Added new master setting value 'idle', this setting defines if the system should run in idle mode

Live - Plugins:
- All plugins: updated all SQL queries to support PHP PDO
- All plugis: changed all rcp_textparser::toHTML calls to fit the updated parser
- New plugin: Menu, this plugin replaces the interface from the PCore plugin
- New plugin: Ladder, this external plugin is now part of the default download package
- Renamed Rounds plugin to Scoring
- Admin plugin: added relay server support
- Ads plugin: added new settings.xml option, the new type-attribute defines if a ad should be displayed inside the chat or messagecontainer
- Ads plugin: added new settings.xml option, "reloadtime" allows to define the reload interval for the ads
- Ads plugin: improved the randomizer, it wont show the same message twice in a row
- Challenges plugin: added display of players current record on the available challenges
- Challenges plugin: if a challenge gets a restart, the plugin wont run trough the jukeboxing process
- Challenges plugin: optimized SQL query at getChallengeRating
- Dedimania plugin: added new method "getData", returns the current dedimania record data as array (usefull for 3rd-Party-Plugins)
- Dedimania plugin: added some debugging outputs, removed old message outputs
- Dedimania plugin: added new NbCheckpoints verification at the onEndRace callback
- Dedimania plugin: fixed bug that inserted more records into the dedimania data then defined with 'maxrecords'
- Idle plugin: added new settings.xml option: message. This will allow admins to change the default idlekick message
- Records plugin: improved BestCheckpoints handling (see Live - Core changes)
- Records plugin: fixed a bug that possibly overwrite bader records under certain conditions
- Records plugin: added onPlayerCheckPoint handling from the training plugin
- PCore plugin: removed all interface related code parts
- PCore plugin: removed admin function - 'update admins'
- PCore plugin: removed admin function - 'update plugin settings'
- PCore plugin: added admin function - 'update session'
- PCore plugin: added relay server support
- PCore plugin: added 'idle' master setting handling to the onPeriodicalUpdate method
- PCore plugin: optimized SQL query that counts the player wins
- PCore plugin: optimized SQL query that counts the players play time
- Scoring plugin: added team mode support
- TALimit plugin: added new settings.xml option that allows the plugin to stay active even if the game mode is not TimeAttack
- TMX plugin: shows now up to three tmx-records in the record-side-panel
- TMX plugin: fixed bug with /tmxget command and no tmxget permission set in settings.xml
- Training plugin: moved onPlayerCheckPoint handling to the records plugin
- Training plugin: removed forceCheckPointTime setting option
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
Fisch.666
happy cruiser
happy cruiser
Posts: 136
Joined: 18 May 2006 01:13
Owned TM-games: TMU, TMN, TMUF, TMNF
Location: Germany
Contact:

Re: [Version 4.0.3.3] remoteCP 4 - TMF only

Post by Fisch.666 » 25 Oct 2009 15:40

Hi!

First thanks for this Update!

I get this error:

Code: Select all

Fatal error: Call to a member function xpath() on a non-object in /var/www/remoteCP/includes/core/rcp_session.class.php on line 122
when i try updating 4.0.3.2 to 4.0.3.3 with the update_4032.php.

System is a debian stable server with Apache 2.2.9, PHP 5.2.6 and Mysql 5.0.51a.

Any ideas how to fix this? Thanks in advance for an reply.

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: [Version 4.0.3.3] remoteCP 4 - TMF only

Post by hal|Sascha » 26 Oct 2009 09:29

Is there a "Failed to load XML file: ..." Warning somewhere?
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
Fisch.666
happy cruiser
happy cruiser
Posts: 136
Joined: 18 May 2006 01:13
Owned TM-games: TMU, TMN, TMUF, TMNF
Location: Germany
Contact:

Re: [Version 4.0.3.3] remoteCP 4 - TMF only

Post by Fisch.666 » 26 Oct 2009 10:46

Arghh, sorry. I had a missing > in my servers.xml, no it works without a problem... :thumbsup:

Post Reply