Jump to content



Photo
- - - - -

Class of 1812 VP912 1.0FS


  • Please log in to reply
60 replies to this topic

#41 sacredgaming

sacredgaming

    Enthusiast

  • Members
  • PipPipPip
  • 156 posts
  • Location:Atlanta

  • Flag: United States of America

  • Favorite Pinball: Monster Bash,twilight zone

  • 360 Gamer Tag: sacredgaming

Posted 23 March 2012 - 05:21 PM

QUOTE (luvthatapex @ Mar 23 2012, 12:40 PM) <{POST_SNAPBACK}>
Does your UVP filename match the backglass filename?
AND does your visual pinball.XML file have the correct filename under the table filename?

Post your entry in the visual pinball.xml and we will help.
LTA


QUOTE (sacredgaming @ Mar 23 2012, 12:24 PM) <{POST_SNAPBACK}>
QUOTE (Zablon @ Mar 23 2012, 12:18 AM) <{POST_SNAPBACK}>
QUOTE (sacredgaming @ Mar 22 2012, 05:48 PM) <{POST_SNAPBACK}>
QUOTE (Zablon @ Mar 22 2012, 06:38 PM) <{POST_SNAPBACK}>
Sent you a pm



thank you ill check it out in just a second.


EDIT: no luck still the same and that was the uvp i was using.


Gotta be something with your script...paste it here (with some above it and below it if any). And verify your timer settings? There wasn't anything special to get this working besides commenting out the DMD color commands.


other than adding the normal uvp changes and commenting out the color script its the standard download. I do remove the 3 lines under ultravp.backglass line. but, those are just error lines.

when i do the timer i make the timer call it leds and set the interval to 50 that's right correct?



I generally dont have issues with any uvp tables except the 3 i mentioned. So i dont think that it is something simple though i am no expert so here is the information you requested.

Here is the top of the script and the table init section and yes all files match inside media folder .

Sub LoadVPM(VPMver, VBSfile, VBSver)
On Error Resume Next
If ScriptEngineMajorVersion <5 Then MsgBox "VB Script Engine 5.0 or higher required"
ExecuteGlobal GetTextFile(VBSfile)
If Err Then MsgBox "Unable to open " & VBSfile & ". Ensure that it is in the same folder as this table. " & vbNewLine & Err.Description
Set Controller = CreateObject("UltraVP.BackglassServ")
'Set Controller = CreateObject("VPinMAME.Controller")
End Sub

'************
' Table init.
'************

Sub table1_Init
vpmInit me
With Controller
.GameName = cGameName
If Err Then MsgBox "Can't start Game" & cGameName & vbNewLine & Err.Description:Exit Sub
.SplashInfoLine = "Class of 1812 - Gottlieb 1991" & vbNewLine & "VP9 table by JPSalas v1.0"
'.Settings.Value("dmd_red") = 7
'.Settings.Value("dmd_green") = 194
'.Settings.Value("dmd_blue") = 78
.Games(cGameName).Settings.Value("rol")= 0
.HandleKeyboard = 0
.ShowTitle = 0
.ShowDMDOnly = 1
.ShowFrame = 0
.HandleMechanics = 0
.DIP(0) = &H00
.Hidden = 0
On Error Resume Next
.Run GetPlayerHWnd
If Err Then MsgBox Err.Description
On Error Goto 0
End With

Here is the xml
dont mind the year and type i generally just use the one from above everytime i add a table.


<game name="Class of 1812 (Gottlieb 1991)">
<description>Class of 1812 (Gottlieb 1991)</description>
<manufacturer>Williams</manufacturer>
<year>1993</year>
<type>SS</type>
</game>

Edited by sacredgaming, 23 March 2012 - 05:28 PM.


#42 Zablon

Zablon

    Pinball Fan

  • Members
  • PipPipPipPip
  • 642 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 23 March 2012 - 05:48 PM

I don't see anything that looks wrong. You did say the lights in the UVP were working, just not the display right? Does the DMD work from Pinmame?

#43 sacredgaming

sacredgaming

    Enthusiast

  • Members
  • PipPipPip
  • 156 posts
  • Location:Atlanta

  • Flag: United States of America

  • Favorite Pinball: Monster Bash,twilight zone

  • 360 Gamer Tag: sacredgaming

Posted 23 March 2012 - 05:52 PM

QUOTE (Zablon @ Mar 23 2012, 01:48 PM) <{POST_SNAPBACK}>
I don't see anything that looks wrong. You did say the lights in the UVP were working, just not the display right? Does the DMD work from Pinmame?


yes the pinmame dmd works as it should. As well as the backglass lights. The segments pop up just dont ever initialize and show anything.


Edited by sacredgaming, 23 March 2012 - 06:00 PM.


#44 Zablon

