[OLD - SM Beta 0.4.1] FoxControl Download

Moderators: Libero, cyrilw, matrix142, jensoo7, NADEO

Locked
User avatar
matrix142
Posts: 382
Joined: 18 Mar 2011, 18:12
Contact:

[OLD - SM Beta 0.4.1] FoxControl Download

Post by matrix142 »

Here is the ShootMania Beta 0.4.1 with some fixes.
It also includes the new GameMode Scripts which are needed for the newest Dedicated Server version.

If someone wonders: Our Website is currently down because of troubles with the hoster.

Changelog:
- Bug fix: Mysql Timeout
- Updated Scripts
- New Menu structure
- Added Player Country into Database and Playerlist
- Donate and Music Plugin are now working
DOWNLOAD!
User avatar
Jojo_44
Posts: 500
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: [SM Beta 0.4.1] FoxControl Download

Post by Jojo_44 »

PHP Notice: Undefined offset: 1 in /home/shootmaniatrain/latesttrain/FoxControl/include/class.widget.php on line 511
PHP Notice: Undefined offset: 2 in /home/shootmaniatrain/latesttrain/FoxControl/include/class.widget.php on line 511
[28.09.12 19:43:33] MatchSettings saved to MatchSettings/servermaps.txt
[28.09.12 19:43:33] New map: $fffElite$z$o - $ff5Paladin
PHP Fatal error: Cannot use string offset as an array in /home/shootmaniatrain/latesttrain/FoxControl/plugins/plugin.currentmap.php on line 27
After map change I got this ^^

best regards, Jojo
Image
my english sounds very unfriendly but it isn´t ;)
User avatar
matrix142
Posts: 382
Joined: 18 Mar 2011, 18:12
Contact:

Re: [SM Beta 0.4.1] FoxControl Download

Post by matrix142 »

Oh damn :D But I wonder why I did not get this on my server. The bug is really offensive^^

Replace the whole function with this:

Code: Select all

	public function onBeginMap($args) {
		global $settings;

		$color_newchallenge = str_replace('$', '', $settings['Color_NewChallenge']);
		
		$this->instance()->client->query('GetCurrentMapInfo');
		$currentMap = $this->instance()->client->getResponse();
		
		$this->chat('New map: $fff'.$currentMap['Name'].'$z$s $'.$color_newchallenge.'by $fff'.$currentMap['Author'], $color_newchallenge);
		
		console('New map: '.$currentMap['Name']);
		
		$this->displayMap();
	}
Locked

Return to “FoxControl”

Who is online

Users browsing this forum: No registered users and 1 guest