Jump to content



Photo
* * * * * 6 votes

FastFlips script (bypassing pinmame flipper callback)


  • Please log in to reply
440 replies to this topic

#81 The Loafer

The Loafer

    Pinball Wizard

  • VIP
  • 3,471 posts
  • Location:Embrun, Ontario, Canada

  • Flag: ---------

  • Favorite Pinball: Superman, Firepower & Tron



Posted 02 January 2018 - 10:10 PM

Did you try the debug command from here?
http://www.vpforums....=35#entry395715



Will try this tonight, thanks

#82 Rajo Joey

Rajo Joey

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,489 posts
  • Location:Niedersachsen

  • Flag: Germany

  • Favorite Pinball: Attack from Mars, Abra Ca Dabra and many old EM-Tables

Posted 03 January 2018 - 04:13 AM

Did you try the debug command from here?
http://www.vpforums....=35#entry395715

I will try this also later.

Gesendet von meinem A0001 mit Tapatalk

Rajo Joey - My front-end-files; Hundreds of Audio- and Videorecordings in high quality for Playfield (4k/60FPS) and Backglass (HD), Wheels & POV-Files: The Media-Post

https://www.facebook...02697096474910/

https://www.facebook...oups/VPAddicts/

https://www.facebook...oups/VPjunkies/


#83 Slydog43

Slydog43

    Pinball Wizard

  • Platinum Supporter
  • 3,008 posts
  • Location:Hackettstown, NJ

  • Flag: United States of America

  • Favorite Pinball: Addams Family, All Williams 90's Games

Posted 05 January 2018 - 03:16 AM

I'm thinking this is one of the greatest quick improvements yet!, thanks to all involved, incredible.  Still testing of course, hard work :)



#84 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,131 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 05 January 2018 - 03:37 AM

So if I am seeing this correctly?

All we need to do is change solenoids=2

and make sure VPMINITME is in script?

I tried this on Empire Strikes Back mod and flippers were dead.

 

Do I need to change something in the flipper script?

 

Here is what it looks like...

 

    SolCallback(sLRFlipper) = "SolRFlipper"
    SolCallback(sLLFlipper) = "SolLFlipper"

    Sub SolLFlipper(Enabled)
         If Enabled Then
             PlaySound SoundFx("FlipperUp",DOFContactors):LeftFlipper.RotateToEnd:LeftFlipper1.RotateToEnd
         Else
             PlaySound SoundFx("FlipperDown",DOFContactors):LeftFlipper.RotateToStart:LeftFlipper1.RotateToStart
         End If
      End Sub
      
    Sub SolRFlipper(Enabled)
         If Enabled Then
             PlaySound SoundFx("FlipperUp",DOFContactors):RightFlipper.RotateToEnd:RightFlipper1.RotateToEnd
         Else
             PlaySound SoundFx("FlipperDown",DOFContactors):RightFlipper.RotateToStart:RightFlipper1.RotateToStart
         End If
    End Sub

 

Do I need to add something to the KeyDown and KeyUp subs? There isn't a flipper variable in the Keydown or Up subs.

 

Thanks for this great addition!!

AMAZING!!!


CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#85 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

  • Flag: ---------

  • Favorite Pinball: Pinbot

Posted 05 January 2018 - 03:53 AM

No that's it, the auto solenoid number might be wrong. Might have been a mistake on my part.

 

Try setting usesolenoids = 19



#86 xenonph

xenonph

    I have Pinball Fever!

  • VIP
  • 4,131 posts
  • Location:Castle Rock, WA.

  • Flag: United States of America

  • Favorite Pinball: TRON Classic-Congo-Xenon-PINBOT-BOP-LOTR-A Real American Hero OPERATION PINBALL-Millionaire-Whirlwind-Krull-NFL-BlackKnight-FishTales

Contributor

Posted 05 January 2018 - 03:58 AM

IT'S WORKING!!! 

 

I notice that solenoid 19 says this...

 

SolCallback(19)= "vpmNudge.SolGameOn"

 

On other tables will I need to match this number? or just use solenoids=2 on other tables?

This is soooo great!!!

And you have made it so easy to implement!!

Thank you soooo much!!


Edited by xenonph, 05 January 2018 - 03:59 AM.

