Announcements

Please do not use Photobucket to host your images on this site. They will not appear for other users but instead will give an error image and a directive to go to:
http://photobucket.com/p500/
For these images to show up it would require us to pay a premium account fee of $399.00 USD/year or our users to set up paid accounts of $99/year for this service to view these images.
We will be removing all linked images to that site and we suggest you use https://imgur.com/ or other similar site instead.

Watch this space for important information on planned twitch streams, updates and more

Site Maintenance Caused Forum Error?

8 posts / 0 new
Last post
Fireheart
Fireheart's picture
Offline
Last seen: 2 hours 56 min ago
11th Anniversary Badge
Joined: 10/05/2013 - 13:45
Site Maintenance Caused Forum Error?

Ever since the recent site maintenance, there seems to be an error in Forum Post Formatting, where extra HTML line-breaks and paragraphs are being introduced to all posts, including old postings.

I think I saw a suggestion that this may have been introduced by a hiccup between the storage database and the HTML-composer? That makes a certain sense to me, since I've seen such things in my own dayjob, where pages come out all wrong, in unexpected fashion.

Could we have feedback and discussion about fixing this? Sometimes I want my posts to come out looking a particular way.

Be Well!
Fireheart

Darth Fez
Darth Fez's picture
Offline
Last seen: 1 week 1 day ago
kickstarter11th Anniversary Badge
Joined: 09/20/2013 - 07:53
The quoting appears to be

The quoting appears to be having some issues, as well. Using the [ quote ] code works normally for nested quotes but in several cases the quoted text has become one large block of text. This post is a weird example since the original post includes both single and double line breaks and the quote maintains the single line break but has removed the double line breaks. Admittedly, I am assuming that the posters have made no changes to the quoted text.

- - - - -
Hail Beard!

Support trap clowns for CoT!

Foradain
Foradain's picture
Offline
Last seen: 2 hours 51 min ago
kickstarter11th Anniversary Badge
Joined: 10/25/2013 - 21:06
This thread from Lin Chiao

This thread from Lin Chiao Feng was the first I heard about this issue.

Foradain, Mage of Phoenix Rising.
Foradain's Character Conclave
Avatar courtesy of Satellite Nine.
If you can't see an image I've posted, please let me know!

Lin Chiao Feng
Lin Chiao Feng's picture
Offline
Last seen: 3 days 17 hours ago
Developerkickstarter11th Anniversary Badge
Joined: 11/02/2013 - 09:27
The quotes getting bolloxed

The quotes getting bolloxed up is because, for some reason I don't know, the quoting mechanism has always replaced nested BBCode quote tags with HTML blockquote tags (and a lot more formatting), and now that HTML tags are ignored, it all turns into one run-on blob of text.

Has anyone seen my mind? It was right here...

Fireheart
Fireheart's picture
Offline
Last seen: 2 hours 56 min ago
11th Anniversary Badge
Joined: 10/05/2013 - 13:45
Foradain wrote: This thread
Foradain wrote:

This thread from Lin Chiao Feng was the first I heard about this issue.

^^ Brutally pruned the excess code.

Yes, I moved the focus to here in the Bugs section, because that 'Site Maintenance' thread kept disappearing under the other Announcement Discussions.

Be Well!
Fireheart

Shadow Elusive
Shadow Elusive's picture
Offline
Last seen: 17 hours 15 min ago
Developerkickstarter11th Anniversary Badge
Joined: 01/10/2013 - 09:38
It may be working as intended

It may be working as intended. The site went down because someone allowed malicious software in through HTML embedding. Now only admins can use HTML. In the process our BBCode was updated and refreshed, as it was going to be needed more :D.

--------------------------

