| www.ClassicTW.com https://mail.black-squirrel.com/ |
|
| ability to publish High scores to a blogger account https://mail.black-squirrel.com/viewtopic.php?f=1&t=32287 |
Page 1 of 1 |
| Author: | slother3x [ Fri Sep 16, 2011 12:12 am ] |
| Post subject: | ability to publish High scores to a blogger account |
OK now that i have a ability to publish game logs to my blogger account i was now wondering if it was possible to publish the high scores to the same account. topper can you tell me how you did it? |
|
| Author: | topper4125 [ Fri Sep 16, 2011 12:38 am ] |
| Post subject: | Re: ability to publish High scores to a blogger account |
I'll go ahead and post it now... I ran it enough times that I'm pretty sure it'll work (more curious to see if any of my games close tonight or not before Extern). anyhow.. here it is: 1-Open up T-edit for a game that has highscores you want published. 2-Select H "General Editor Two" 3-Select J "Gfiles ScoresDir" Enter a path (Must include the trailing '\') I just use "C:\twgs\game\gameA\" for example 4-In that same Menu (General Editor Two) set number 5 for whatever setting you prefer. 5-(Q)uit out of Tedit... Repeat Steps 1-5 for all the games you want scores for. Next come the Bat file: Code: REM This first part simply makes sure we are REM working in the correct directory, and that REM Blat is set up with correct mail server settings REM NETSH is a WINDOWS XP PROFESSIONAL command to take REM a 5 second break while it does a loopback ping REM If you don't have XP Pro, just ping your LoopBack 6 times REM For the exact same effect. @Echo off Title RUNNING BATCH EVENTS C: cd\blat262\full blat -install smtp.secretmailserver.com yourname@secretmailserver.com >nul NETSH Diag Ping Loopback >nul REM This Second part Echos to the screen what process its REM working on echo ^<pre^> >output.txt will REM create/overwrite a file called output.txt and add a REM <pre> to the beginning of the email, so the entire REM posting will be in a monospaced font so it looks REM presentable. It was the easiest fix I could come up with. REM REM the Type line, appends the highscores.txt to the REM output.txt file the location of the HIGHSCORES.TXT REM file must match what you entered in Option J of TEdit REM REM The Next Echo Line appends </pre> to the output... REM closing the command REM REM echo. makes the display skip a line REM Another Echo to the screen so i know what's going on. REM Another Blat command... Sending the completed REM output.txt to my blog as an email attachment. REM REM and a pause for 5 secnods for that email to be REM processed by my email provider. Echo ***Building Highscores for Game M*** echo ^<pre^> >output.txt type C:\twgs\Game\Gamem\OUTPUT\HIGHSCORE.TXT >>output.txt echo ^</pre^> >>output.txt echo. Echo ***Sending Highscores for Game M*** blat output.txt -to secretadress@secretemailaddy.com -subject "Game [M] Moo 2 Highscores" >nul NETSH Diag Ping Loopback >nul ECHO ... ECHO Then simply wash, rince, repeat for all your games. Echo ***Building Highscores for Game D*** echo ^<pre^> >output.txt type C:\twgs\Game\Gamed\OUTPUT\HIGHSCORE.TXT >>output.txt echo ^</pre^> >>output.txt echo. Echo ***Sending Highscores for Game D*** blat output.txt -to secretadress@secretemailaddy.com -subject -subject "Game [D] Dial Up Game" >nul NETSH Diag Ping Loopback >nul Echo ***Building Highscores for Game C*** echo ^<pre^> >output.txt type C:\twgs\Game\Gamec\OUTPUT\HIGHSCORE.TXT >>output.txt echo ^</pre^> >>output.txt echo. Echo ***Sending Highscores for Game C*** blat output.txt -to secretadress@secretemailaddy.com -subject -subject "Game [C] Unlimited Game Highscores" >nul NETSH Diag Ping Loopback >nul Echo ***Building Highscores for Game B*** echo ^<pre^> >output.txt type C:\twgs\Game\Gameb\OUTPUT\HIGHSCORE.TXT >>output.txt echo ^</pre^> >>output.txt echo. Echo ***Sending Highscores for Game B*** blat output.txt -to secretadress@secretemailaddy.com -subject -subject "Game [B] StockGame Highscores" >nul NETSH Diag Ping Loopback >nul Also... you want to publish/email them in REVERSE ALPHABETICAL Order... that way they appear in the correct order (With Game A on top of the postings) on your blog. |
|
| Page 1 of 1 | All times are UTC - 5 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|