Jump to content



Photo
- - - - -

Custom Table B2S - score display

b2s custom b2s custom table b2s b2s score custom table dmd

  • Please log in to reply
20 replies to this topic

#1 ganjafarmer

ganjafarmer

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts
  • Location:Poland

  • Flag: Poland

  • Favorite Pinball: Attack from Mars

Posted 04 March 2017 - 01:27 AM

Hello guys, i'm working on my first table.

Here is what it looks so far, after 3 days of work:

It will be CS:GO Operation Pinball :D I'll start new topic for this table soon but now i have simple (i hope for you guys it's simple) question.

 

demo_csgofafa.jpg

 

----------------------------------------------------------------------

 

I have Dim Score and Text field to show score on playfield(temporarily) and i've created B2S backglass with static background image and added some code to run B2S controller with the table.

 

Now:

 

-What objects i need to add to show Dim Score value on B2s backglass?

-What objects do i put on table and what objects on backglass?

-Then how to send score (Dim value) to B2S backglass?

-Maybe there is some good easy example tables?

 

----------------------------------------------------------------------

 

I'm using VP 9.9.3 and Backglass Designer 1.2

 

Thanks for replies.

 

Have a nice day.


One day i'll build Vitalik statue out of used AMD gpu's.


#2 FreeLunch

FreeLunch

    Enthusiast

  • Members
  • PipPipPip
  • 106 posts
  • Location:California, US

  • Flag: United States of America

  • Favorite Pinball: Timeshock!

Posted 04 March 2017 - 01:47 AM

Did you read the B2SBackglass Designer help file (.chm)? I'm not super familiar with using it myself, but the help file looks pretty thorough. You could also use UltraDMD for scoring (like America's Most Haunted). And you can look at examples of scripts using B2S like BorgDog's EMs.

If you're still looking for help, hopefully someone more informed will reply.

Also, good luck developing your original!


Edited by FreeLunch, 04 March 2017 - 01:48 AM.


#3 ganjafarmer

ganjafarmer

    Enthusiast

  • Members
  • PipPipPip
  • 278 posts
  • Location:Poland

  • Flag: Poland

  • Favorite Pinball: Attack from Mars

Posted 04 March 2017 - 02:57 AM

Man, thank you.

 

I was searching forums and the answer was on my hdd :D I've never checked this file, answer was there man.

 

After few minutes i got score on backglass, now i can sleep well :D

 

I guess that kind of backglass can support only digits? There is no way to provide high score initials? I don't care about DMD animantions but high score initials memory is a must. Guess i'll need UltraDMD?

 

Need to dig deeper :D

 

 

Thanks and take care :)


One day i'll build Vitalik statue out of used AMD gpu's.


#4 BorgDog

BorgDog

    We come in peace.. shoot to kill.. shoot to kill.

  • Members
  • PipPipPipPip
  • 1,427 posts
  • Location:Leavenworth, WA

  • Flag: United States of America

  • Favorite Pinball: Alien Star, TNA



Posted 04 March 2017 - 03:52 AM

It can be done to have high score initials on the b2s, there was a recent thread over on the forum not to be named where I started a topic about alpha numeric displays in the b2s. Somewhat in documented but it does work.

Sent from my Nexus 6 using Tapatalk
That would be un-documented.

#5 BorgDog

BorgDog

    We come in peace.. shoot to kill.. shoot to kill.

  • Members
  • PipPipPipPip
  • 1,427 posts
  • Location:Leavenworth, WA

  • Flag: United States of America

  • Favorite Pinball: Alien Star, TNA



Posted 04 March 2017 - 02:55 PM

some more details.. what I managed was a combination of jpsalas' scarface table HERE scripting for how alpha-numeric scritping is done, the alpha-numeric display tutorial HERE for putting an display on the backdrop and the hi-score sticky code I borrowed from mfuegemann's Fast Draw table HERE  fyi - the wip I have this on is not ready for prime time so is not released anywhere.

 

Now if you want dmd type display, then I believe ultradmd would be the way to go.



#6 malform11

malform11

    Enthusiast

  • Members
  • PipPipPip
  • 104 posts
  • Location:dallas texas

  • Flag: United States of America

  • Favorite Pinball: TALES OF THE ARABIAN NIGHTS

Posted 04 March 2017 - 11:52 PM

The top three threads here are about the DMD displays. This is an important issue.

 