Zablon

    Pinball Fan

  • Members
  • PipPipPipPip
  • 642 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 23 March 2012 - 06:00 PM

Your timer lines at the bottom look like this? They aren't buried in some extra code? Grasping at straws now. Maybe delete the table completely and reinstall it and reenter codes? biggrin.gif lol The UVP is working so it has to be some code with the LED statements

Here is what the end should look like with the LED statements

'Holes which creates balls
Sub BallRelease_Unhit: NewBallID:End Sub
Sub Diverter2_Unhit: NewBallID:End Sub

Sub Leds_Timer()
Dim ChgLED
ChgLED = Controller.ChangedLEDs(&Hffffffff, &Hffffffff)
End Sub

Edited by Zablon, 23 March 2012 - 06:01 PM.


#45 sacredgaming

sacredgaming

    Enthusiast

  • Members
  • PipPipPip
  • 156 posts
  • Location:Atlanta

  • Flag: United States of America

  • Favorite Pinball: Monster Bash,twilight zone

  • 360 Gamer Tag: sacredgaming

Posted 23 March 2012 - 06:09 PM

QUOTE (Zablon @ Mar 23 2012, 02:00 PM) <{POST_SNAPBACK}>
Your timer lines at the bottom look like this? They aren't buried in some extra code? Grasping at straws now. Maybe delete the table completely and reinstall it and reenter codes? biggrin.gif lol The UVP is working so it has to be some code with the LED statements

Here is what the end should look like with the LED statements

'Holes which creates balls
Sub BallRelease_Unhit: NewBallID:End Sub
Sub Diverter2_Unhit: NewBallID:End Sub

Sub Leds_Timer()
Dim ChgLED
ChgLED = Controller.ChangedLEDs(&Hffffffff, &Hffffffff)
End Sub


My script was missing this


Sub Leds_Timer()
Dim ChgLED
ChgLED = Controller.ChangedLEDs(&Hffffffff, &Hffffffff)
End Sub

had the first two lines but was missing the above so i added it and all is well smile.gif green lovelyness

You rock zablon

Edited by sacredgaming, 23 March 2012 - 06:10 PM.


#46 supadave

supadave

    Neophyte

  • Silver Supporter
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Star Trek Next Gen

Posted 23 March 2012 - 06:21 PM

For the record, I have the exact same problem and only with this game. I too have all the correct codes and the UVP backglass loads and runs, but just no alpha/numarical display. Here is my script.. The important parts anyways, The old version of the table still works fine. This is the only table that is giving me issues. I'm a bit confused too.

' Class of 1812 - Gottlieb 1991
' VP912 version 1.0

Option Explicit
Randomize

LoadVPM "01560000", "GTS3.VBS", 3.26

Sub LoadVPM(VPMver, VBSfile, VBSver)
On Error Resume Next
If ScriptEngineMajorVersion <5 Then MsgBox "VB Script Engine 5.0 or higher required"
ExecuteGlobal GetTextFile(VBSfile)
If Err Then MsgBox "Unable to open " & VBSfile & ". Ensure that it is in the same folder as this table. " & vbNewLine & Err.Description
Set Controller = CreateObject("UltraVP.BackglassServ")
End Sub


'************
' Table init.
'************

Sub table1_Init
vpmInit me
With Controller
.GameName = cGameName
If Err Then MsgBox "Can't start Game" & cGameName & vbNewLine & Err.Description:Exit Sub
.SplashInfoLine = "Class of 1812 - Gottlieb 1991" & vbNewLine & "VP9 table by JPSalas v1.0"
'.Settings.Value("dmd_red") = 7
'.Settings.Value("dmd_green") = 194
'.Settings.Value("dmd_blue") = 78
.Games(cGameName).Settings.Value("rol")=0
.HandleKeyboard = 0
.ShowTitle = 0
.ShowDMDOnly = 1
.ShowFrame = 0
.HandleMechanics = 0
.DIP(0) = &H00
.Hidden = 1
On Error Resume Next
.Run GetPlayerHWnd
If Err Then MsgBox Err.Description
On Error Goto 0
End With


Sub BallRelease_Unhit: NewBallID:End Sub
Sub Diverter2_Unhit: NewBallID:End Sub

Sub Leds_Timer()
Dim ChgLED
ChgLED = Controller.ChangedLEDs(&Hffffffff, &Hffffffff)
End Sub



#47 sacredgaming

sacredgaming

    Enthusiast

  • Members
  • PipPipPip
  • 156 posts
  • Location:Atlanta

  • Flag: United States of America

  • Favorite Pinball: Monster Bash,twilight zone

  • 360 Gamer Tag: sacredgaming

Posted 23 March 2012 - 06:25 PM

hopefully some can help you fix it. I know the initial release was flawed in some way and was reuploaded with some changes in code. I am unsure if that was the 4x3 version or this one. Try redownloading.

