Register    Login    Forum    FAQ    PinSimDB.org

Board index » Resources » Resources Exchange » Scripting - Help offer or request only




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Request about 2 divers Highscores screens in the same ta
 Post Posted: Sat Mar 24, 2012 3:34 pm 
Offline
User avatar

Joined: Thu Mar 22, 2012 4:06 pm
Posts: 155
Location: Poland, Lodz
zettaupload

Another rusty topic, but I'm a new here. I hope you have already figured out how to exchange highscore table using nvR & nvS variables. One clue has been missed above: you need to initialize the stored table (with blanks) only once (I mean when table is played for the first time - I mean for the first time ever, not for the first time when game is launched). To achieve that you need to detect if flag is set (f.e flag stored in nvR16) and skip the extra highscore blanking when it's already set! Of course flag need to be set after initial testing.
Wild West it's not a good sample how to do it because I store there 5 different tables for 6 combinations (3 difficulty * 2 ball amount), and I needed to pack all these values together with other settings. It's just too complicated, I even myself have problems with analyse that code now :)

_________________
Sebek74
http://futurepinball.mm.com.pl/ home for: Ignition, Beat-Box, Nightmare, Billion Dollar Gameshow, Wild West, Trick or Treat and Gfx2DmdF & modified DosBOX DMD ripping tools
http://picasaweb.google.com/sebek74 - personal photo gallery, plz visit & comment!


Top 
 Profile  
 
 Post subject: Re: Request about 2 divers Highscores screens in the same ta
 Post Posted: Tue Mar 27, 2012 7:10 pm 
Offline

Joined: Sun Jan 16, 2011 2:16 pm
Posts: 16
Sebek74 ... You are definitely too hard on yourself;-) Because, for me, "Wild West" is simply the best FP table (As I said you, the 2011-02-22, in your table comment under the name "francois.macre" that is my true name). Now I must confess that I gave up, for now, to continue my project, because I took too much mental energy. I prefer to use this energy to something more important to me, that is my healing. but I thank you for your advice ... if I decide one day to get back to my pinball project, maybe I'll get back to you about this story of two differents highscores. Again huge congratulation for "Wild West", I really admire your work.
Bye Sebek74,
François


Top 
 Profile  
 
 Post subject: Re: Request about 2 divers Highscores screens in the same ta
 Post Posted: Thu Apr 12, 2012 6:16 am 
Offline

Joined: Sun Jan 16, 2011 2:16 pm
Posts: 16
Hi Sebek74,
Finally, as I'm bored at the hospital, I decided to continue my pinball. So, I come back to you to ask your advice about these 2 differents highscores (just for 3 and 5 balls). Rather than bother you to explain me the code in detail, could you give me the title of a FP table using this function (other than "Wild West" as it is too complicated) that I could download on fprelease.com? Thuse, I could dissect it myself;-)
Thanks in advance
Bye
François


Top 
 Profile  
 
 Post subject: Re: Request about 2 divers Highscores screens in the same ta
 Post Posted: Thu Apr 12, 2012 6:51 am 
Offline
User avatar

Joined: Fri Jul 02, 2010 4:50 am
Posts: 506
Location: Paris - France
Doodle Bug for example.
Look at InitHighScoreEntry, ReadHS, BuildHS.
InitHighScoreEntry is just for initialization (first time you launch the table)
ReadHS to read the highscores depending of number of balls
BuildHS to write the highscores each time you beat a record

_________________
Les cons ça ose tout. C'est même à  ça qu'on les reconnaît.
My tables avalaible at http://www.pinsimdb.org/fpreleases/ or Image
Image
Le prix s'oublie, la qualité reste


Top 
 Profile  
 
 Post subject: Re: Request about 2 divers Highscores screens in the same ta
 Post Posted: Thu Apr 12, 2012 7:23 am 
Offline

Joined: Sun Jan 16, 2011 2:16 pm
Posts: 16
Thanks popotte;-) I'll come back to this post when i'll succeed to code that.
Bye
François


Top 
 Profile  
 
 Post subject: Re: Request about 2 divers Highscores screens in the same ta
 Post Posted: Mon Apr 16, 2012 4:40 am 
Offline

Joined: Sun Jan 16, 2011 2:16 pm
Posts: 16
Hi Popotte,
It's Ok... It works very well. So, I Thanks you very much for your help;-)
Take care
Bye
François


Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

Board index » Resources » Resources Exchange » Scripting - Help offer or request only


Who is online

Users browsing this forum: No registered users and 1 guest

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to: