Bug, news

As bugs and suggestions are fixed/implemented/rejected, they will be moved in here.
Post Reply
User avatar
Ruddertail
Promi Diplomacy ate my homework...
Posts: 4510
Joined: Wed May 12, 2004 11:39 pm
Location: Chances are, playing FAF.
Contact:

Post by Ruddertail »

On my personal profile, the news listed an attack I didn't make, with no resaults listed, only the attacker and defender.
Empires:
WOA: Attila the Hun(#13)
BFR: ?
Founder and Leader of Hungry Huns (HH)
User avatar
Slasher
The FAF Forums SMEGHEAD!!! lol
Posts: 2635
Joined: Mon May 03, 2004 5:08 pm
Location: http://florida4us.com/
Contact:

Post by Slasher »

i mentioned this to an admin in IM he said it is because it logs leaving/joining a clan and things like that instead of just attacks
I do not have a signature, you must be imagining

http://florida4us.com/

Image
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

The only thing I can see is your kill on Jager - which is fixed btw.

[edit] If you could find the exact time of that in the News page it would help a great deal.
:wq
User avatar
Ruddertail
Promi Diplomacy ate my homework...
Posts: 4510
Joined: Wed May 12, 2004 11:39 pm
Location: Chances are, playing FAF.
Contact:

Post by Ruddertail »

The thing with Jager is all I could see. I can't check again because I went off for the night, and got killed. The game is much too brutal right now. A few people have gotten up towords the top, and then kill off everyone who joins. Maybe you should scale back the turn rate, make it 50/10 instead of this 1000/10. Or even 100/10 would be better.
Empires:
WOA: Attila the Hun(#13)
BFR: ?
Founder and Leader of Hungry Huns (HH)
User avatar
Zephyrus
Eternally Confused
Posts: 1250
Joined: Wed May 05, 2004 8:57 pm
Location: Bleh. New York City.

Post by Zephyrus »

Test bash isn't supposed to let you live.
Back. I think.
Veranor
FAF Co-Programmer
Posts: 310
Joined: Mon Mar 08, 2004 8:12 pm

Post by Veranor »

The Beatles wrote: The only thing I can see is your kill on Jager - which is fixed btw.

[edit] If you could find the exact time of that in the News page it would help a great deal.
Well the old code which did

$where .= " AND (id1=$searchnum OR id2=$searchnum)"
was replaced with a version without parenthesis, so you would get a query where the conditional would look like

code > 201 AND code < 400 AND id1=78 OR id2=78

Which is always true even if code is higher than 400 because of the OR id2=78 (phpmyadmin verifies this).


I switched the comments around so that the where looks like:

(code > 201 AND code < 400) AND (id1=78 OR id2=78)

Tests reveal that bounty/clan etc. news don't show up (so far).

So I believe this is resolved.

-Veranor.
"The truth is a trap: you can not get it without it getting you; you cannot get the truth by capturing it, only by its capturing you." - Søren Kierkegaard
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members