Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

nombre réponses : 25

#0 -1 »  quelle version ubuntu pour asus p7p55d et i7 860 ? » Le 08/05/2023, à 19:43

commentallezvous
Réponses : 1

les dernières versions linux bloquent (ubuntu,mint,debian) , je me suis arrêté à ces 3 distributions.
random crng init done. je presume que mon matos est trop ancien .
ma question est quelle version ubuntu  ma carte mère et cpu puissent supporter ?  2009/2010  ,

avec 10.10 la dernière ligne est start secondary  puis plus rien...même pas de curseur qui clignote indéfiniment comme les distributions précédentes.....

#1 -1 »  .ins sonic cell et motif xs » Le 14/06/2022, à 10:21

commentallezvous
Réponses : 0

bonjour

ou pouvons-nous obtenir les .ins pour sonic cell et motif xs ?

#2 -1 »  equivalent en python ? » Le 07/03/2020, à 19:06

commentallezvous
Réponses : 0

bonjour
quelqu'un saurait trouver l’équivalent en python ,? merci

' *********************************************************************
' **                                                                 **
' **                        FUTURE PINBALL                           **
' **                                                                 **
' **                   Generic Table Script v1.0                     **
' **                                                                 **
' **     (C) 2007 Chris Leathley - BSP Software Design Solutions     **
' **                                                                 **
' ** This script should provide a simple frame work you can use in   **
' ** your own tables as a starting point.                            **
' **                                                                 **
' *********************************************************************

Option Explicit				' Force explicit variable declaration


' Define any Constants 
Const constMaxPlayers 		= 4 		' Maximum number of players per game (between 1 and 4)
Const constBallSaverTime	= 5000	' Time in which a free ball is given if it lost very quickly
												' Set this to 0 if you don't want this feature
Const constMaxMultiplier	= 6		' Defines the maximum bonus multiplier level

' Define Global Variables
'
Dim PlayersPlayingGame		' number of players playing the current game
Dim CurrentPlayer				' current player (1-4) playing the game
Dim BonusPoints(4)			' Bonus Points for the current player
Dim BonusMultiplier(4)		' Bonus Multiplier for the current player
Dim BallsRemaining(4)		' Balls remaining to play (inclusive) for each player
Dim ExtraBallsAwards(4)		' number of EB's out-standing (for each player)

' Define Game Control Variables
Dim LastSwitchHit				' Id of last switch hit
Dim BallsOnPlayfield			' number of balls on playfield (multiball exclusive)
Dim BallsInLock				' number of balls in multi-ball lock

' Define Game Flags
Dim bFreePlay					' Either in Free Play or Handling Credits
Dim bOnTheFirstBall			' First Ball (player one). Used for Adding New Players
Dim bBallInPlungerLane		' is there a ball in the plunger lane
Dim bBallSaverActive			' is the ball saver active 
Dim bMultiBallMode			' multiball mode active ?
Dim bEnteringAHighScore		' player is entering their name into the high score table



' *********************************************************************
' **                                                                 **
' **               Future Pinball Defined Script Events              **
' **                                                                 **
' *********************************************************************


' The Method Is Called Immediately the Game Engine is Ready to 
' Start Processing the Script.
'
Sub FuturePinball_BeginPlay()
	' seed the randomiser (rnd(1) function)
	Randomize

	' initalise the player display reel to the last known player scores 
	Player1Reel.SetValue(nvScore1)
	Player2Reel.SetValue(nvScore2)
	Player3Reel.SetValue(nvScore3)
	Player4Reel.SetValue(nvScore4)

	' We want the player to put in credits (Change this 
	bFreePlay = FALSE

	' kill the last switch hit (this this variable is very usefull for game control)
	set LastSwitchHit = DummyTrigger

	' initialse any other flags
	bOnTheFirstBall = FALSE
	bEnteringAHighScore	= FALSE
	BallsOnPlayfield = 0
	BallsInLock	= 0

	EndOfGame()
End Sub


' This Method is Called when the user has exited the Game Player. It should
' save any RAM variables that need to be persistant.
'
Sub FuturePinball_EndPlay()
End Sub


