Jump to content



Photo
* * * * * 10 votes

The VP 10.2 beta thread

vpx beta

  • Please log in to reply
1353 replies to this topic

#481 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 09 September 2016 - 06:57 AM

rev2781 is up:

 

- remove the old duration property and replace it with the function Duration with an additional parameter to define the final state after duration time expired
- add missing changes and collect changelog for/in commandreference.txt for 10.2 and 10.1
 



#482 jpsalas

jpsalas

    Grand Schtroumpf

  • VIP
  • 7,325 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 09 September 2016 - 08:08 AM

That did the trick with the lights :)

I tried this: light1.State = 2: Light1.Duration 3000, 1

The light1 was off, then after the command, it blinked for 3 seconds and then it turned on


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


#483 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 09 September 2016 - 12:30 PM

Nice, thanks fuzzel.  I used up my likes for the day, but I like this :)

 

Works nicely for turning a light off for an interval as well, just have the blink pattern be 0, and the same lines as jp used and it will turn off for the duration then turn on, and I suppose if your blink pattern was simply a 1 you could do the same for a light that was off ie turn it on for a duration then turn it back off.


Edited by BorgDog, 09 September 2016 - 12:32 PM.


#484 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 09 September 2016 - 04:36 PM

 

Is there a way for the script to read the VPx build version so it can check it and prompt user that a newer version is required to play?

Yes there are multiple functions defined for the table:

 

table1.version - returns a number VP_VERSION_MAJOR * 1000 + VP_VERSION_MINOR * 100 + VP_VERSION_REVISION

so for the 10.2 beta version table1.version returns 10200

 

table1.VersionMajor - returns the major number (10)

table1.VersionMinor - returns the minor number (2)

 

 

table.version works for me, but I get an error for VersionMajor, VersionMinor, and VersionRevision of "Object doesn't support the property or method:"

 

On latest revision 2781

 

revision was the one I was looking for so could pop up a message if less than 2781



#485 Shockman

Shockman

    Pinball Fan

  • VIP
  • 1,717 posts
  • Location:Portland Or.

  • Flag: United States of America

  • Favorite Pinball: Star Trek

Posted 09 September 2016 - 08:33 PM

Nice, thanks fuzzel.  I used up my likes for the day, but I like this :)

 

Works nicely for turning a light off for an interval as well, just have the blink pattern be 0, and the same lines as jp used and it will turn off for the duration then turn on, and I suppose if your blink pattern was simply a 1 you could do the same for a light that was off ie turn it on for a duration then turn it back off.

 

You should not need to use your blink pattern up for that. Instead Light1.State=0: Light1.Duration=3000,1

 

Light1.State=1: Light1.Duration=3000,0  on then off.


Edited by Shockman, 09 September 2016 - 08:35 PM.


#486 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 10 September 2016 - 06:26 AM

@BorgDog: Weird.. Fixed now..

 

EDIT: early in the morning, so: worked also before- it was just global and not via the table. whatever, i made it now so that one can use both (table and global) for all version variants.


Edited by toxie, 10 September 2016 - 06:38 AM.


#487 darkangel359

darkangel359

    Enthusiast

  • Members
  • PipPipPip
  • 66 posts
  • Location:Louisiana, USA

  • Flag: United States of America

  • Favorite Pinball: Cirqus Voltaire, STTNG, Medieval Madness, TOTAN, Star Trek (Stern)

Posted 10 September 2016 - 02:47 PM

Ok, so here is my problem.  I have used all versions of VPX from 10 to 10.2 beta newest revision from yesterday and when the tables start it's around 200+FPS but constantly drops.  After about 5-10 minutes it's all the way down to 10-15 FPS and is not playable at all.  Any ideas?  Also, when I quit to the editor it takes about 10-15 seconds before I can actually click or do anything on it.


Edited by darkangel359, 10 September 2016 - 03:33 PM.


#488 tttttwii

tttttwii

    Enthusiast

  • Platinum Supporter
  • 300 posts

  • Flag: Germany

  • Favorite Pinball: Attack from Mars

Posted 10 September 2016 - 03:42 PM

Ok, so here is my problem.  I have used all versions of VPX from 10 to 10.2 beta newest revision from yesterday and when the tables start it's around 200+FPS but constantly drops.  After about 5-10 minutes it's all the way down to 10-15 FPS and is not playable at all.  Any ideas?  Also, when I quit to the editor it takes about 10-15 seconds before I can actually click or do anything on it.


I had the same issue. It was the operating system. I upgraded a 64 bit Win 7 to Win 10. I have tried almost everything to fix it, without success. A fresh win7 install fixed it for me.

#489 darkangel359

darkangel359

    Enthusiast

  • Members
  • PipPipPip
  • 66 posts
  • Location:Louisiana, USA

  • Flag: United States of America

  • Favorite Pinball: Cirqus Voltaire, STTNG, Medieval Madness, TOTAN, Star Trek (Stern)

Posted 10 September 2016 - 04:43 PM

Man, I was afraid of that.  I sure don't want to reinstall my O.S.  Anybody else have success running this in WIn. 10 64bit with no issues?


Edited by darkangel359, 10 September 2016 - 04:49 PM.


#490 Umpa

Umpa

    Pinball Fan

  • Members
  • PipPipPipPip
  • 740 posts

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 10 September 2016 - 07:17 PM