@zablon that also fixed harlem gt's and star trek thanks!

#48 supadave

supadave

    Neophyte

  • Silver Supporter
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Star Trek Next Gen

Posted 23 March 2012 - 06:29 PM

QUOTE (sacredgaming @ Mar 23 2012, 02:25 PM) <{POST_SNAPBACK}>
hopefully some can help you fix it. I know the initial release was flawed in some way and was reuploaded with some changes in code. I am unsure if that was the 4x3 version or this one. Try redownloading.

@zablon that also fixed harlem gt's and star trek thanks!


I tried all that I could think of before posting here, I did redownload the UVP from here. It works fine on the old table, but not this new table. So strange. I noticed in the other guys script he has DMD Hidden set to 0, On all of my other tables using UVP I have that set to 1 to hide it and they work fine. If I have that set to 0 then pinmame display kicks in and not the uvp display.

#49 sacredgaming

sacredgaming

    Enthusiast

  • Members
  • PipPipPip
  • 156 posts
  • Location:Atlanta

  • Flag: United States of America

  • Favorite Pinball: Monster Bash,twilight zone

  • 360 Gamer Tag: sacredgaming

Posted 23 March 2012 - 06:40 PM

QUOTE (supadave @ Mar 23 2012, 02:29 PM) <{POST_SNAPBACK}>
QUOTE (sacredgaming @ Mar 23 2012, 02:25 PM) <{POST_SNAPBACK}>
hopefully some can help you fix it. I know the initial release was flawed in some way and was reuploaded with some changes in code. I am unsure if that was the 4x3 version or this one. Try redownloading.

@zablon that also fixed harlem gt's and star trek thanks!


I tried all that I could think of before posting here, I did redownload the UVP from here. It works fine on the old table, but not this new table. So strange. I noticed in the other guys script he has DMD Hidden set to 0, On all of my other tables using UVP I have that set to 1 to hide it and they work fine. If I have that set to 0 then pinmame display kicks in and not the uvp display.


i was using the table without uvp until i fixed my issue thus the 0 its now at 1. However doesnt matter that only affects the pinmame dmd

#50 htamas

htamas

    Pinball Wizard

  • VIP
  • 2,227 posts
  • Location:California

  • Flag: Hungary

  • Favorite Pinball: cannot pick just one, and they change anyway



Posted 23 March 2012 - 06:49 PM

I'd like to repeat a question... so if UVP is not used, are the DMD color lines in the script supposed to change the DMD color to green? According to destruk, they should: http://www.vpforums....s...st&p=169603

.Settings.Value("dmd_red") = 7
.Settings.Value("dmd_green") = 194
.Settings.Value("dmd_blue") = 78

Just asking because for me, the DMD is still the usual orange (not using UVP)

#51 sacredgaming

sacredgaming

    Enthusiast

  • Members
  • PipPipPip
  • 156 posts
  • Location:Atlanta

  • Flag: United States of America

  • Favorite Pinball: Monster Bash,twilight zone

  • 360 Gamer Tag: sacredgaming

Posted 23 March 2012 - 06:55 PM

mine didnt change either

#52 htamas

htamas

    Pinball Wizard

  • VIP
  • 2,227 posts
  • Location:California

  • Flag: Hungary

  • Favorite Pinball: cannot pick just one, and they change anyway



Posted 23 March 2012 - 06:59 PM

So then what's the point in having those lines at all? smile.gif

#53 Zablon

Zablon

    Pinball Fan

  • Members
  • PipPipPipPip
  • 642 posts

  • Flag: United States of America

  • Favorite Pinball: Funhouse

Posted 23 March 2012 - 07:02 PM

QUOTE (sacredgaming @ Mar 23 2012, 01:25 PM) <{POST_SNAPBACK}>
hopefully some can help you fix it. I know the initial release was flawed in some way and was reuploaded with some changes in code. I am unsure if that was the 4x3 version or this one. Try redownloading.

@zablon that also fixed harlem gt's and star trek thanks!


Awesome! Glad you finally got it working.

Supadave: You added a timer to the outside of the playfield and named it Leds? (and changed value from 100 to 50?) This is not there by default.

Edited by Zablon, 23 March 2012 - 07:05 PM.


#54 luvthatapex

luvthatapex

    Pinball Fan

  • VIP
  • 1,435 posts

  • Flag: United States of America

  • Favorite Pinball: Tron



Posted 23 March 2012 - 07:05 PM

Yep, and you also need to change this line
from
.Hidden = 0
to
.Hidden = 1

To HIDE the DMD on the third screen and just leave the scores in the UVP backglass.


