Lieoften's Profile User Rating: -----

Reputation: 17 Tradesman
Active Members
Active Posts:
281 (0.14 per day)
06-January 10
Profile Views:
Last Active:
User is offline Today, 12:47 AM

Previous Fields

OS Preference:
Favorite Browser:
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Your Car:
Dream Kudos:

Latest Visitors

Icon   Lieoften is Tired as heck.

Posts I've Made

  1. In Topic: back slashes being added on pdo input

    Posted 22 Aug 2015

    andrewsw: I've since removed stripslashes since it wasn't doing anything at all. But i tried to apply it at every possible point (at the process page and everywhere on the class file). Nothing helped.

    Atli: I'll give that a try in the morning/afternoon. I've spent far too long trying to figure this out right now.
  2. In Topic: Showcase site for a potential "client"

    Posted 7 Jun 2015

    View PostLemur, on 07 June 2015 - 12:27 AM, said:

    You're throwing in random images which quite frankly have nothing to do with the content on the page. Only use images to accent a point, not just for the sake of filling space. Currently they create very awkward breaks in the page.

    that'd be because I copied it pretty much verbatim from the old page.

    Could you elborate on the "Anti-contrasting" look? I think i know what you mean but I'm not sure i've ever heard it called "Anti'contrasting"

    as for everything else. I've updated (and am still updating) the site as we speak.

    I am having a small issue with the design though -- the side bar (contact, mission statement, etc etc) isn't reaching the bottom of the page.
  3. In Topic: Reddact Game V.3.0

    Posted 15 Mar 2015

    It worked just fine for me two seconds ago, however it does look like its not auto logging people in. that might be the issue.
  4. In Topic: Speeding up PHP and SQL queries

    Posted 14 Mar 2015

    View Postbaavgai, on 14 March 2015 - 04:11 AM, said:

    You are using too much PHP and not enough SQL! Seriously.

    Not terribly surprising to me, lol this class is a thousand times better than my previous version, which had about 300 times more functions for a similar process.


    Your database kind of confuses me here. You field names are wickedly inconsistent. Structurally, you planets seem to belong to stars. And stars have owners. But planets also have owners, which is confusing. Your code seems to treat these owners as interchangeable, which is more confusing.

    The owners are interchangeable -- there is an AI in the game (not implemented at the moment), which will essentially allow planets to rebel against the user, so while the user can still own the Star, there may be a planet under rebel controll.

    Your code makes a lot more sense, (which is to be expected, i'm not the best at optimizing things like that) -- but i do have a question, what exactly does the getRow function do that the pdo fetch function does not? I mean, it essentially is a simplified version of Fetch, is it not?
  5. In Topic: Trying to improve a system

    Posted 7 Mar 2015


    That was meant as an example of how you might change your query. I didn't take the time to figure out exactly how to do it, only to suggest a line of thought. Basically, if the x and y coordinates of two stars are both within a certain range of each other, you only want to use one (at most) of them.

    Well, i didn't take your exact suggestion, i've been tweaking around with it since the you suggested it, but I think i've worked it out now -- i think the issue wasn't the selecting what stars already exist, but handling the data afterwards. I just changed the value from "return true" to "Return False" (or vice versa) and it's working now.

My Information

Member Title:
D.I.C Regular
Age Unknown
Birthday Unknown

Contact Information

Click here to e-mail me
Website URL:
Website URL


Lieoften hasn't added any friends yet.


Lieoften has no profile comments yet. Why not say hello?