Page 2 of 2

Re: ManiaLive r214

Posted: 10 May 2011, 23:57
by tmdunhill
running OK!
;) ;) :mrgreen:

Re: ManiaLive r214

Posted: 19 May 2011, 19:33
by oliverde8
Hi I have a problem while using the storage.

when I call my function onBeginChallange

Code: Select all

public function getNbOfLaps() {
		switch ($this->storage->gameInfos->gameMode) {
			case 0:
			case 2:
			case 5:
				return $this->storage->gameInfos->roundsForcedLaps;
				break;

			case 3:
				return $this->storage->gameInfos->lapsNbLaps;
				break;
			
			default:
				return 1;
		}
	}
It sends me the number of laps of the last challenge not the current challenge.

But if you wait a little the value is updated to the correct one. If I close threading everything is fine :)

I solved my problem by using onBeginRace but it doesn't do exactly what I would like. What should I do?

Re: ManiaLive r214

Posted: 20 May 2011, 07:36
by farfa
I've fixed this, the value should be correct now.

Re: ManiaLive r214

Posted: 20 May 2011, 10:11
by oliverde8
Thanks

Re: ManiaLive r214

Posted: 12 Jul 2011, 02:16
by tmdunhill
Hello,

Good Night! Manialive the new package, a new plugin called "Bill", the function it serves?

Thank you.

Dunhill

Re: ManiaLive r214

Posted: 12 Jul 2011, 10:25
by Knutselmaaster
Donations and payments with coppers.

Re: ManiaLive r214

Posted: 12 Jul 2011, 13:08
by tmdunhill
Thanks for the feedback!

Greetings.

Dunhill