' The User Has Pressed A Key on the Keyboard..
'
Sub FuturePinball_KeyPressed(ByVal KeyCode)
	'AddDebugText "KeyCode = " & KeyCode
	'AddDebugText "Titled = " & fpTilted
	'
	' Process any keys which are valid at all times
	'

	' The Player has Inserted a Coin
	If (KeyCode = GetKeyCode(InsertCoinKey)) Then
		PlaySound "CoinIn"
		nvCredits = nvCredits + 1
		'AddDebugText "Insert Coin, Credits = " & nvCredits
		' If not Tilted, then give some feed back to the player
		If (fpTilted = FALSE) Then
			' Flash the Slingshot Bulbs. This is rather Common on Pinball machines
			' though you can do anything at this point
			LeftSlingshotBulb1.FlashForMs  200, 100, BulbOff
			LeftSlingshotBulb2.FlashForMs  200, 100, BulbOff
			RightSlingshotBulb1.FlashForMs 200, 100, BulbOff
			RightSlingshotBulb2.FlashForMs 200, 100, BulbOff
			' Maybe play a sound at this point or put something on the display
		End If
	End If

	' The Player is Pulling back the Plunger
	If (KeyCode = GetKeyCode(PlungerKey)) Then
		Plunger.Pull
	End If


	'
	' Process The Next set of keys depeding of wether there is a game in progress or not
	'

	' Is A Game in Progress?
	If (fpGameInPlay = TRUE) Then
		' and not Tilted ?
		If (fpTilted = FALSE) Then

			' If the Left Flipper Key Has Been Press, Activate The Left Flipper(s)
			If (KeyCode = GetKeyCode(LeftFlipperKey)) Then
				LeftFlipper.SolenoidOn
				PlaySound "Flipper"
			End If

			' If the Right Flipper Key Has Been Press, Activate The Right Flipper(s)
			If (KeyCode = GetKeyCode(RightFlipperKey)) Then
				RightFlipper.SolenoidOn
				PlaySound "Flipper"
			End If

			' Another player starting?
			If (KeyCode = GetKeyCode(StartGameKey)) Then
				' must be less than max players and must be on the the very first ball of the game
				If ((PlayersPlayingGame < constMaxPlayers) And (bOnTheFirstBall = TRUE)) Then
					' free play or credits
					If (bFreePlay = TRUE) Then
						' add the extra player
						PlayersPlayingGame = PlayersPlayingGame + 1
						'AddDebugText "Extra Player (Free Play)" & PlayersPlayingGame
						' Update the stats
						nvTotalGamesPlayed = nvTotalGamesPlayed + 1
					Else
						If (nvCredits > 0) then
							PlayersPlayingGame = PlayersPlayingGame + 1
							'AddDebugText "Extra Player (Credits)" & PlayersPlayingGame
							' update the stats
							nvTotalGamesPlayed = nvTotalGamesPlayed + 1
							nvCredits = nvCredits - 1
						Else
							' Not Enough Credits to start a game.  
							' Maybe Play a Sound or put "Insert Coin" on a display
						End If
					End If
				End If
			End If
		End If ' If (fpTilted)

	Else	' If (fpGameInPlay)
		
		' there isn't a game in play (we are in the attract mode)
      ' wait for the start key to be pressed and start a new game
      If (KeyCode = GetKeyCode(StartGameKey)) Then
			' Free Play Mode ?
			If (bFreePlay = TRUE) Then
				' Yep.  Only allow a game to Start if there are no balls on the playfield.
				' This can happen if the player starts a game too quick after finishing the
				' last game and the machine is ejecting any locked balls.
				If (BallsOnPlayfield = 0) Then
					' A Game is now in progress, reset the table for a new Game
					ResetForNewGame()
				End If
			Else
				' paying by credits, do we have any ?
				If (nvCredits > 0) Then
					' Yep.  Only allow a game to start if there are no balls on the playfield
					If (BallsOnPlayfield = 0) Then
						' remove a credit
						nvCredits = nvCredits - 1
						' much the same as above
						ResetForNewGame()
					End If
				Else
					' Not Enough Credits to start a game.  
					' Maybe Play a Sound or put "Insert Coin" on a display
				End If
			End If
		End If

	End If ' If (fpGameInPlay)
End Sub


' The User Has Released A Key on the Keyboard..
'
Sub FuturePinball_KeyReleased(ByVal KeyCode)

	'
	' Process any keys which are valid at all times
	'

	' The Player has released the Plunger, Let it go..
	If (KeyCode = GetKeyCode(PlungerKey)) Then
		Plunger.LetGo
		PlaySound "PlungerRelease"
	End If

	'
	' Process The Next set of keys depeding of wether there is a game in progress or not
	'

	' Is A Game in Progress?
	If (fpGameInPlay = TRUE) Then
		' and not tilted
		If (fpTilted = FALSE) Then

			' The Left Flipper Key has been released, Turn Off the Left Flipper(s)
			If (KeyCode = GetKeyCode(LeftFlipperKey)) Then
				LeftFlipper.SolenoidOff
			End If

			' The Right Flipper Key has been released, Turn Off the Right Flipper(s)
			If (KeyCode = GetKeyCode(RightFlipperKey)) Then
				RightFlipper.SolenoidOff
			End If
		End If
	End If
End Sub


' The User Has Paused The Game.. 
'
Sub FuturePinball_Paused()
End Sub


' The User Has UnPaused (Resumed) The Game.. 
'
Sub FuturePinball_UnPaused()
End Sub


' The Played has Nudged the Table a little too hard/much and a Warning
' must be given to the player
'
Sub FuturePinball_TiltWarning(ByVal Warnings)
	'AddDebugText "Tilt Warning" & Warnings

	' play a sound at this point and put something on a display
End Sub


' The Player has tilted the machine (Too Many Warnings)
'
Sub FuturePinball_Tilted()
	'AddDebugText "**Tilted**"

	' play a sound
	PlaySound "Tilt"

	' ensure that the flippers are down (as the keys won't work from now on)
	LeftFlipper.SolenoidOff
	RightFlipper.SolenoidOff

	' you may wish to turn off any lights at this point. (The Light Sequencer
	' will make this very easy)

	' start the tilt recovery timer which waits until all balls have drained
	' before doing the end of ball sequence (or end of game)
	TiltRecoveryTimer.Interval = 2000
	TiltRecoveryTimer.Enabled	= TRUE
