ManiaLive r209

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLive r209

Post by Knutselmaaster »

:(

Code: Select all

PHP Fatal error:  Call to a member function hide() on a non-object in /home/tmservers/servers/fun/ManiaLive209/libraries/ManiaLive/Gui/Windowing/WindowHandler.php on line 516
alividerchi
Posts: 12
Joined: 18 Feb 2011, 09:07

Re: ManiaLive r209

Post by alividerchi »

now my server works nomalno I can now join with the free account login way with which I bought freezone kolt75 to login fullspeeds-pro and even I have a question where I have to pay for the server that is the weekly fee thaks all :D
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLive r209

Post by Knutselmaaster »

See, it takes some time from the first startup for the freezone to work ;)

The weekly fee is automatically deducted from the coppers on the account that activated the freezone server on the manialink.
So, be carefull that enough coppers are on there, if there is not enough to make the payment happen, freezone will automatically be disabled for a week (if there are enough coppers after that)
alividerchi
Posts: 12
Joined: 18 Feb 2011, 09:07

Re: ManiaLive r209

Post by alividerchi »

thanks for the info Knutselmaaster
jouko200
Posts: 54
Joined: 04 Mar 2011, 15:05

Re: ManiaLive r209

Post by jouko200 »

i made new installation and got this error


http://img685.imageshack.us/i/unledig.png/


in rest folder is config.php but not examle config.ini (should there be config.ini)

or does it have someting to do with json extension i dont find it anywhere in php 5.36 :roll:
Last edited by jouko200 on 13 Apr 2011, 15:37, edited 1 time in total.
schmidi
Posts: 8
Joined: 16 Mar 2011, 21:05

Re: ManiaLive r209

Post by schmidi »

typo in libraries\ManiaLive\DedicatedApi\Connection.php
line 2211:

Code: Select all

$modList[] = $mods->toArray();
should be

Code: Select all

$modList[] = $mod->toArray();
User avatar
4lturbo
Posts: 106
Joined: 13 Jan 2011, 18:26

Re: ManiaLive r209

Post by 4lturbo »

i found a bug in the check for the valid number of check for a challenge (in Storage.php onPlayerFinish()). If you are in round mod, with RoundsForcedLaps at a differente value than the nbLap in the challenge (ex challenge validate with 3 laps, and play in round mod with roundsForcedLaps different to 3), the check return in the log "Best time's checkpoint count does not match and was ignored!"

Code: Select all

if ($this->currentChallenge->nbLaps > 0)
{
  $totalChecks = $this->currentChallenge->nbCheckpoints * $this->currentChallenge->nbLaps;
}
else
{
  $totalChecks = $this->currentChallenge->nbCheckpoints;
}
replace by

Code: Select all

if ($this->currentChallenge->nbLaps > 0)
{
  $lap = ($this->gameInfos->roundsForcedLaps)? $this->gameInfos->roundsForcedLaps : $this->currentChallenge->nbLaps;
  $totalChecks = $this->currentChallenge->nbCheckpoints * $lap;
}
else
{
  $totalChecks = $this->currentChallenge->nbCheckpoints;
}
CT*ImHoTep
ModLap Championship
Image
Le jour où l'on mettra les cons sur orbite, y en a qui n'ont pas fini de tourner ...
User avatar
4lturbo
Posts: 106
Joined: 13 Jan 2011, 18:26

Re: ManiaLive r209

Post by 4lturbo »

Hi
I have trouble to use $this->connection->addGuest() for a player who isn't in the server, because addguest have as argument a Player structure which is empty because the player isn't in the server ...
For the other problem (see the post above) no one have solutions ? or you don't understand it ?
------------------------------------------------------------------------------------
Bonjour,
J'ai un probleme pour utiliser la fonction $this->connection->addGuest(), pour un joueur qui n'est pas sur le serveur, vu que cette fonction a comme argument un membre de la structure Player, qui n'existe que si le joueur est sur le serveur ...
Pour l'autre probleme (voir post au dessus) personne n'a de solution ? ou bien vous n'avez pas compris ?
CT*ImHoTep
ModLap Championship
Image
Le jour où l'on mettra les cons sur orbite, y en a qui n'ont pas fini de tourner ...
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: ManiaLive r209

Post by farfa »

I've changed the method algorithm to allowed you to add a guest.
To add a guest, you just have to create a Player object, and to set the login in this structure then call the method.

To get this modification just get the Connection class on manialive website
Also known as: satanasdiabolo
User avatar
4lturbo
Posts: 106
Joined: 13 Jan 2011, 18:26

Re: ManiaLive r209

Post by 4lturbo »

nice
CT*ImHoTep
ModLap Championship
Image
Le jour où l'on mettra les cons sur orbite, y en a qui n'ont pas fini de tourner ...
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 0 guests