Jump to content



Photo
- - - - -

Safecracker magic token issue


  • Please log in to reply
34 replies to this topic

#1 DesertStorm

DesertStorm

    Hobbyist

  • Members
  • PipPip
  • 17 posts

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

  • Favorite Pinball: White Water

Posted 27 January 2018 - 01:07 PM

Hello, I downloaded the safecracker tables 915+, but I cant play because always I press left flipper, automatically adds one magic token. Id like to disable this feature but even if I change the script part << Const cSingleLFlip  = False ' pretty important, avoids adding tokens with the left flipper >>  nothing happens if I put true or false.

 

Also I tried to do the <<  Const Token_Key_Test = 0 ' 0 or 1 to disable or enable a messagebox 

                                        ' to identify the correct keycode to insert a won magic token
                                        Const Token_Keycode = 3 ' keycode to insert a won magic token into the pin
                                        ' identify this keycode with the key test mode above  >>
 
And also nothing happens.
 
I tried also to comment all the code that says token stuff, and also nothing change...
 
Any help? I like to play this table, is one of my favorites, but Id like to play normal, not the magic tokens mode.
 
Thankyou

Edited by DesertStorm, 27 January 2018 - 01:08 PM.


#2 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,670 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 27 January 2018 - 03:56 PM

You probably have the left flipper assigned to the 4 key which is the same key as the token,

4 key = 3 keycode

Const Token_Keycode = 3 ' keycode to insert a won magic token into the pin

try another key code that you are not currently using, you need to change the number 3.

 
Here the link with the key codes http://www.vpforums....s/KeyCodes.html



#3 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 27 January 2018 - 05:18 PM

Same thing happens for me

Default token key is 3
My left flipper is left shift (42)

I also tried changing token key to 30 just for grins but left flippers (42) is still triggering the token

The must be some VBS script change that affected this

#4 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,981 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 27 January 2018 - 05:32 PM

... btw. a great Table ...



#5 DesertStorm

DesertStorm

    Hobbyist

  • Members
  • PipPip
  • 17 posts

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

  • Favorite Pinball: White Water

Posted 27 January 2018 - 06:26 PM

I tried many numbers but nothing.

Also, the line of code: << Const cSingleLFlip = False ' pretty important, avoids adding tokens with the left flipper >>

Is not used in any place of the script, only declares the variable... I suppose there is for any reason.

 

Thankyou!


Edited by DesertStorm, 27 January 2018 - 06:35 PM.


#6 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,981 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 27 January 2018 - 07:00 PM

There was an Issue with the WPC.vbs File ... it was on Indiana Jones ... and before, we used an older WPC File, until this were solved at this.
 
Now i use also an older WPC.vbs File for SC Table (renamed WPC_2.vbs and changed in Script) ... and it works.
 
I think, toxie could take a look at this - again, please.

Edited by STAT, 27 January 2018 - 07:12 PM.


#7 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,670 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 27 January 2018 - 07:24 PM

It works for me, I have installed the latest VBS of VP 10.5 beta.

 



#8 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 27 January 2018 - 07:27 PM

I am not on the latest VBS yet. So it could be resolved already ;)

#9 kiwi

kiwi

    Pinball Fan

  • VIP
  • 2,670 posts

  • Flag: Italy

  • Favorite Pinball: Star Trek 25th Anniversary



Posted 27 January 2018 - 07:40 PM

I just tested with the VBS of VP10.4, and the problem came out.
So the latest VBS of VP10.5 beta solve the problem.



#10 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,981 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 27 January 2018 - 07:56 PM

That's curious, i also used this, and have Issues ... just an older WPC.vbs help here :hmm:

btw. i have one Safe Cracker Token double ... someone would like to have it ?
Authors/Devs/Friends here for free, incl. Shipping ... let me know ...

Already sent to an Author

Attached File  SCToken1.jpg   134.18KB   3 downloads Attached File  SCToken2.jpg   141.26KB   3 downloads


Edited by STAT, 29 January 2018 - 08:27 AM.


#11 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 27 January 2018 - 08:46 PM

could you guys try the script from http://www.vpforums....=38651&p=397944 please?



#12 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,981 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 27 January 2018 - 09:00 PM

Tested, sorry, also doesn't work.
I also can add Special Token with Left Flipper Key.

Edited by STAT, 27 January 2018 - 09:00 PM.


#13 gtxjoe

gtxjoe

    VPF Veteran

  • VIP
  • 5,152 posts

  • Flag: United States of America

  • Favorite Pinball: Medieval Madness, AbraCadabra



Contributor

Posted 27 January 2018 - 09:18 PM

I updated to 10.5 beta and installed the fastflips fix and Safecracker is working fine for me.  Left flipper is not inserting magic token.   I did have to delete the sc_18 nvram to get ball trough working after updating this stuff



#14 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,981 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 27 January 2018 - 09:41 PM

Strange, i also started with a new .nv ... ok, i use a WPC.vbs Copy for SC only, until there are some more Informations to this ...

#15 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

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

  • Favorite Pinball: Pinbot

Posted 27 January 2018 - 11:30 PM

Try this wpc.vbs

 

https://pastebin.com/h5MDfhhB



#16 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 28 January 2018 - 06:58 AM

weird.. this fix would already be part of 10.5 beta then, cause there this typo is not there..

 

@STAT: can you please retry with nfozzys new variant?



#17 STAT

STAT

    Pinball and Arcade Freak

  • VIP
  • 4,981 posts
  • Location:Wels - Austria

  • Flag: Austria

  • Favorite Pinball: Twilight Zone

Posted 28 January 2018 - 02:33 PM

Sorry, no, the same ... here is the .vbs what i use for this and have no Troubles ...

Attached Files



#18 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 28 January 2018 - 08:06 PM

when i try with the VP8 version then it works for me.. also weird..



#19 nFozzy

nFozzy

    Pinball Fan

  • Members
  • PipPipPipPip
  • 553 posts

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

  • Favorite Pinball: Pinbot

Posted 28 January 2018 - 11:31 PM

The switch handling lines are exactly the same in both scripts. Can anyone else reproduce?



#20 toxie

toxie

    VPF Veteran

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

  • Flag: Germany

  • Favorite Pinball: AFM

Posted 29 January 2018 - 06:50 AM

(note: i didn't try the VP9 version so far)