View unanswered posts | View active topics It is currently Fri Oct 18, 2019 7:39 pm



Reply to topic  [ 2 posts ] 
 ability to publish High scores to a blogger account 
Author Message
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post 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?

_________________
http://bbs.slother3x.info
http://www.slother3x.info My own website, hosted by myself.

"it only takes one to ruin it for all"
"The promises of our youth will always haunt us in the wisdom of our old age"


Fri Sep 16, 2011 12:12 am
Profile YIM
Gameop
User avatar

Joined: Sun Aug 28, 2011 2:56 am
Posts: 81
Location: Montana
Unread post 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.

_________________
ShapeShifter:
Image

Website/Blog: http://www.netcessor.com/topper
TWGS Server: telnet://108.59.108.53:23


Fri Sep 16, 2011 12:38 am
Profile YIM
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.