QUOTE (sacredgaming @ Mar 23 2012, 02:09 PM) <{POST_SNAPBACK}>
QUOTE (Zablon @ Mar 23 2012, 02:00 PM) <{POST_SNAPBACK}>
Your timer lines at the bottom look like this? They aren't buried in some extra code? Grasping at straws now. Maybe delete the table completely and reinstall it and reenter codes? biggrin.gif lol The UVP is working so it has to be some code with the LED statements

Here is what the end should look like with the LED statements

'Holes which creates balls
Sub BallRelease_Unhit: NewBallID:End Sub
Sub Diverter2_Unhit: NewBallID:End Sub

Sub Leds_Timer()
Dim ChgLED
ChgLED = Controller.ChangedLEDs(&Hffffffff, &Hffffffff)
End Sub


My script was missing this


Sub Leds_Timer()
Dim ChgLED
ChgLED = Controller.ChangedLEDs(&Hffffffff, &Hffffffff)
End Sub

had the first two lines but was missing the above so i added it and all is well smile.gif green lovelyness

You rock zablon



#55 supadave

supadave

    Neophyte

  • Silver Supporter
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Star Trek Next Gen

Posted 23 March 2012 - 07:09 PM

I guess I'll just have to keep the old table on for a while longer. I've done a ton of these UVP setups but this one is just annoying the crap out of me. UVP backglass loads as does all flashers and lights, I can even see the LED numaric lines locations load. They are a different black then the backglass.. but the LEDs never light up at all. So strange, I tried the old version of the UVP and the NEW Version. Both work on the old table but not this new one. At least for me anyways.

#56 JAM0

JAM0

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,146 posts
  • Location:Spain

  • Flag: Spain

  • Favorite Pinball: Fathom, Elvira

Posted 23 March 2012 - 07:10 PM

Thanks JP for this -- one of my favorite tables! Thanks for this amazing update!!

#57 supadave

supadave

    Neophyte

  • Silver Supporter
  • 9 posts

  • Flag: United States of America

  • Favorite Pinball: Star Trek Next Gen

Posted 23 March 2012 - 07:42 PM

QUOTE (Zablon @ Mar 23 2012, 03:02 PM) <{POST_SNAPBACK}>
Supadave: You added a timer to the outside of the playfield and named it Leds? (and changed value from 100 to 50?) This is not there by default.


OMG, I can't believe that I totally forgot to do that. uh.. I'm sorry for all the frustrated responses. I probably would of remembered that if I cooled off a bit. Thanks man.. you're a life saver.

Yes it is working fine now.. It was the ID10T Virus that got me.

#58 cparedes

cparedes

    Hobbyist

  • Members
  • PipPip
  • 17 posts

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

  • Favorite Pinball: guns n' roses

  • 360 Gamer Tag: cparedes

Posted 24 March 2012 - 10:33 AM

Thank you very much JP for the table!

I have a problem with it, though: I can't play because the credit button is not working. You can hear the sound of the credit but it doesn't appear so I can't play.
If anyone had the same issue or knows how can I fix it, please tell me. By the way, I have also the same problem with Cueball Wizard 1.2.1. (JP's).

Thank you all.

#59 skye

skye

    Neophyte

  • Platinum Supporter
  • 1 posts
  • Location:Northeast Ohio

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

  • Favorite Pinball: Funhouse (then maybe Godzilla/LOTR)

Posted 24 March 2012 - 10:58 AM

(copied from my comment on the file download for FS version) I'm not sure exactly how I got there.... I think it was 7, left-shift, 7 a bunch of times until setting 9 [left coin chute] showed up, then right-shift to increase the number from zero, then 7 to get to right coin chute setting, then right-shift, then 7, then F3 then saved everything and exited program, then started it up again and it worked. (kind of vague, but I'm hoping someone adds clearer instructions or a pointer to find instructions on changing game settings).


#60 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,323 posts
  • Location:I'm Spanish, but I live in Oslo (Norway)

  • Flag: Norway

  • Favorite Pinball: I like both new and old, but I guess I prefer modern tables with some rules and goals to achieve.



Posted 24 March 2012 - 03:52 PM

QUOTE (cparedes @ Mar 24 2012, 11:33 AM) <{POST_SNAPBACK}>
Thank you very much JP for the table!

I have a problem with it, though: I can't play because the credit button is not working. You can hear the sound of the credit but it doesn't appear so I can't play.
If anyone had the same issue or knows how can I fix it, please tell me. By the way, I have also the same problem with Cueball Wizard 1.2.1. (JP's).

Thank you all.



Just get the Bally and Gottlieb NVRAM files here in the Getting Started menu:

http://www.vpforums....u...l&f_id=1362

Those tables need to be set up to accept coins. Instead of doing all by yourself, destruk has done all the work for you smile.gif So just download that file and unpack it into the NVRAM folder.

If you want to check my latest uploads then click on the image below:

 

vp.jpg

 

Next table? A tribute table to Stern's Foo Fighters