I haven't had luck opening the B2backglass stuff yet. Maybe this is the DMD solution?

I will try to get that stuff running before I ask too many questions...



#7 anthias

anthias

    Pinball Fan

  • VIP
  • 800 posts

  • Flag: Australia

  • Favorite Pinball: Lizards In The City



Posted 20 January 2024 - 11:56 AM

Is this documentation still in existence? I've redownloaded  the b2s designer three times from three different locations, and I get nothing but a blank help file and can find nothing anywhere to tell me how I script directb2s stuff into original tables. It's  simply not documented anywhere that I can find at all. What's going on here? Surely I didn't just get a corrupted download three times? If anybody can point me at the actual documentation, that would be great. 

 

Searching on the various forums yields nothing more than "look in the help file." That helpfile is blank. Nothing but headings and no content. 


screnstoaug21small.gif

#8 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 20 January 2024 - 09:25 PM

Is this documentation still in existence? I've redownloaded  the b2s designer three times from three different locations, and I get nothing but a blank help file and can find nothing anywhere to tell me how I script directb2s stuff into original tables. It's  simply not documented anywhere that I can find at all. What's going on here? Surely I didn't just get a corrupted download three times? If anybody can point me at the actual documentation, that would be great. 

 

Searching on the various forums yields nothing more than "look in the help file." That helpfile is blank. Nothing but headings and no content. 

 

The chm help file will not tell you that anyways

it only tells you how to use b2s Designer

 

https://drive.google...?usp=drive_link

Here is a word Doc for that.

 

As far as having VPX talk to the backglass

simple commands basically

 

Download the table Schuss Schuss (Rally 1968) - VPForums.org

 

It is not a complicated table, so should be easy to understand

 

Look at the controller.B2SSet commands in the script

 

The helpfile is blank to you because

Unblock.png

 

unblock the file


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#9 anthias

anthias

    Pinball Fan

  • VIP
  • 800 posts

  • Flag: Australia

  • Favorite Pinball: Lizards In The City



Posted 21 January 2024 - 12:36 AM

Thanks! That should get me out of trouble.
screnstoaug21small.gif

#10 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 21 January 2024 - 12:38 AM

Thanks! That should get me out of trouble.

 

On the contrary

You have only just entered the rabbit hole.


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#11 Itchigo

Itchigo

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,763 posts
  • Location:Chicago, Illinois

  • Flag: United States of America

  • Favorite Pinball: All




  • Trophies:

Posted 21 January 2024 - 01:04 AM

Here's my copy and paste cheat sheet.

 Dim Controller
 LoadController
 Sub LoadController()
 Set Controller = CreateObject("B2S.Server")
 Controller.B2SName = "Distant_World"  ' *****!!!!This must match the name of your directb2s file!!!!
 Controller.Run()
 End Sub

     Controller.B2SSetScore(Value)

     Controller.B2SSetScore 1, Score
     Controller.B2SSetScore 2, Score
     Controller.B2SSetScore 3, Score
     Controller.B2SSetScore 4, Score

     Controller.B2SSetScorePlayer1 1, (Value)
     Controller.B2SSetScorePlayer2
     Controller.B2SSetScorePlayer3
     Controller.B2SSetScorePlayer4

     Controller.B2SSetCredits Credits
     Controller.B2SSetscore 6, Credits

     Controller.B2SSetScore 1,(Playerscore(0))
     Controller.B2SSetScore 2,(Playerscore(1))
     Controller.B2SSetScore 3,(Playerscore(2))
     Controller.B2SSetScore 4,(Playerscore(3))

     Controller.B2SSetScoreRollover 25, 1

     Controller.B2SSetScoreRolloverPlayer1 ,1
     Controller.B2SSetScoreRolloverPlayer2
     Controller.B2SSetScoreRolloverPlayer3
     Controller.B2SSetScoreRolloverPlayer4

     Controller.B2SSetPlayerUp 30,Player

     Controller.B2SSetCanPlay 31, Players

     Controller.B2SSetBallInPlay 32, Ball

     Controller.B2SSetTilt 33,0

     Controller.B2SSetMatch 34,1

     Controller.B2SSetGameOver 35,1

     Controller.B2SSetShootAgain 36, 1
       
     Controller.B2SStartAnimation "Name"

     Controller.B2SStopAnimation "Name"

     Controller.B2SStopAllAnimations