End Sub


' A Music Channel has finished Playing. 
'
' Channel is set to the channel number that has finished.
'
Sub FuturePinball_MusicFinished(ByVal Channel)
End Sub


' High Score entry has been completed by the player. 
'
' Position is set to the position in the high score table (1 - 4)
' if it is set to 0 then there was no new High Score
'
' Special is set to 1 if the Special High Score was beaten
'
Sub FuturePinball_NameEntryComplete(ByVal Position, ByVal Special)
	' has the player beaten a high score
	If (Position <> 0) Then
		' maybe award something (like an extra credit) based on the high score position
	End If

	' has the player beaten the special score (if applicable)
	If (Special <> 0) Then
	End If

	bEnteringAHighScore = FALSE

	' check to see if there are any more players playing to the current game
	EndOfBallComplete()
End Sub



' *********************************************************************
' **                                                                 **
' **                     User Defined Script Events                  **
' **                                                                 **
' *********************************************************************

' Initialise the Table for a new Game
'
Sub ResetForNewGame()
	Dim	i

	'AddDebugText "ResetForNewGame"

	' get Future Pinball to zero out the nvScore (and nvSpecialScore) Variables
	' aswell and ensure the camera is looking in the right direction.
	' this also Sets the fpGameInPlay flag
	BeginGame()

	Player1Reel.ResetToZero
	Player2Reel.ResetToZero
	Player3Reel.ResetToZero
	Player4Reel.ResetToZero

	' increment the total number of games played
   nvTotalGamesPlayed = nvTotalGamesPlayed + 1

	' Start with player 1
	CurrentPlayer = 1

	' Single player (for now, more can be added in later)
	PlayersPlayingGame = 1

	' We are on the First Ball (for Player One)
	bOnTheFirstBall = TRUE

	' initialise all the variables which are used for the duration of the game
	' (do all players incase any new ones start a game)
	For i = 1 To constMaxPlayers
		' Bonus Points for the current player
		BonusPoints(i)	= 0
		' Initial Bonus Multiplier
		BonusMultiplier(i) = 1
		' Balls Per Game
		BallsRemaining(i) = nvBallsPerGame 
		' Number of EB's out-standing
		ExtraBallsAwards(i) = 0
	Next

	' initialise any other flags
	bMultiBallMode = FALSE

	' you may wish to start some music, play a sound, do whatever at this point

	' set up the start delay to handle any Start of Game Attract Sequence
	FirstBallDelayTimer.Interval = 500
	FirstBallDelayTimer.Enabled = TRUE
End Sub


' This Timer is used to delay the start of a game to allow any attract sequence to 
' complete.  When it expires it creates a ball for the player to start playing with
'
Sub FirstBallDelayTimer_Expired()
	' stop the timer
	FirstBallDelayTimer.Enabled = FALSE

	' reset the table for a new ball
	ResetForNewPlayerBall()

	' create a new ball in the shooters lane
	CreateNewBall()
End Sub


' (Re-)Initialise the Table for a new ball (either a new ball after the player has 
' lost one or we have moved onto the next player (if multiple are playing))
'
Sub ResetForNewPlayerBall()
	' make sure the correct display is upto date
	AddScore(0)

	' set the current players bonus multiplier back down to 1X
	SetBonusMultiplier(1)

	' reset any drop targets, lights, game modes etc..
	ShootAgainLight.State = BulbOff
End Sub


' Create a new ball on the Playfield
'
Sub CreateNewBall()
	' create a ball in the plunger lane kicker.
	PlungerKicker.CreateBall

	' There is a (or another) ball on the playfield
	BallsOnPlayfield = BallsOnPlayfield + 1

	' kick it out..
	PlungerKicker.SolenoidPulse
End Sub


' The Player has lost his ball (there are no more balls on the playfield).
' Handle any bonus points awarded
'
Sub EndOfBall()
	Dim BonusDelayTime

	'AddDebugText "EndOfBall"

	' the first ball has been lost. From this point on no new players can join in
	bOnTheFirstBall = FALSE

	' only process any of this if the table is not tilted.  (the tilt recovery 
	' mechanism will handle any extra balls or end of game)
	If (fpTilted = FALSE) Then
		Dim AwardPoints

		' add in any bonus points (multipled by the bunus multiplier)
		AwardPoints = BonusPoints(CurrentPlayer) * BonusMultiplier(CurrentPlayer)
		AddScore(AwardPoints)
		'AddDebugText "Bonus Points = " & AwardPoints

		' you may wish to do some sort of display effects which the bonus is 
		' being added to the players score

		' add a bit of a delay to allow for the bonus points to be added up
		BonusDelayTime = 1000
	Else
		' no bonus, so move to the next state quickly
		BonusDelayTime = 20
	End If

	' start the end of ball timer which allows you to add a delay at this point
	EndOfBallTimer.Interval = BonusDelayTime
	EndOfBallTimer.Enabled = TRUE
End Sub


