Reputation: 17 Tradesman
- Active Members
- Active Posts:
- 277 (0.14 per day)
- 06-January 10
- Profile Views:
- Last Active:
- Jun 07 2015 01:13 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Who Cares
- Favorite Gaming Platform:
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 7 Jun 2015You'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.
Posted 15 Mar 2015It worked just fine for me two seconds ago, however it does look like its not auto logging people in. that might be the issue.
Posted 14 Mar 2015You 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.
QuoteYour 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?
Posted 7 Mar 2015
QuoteThat 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.
Posted 6 Mar 2015Sorry, force of habit (I'm actually hitting the multiquote button... i'm just bad)
- Member Title:
- D.I.C Regular
- Age Unknown
- Birthday Unknown
Lieoften hasn't added any friends yet.