View unanswered posts | View active topics It is currently Sun Apr 28, 2024 11:12 am



Reply to topic  [ 134 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 ability to publish game logs 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 Re: ability to publish game logs to a blogger account.
just in case your wondering. here is the new createmail.bat that i will be using.

Code:
type %1\TWOPENG.DAT | java -jar TWOPENG2.Jar yesterday > %1\errorlog.html

type %1\TWOPENG.DAT | java -jar TWOPENG2.Jar yesterday 1> %1\log.html


is this the correct usage of the new fetures of the downloaded files?

_________________
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"


Thu Sep 01, 2011 9:58 pm
Profile YIM
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: ability to publish game logs to a blogger account.
Redirecting with > will send both output and error to the same place. To redirect error separately, use 2>. If the Windows shell works like bash, you can do both in the same command:

Code:
type %1\TWOPENG.DAT | java -jar TWOPENG2.jar yesterday 1> %1\log.html 2> errorlog.html

_________________
Suddenly you're Busted!


Fri Sep 02, 2011 11:09 am
Profile WWW
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
ok. i updated my .Bat file to have just the one line. and hopefully the "aborted" child planet will show up on the logs, you know the one that you killed in the name of test tube purposes Mongoose :shock:

(just being dramatic. i feel nothing for a planet on my server. :lol: )

_________________
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 02, 2011 8:15 pm
Profile YIM
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: ability to publish game logs to a blogger account.
Haha.

JP gave me some tips on the log format today. I also fixed a couple small details, like making some text blinky. I'll be posting another version tonight or tomorrow.

_________________
Suddenly you're Busted!


Fri Sep 02, 2011 9:26 pm
Profile WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: ability to publish game logs to a blogger account.
I've got it looking pretty much exactly like the logs in the game. The main difference is the HTML lacks the TWGS version banner across the top, which doesn't come from the log file.

The byte I thought was a message type ID is actually a Pascal-style string length. Duh! That simplifies things a bit.

Here's the latest binary. Once again, rename it to jar. I'll post the source once I'm satisfied that everything is working properly.


Attachments:
File comment: Rename this file from .zip to .jar
TWOPENG2.zip [17.09 KiB]
Downloaded 462 times

_________________
Suddenly you're Busted!
Sat Sep 03, 2011 1:31 pm
Profile WWW
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
i am currently out of town and my server is at home. i most likely will not be back in town till Monday or Tuesday. but in the mean time i will have to just let my computer coast with out me. so play on it while you still can as it might go down in a few hours like it always does. after running it for days on end it has the tendency to kick people out of the game. JP already knows about this so don't bomb-bard him with emails. i will reset the game and use the new jar file when i get home.

_________________
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"


Sat Sep 03, 2011 7:04 pm
Profile YIM
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
i have returned. and i was able to upgrade to 2.08 and was able to find the reason for those "empty" entries on my blog and have rectified the problem. i was also able to download the latest .jar file you posted Mongoose. and hopefully it will show up on my blog tonight. but i had a long weekend and i might not stay up to see if my editions worked. i will be able to see it after work tomorrow.

_________________
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"


Tue Sep 06, 2011 8:36 pm
Profile YIM
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: ability to publish game logs to a blogger account.
Cool. I'll look at your blog and see how it looks.

There's supposed to be one blank line when extern runs. In the game, it prints a timestamp, then a blank line, then the banner that says daily log for stardate whatever. The last jar I posted renders that correctly.

I still don't know why the output looks fine in Firefox but it's screwed up in Safari. I want to find out if it looks right in some other browsers.

_________________
Suddenly you're Busted!


Tue Sep 06, 2011 9:40 pm
Profile WWW
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
since i noticed that your on blogger, i was wondering if you wanted joint custody of my tradewars blog? or at least posting rights Mongoose?

_________________
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"


Wed Sep 07, 2011 5:07 pm
Profile YIM
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: ability to publish game logs to a blogger account.
No thanks. I'm not sure what I'd do with it.

Have you run into any problems with the latest version of my converter program? Logged any error messages? I'm going to fix the following things and post a new version in a day or two.

- Fix the color for Federation bounty messages
- Figure out why everything looks right in Firefox but not Safari
- Make it output a message when there are no matching log entries, so you don't end up with empty posts.

I'm wondering why you have so many empty posts. Shouldn't there at least be messages that extern has run? Either your extern isn't running, or something is wrong with your mailer script, or something is wrong with my program. I want to get to the bottom of it. :lol:

_________________
Suddenly you're Busted!


Wed Sep 07, 2011 7:00 pm
Profile WWW
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
Mongoose wrote:
Have you run into any problems with the latest version of my converter program? Logged any error messages? I'm going to fix the following things and post a new version in a day or two.

yesterdays entry was done with the latest program.

Mongoose wrote:
No thanks. I'm not sure what I'd do with it.


you can see the posted Html in the post editor. it would also help me report errors to you

_________________
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"


Wed Sep 07, 2011 7:45 pm
Profile YIM
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
Mongoose wrote:
Logged any error messages?


come to think of it Game A's error log had this:
Code:
Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90 Unexpected tilde code: ~90

_________________
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"


Wed Sep 07, 2011 8:06 pm
Profile YIM
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
Mongoose wrote:
I'm wondering why you have so many empty posts. Shouldn't there at least be messages that extern has run? Either your extern isn't running, or something is wrong with your mailer script, or something is wrong with my program. I want to get to the bottom of it. :lol:



Extern runs and the files get sent via blogger there is Html code in the posts but it just that when i look at the posts in the html editor it just has this code

Code:
<div style="font-family:monospace, fixed; background-color:#000000">
</div>


and nothing else.

_________________
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"


Wed Sep 07, 2011 8:25 pm
Profile YIM
Gameop
User avatar

Joined: Wed Jun 15, 2011 1:26 am
Posts: 165
Location: Martensville SK Canada
Unread post Re: ability to publish game logs to a blogger account.
i split the posting times to 1 game to every 10 minutes. and i noticed that all of the games posted this time so it appears that was the problem. having each game it's own time to post via blogger's email. witch kinda sucks because i have to wait 10 minutes between each post. but i guess that is a problem with Blat and not your program Mongoose. but take a look.

_________________
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"


Thu Sep 08, 2011 10:42 am
Profile YIM
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post Re: ability to publish game logs to a blogger account.
Hey, cool. I still need to make it recognize the ~Z color code. I'll do that... soon. :lol:

_________________
Suddenly you're Busted!


Thu Sep 08, 2011 1:38 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 134 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next

Who is online

Users browsing this forum: No registered users and 3 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.