' The Timer which delays the machine to allow any bonus points to be added up
' has expired.  Check to see if there are any extra balls for this player.
' if not, then check to see if this was the last ball (of the currentplayer)
'
Sub EndOfBallTimer_Expired()
	' disable the timer
	EndOfBallTimer.Enabled = FALSE

	' if were tilted, reset the internal tilted flag (this will also 
	' set fpTiltWarnings back to zero) which is useful if we are changing player LOL
	fpTilted = FALSE

	' has the player won an extra-ball ? (might be multiple outstanding)
	If (ExtraBallsAwards(CurrentPlayer) <> 0) Then

		'AddDebugText "Extra Ball"

		' yep got to give it to them
		ExtraBallsAwards(CurrentPlayer) = ExtraBallsAwards(CurrentPlayer) - 1

		' if no more EB's then turn off any shoot again light
		If (ExtraBallsAwards(CurrentPlayer) = 0) Then
			ShootAgainLight.State = BulbOff
		End If

		' You may wish to do a bit of a song and dance at this point

		' Create a new ball in the shooters lane
		CreateNewBall()

	Else	' no extra balls

		BallsRemaining(CurrentPlayer) = BallsRemaining(CurrentPlayer) - 1

		' was that the last ball ?
		If (BallsRemaining(CurrentPlayer) <= 0) Then

			'AddDebugText "No More Balls, High Score Entry"

			' Submit the currentplayers score to the High Score system built into Future Pinball
			' if they have gotten a high score then it will ask them for their initials.  If not
			' it will call the FuturePinball_NameEntryComplete right away
			bEnteringAHighScore = TRUE
			EnterHighScore(CurrentPlayer)
			' you may wish to play some music at this point

		Else

			' not the last ball (for that player)
			' if multiple players are playing then move onto the next one
			EndOfBallComplete()

		End If
	End If
End Sub


' This function is called when the end of bonus display
' (or high score entry finished) and it either end the game or
' move onto the next player (or the next ball of the same player)
'
Sub EndOfBallComplete()
  Dim NextPlayer

	'AddDebugText "EndOfBall - Complete"

	' are there multiple players playing this game ?
	If (PlayersPlayingGame > 1) Then
		' then move to the next player
		NextPlayer = CurrentPlayer + 1
		' are we going from the last player back to the first
		' (ie say from player 4 back to player 1)
		If (NextPlayer > PlayersPlayingGame) Then
			NextPlayer = 1
		End If
	Else
		NextPlayer = CurrentPlayer
	End If

	'AddDebugText "Next Player = " & NextPlayer

   ' is it the end of the game ? (all balls been lost for all players)
	If ((BallsRemaining(CurrentPlayer) <= 0) And (BallsRemaining(NextPlayer) <= 0)) Then
		' you may wish to do some sort of Point Match free game award here
		' generally only done when not in free play mode

		' set the machine into game over mode
      EndOfGame()

		' you may wish to put a Game Over message on the 

	Else
		' set the next player
		CurrentPlayer = NextPlayer

		' make sure the correct display is upto date
		AddScore(0)

		' reset the playfield for the new player (or new ball)
		ResetForNewPlayerBall()

		' and create a new ball
		CreateNewBall()

	End If
End Sub


' This frunction is called at the End of the Game, it should reset all
' Drop targets, and eject any 'held' balls, start any attract sequences etc..
Sub EndOfGame()
	'AddDebugText "End Of Game"

	' let Future Pinball know that the game has finished.  
	' This also clear the fpGameInPlay flag.
	EndGame()

	' ensure that the flippers are down
	LeftFlipper.SolenoidOff
	RightFlipper.SolenoidOff

	' turn off the reel bulbs
	Player1Reel.State = BulbOff
	Player2Reel.State = BulbOff
	Player3Reel.State = BulbOff
	Player4Reel.State = BulbOff

	' set any lights for the attract mode
	SetAllLightsForAttractMode()

	' you may wish to light any Game Over Light you may have
End Sub


' The tilt recovery timer waits for all the balls to drain before continuing on 
' as per normal
'
Sub TiltRecoveryTimer_Expired()
	' disable the timer
	TiltRecoveryTimer.Enabled	= FALSE
	' if all the balls have been drained then..
	If (BallsOnPlayfield = 0) Then
		' do the normal end of ball thing (this dosn't give a bonus if the table is tilted)
		EndOfBall()
	Else
		' else retry (checks again in another second)
		TiltRecoveryTimer.Interval = 1000
		TiltRecoveryTimer.Enabled = TRUE
	End If
End Sub


' Set any lights for the Attract Mode.
'
Sub SetAllLightsForAttractMode()
	ShootAgainLight.State = BulbBlink
End Sub



' *********************************************************************
' **                                                                 **
' **                   Drain / Plunger Functions                     **
' **                                                                 **
' *********************************************************************

' lost a ball ;-( check to see how many balls are on the playfield.
' if only one then decrement the remaining count and test for End of game
' if more than 1 ball (multi-ball) then kill of the ball but don't create
' a new one
'
Sub Drain_Hit()
	' Destroy the ball
	Drain.DestroyBall
	BallsOnPlayfield = BallsOnPlayfield - 1
	' pretend to knock the ball into the ball storage mech
	PlaySound "Drain"

	' if there is a game in progress and 
	If (fpGameInPlay = TRUE) And (fpTilted = FALSE) Then

		' is the ball saver active,
		If (bBallSaverActive = TRUE) Then

			' yep, create a new ball in the shooters lane
			CreateNewBall()
			' you may wish to put something on a display or play a sound at this point

		Else

			' cancel any multiball if on last ball (ie. lost all other balls)
			'
			If (BallsOnPlayfield = 1) Then
				' and in a multi-ball??
				If (bMultiBallMode = True) then
					' not in multiball mode any more
					bMultiBallMode = False
					' you may wish to change any music over at this point and
					' turn off any multiball specific lights
				End If
			End If

			' was that the last ball on the playfield
			If (BallsOnPlayfield = 0) Then
				' handle the end of ball (change player, high score entry etc..)
				EndOfBall()
			End If

		End If
	End If