Community Manager
Foradain
Foradain's picture
Offline
Last seen: 2 hours 51 min ago
kickstarter11th Anniversary Badge
Joined: 10/25/2013 - 21:06
[url=http://cityoftitans.com

I don't think the quote system is quite working as intended, especially for nested quotes.
Over on another thread, Radiac made a post, from which I made this cut and paste copy, and then I used the Preview button below to make sure it's as close to the original as possible, though it doesn't have Radiac's .sig. The lines I put in to show where the quote begins and ends:
___________________________________________________________________________________________
As I understand the terms, "action MMO" means "twichiest player wins", CoX wasn't like that and it is my belief that they're not going to make CoT like that either, for that reason (spiritual successor).

I believe there will be tab to target and when powers are used, you'll hit or miss based primarily on a pseudorandomized "roll to hit" with modifications possible form a number of sources. I hesitate to say "gear" because people tend to assume that means "gear" in the WoW sense and not in the CoX sense, butto me it's still gear in some sense. Also, other factors, I know not which.
___________________________________________________________________________________________
Now here's what you get using the Quote button:

Radiac wrote:

As I understand the terms, "action MMO" means "twichiest player wins", CoX wasn't like that and it is my belief that they're not going to make CoT like that either, for that reason (spiritual successor).I believe there will be tab to target and when powers are used, you'll hit or miss based primarily on a pseudorandomized "roll to hit" with modifications possible form a number of sources. I hesitate to say "gear" because people tend to assume that means "gear" in the WoW sense and not in the CoX sense, butto me it's still gear in some sense. Also, other factors, I know not which.

And finally, this is what you get when you quote blacke4dawn's post which quoted Radiac's post:

blacke4dawn wrote:

Radiac wrote: As I understand the terms, "action MMO" means "twichiest player wins", CoX wasn't like that and it is my belief that they're not going to make CoT like that either, for that reason (spiritual successor).I believe there will be tab to target and when powers are used, you'll hit or miss based primarily on a pseudorandomized "roll to hit" with modifications possible form a number of sources. I hesitate to say "gear" because people tend to assume that means "gear" in the WoW sense and not in the CoX sense, butto me it's still gear in some sense. Also, other factors, I know not which.Tab targeting games almost exclusively use a so called hit table, that is that they have a "table" going from 0 (or 1) to 100 (representing percent chance) with every possible outcome an attack has taking up a portion of that table, adjusted on a per attack basis. Some things can have a minimum enforced level (5% minimum hit chance in CoX) while others can be "pushed off of" the table (crit immunity for PvE tanks in WoW). There are 3 primary "groups" of modifications to this over baseline (naked toon) which are:
Items. Traditionally equiptable gear but also, as you said, the enhancements from CoX.
Permanent buffs. Passives in any form, most often from a passive skill tree.
Temporary buffs. Castable time limited buffs in any form. Environmental buffs also go here since they can be "removed" by exiting the area.
And remember, debuffs are just buffs with a negative value.Though, this is all from a simplistic design perspective. From a mechanical perspective it is much more complex and depending on the game they might have several checks/rolls before they reach the final outcome.

When I look at the text as I edit this post, I can clearly see < > codes, that, for example, delineate the end of Radiac's post in blacke4dawn's post, although don't seem to make it through to the preview...

Foradain, Mage of Phoenix Rising.
Foradain's Character Conclave
Avatar courtesy of Satellite Nine.
If you can't see an image I've posted, please let me know!

Lin Chiao Feng
Lin Chiao Feng's picture
Offline
Last seen: 3 days 17 hours ago
Developerkickstarter11th Anniversary Badge
Joined: 11/02/2013 - 09:27
Shadow Elusive wrote: It may
Shadow Elusive wrote:

It may be working as intended. The site went down because someone allowed malicious software in through HTML embedding. Now only admins can use HTML. In the process our BBCode was updated and refreshed, as it was going to be needed more :D.

I understand that the use of HTML tags allowed an exploit or a thousand. Frankly, I was surprised it was alllowed at all.

But don't you dare for a second try to anoint the current mess as "working as intended." If I tried to pull that shit at work, I'd be fired.

Right now you guys are simply stripping all HTML tags, and inserting some hodgepodge as with the BBCode code tag. That's a stopgap. Your code is still converting quotes to HTML, among other things, and that is generating incorrect code.

So you've got a couple of options:

  • Fix the parser so it handles the HTML in a way that is both correct and removes the exploit.
    • If this fix breaks a few posts, send PMs to the post authors with links to those posts so they can fix them.
    • If a lot of posts are still broken, e.g. all quote blocks are unformatted, you're not done; improve the parser.
  • Permanently ban HTML and go BBCode-only.
    • Update the parser to allow nested quotes, and go through the entire database (this could take a long time, like a day) and fix all the existing posts' quotes. Again, if there are a few that can't parse, have the post authors fix them.

In any case, I consider the current site's state to be a "work in progress," believe that this issue will be resolved one way or another, and staunchly believe that it won't be left like this for the rest of the year.

And if you're really that short-handed and can't get the parser to behave, pitch me an NDA and I'll see what I can help with. I'm no fan of PHP (the intranet site I develop at work is Python-based on the back end, and I've had to do these kinds of database retcons before), but I'll try my best.

P.S. phpBB supports the BBCode-only route, all the extensions I see here except iframes, and it's already written in PHP. If all else fails, you can probably steal code from it. Then you just have to deal with the database retcon, and rip out the code that transmogrifies nested quotes because phpBB's parser is fine with nested quote tags.

Has anyone seen my mind? It was right here...