View unanswered posts | View active topics It is currently Fri Dec 13, 2019 11:37 pm



Reply to topic  [ 134 posts ]  Go to page Previous  1 ... 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.
Mongoose wrote:
slother3x wrote:
as i noticed that when some one did it killed the whole entry.


What do you mean by that?


never mind it was just a hiccup in the html.

when someone announced a url in the log announcements it did not show the whole day's logs. for that day. maybe it was just a hiccup in the logfiles. so in order to clear the hiccup i just deleted those entries. and i also set my blog to just show 2 days worth of entries so it now looks ok on today's posts. the main page that is.

_________________
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 14, 2011 7:48 pm
Profile YIM
Gameop
User avatar

Joined: Sun Aug 28, 2011 2:56 am
Posts: 81
Location: Montana
Unread post Re: ability to publish game logs to a blogger account.
Mongoose wrote:
That doesn't appear to be the right file.


I'll be home early tomorrow, I'll zip up the file and send it to ya (that way the host server leaves it alone.)

I might also include my "C" Game log as well... for some reason, it started doing 'strike through' text yesterday about half way through the 3rd entry, and did it for the rest of the posting.

here's a link: http://www.netcessor.com/topper/2011/09 ... rdays-log/

As for the 'link' problem... Not sure if WordPress will have an issue with that or not the way blogspot did. (I guess i could easily find out just by posting a link as a universal announcement") But I'm guessing the blog software tried to do some parsing tricks to the link, one possible fix to that would be to prefix any words that begin with "http" with either

Code:
<pre> Link </pre>

or use

<code> Link </code>


It would strip out the hyperlink... but I'm not 100% sure how many people actually goto swath.net simply because they read the shareware spam in the announcements anyway. :lol:

_________________
ShapeShifter:
Image

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


Wed Sep 14, 2011 11:11 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.
That strikethrough text is a real stumper. There is no condition under which my code would ever output a strikethrough tag.

I notice that your blog has also converted dashes (-) to em dashes (–).

Maybe I should just put pre tags around the whole thing. What do you think?

_________________
Suddenly you're Busted!


Thu Sep 15, 2011 1:05 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:
That strikethrough text is a real stumper. There is no condition under which my code would ever output a strikethrough tag.

I notice that your blog has also converted dashes (-) to em dashes (–).

Maybe I should just put pre tags around the whole thing. What do you think?



my original idea was to just post "plain" text, of the logs. but with your conversion to html was the icing on the cake.

i like icing. i usually eat icing on my cake first then the cake it's self.

mmmm cake.

now i'm hungry. time to eat lunch...

_________________
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 15, 2011 1:45 pm
Profile YIM
Gameop
User avatar

Joined: Sun Aug 28, 2011 2:56 am
Posts: 81
Location: Montana
Unread post Re: ability to publish game logs to a blogger account.
Mongoose wrote:
That strikethrough text is a real stumper. There is no condition under which my code would ever output a strikethrough tag.

I notice that your blog has also converted dashes (-) to em dashes (–).

Maybe I should just put pre tags around the whole thing. What do you think?


Well.. I'm at a loss myself. I just got done getting the plain text highscores to post, and in order to get them to look right, I ended up adding pre tags to the entire process (Just so the blog would use a proportional font, spacing is key to make everything line up)

It looks like games b and c are the only two having problems (Then again... game 'A' and 'D' don't have anyone playing them... lol).

If adding the pre tags is the way its going to get done... I can live with it. like slother said, the color is icing... real nice icing.

oh.. since I'm here.. here's my files for the 'b' game and 'c' game:

http://www.netcessor.com/topper/wp-cont ... -Files.zip

Maybe after a peek through them, it'll give ya an idea on what's going on with them (I could be a problem with the .dat's ).

_________________
ShapeShifter:
Image

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


Thu Sep 15, 2011 2:05 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.
Both of those logs were useful, thanks!

I figured out the ~Z thing from the game B log. Every "The Ferrengi moved..." message is bracketed with three ~Zs. The game renders each ~Z as a red block and a white block.

The game C log contained something else unexpected. The names of gold ship types use color codes surrounded by curly braces, and those codes always come in pairs. Apparently, the names of gold alien races use the same type of color code, but they do not always come in pairs.

I'll put in fixes for these and post a new version this weekend, if not sooner.

_________________
Suddenly you're Busted!


Thu Sep 15, 2011 2:44 pm
Profile WWW
Gameop
User avatar

Joined: Sun Aug 28, 2011 2:56 am
Posts: 81
Location: Montana
Unread post Re: ability to publish game logs to a blogger account.
Mongoose wrote:
Both of those logs were useful, thanks!

I figured out the ~Z thing from the game B log. Every "The Ferrengi moved..." message is bracketed with three ~Zs. The game renders each ~Z as a red block and a white block.

The game C log contained something else unexpected. The names of gold ship types use color codes surrounded by curly braces, and those codes always come in pairs. Apparently, the names of gold alien races use the same type of color code, but they do not always come in pairs.

I'll put in fixes for these and post a new version this weekend, if not sooner.


Ohh.. I probably should have mentioned that "C" is a MOO 2 Edit... a ton of edits in that one...

Glad they helped, and looking forward to the next update.

_________________
ShapeShifter:
Image

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


Thu Sep 15, 2011 2:54 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.
Yeah... it appears that in C, you have gold Ferrengi flying classic ships.

_________________
Suddenly you're Busted!


Thu Sep 15, 2011 3:00 pm
Profile WWW
Gameop
User avatar

Joined: Sun Aug 28, 2011 2:56 am
Posts: 81
Location: Montana
Unread post Re: ability to publish game logs to a blogger account.
Mongoose wrote:
Yeah... it appears that in C, you have gold Ferrengi flying classic ships.


Lol... maybe.. I don't play the game on my own server, and with that particular one, I just downloaded the TWA, imported it, and banged it... its what ever the author did to that one that makes it act/work the way it does.

_________________
ShapeShifter:
Image

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


Thu Sep 15, 2011 3:08 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.
This version renders ~Z correctly, and also handles gold race names correctly. It processes your game B and C logs without error, and the output looks correct in Firefox.

I didn't add pre tags.

As usual, rename TWOPENG2.zip to TWOPENG2.jar.


Attachments:
File comment: Java source
TWOPENG2-src.zip [5.72 KiB]
Downloaded 194 times
File comment: Rename this file to .jar
TWOPENG2.zip [17.37 KiB]
Downloaded 198 times

_________________
Suddenly you're Busted!
Thu Sep 15, 2011 10:17 pm
Profile WWW
Gameop
User avatar

Joined: Sun Aug 28, 2011 2:56 am
Posts: 81
Location: Montana
Unread post Re: ability to publish game logs to a blogger account.
Mongoose wrote:
This version renders ~Z correctly, and also handles gold race names correctly. It processes your game B and C logs without error, and the output looks correct in Firefox.

I didn't add pre tags.

As usual, rename TWOPENG2.zip to TWOPENG2.jar.


Okay... just updated... I'll let ya know how it worked out (this update, and my high scores post event... )

_________________
ShapeShifter:
Image

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


Thu Sep 15, 2011 11:20 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:
This version renders ~Z correctly, and also handles gold race names correctly. It processes your game B and C logs without error, and the output looks correct in Firefox.

I didn't add pre tags.

As usual, rename TWOPENG2.zip to TWOPENG2.jar.

updated now, should see results at midnight

_________________
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 15, 2011 11:22 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 am going to start a new thread asking a similar question to this thread. asking "ability to publish High scores to a blogger account" asking the very question that you appear to of answered topper. see you there.

_________________
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:09 am
Profile YIM
Gameop
User avatar

Joined: Sun Aug 28, 2011 2:56 am
Posts: 81
Location: Montana
Unread post Re: ability to publish game logs to a blogger account.
slother3x wrote:
i am going to start a new thread asking a similar question to this thread. asking "ability to publish High scores to a blogger account" asking the very question that you appear to of answered topper. see you there.


I'm just waiting till midnight to see if it works all automated... if it does, I'll post the batch file that does it. It's not all colorful, like I wanted, but it gets the job done till I figure out how to do ANSI --> HTML.

_________________
ShapeShifter:
Image

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


Fri Sep 16, 2011 12:13 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.
I see I overlooked the color code for traders being awarded a Federal commission. That'll be easy to figure out.

Your blog looks good, Slother!

Still not sure why the formatting's getting messed up on yours, Topper. I'm seeing all kinds of weird stuff when I view the source, like <span> tags being split in half, and the brackets around some tags (but not others) being converted into HTML entities like &gt;.

Could you try manually editing my program's HTML output and see if you can find a solution that works with Wordpress? If you figure out something that works, I'll incorporate it into the program.

_________________
Suddenly you're Busted!


Fri Sep 16, 2011 6:39 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 134 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9  Next

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.