End Sub


' A ball is pressing down the trigger in the shooters lane
'
Sub PlungerLaneTrigger_Hit()
	bBallInPlungerLane = TRUE

	' remember last trigger hit by the ball
	set LastSwitchHit = PlungerLaneTrigger
End Sub


' A Ball may of rolled into the Plunger Lane Kicker, if so then kick it 
' back out again
'
Sub PlungerKicker_Hit()
	PlungerKicker.SolenoidPulse
End Sub


' The Ball has rolled out of the Plunger Lane.  Check to see if a ball saver machanisim
' is needed and if so fire it up.
'
Sub PlungerLaneGate_Hit()
	' if there is a need for a ball saver, then start off a timer
	' only start if it is currently not running, else it will reset the time period
	If (constBallSaverTime <> 0) And (bBallSaverActive <> TRUE) Then
		' and only if the last trigger hit was the plunger wire. 
		' (ball in the shooters lane)
		If (LastSwitchHit.Name = "PlungerLaneTrigger") Then
			' set our game flag
			bBallSaverActive = TRUE
			' start the timer
			BallSaverTimer.Enabled = FALSE
			BallSaverTimer.Interval = constBallSaverTime
			BallSaverTimer.Enabled = TRUE
			' if you have a ball saver light you might want to turn it on at this 
			' point (or make it flash)
		End If
	End If
End Sub


' The ball saver timer has expired.  Turn it off and reset the game flag
'
Sub BallSaverTimer_Expired()
	' stop the timer from repeating
	BallSaverTimer.Enabled = FALSE
	' clear the flag
	bBallSaverActive = FALSE
	' if you have a ball saver light then turn it off at this point
End Sub



' *********************************************************************
' **                                                                 **
' **                   Supporting Score Functions                    **
' **                                                                 **
' *********************************************************************

' Add points to the score and update the score board
'
Sub AddScore(points)
	If (fpTilted = FALSE) Then
		' add the points to the current players score variable
		nvScore(CurrentPlayer) = nvScore(CurrentPlayer) + points

		' update the score displays

		Player1Reel.State = BulbOff
		Player2Reel.State = BulbOff
		Player3Reel.State = BulbOff
		Player4Reel.State = BulbOff

		' add the points to the correct display and light the current players display
		Select Case (CurrentPlayer)
			Case 1:	Player1Reel.AddValue(points)
						Player1Reel.State = BulbOn

			Case 2:	Player2Reel.AddValue(points)
						Player2Reel.State = BulbOn

			Case 3:	Player3Reel.AddValue(points)
						Player3Reel.State = BulbOn

			Case 4:	Player4Reel.AddValue(points)
						Player4Reel.State = BulbOn
		End Select
	End if

	' you may wish to check to see if the player has gotten a replay
End Sub


' Add some points to the current Jackpot.
'
Sub AddJackpot(points)
	' Jackpots only generally increment in multiball mode and not tilted
	' but this dosn't have to tbe the case
	If (fpTilted = False) Then

		If (bMultiBallMode = TRUE) Then
			nvJackpot = nvJackpot + points
			' you may wish to limit the jackpot to a upper limit, ie..
			'	If (nvJackpot >= 6000) Then
			'		nvJackpot = 6000
			' 	End if
		End if
	End if
End Sub


' Will increment the Bonus Multiplier to the next level
'
Sub IncrementBonusMultiplier()
	Dim NewBonusLevel

	' if not at the maximum bonus level
	if (BonusMultiplier(CurrentPlayer) < constMaxMultiplier) then
		' then set it the next next one and set the lights
		NewBonusLevel = BonusMultiplier(CurrentPlayer) + 1
		SetBonusMultiplier(NewBonusLevel)
   End if
End Sub


' Set the Bonus Multiplier to the specified level and set any lights accordingly
'
Sub SetBonusMultiplier(Level)
	' Set the multiplier to the specified level
	BonusMultiplier(CurrentPlayer) = Level

	' If the multiplier is 1 then turn off all the bonus lights
	If (BonusMultiplier(CurrentPlayer) = 1) Then
		' insert your own code here
	Else
		' there is a bonus, turn on all the lights upto the current level
		If (BonusMultiplier(CurrentPlayer) >= 2) Then
			' insert your own code here
		End If
		' etc..
	End If
End Sub



' *********************************************************************
' **                                                                 **
' **                     Table Object Script Events                  **
' **                                                                 **
' *********************************************************************

' The Left Slingshot has been Hit, Add Some Points and Flash the Slingshot Lights
'
Sub LeftSlingshotRubber_Hit()
	' add some points
	AddScore(5)
	' flash the lights around the slingshot
	LeftSlingshotBulb1.FlashForMs 100, 50, BulbOff
	LeftSlingshotBulb2.FlashForMs 100, 50, BulbOff