Man, I was afraid of that.  I sure don't want to reinstall my O.S.  Anybody else have success running this in WIn. 10 64bit with no issues?

I run win 10 64bit. No problems! Not sure where to tell you to look. Make sure windows defender is disabled. I read people having issues with that

#491 freneticamnesic

freneticamnesic

    A Faint Ghost Through the Raindrops

  • VIP
  • 3,370 posts
  • Location:Portland, OR

  • Flag: United States of America

  • Favorite Pinball: Star Trek, Black Hole, AFM, Fast Draw, Tron, AMH

  • 360 Gamer Tag: sixgunsounddd

Posted 10 September 2016 - 11:11 PM

Hmm, why isn't there a Timer reference in the CommandReference.txt file? 



#492 darkangel359

darkangel359

    Enthusiast

  • Members
  • PipPipPip
  • 66 posts
  • Location:Louisiana, USA

  • Flag: United States of America

  • Favorite Pinball: Cirqus Voltaire, STTNG, Medieval Madness, TOTAN, Star Trek (Stern)

Posted 10 September 2016 - 11:29 PM

 

Man, I was afraid of that.  I sure don't want to reinstall my O.S.  Anybody else have success running this in WIn. 10 64bit with no issues?

I run win 10 64bit. No problems! Not sure where to tell you to look. Make sure windows defender is disabled. I read people having issues with that

 

Yeah, all antivirus software is disabled.



#493 Outhere

Outhere

    Pinball Wizard

  • Platinum Supporter
  • 4,807 posts

  • Flag: United States of America

  • Favorite Pinball: M M

Posted 10 September 2016 - 11:55 PM

running win 10 64bit. -  VP 10.1 --- No problems



#494 freneticamnesic

freneticamnesic

    A Faint Ghost Through the Raindrops

  • VIP
  • 3,370 posts
  • Location:Portland, OR

  • Flag: United States of America

  • Favorite Pinball: Star Trek, Black Hole, AFM, Fast Draw, Tron, AMH

  • 360 Gamer Tag: sixgunsounddd

Posted 11 September 2016 - 01:21 AM

TextBox also has no CommandReference.txt entries


Edited by freneticamnesic, 11 September 2016 - 01:22 AM.


#495 Shockman

Shockman

    Pinball Fan

  • VIP
  • 1,717 posts
  • Location:Portland Or.

  • Flag: United States of America

  • Favorite Pinball: Star Trek

Posted 11 September 2016 - 02:20 AM

Also some could use some explanation. Many actually. One example, plunger filter. What on earth could clue someone in as to whether they want the plunger filtered or not? 



#496 darkangel359

darkangel359

    Enthusiast

  • Members
  • PipPipPip
  • 66 posts
  • Location:Louisiana, USA

  • Flag: United States of America

  • Favorite Pinball: Cirqus Voltaire, STTNG, Medieval Madness, TOTAN, Star Trek (Stern)

Posted 11 September 2016 - 04:42 AM

Ok, so fixed my problem.  After a little more time I decided to do what I do best which is hit the tech side of things.  Pulled up my performance monitor and see what was going on in the CPU & Memory areas while the game was running.  I noticed that the game was only utilizing one thread of 8 while running maxed at 100%.  I knew this wasn't correct so I manually set the affinity of the game to use all cores, after doing this it would work perfectly without any drop in FPS.  Of course I would manually have to do this every time I run the game (inconvenient) to say the least.  After further research I found the root cause to be that the game was set to run in compatibility mode for WIndows XP SP3, after disabling this everything worked.  So for anyone in the future having this issue check for this when using WIn. 10 64bit.  



#497 freneticamnesic

freneticamnesic

    A Faint Ghost Through the Raindrops

  • VIP
  • 3,370 posts
  • Location:Portland, OR

  • Flag: United States of America

  • Favorite Pinball: Star Trek, Black Hole, AFM, Fast Draw, Tron, AMH

  • 360 Gamer Tag: sixgunsounddd

Posted 11 September 2016 - 04:44 AM

TextBox also has no CommandReference.txt entries

yes it does why didn't I see it before :(



#498 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 11 September 2016 - 06:54 PM

rev2786 is up:

 

- use middle mouse button to pan the editor view not alt+mouse move
- expose Version,VPBuildVersion,VersionMajor/Minor/Revision both globally and in table properties to avoid confusion
- fix versionmajor/minor/revision
 


Hmm, why isn't there a Timer reference in the CommandReference.txt file? 

Good question :)



#499 chepas

chepas

    t.me/horsepin

  • Members
  • PipPipPipPip
  • 1,966 posts

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

  • Favorite Pinball: BSD, Tr0n, SW:Stern

Posted 11 September 2016 - 07:06 PM

Awesome cheers for the controls, any way to bump up the speed of the control a bit? Is a tad bit too slow.


Bump maps are the new auto-tune :BDH:
VPX - RSS Updates ---- blog.flippingflips.xyz/en/ -- Visual Pinball No.1 (2021) . Est.2000


#500 fuzzel

fuzzel

    spaghetti code

  • VP Dev Team
  • PipPipPipPipPip
  • 2,818 posts

  • Flag: Germany

  • Favorite Pinball: yes I have

Posted 12 September 2016 - 06:38 AM

Yes I can increase the speed a bit but you should move the mouse to fast as that would result in a strange hop and the whole table is moved outside of the editor view. I haven't found a good working situation for that.





Also tagged with one or more of these keywords: vpx beta