Founder of Rogue Pinball! https://roguepinball.com/index.php                 Making Pinball great again!!

 

partylikeits1776-.jpg


#12 wiesshund

wiesshund

    VPF Legend

  • Members
  • PipPipPipPipPipPipPip
  • 11,859 posts

  • Flag: United States of America

  • Favorite Pinball: How many can i have?

Posted 21 January 2024 - 02:17 AM

One thing missing is B2SSetData

i think you use that to poke various backglass  unnamed lamps on and off?

or unnamed LED arrays / Reels ?


If you feel the need to empty your wallet in my direction, i don't have any way to receive it anyways

Spend it on Hookers and Blow


#13 anthias

anthias

    Pinball Fan

  • VIP
  • 800 posts

  • Flag: Australia

  • Favorite Pinball: Lizards In The City



Posted 21 January 2024 - 02:18 AM

Just wondering, does this work the same way with vp9?
screnstoaug21small.gif

#14 anthias

anthias

    Pinball Fan

  • VIP
  • 800 posts

  • Flag: Australia

  • Favorite Pinball: Lizards In The City



Posted 21 January 2024 - 10:50 AM

 

Thanks! That should get me out of trouble.

 

On the contrary

You have only just entered the rabbit hole.

 

 

Damn rabbits. I'll be hopping mad by the time I get this thing to actually work. Perhaps I should have stayed in the kiddie pool with that other pinball building software... My brain understood it and it works. I couldn't drown in that setup. The water was nowhere near as deep.

 

Still, b2s now works on OTHER tables. Just not mine, so that's progress.


screnstoaug21small.gif

#15 Itchigo

Itchigo

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,763 posts
  • Location:Chicago, Illinois

  • Flag: United States of America

  • Favorite Pinball: All




  • Trophies:

Posted 21 January 2024 - 02:11 PM

Just wondering, does this work the same way with vp9?

Yes, vp9 or vpx are the same commands.

 

     Controller.B2SSetdata ID,1

 

This is when you make your own illumination frame and give it an ID. I use it for early EM's. My method is this:

Millions are ID's 70-79

Hundred Thousands are ID's 61-69

Ten thousands are ID'S 51-59

 

Then I copy and paste my sub and just call the sub. This is how I did all of PBecker's tables.

 

 Sub Showscore()
 Select Case SReelHuns  'Millions

       Case 0:           
          Controller.B2SSetData 71, 0
          Controller.B2SSetData 72, 0
          Controller.B2SSetData 73, 0
          Controller.B2SSetData 74, 0
          Controller.B2SSetData 75, 0
          Controller.B2SSetData 76, 0
          Controller.B2SSetData 77, 0
          Controller.B2SSetData 78, 0
          Controller.B2SSetData 79, 0
       Case 1:
          Controller.B2SSetData 71, 1
       Case 2:
          Controller.B2SSetData 71, 0
          Controller.B2SSetData 72, 1
       Case 3:
          Controller.B2SSetData 72, 0
          Controller.B2SSetData 73, 1
       Case 4:
          Controller.B2SSetData 73, 0
          Controller.B2SSetData 74, 1
       Case 5:
          Controller.B2SSetData 74, 0
          Controller.B2SSetData 75, 1
       Case 6:
          Controller.B2SSetData 75, 0
          Controller.B2SSetData 76, 1
       Case 7:          
          Controller.B2SSetData 76, 0
          Controller.B2SSetData 77, 1
       Case 8:          
          Controller.B2SSetData 77, 0
          Controller.B2SSetData 78, 1
       Case 9:          
          Controller.B2SSetData 78, 0
          Controller.B2SSetData 79, 1
 End Select
 
 Select Case SReelTens  'Hundred Thousands
       Case 0:
          Controller.B2SSetData 61, 0
          Controller.B2SSetData 62, 0
          Controller.B2SSetData 63, 0
          Controller.B2SSetData 64, 0
          Controller.B2SSetData 65, 0
          Controller.B2SSetData 66, 0
          Controller.B2SSetData 67, 0
          Controller.B2SSetData 68, 0
          Controller.B2SSetData 69, 0
 
       Case 1:
          Controller.B2SSetData 61, 1
       Case 2:
          Controller.B2SSetData 61, 0
          Controller.B2SSetData 62, 1
       Case 3:
          Controller.B2SSetData 62, 0
          Controller.B2SSetData 63, 1
       Case 4:
          Controller.B2SSetData 63, 0
          Controller.B2SSetData 64, 1
       Case 5:
          Controller.B2SSetData 64, 0
          Controller.B2SSetData 65, 1
       Case 6:
          Controller.B2SSetData 65, 0
          Controller.B2SSetData 66, 1
       Case 7:          
          Controller.B2SSetData 66, 0
          Controller.B2SSetData 67, 1
       Case 8:
          Controller.B2SSetData 67, 0
          Controller.B2SSetData 68, 1
       Case 9:          
          Controller.B2SSetData 68, 0
          Controller.B2SSetData 69, 1
 End Select
 
 Select Case SReelUnits  'Ten Thousands
       Case 0:
          Controller.B2SSetData 51, 0
          Controller.B2SSetData 52, 0
          Controller.B2SSetData 53, 0
          Controller.B2SSetData 54, 0
          Controller.B2SSetData 55, 0
          Controller.B2SSetData 56, 0
          Controller.B2SSetData 57, 0
          Controller.B2SSetData 58, 0
          Controller.B2SSetData 59, 0
 
       Case 1:
          Controller.B2SSetData 51, 1
       Case 2:
          Controller.B2SSetData 51, 0
          Controller.B2SSetData 52, 1
       Case 3:
          Controller.B2SSetData 52, 0
          Controller.B2SSetData 53, 1
