Hey all,
Working on Alice Cooper Nightmare Castle 1.2 EM table. that "Ling Woo " made a long time ago back in 2019 i think, safe to say that he will probably never finish it
Trying to get FlexDMD to mirror the existing desktop score display. The table already has a working ScoreText.Text backdrop and EM reels. Goal is to piggyback off that instead of rewriting the whole scoring.
What works:
Desktop score updates fine via ScoreText.Text = FormatNumber(Score, 0, -1, 0, -1)
PuP-Pack runs fine
What I tried:
Basic FlexDMD init in table1_Init:
vbscript
Set FlexDMD = CreateObject("FlexDMD.FlexDMD")If Not FlexDMD is Nothing Then FlexDMD.GameName = "demo" FlexDMD.Run = True Set DMDFont = FlexDMD.NewFont("Arial", RGB(255,128,0), RGB(0,0,0), 1) Set DMDScoreLabel = FlexDMD.NewLabel("Scr", DMDFont, "0") DMDScoreLabel.SetAlignedPosition 64, 16, 0.5 Set DMDScene = FlexDMD.NewGroup("Scene") DMDScene.AddActor DMDScoreLabel FlexDMD.Stage.AddActor DMDSceneEnd If
Piggyback in AddScore:
vbscript
Sub AddScore(Points) If Tilted Then Exit Sub Score = Score + Points ScoreText.Text = FormatNumber(Score, 0, -1, 0, -1) ' <-- Desktop works ScoreReel1.AddValue Points If B2SOn Then Controller.B2SSetScorePlayer1 Score ' === Added for FlexDMD === If Not FlexDMD Is Nothing Then DMDScoreLabel.Text = ScoreText.TextEnd Sub...
Checked for conflicts:
Wrapped FlexDMD in On Error Resume Next
PuP runs before FlexDMD init
No errors thrown, but DMD window never appears
MsgBox "FlexDMD Started" after CreateObject never fires
The issue:
Desktop backdrop updates. EM reels update. FlexDMD stays blank. No error codes. FlexDMD.dll is registered and works on other FlexDMD tables.
Suspect: Something in this script is killing the FlexDMD object before it can show. Script has duplicate Sub AddScore and Sub Loadhs that I removed, but still no DMD.
Question: Has anyone got FlexDMD + PuP running together on an EM where you just mirror ScoreText.Text? Is there a known conflict with LoadController("EM") or the PuP init sequence?
Attaching script if needed. Really just want the DMD to show whatever ScoreText.Text shows.
i also tried whit UltraDmd cause he did write some Ultradmd code in there ...the script is a mess alot of duplicated line
, also tried using pupdmd
The duplicate subs were the real killer - i tried removed them and it still fails
The table as potential if someone want to have a try
on the positive side i got B2s working
Thanks for any ideas.
User Feedback
Create an account or sign in to leave a review
You need to be a member in order to leave a review
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now