[FIXED]menu display problem

The next generation of server controlling with clean and powerful user interface

Moderators: oliverde8, reaby, NADEO

Locked
User avatar
gsxroil
Posts: 62
Joined: 21 May 2011, 19:43

[FIXED]menu display problem

Post by gsxroil »

Bonjour,
je test expansion pour la 1ere fois et j'ai un problème d'affichage du menu qui ce trouve au milieu de l’écran ( Serveur Shootmania )
Comment modifier la position du menu ?

Hello,
I test expansion for the first time and I have a problem displaying the menu that it is in the middle of the screen (Server Shootmania)
How to change the position of the menu?

Image
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: menu display problem

Post by oliverde8 »

Desole, je pensait avoir corriger le problem au pre avant il semblerait que non. en attendant la 0.9.6 tu peux appliquer un patch a la main.

dans le fichier : libraries\ManiaLivePlugins\eXpansion\Gui
ligne 125 tu remplace :

Code: Select all

public $AdminPanel_posY = array('TM' => -44);
par

Code: Select all

public $AdminPanel_posY = array('default' => -44);
et ligne 129

Code: Select all

public $PersonalChatWidget_posY = array('TM' => -56);
par

Code: Select all

public $PersonalChatWidget_posY = array('default' => -56);
Sinon tu peux remplacer tout le contenu par :

Code: Select all

<?php

namespace ManiaLivePlugins\eXpansion\Gui;

/**
 * @author      Oliver de Cramer (oliverde8 at gmail.com)
 * @copyright    GNU GENERAL PUBLIC LICENSE
 *                     Version 3, 29 June 2007
 *
 * PHP version 5.3 and above
 *
 * LICENSE: This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see {http://www.gnu.org/licenses/}.
 */

/**
 * Description of Widgets
 *
 * @author De Cramer Oliver
 */
class Widgets extends \ManiaLib\Utils\Singleton {

    public $DedimaniaPanel_posX = array('default' => -160,
	1 => -161,
	3 => -161,
	4 => -161,
	5 => -161);
    public $DedimaniaPanel_posY = array('default' => 63,
	1 => 63,
	3 => 63,
	4 => 63,
	5 => 63);
    public $DedimaniaPanel_nbFields = array('default' => 20,
	1 => 12,
	3 => 12,
	4 => 12,
	5 => 12);
    public $DedimaniaPanel_nbFirstFields = array('default' => 5,
	1 => 5,
	3 => 5,
	4 => 5,
	5 => 5);
    public $LocalRecordsPanel_posX = array('default' => 120,
	1 => -161,
	3 => -161,
	4 => -161,
	5 => -161);
    public $LocalRecordsPanel_posY = array('default' => 52,
	1 => 9,
	3 => 9,
	4 => 9,
	5 => 9);
    public $LocalRecordsPanel_nbFields = array('default' => 15,
	1 => 12,
	3 => 12,
	4 => 12,
	5 => 12);
    public $LocalRecordsPanel_nbFirstFields = array('default' => 5,
	1 => 3,
	3 => 3,
	4 => 3,
	5 => 3);
    public $LiveRankingsPanel_posX = array('default' => 120,
	1 => 118,
	3 => 118,
	4 => 118,
	5 => 118);
    public $LiveRankingsPanel_posY = array('default' => -13,
	1 => 42,
	3 => 42,
	4 => 42,
	5 => 42);
    public $LiveRankingsPanel_nbFields = array('default' => 8,
	1 => 22,
	3 => 22,
	4 => 22,
	5 => 22);
    public $LiveRankingsPanel_nbFirstFields = array('default' => 3,
	1 => 10,
	3 => 10,
	4 => 10,
	5 => 10);
    
    public $SkipandResButtons_posX = array('TM' => 90,
	'SM'=> -120);
    public $SkipandResButtons_posY = array('TM' => 78,
	'SM'=> 92);
    public $NextMap_posX = array('TM' => 126,
	'SM'=> 67.5);
    public $NextMap_posY = array('TM' => 67,
	'SM'=> 92);
    
    public $CurrentMapWidget_posX = array('default' => 144);
    public $CurrentMapWidget_posY = array('default' => 83.5);

    public $MapRatingsWidget_posX = array('TM' => 128,
	'SM'=> 38);
    public $MapRatingsWidget_posY = array('TM' => 75,
	'SM'=> 90);
    
    public $ManiaExchangePanel_posX = array('default' => -160);
    public $ManiaExchangePanel_posY = array('default' => 81);
    public $ManiaExchangePanel_autoCloseTimeout = array('default' => 0);
    
    public $FaqWidget_posX = array('default' => -161);
    public $FaqWidget_posY = array('TM' => 75, 
	'SM' => -31);
    
    public $DonatePanel_posX = array('default' => -160);
    public $DonatePanel_posY = array('TM' => 69, 
	'SM' => -37);
    public $DonatePanel_autoCloseTimeout = array('default' => 0);
    
    public $AdminPanel_posX = array('default' => -160);
    public $AdminPanel_posY = array('default' => -44);
    public $AdminPanel_autoCloseTimeout = array('default' => 0);
    
    public $PersonalChatWidget_posX = array('default' => -160);
    public $PersonalChatWidget_posY = array('default' => -56);
    public $PersonalChatWidget_autoCloseTimeout = array('default' => 0);

}

?>
Apres ceci, tu doit faire click droite sur l'ecran > Hud > Reset Hud (faut aussi redemarer eXp avant bien sur)
je sait plus si c'est traduit ou pas.

Désole pour le dérangement, SM n'est pas notre priorite pour le moment, ça marche mais il n'y a rien de specifique coder. On veut avoir un system parfait tester sans bug sous TM avant de s'attaquer a SM.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
gsxroil
Posts: 62
Joined: 21 May 2011, 19:43

Re: menu display problem

Post by gsxroil »

ok je comprend pour sm je dois peut etre desactiver certain plugins inutile a shootmania ?

merci pour le code je vais faire ca de suite
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: menu display problem

Post by oliverde8 »

gsxroil wrote:ok je comprend pour sm je dois peut etre desactiver certain plugins inutile a shootmania ?

merci pour le code je vais faire ca de suite
Non c'est la force de eXpansion c'est que justement tu n'as pas besoin de désactiver certain plugin. Il le fait tout seul. Tu peux utiliser une configuration pour tous tes serveur, quel que soit le mode de jeu ou le titre.

Dans la prochaine version il y a une fenetre pour mieux voir quel plugin tourne vraiment et quel plugin ne tourne pas car il ne sont pas compatible avec le mode de jeu/ou titre actuelle. Apres tu peux activer et désactiver les plugin dedans. Normalement ça sera pour ce weekend si tout va bien.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
gsxroil
Posts: 62
Joined: 21 May 2011, 19:43

Re: menu display problem

Post by gsxroil »

Ah c'est vraiment bien tout ca , merci a vous super travail, un nouveau soufle pour manialive :thumbsup:

Par contre tu me dis " tu doit faire click droite sur l'ecran > Hud > Reset Hud" mais le click droit ne fonctionne pas

y a t'il une autre facon de faire pour rafraichir le Hud ?

edit: DSl click droit ne fonctionne pas en spectateur :oops:
Locked

Return to “eXpansion”

Who is online

Users browsing this forum: No registered users and 2 guests