:      Case 4:
          Controller.B2SSetData 53, 0
          Controller.B2SSetData 54, 1
       Case 5:
          Controller.B2SSetData 54, 0
          Controller.B2SSetData 55, 1
       Case 6:
          Controller.B2SSetData 55, 0
          Controller.B2SSetData 56, 1
       Case 7:          
          Controller.B2SSetData 56, 0
          Controller.B2SSetData 57, 1
       Case 8:
          Controller.B2SSetData 57, 0
          Controller.B2SSetData 58, 1
       Case 9:          
          Controller.B2SSetData 58, 0
          Controller.B2SSetData 59, 1
 End Select
 
 End Sub

 

untitled1.jpg


Founder of Rogue Pinball! https://roguepinball.com/index.php                 Making Pinball great again!!

 

partylikeits1776-.jpg


#16 anthias

anthias

    Pinball Fan

  • VIP
  • 800 posts

  • Flag: Australia

  • Favorite Pinball: Lizards In The City



Posted 23 January 2024 - 12:22 PM

Ugh is all I can say at this point. This stuff is ridiculously finnicky and annoying.

 

I have downloaded tables, work perfectly. My table, identical in every possible script and setting I can find to those. Nada. No b2s. Refuses to run. Flat out refuses to work. I'm stumped, frustrated, and fed up. I just don't understand why it is so damnably tiresome. It should work. There isn't any reason for this stuff to be so complicated. Is there a simple dot list of "this is what broke your b2s" ideas somewhere? Because SOMETHING is breaking it. But I am stuffed if I can figure out what.

 

I might have to sit back and forget about it, and wait for the day when backglass support is properly integrated into VPX, where it belongs. That is how it should be, lets face it. Yes, I realise that involves a huge ask in terms of the team having to support four gazillion possible configuration scenarios at once. But I can dream...


screnstoaug21small.gif

#17 IRgEEK

IRgEEK

    Hobbyist

  • Platinum Supporter
  • 37 posts

  • Flag: United States of America

  • Favorite Pinball: Too many to count

Posted 23 January 2024 - 02:17 PM

some more details.. what I managed was a combination of jpsalas' scarface table HERE scripting for how alpha-numeric scritping is done, the alpha-numeric display tutorial HERE for putting an display on the backdrop and the hi-score sticky code I borrowed from mfuegemann's Fast Draw table HERE  fyi - the wip I have this on is not ready for prime time so is not released anywhere.

 

Now if you want dmd type display, then I believe ultradmd would be the way to go.

I'm still new to this and also working on my first table. I thought I saw multiple recommendations saying to go with FlexDMD instead of UltraDMD. I haven't got into the DMD side of building yet so wanted to ask before I start. Thanks



#18 IRgEEK

IRgEEK

    Hobbyist

  • Platinum Supporter
  • 37 posts

  • Flag: United States of America

  • Favorite Pinball: Too many to count

Posted 23 January 2024 - 02:28 PM

 