End Sub


' The Right Slingshot has been Hit, Add Some Points and Flash the Slingshot Lights
'
Sub RightSlingshotRubber_Hit()
	' add some points
	AddScore(5)
	' flash the lights around the slingshot
	RightSlingshotBulb1.FlashForMs 100, 50, BulbOff
	RightSlingshotBulb2.FlashForMs 100, 50, BulbOff
End Sub


' The Left InLane trigger has been Hit
'
Sub LeftInLaneTrigger_Hit()
	' add some points
	AddScore(1)
	' remember last trigger hit by the ball
	set LastSwitchHit = LeftInLaneTrigger
End Sub


' The Right InLane trigger has been Hit
'
Sub RightInLaneTrigger_Hit()
	' add some points
	AddScore(1)
	' remember last trigger hit by the ball
	set LastSwitchHit = RightInLaneTrigger
End Sub


' The Left OutLane trigger has been Hit
'
Sub LeftOutLaneTrigger_Hit()
	' add some points
	AddScore(10)
	' remember last trigger hit by the ball
	set LastSwitchHit = LeftOutLaneTrigger
End Sub


' The Right OutLane trigger has been Hit
'
Sub RightOutLaneTrigger_Hit()
	' add some points
	AddScore(10)
	' remember last trigger hit by the ball
	set LastSwitchHit = RightOutLaneTrigger
End Sub

#3 Re : -1 »  Windows 10 : Microsoft est accusé d’espionner ses utilisateurs » Le 07/09/2019, à 15:34

commentallezvous
Réponses : 4

c'est pas nouveau. et dire que des grosses administrations et entreprises  installent cette merde de closed source sur leur système informatique....çà laisse songeur...
autant signer un chèque en blanc....
que les trump ne viennent pas hurler aux loups sur les chinois , car en la matière , ils sont champions du monde.

sinon source wiki :
Principaux outils numériques préconisés par le SILL 2019 (pour Windows)
Fonctionnalité    Logiciel
Gestion des mots de passe    KeePass
Chiffrement de disques    VeraCrypt
Suite bureautique    LibreOffice
Éditeur de texte    Notepad++
Lecture simple de fichiers PDF    Sumatra PDF
Système d'information géographique    QGIS
Publication (PAO)    Scribus
Lecteur multimédia    VLC
Montage vidéo    Avidemux
Enregistrement et édition de sons    Audacity
Dessin (vectoriel)    Inkscape
Dessin (matriciel)    Gimp
Schémas    Draw.io Desktop [archive]
Courrielleur    Thunderbird
Client de messagerie    K9 Mail
Client de messagerie instantanée    Jitsi
Client FTP    Filezilla
Navigateur web    Firefox ESR
Bloqueur des publicités et des pisteurs    uBlock Origin
Moteur de recherche    Qwant
Grapheur d'idées    Freeplane
Gestion de projet    ProjectLibre
Compression    7-zip
Capture d'écran    Greenshot
Défragmentation    Ultradefrag
Création de DVD vidéo avec un menu de navigation    DVDStyler

#4 -1 »  addon python blender » Le 08/03/2019, à 17:42

commentallezvous
Réponses : 2

bonjour

j'aimerai installer un vieil  addon wip (import/export de tables future pinball) ,  crée pour blender 2.68.
or il n'est plus disponible en version installable.
Seulement les codes sources en python.
comment compiler ou rendre installable ce script pour blender.


source script python addonr blender


infos supplementaires

#5 Re : -1 »  addon python blender » Le 10/03/2019, à 01:04

commentallezvous
Réponses : 2

un grand remerciement smile

çà marche nickel avec le 2.79b
et encore merci

#6 -1 »  dns 1.1.1.1 vous en pensez quoi ? » Le 20/08/2018, à 21:11

commentallezvous
Réponses : 30

bonjour

depuis quelque temps cloudflare annonce , un dns 1.1.1.1  extrêmement rapide et respectueux de la vie privée.
vous en pensez quoi ?
Les échanges DNS sont signés via le protocole DNSSEC , c'est un gage de qualité ?

dns 1111

#7 Re : -1 »  dns 1.1.1.1 vous en pensez quoi ? » Le 20/08/2018, à 21:23

commentallezvous
Réponses : 30

ils s"engagent pourtant je cite  " La vie privée en premier: promis
Nous ne vendrons jamais vos données, elles ne seront pas utilisées pour des publicités ciblées. Point.
Nous n'enregistrerons jamais votre adresse IP (de la façon dont les autres sociétés vous identifient). Et nous ne disons pas cela à la légère. Nous avons retenu KPMG pour vérifier nos systèmes chaque année et s’assurer que nous tenons nos promesses.

Nous ne voulons pas savoir ce que vous faites sur Internet, ce ne sont pas nos affaires, et nous avons pris les mesures techniques nécessaires pour nous assurer que nous ne le pouvons pas."
l'europe , en particuliers la france est-elle plus vertueuse que les autres pays ?

#8 Re : -1 »  dns 1.1.1.1 vous en pensez quoi ? » Le 25/08/2018, à 21:02

commentallezvous
Réponses : 30