CHECK OUT THIS TUTORIAL http://www.vpforums....howtopic=32515
TO USE DB2S BACKGLASS PROGRAM WITH DESKTOP TABLES ON 1 MONITOR
 

#87 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

  • Flag: ---------

  • Favorite Pinball: Pinbot

Posted 05 January 2018 - 04:09 AM

For Hankin it should be 19. The only table I tested was Orbit 1, which is also 19 so I think i must haved mixed it up in my notes. It's the same solenoid as Bally and Bally/Midway games.

 

Most of the time the auto should work. There might be some very rare cases where the solenoid is not consistent across one board system. In that case, you'll have to find the sol number yourself (it may or may not be in the manual).



#88 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 05 January 2018 - 06:58 AM

hankin.vbs has 16 in it.. should i change it to 19 then?

 

any news about the fix for cSingleLFlip?



#89 chokeee

chokeee

    Enthusiast

  • Members
  • PipPipPip
  • 333 posts

  • Flag: Poland

  • Favorite Pinball: High Speed

Posted 06 January 2018 - 07:29 PM

Should it work with Bad Cats, Dr Dude High Speed?

#90 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

  • Flag: ---------

  • Favorite Pinball: Pinbot

Posted 06 January 2018 - 07:48 PM

Yes



#91 chokeee

chokeee

    Enthusiast

  • Members
  • PipPipPip
  • 333 posts

  • Flag: Poland

  • Favorite Pinball: High Speed

Posted 06 January 2018 - 09:15 PM

Hmmm, I changed solenoids to 2 etc. and I got script line 1 error (line 1 is commented).

Edited by chokeee, 06 January 2018 - 09:22 PM.


#92 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

  • Flag: ---------

  • Favorite Pinball: Pinbot

Posted 07 January 2018 - 06:42 AM

Could you try this table script in badcats (1.2)?

https://pastebin.com/yivSyJ1T

 

Let me know which specific line is causing the error



#93 Ben Logan

Ben Logan

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,275 posts
  • Location:California

  • Flag: ---------

  • Favorite Pinball: System 11

Posted 07 January 2018 - 06:48 AM

NFozzzy, thanks for always supporting our community's effort to implement FastFlips. I agree with Slydog that this development is one of the bigger game changers in recent VP history. Makes already super fun tables quite a bit more realistic in terms of feel.

Edited by Ben Logan, 07 January 2018 - 06:49 AM.


#94 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,671 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 07 January 2018 - 07:09 AM

The flippers don't move with Playboy Data East, it should be all right but I will re-check again.



#95 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

  • Flag: ---------

  • Favorite Pinball: Pinbot

Posted 07 January 2018 - 07:23 AM

The VP9 version works for me



#96 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 07 January 2018 - 07:39 AM

hankin.vbs has 16 in it.. should i change it to 19 then?

 

any news about the fix for cSingleLFlip?

 

*ping*  :)



#97 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

  • Flag: ---------

  • Favorite Pinball: Pinbot

Posted 07 January 2018 - 08:04 AM

This wpc.vbs should work

https://pastebin.com/AqpMHcWX


Edited by nFozzy, 07 January 2018 - 08:05 AM.


#98 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 07 January 2018 - 08:26 AM

This wpc.vbs should work

https://pastebin.com/AqpMHcWX

 

Cool, thanks a lot, will include this in the official sourcebase then.. What about the hankin solenoid?



#99 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

  • Flag: ---------

  • Favorite Pinball: Pinbot

Posted 07 January 2018 - 08:33 AM

Just change GameOnSolenoid from 16 to 19, that should be it.



#100 toxie

toxie

    VPF Veteran

  • VP Dev Team
  • PipPipPipPipPipPip
  • 5,734 posts
  • Location:berlin, germany

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 07 January 2018 - 08:36 AM

Cool.. Your script fix had one minor issue (line 102 has cSingleLFlip instead of cSingleRFlip), but apart from that looks good.. Thanks again!!!

Looking forward to the light stuff..  :)

 

EDIT: Oh, and some blocks were missing, so that the 'If cSingleXFlip Or Err Then .Switch(swUXFlip) = False/True' is only executed if 'keyStagedFlipperX = XXXFlipperKey'

EDIT2: And the logic was kinda different on flipper/key release, so i changed that, too

Attached Files

  • Attached File  WPC.txt   8KB   67 downloads

Edited by toxie, 07 January 2018 - 09:26 AM.