some more details.. what I managed was a combination of jpsalas' scarface table HERE scripting for how alpha-numeric scritping is done, the alpha-numeric display tutorial HERE for putting an display on the backdrop and the hi-score sticky code I borrowed from mfuegemann's Fast Draw table HERE  fyi - the wip I have this on is not ready for prime time so is not released anywhere.

 

Now if you want dmd type display, then I believe ultradmd would be the way to go.

I'm still new to this and also working on my first table. I thought I saw multiple recommendations saying to go with FlexDMD instead of UltraDMD. I haven't got into the DMD side of building yet so wanted to ask before I start. Thanks

Sorry just realized @BorgDog's post was 2017. doh!



#19 walrusdownunder

walrusdownunder

    Hobbyist

  • Members
  • PipPip
  • 24 posts

  • Flag: Australia

  • Favorite Pinball: Williams 1979 Flash

Posted 18 July 2024 - 12:02 PM

Hi guys, I too have entered the rabbit hole... so to speak,  - I'm also working on a custom table -non rom.10.73. too scared to jump to 10.8 just yet.

I found the table on the web, broken, non stop, repeatative & boring, so I thought I could try my hand and fix it. - first mistake?! ha, ha.

 

Biggest problem I had was copying bad script from 'the ghost' blank vpx example, ( by making mistakes, it helped me learn heaps!), thanks for the warning in another post wiesshund.

I have ball numbers, credits, high score awards - most of the basics, (yet to figure out match & tilt).

 

So, I have a very basic backglass working to throw at the cabinet, (LoadEM etc), using Itchigo's "cheat sheet" example above to add the score to the backglass dream led's: 

As I currently only have a one player in the table script at the moment, I thought I could load only 1x player score led array, taking only the player one commands from the script blocks of four in the example, also the credit array while I learn this part of the script.

My player 1 score led array is no' 1, the credit led array is no' 2, nothing else but non functioning lamps in the B2S currently.

 

It compiles ok but,

at table start it kicks straight back out & I get the following error at the line trying to "LoadController" , (line 2 in example), Wrong number of arguments or invalid property assignment: 'LoadController' .

 

controller.vbs is orignal 10.73 downloaded file, (not edited).

 

Have I missed something in the 2024 onwards chat? Do I need to add something elswhere in the script?

The more you learn, the more you realize what you don't know!   :juggle:  


#20 Itchigo

Itchigo

    Pinball Wizard

  • Members
  • PipPipPipPipPip
  • 2,763 posts
  • Location:Chicago, Illinois

  • Flag: United States of America

  • Favorite Pinball: All




  • Trophies:

Posted 18 July 2024 - 10:04 PM

 

Hi guys, I too have entered the rabbit hole... so to speak,  - I'm also working on a custom table -non rom.10.73. too scared to jump to 10.8 just yet.

I found the table on the web, broken, non stop, repeatative & boring, so I thought I could try my hand and fix it. - first mistake?! ha, ha.

 

Biggest problem I had was copying bad script from 'the ghost' blank vpx example, ( by making mistakes, it helped me learn heaps!), thanks for the warning in another post wiesshund.

I have ball numbers, credits, high score awards - most of the basics, (yet to figure out match & tilt).

 

So, I have a very basic backglass working to throw at the cabinet, (LoadEM etc), using Itchigo's "cheat sheet" example above to add the score to the backglass dream led's: 

As I currently only have a one player in the table script at the moment, I thought I could load only 1x player score led array, taking only the player one commands from the script blocks of four in the example, also the credit array while I learn this part of the script.

My player 1 score led array is no' 1, the credit led array is no' 2, nothing else but non functioning lamps in the B2S currently.

 

It compiles ok but,

at table start it kicks straight back out & I get the following error at the line trying to "LoadController" , (line 2 in example), Wrong number of arguments or invalid property assignment: 'LoadController' .

 

controller.vbs is orignal 10.73 downloaded file, (not edited).

 

Have I missed something in the 2024 onwards chat? Do I need to add something elswhere in the script?

The more you learn, the more you realize what you don't know!   :juggle:  

 

I'd have to see the table to see what's going on.


Founder of Rogue Pinball! https://roguepinball.com/index.php                 Making Pinball great again!!

 

partylikeits1776-.jpg






Also tagged with one or more of these keywords: b2s, custom b2s, custom table b2s, b2s score, custom table dmd