bon ok et merci pour les réponses.
vais donc créer mon propre dns , en espérant que ce ne soit pas trop pointu , je ne l'ai jamais fait.....

petite question , il faut obligatoirement installer ubuntu server , pour bind9 ( selon les ragots, c'est le plus utilisé)

#9 -1 »  micro code disques durs » Le 04/01/2019, à 16:43

commentallezvous
Réponses : 5

est-il vrai que depuis le 11 septembre , la haute administration américaine a demandé aux constructeurs de disques durs d'implanter des micro code , permettant "d’infiltrer n'importe quel ordinateur ?
techniquement parlant , d'un bios peut -on hacker un pc quelque soit son os ?

#10 Re : -1 »  micro code disques durs » Le 04/01/2019, à 22:35

commentallezvous
Réponses : 5

oui , la question était orientée backdoor "materiel" , et la réponse de Pending n'est pas rassurante.....
comment les sté (thales, Dassault....) peuvent-ils alors s'en prémunir , puisqu'il ne fabrique ni carte mère, ni disques durs.....et ne savent donc pas se qu'il y a à l’intérieur, à moins qu'il y ait des fabricants français, voire européens digne de confiance , car la plupart du matériel informatique vient d'Asie......

#11 -1 »  amazon pour moi c'est terminé » Le 02/11/2018, à 11:33

commentallezvous
Réponses : 17

faudrait qu'il m'explique comment cette plate forme fonctionne , car pour un article en stock les délais de livraison sont inimaginables !!!!!!!
delai amazon

#12 Re : -1 »  amazon pour moi c'est terminé » Le 02/11/2018, à 12:02

commentallezvous
Réponses : 17
diesel83140 a écrit :

Tu as le lien sur l'article sur la plateforme Amazon ?

Amicalement.

Jean-Marie

c'est celui-ci. il est precisé pourtant amazon choice !!!!!!!
2wRnx.png

de plus entre plate-forme informatique , les délais aussi sont  inimaginables , car entre la communication du n° de suivi et l'apparition de son traitement du transporteur ,  parfois 4/5 jours !!!!!! c'est super long pour un système informatique.

#13 Re : -1 »  amazon pour moi c'est terminé » Le 02/11/2018, à 12:22

commentallezvous
Réponses : 17

la panasonic est japonaise , et je crois encore à la qualité japonaise ; car tout mes appareils électroniques audio vidéo et musicaux (yamaha,canon,sony ..) et mes motos sont japonaises (suzuki,honda) et je n'ai eu aucun soucis depuis leurs achats , et qui datent...
pour l'electro-ménager jamais testé des appareils japonais , pas trop importés en Europe ???!!......

maintenant en 2018 , est-elle usurpée ? je n'ose y croire ; à moins que le comportement japonais ait changé  en 30 /40 ans.

leur acier avec les suédois était de toute première qualité aussi (les ciseaux japonais en coiffure sont reconnus étant les meilleurs ), du moins avant ; de nos jours je ne sais pas.....

#14 Re : -1 »  amazon pour moi c'est terminé » Le 02/11/2018, à 14:33

commentallezvous
Réponses : 17

à mon époque la référence en tondeuse était les Aesculap , moteur électrique surpuissant  indestructible (beaucoup plus chère que la Panasonic), mais elles étaient filaires , de nos jours la tendance est plutôt sur batterie.

les Aesculap sont maintenant plutôt orientées vers la tonde d'animaux (chien,chat,mouton)
mais par leur puissance de coupe peuvent être utilisées pour les  chevelures épaisses comme celle des asiatiques ou africaines

#15 Re : -1 »  amazon pour moi c'est terminé » Le 02/11/2018, à 15:03

commentallezvous
Réponses : 17

à l'instant ma situation c'est débloquée smile; pour en revenir au post initial , mon article a été expédié depuis Israël !!!!!! c'est pas du tout mentionné  sur le site Amazon . en sachant que çà provienne de si "loin" , j'aurai certainement revu mon achat , une chance pour moi que ce ne soit pas la chine.
il parlait de délais de livraison 3/4 jours.....:/
j'aime les transactions carrées et Amazon par leur mise en page bordélique et leur manque de transparence, donne l'impression d’enfumer le consommateur.
il ferait mieux de s'inspirer par exemple de Thomann un megastore spécialisé dans les instruments de musique...
lorsqu'on est sur un achat , il faut dégager tout les éléments parasitaires de la page....

#16 Re : -1 »  amazon pour moi c'est terminé » Le 03/11/2018, à 14:24

commentallezvous
Réponses : 17

market place , amazon premium...merci à vous tous ,j'ai pu ainsi consolider ma culture e-commerce , qui était proche de zéro .
amazon devrait quand même faire un petit effort car il engage leur nom tout de même , il est bien inscrit amazon en haut de leur site , même s'il ne vendent rien à proprement parlé . une réputation ça retombe beaucoup plus vite que çà ne monte....
ps ; je l"ai reçu ce matin même !!!!!

trop fort amazon , ils savent même quand tu n'es pas content...)))

#17 Re : -1 »  amazon pour moi c'est terminé » Le 04/11/2018, à 12:38

commentallezvous
Réponses : 17
alex2423 a écrit :
commentallezvous a écrit :

trop fort amazon , ils savent même quand tu n'es pas content...)))

c'est à dire ?

c'est une boutade , car très peu de temps après la diffusion de mon post , je recevais mon colis....çà doit être évidemment une simple coïncidence....

#18 Re : -1 »  amazon pour moi c'est terminé » Le 04/11/2018, à 12:49

commentallezvous
Réponses : 17
alex2423 a écrit :
commentallezvous a écrit :

amazon devrait quand même faire un petit effort car il engage leur nom tout de même , il est bien inscrit amazon en haut de leur site , même s'il ne vendent rien à proprement parlé . une réputation ça retombe beaucoup plus vite que çà ne monte....
ps ; je l"ai reçu ce matin même !!!!!

Quand tu fais partie du cercle fermé des GAFAM, tu t'en fou un peu si cela te donne une mauvaise réputation, il y a tellement d'inertie que tu restes toujours archi dominant.

Sur les sites internet, les forums, quel est proportion des liens donnée entre Amazon, la Fnac, Darty, ... Tu ne vois quasiment que du Amazon, n'est ce pas ?
Ils ont tellement capté les parts de marché que sont quasi les seuls à pouvoir profiter des services de livraison efficaces et peu chère, voir même gratuit à une époque sur les livres (donc à perte) !

Amazon va s'étendre comme Google (Android TV sur les box Bouygues, GPS sur les voitures avec Android Auto, les voitures autonomes dans quelques années... ) en proposant dans quelques années toutes sortes de produit frais avec une livraison en 2 heures dans les grandes villes. Après s'être attaqué à la Fnac, Darty, ils vont bientot marcher sur plates bandes des super marché des villes. ...  Je ne suis pas sur qu'il y ait un jour une société aussi solide pour rivaliser en terme de service ...

Bref tu comprendras que sa réputation à petite échelle, je pense que Amazon s'en tape royale ...

a se demander pourquoi les européens  , n'ont pas su ou voulu imposer leur propre système informatique et subir l’hégémonie  .  américaine

#19 -1 »  ip dynamique » Le 16/10/2018, à 13:00

commentallezvous
Réponses : 7

bonjour

pouvons-nous exiger d'avoir une ip dynamique au lieu d' une ip statique à notre fai , que dit la loi à ce sujet ?

#20 Re : -1 »  ip dynamique » Le 17/10/2018, à 17:02

commentallezvous
Réponses : 7

pierrecastor Mais pourquoi vouloir une IP dynamique ?

j'ai un access denied ,sur le site eurosport et ups !!!!!??????

style par exemple ;

Access Denied
You don't have permission to access "http://www.ups.com/WebTracking/track?" on this server.
Reference #18.39281102.1539788877.58bc68e9


Access Denied
You don't have permission to access "http://www.eurosport.fr/" on this server.
Reference #18.3e6cd417.1539857025.ce9c5e4


?????????

#21 Re : -1 »  Le compteur Linky : vous y croyez à cette écoute par le réseau CPL ? » Le 25/04/2018, à 11:35

commentallezvous
Réponses : 28

@abakkk ,pierrecastor

bien sur )))  chaque ip est tracées , chaque recherches est archivées , mais vous c'est vrai vous n'avez pas de pc, ni de smartphone, ni de cb, ni de maison, ni de famille, ni de pays, ni de fai, ni de carte grises , car oui même les plaques d'immatriculations sont tracées, et bientôt des soft pourront reconnaître le faciès dans les lieux public , mais vous , évidemment vous sortez cagoulés...alors votre petit linky c'est du pipi de chat ....les seuls qui ont intérêts à divulguer ces fausses info , sont éventuellement les agents d'enedis car une fois tous installés , la direction n'aura plus besoin de leur service . 2000 suppressions d'emploi sont prévus , départs à la retraite non remplacés

#22 -1 »  password securisé ? » Le 21/08/2018, à 18:55

commentallezvous
Réponses : 3

bonjour

un problème me tracasse , les sites réclament la création de mots de passe , sont ils réellement chiffres , sécurisé ou autres.....
car lorsqu'on crée son mdp qui ne respecte pas les règles préalablement établi  (caractère alphanumérique , signes spéciaux,nombres de caractère....) , un message apparaît pour nous corriger !!!!!! comment peuvent-ils le savoir s'il est réellement sécurisé ??!!!

#23 Re : -1 »  password securisé ? » Le 21/08/2018, à 19:27

commentallezvous
Réponses : 3
Brunod a écrit :

Il existe des modules de test avant hashage du mdp pour stockage... quand c'est bien fait.
Mais rien ne garantit que le mdp n'est pas stocké en clair.

merci pour la réponse.
peux tu m'en citer stp ?

#24 -1 »  code malicieux dans audio et video ? » Le 24/04/2018, à 23:29

commentallezvous
Réponses : 1

je me demande s'il existe la présence de code malicieux (sorte de drm, mouchard..) dans les musiques ou vidéo ?  de telle sorte que les serveurs hébergeurs sachent reconnaître les oeuvres protégées par copyright. tout en étant transparent pour l'auditeur .
car si on utilise par exemple une musique protégées copyright et que nous la renommons pour essayer de déjouer youtube (par exemple) et bien il la reconnaisse tout de même !!!!!!