Play Now Login Create Account
illyriad
  New Posts New Posts RSS Feed - TOURNAMENT -- SHINE A LIGHT ON NF.
  FAQ FAQ  Forum Search   Register Register  Login Login

TOURNAMENT -- SHINE A LIGHT ON NF.

 Post Reply Post Reply Page  <1 1112131415 19>
Author
 Rating: Topic Rating: 1 Votes, Average 5.00  Topic Search Topic Search  Topic Options Topic Options
Digioso View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 09 Feb 2015
Location: Germany
Status: Offline
Points: 287
Post Options Post Options   Thanks (0) Thanks(0)   Quote Digioso Quote  Post ReplyReply Direct Link To This Post Posted: 21 May 2016 at 13:11
To shine some light on the bugs we had. :)

1) Initially we downloaded the api key for one player, then all his reports, then did the same for the next player. Problem: If player B is on a spot before player A but we downloaded player A first this caused problems in the database. The fix was to first download all API keys for all players and then start with the oldest available report.
2) Some of you noticed this bug. There was an enemy army already on a spot. You sent a larger occupation army, defeated the enemy but the script was not giving making you the new occupier. The reason for this was: Both you and the defender provided battle reports for this battle. However in the case when we read the defenders reports before that of the attacker the attackers occupation time was not counted. This is because the defenders reports says that the attacker send an army with the 'Occupy' command but it does not state the occupation time. Only the report of the attacker states the occupation time. The fix was to mark the defenders report as incomplete in our database so that the report from the attacker can provide the occupation times.
3) You may have seen that on some squares the occupation times were abnormally high. EG some alliances were occupying a single square since 9 days although the tournament isn't even running that long. So that should be impossible. The reason is some kind of an anti-cheat system. Well, it's not really cheating.
You send an army to a spot. This arrives at 1pm. You gave your army an occupation time of 1 hour. So your army automatically leaves at 2pm. Someone else sends an army which arrives at 3pm. So the square is unoccupied between 2pm and 3pm.
The game doesn't provide a combat report or anything when an army leaves a square. This means that the player who's army left at 2pm will get credited to be at that spot until 3pm because only then another player arrives. So that player gained one hour of occupation time although he wasn't occupying the square. We tried to amend this by calculation the occupation start time + the occupation duration and then set the occupation end time accordingly.
For some reason however this caused very weird results. So for now we've disabled this system. Since all sqaures are under heated battles the chance of this happening is very low. And even if it does happen... Well, I'd say that the player just got lucky for now. :P


Edited by Digioso - 21 May 2016 at 13:11
Back to Top
ElfLark View Drop Down
Greenhorn
Greenhorn
Avatar

Joined: 18 Dec 2012
Location: Florida, US
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote ElfLark Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2016 at 22:47
Thanks an Illyriad googleplex for the opportunity to slaughter so many pixels in the interest of FUNNNN and awareness of neurofibromatosis.

Let your light shine!
Who would you be if you stopped being all the things you are not?
Back to Top
Diva View Drop Down
Forum Warrior
Forum Warrior
Avatar

Joined: 20 Dec 2011
Location: United States
Status: Offline
Points: 416
Post Options Post Options   Thanks (0) Thanks(0)   Quote Diva Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2016 at 21:33
Originally posted by kodabear kodabear wrote:

  The code has to scan though about 14124 combat reports so it will take a bit

All I can add is THANKS FOR THE ACTIVITY... 

MANY MANY MANY THANKS!  Big smile

You and Digioso (and the Devs for pitching in) are GOLDEN StarStarStar in my book!
"Um diva.... you are sort of acting like a .... diva...." - PhoenixFire
Back to Top
kodabear View Drop Down
Postmaster General
Postmaster General
Avatar
Player Council - Astronomer

Joined: 18 Jun 2013
Location: Lucerna
Status: Offline
Points: 1237
Post Options Post Options   Thanks (0) Thanks(0)   Quote kodabear Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2016 at 18:39
Originally posted by kodabear kodabear wrote:

16:17]<Kodabear> Hello everyone. got some Tournament news. We are pretty sure we have gotten down to the bottom of the problem where some occupations were alot longer then they should (Ep 355/564 Windlost Holy Storm Company (Since: 20.05.2016 16:01:53) Holy Storm Company (7 days, 11 hours, 27 minutes, 47 seconds)) we are testing right now to make sure the issue was fixed and if it was fixed we will start going though the work of getting a fully corrected database thank you all for being very patience while we work out the problems

Testing worked and this bug has been fixed we are now working getting a fully corrected database. The code has to scan though about 14124 combat reports so it will take a bit
Back to Top
Yitshak View Drop Down
Wordsmith
Wordsmith
Avatar

Joined: 28 Apr 2016
Status: Offline
Points: 179
Post Options Post Options   Thanks (0) Thanks(0)   Quote Yitshak Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2016 at 17:49
Outstanding Clap

There were bound to be teething problems, that is to be expected. What you and your team have achieved is amazing.
Back to Top
kodabear View Drop Down
Postmaster General
Postmaster General
Avatar
Player Council - Astronomer

Joined: 18 Jun 2013
Location: Lucerna
Status: Offline
Points: 1237
Post Options Post Options   Thanks (0) Thanks(0)   Quote kodabear Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2016 at 17:40
16:17]<Kodabear> Hello everyone. got some Tournament news. We are pretty sure we have gotten down to the bottom of the problem where some occupations were alot longer then they should (Ep 355/564 Windlost Holy Storm Company (Since: 20.05.2016 16:01:53) Holy Storm Company (7 days, 11 hours, 27 minutes, 47 seconds)) we are testing right now to make sure the issue was fixed and if it was fixed we will start going though the work of getting a fully corrected database thank you all for being very patience while we work out the problems
Back to Top
Yitshak View Drop Down
Wordsmith
Wordsmith
Avatar

Joined: 28 Apr 2016
Status: Offline
Points: 179
Post Options Post Options   Thanks (0) Thanks(0)   Quote Yitshak Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2016 at 14:41
Ah, ok thanks Smile
Back to Top
palmz View Drop Down
Greenhorn
Greenhorn
Avatar

Joined: 05 Jul 2015
Location: BL
Status: Offline
Points: 58
Post Options Post Options   Thanks (0) Thanks(0)   Quote palmz Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2016 at 06:07
Just try again latter it sometimes does that. It is currently working for me, so it might be worth trying again now
Back to Top
zolvon View Drop Down
Wordsmith
Wordsmith
Avatar

Joined: 05 May 2010
Location: NZ
Status: Offline
Points: 182
Post Options Post Options   Thanks (0) Thanks(0)   Quote zolvon Quote  Post ReplyReply Direct Link To This Post Posted: 20 May 2016 at 03:39
It was working well before, but now says "internal server error!"Cry
Back to Top
kodabear View Drop Down
Postmaster General
Postmaster General
Avatar
Player Council - Astronomer

Joined: 18 Jun 2013
Location: Lucerna
Status: Offline
Points: 1237
Post Options Post Options   Thanks (0) Thanks(0)   Quote kodabear Quote  Post ReplyReply Direct Link To This Post Posted: 19 May 2016 at 23:43
Originally posted by Yitshak Yitshak wrote:

One thing I may have missed - the co-ordinates.
Some are green, most are cyan. What is the significance of the colours ?

a:link {
    color: aquamarine;
}

/* visited link */
a:visited {
    color: green;
}

/* mouse over link */
a:hover {
    color: hotpink;
}

/* selected link */
a:active {
    color: blue;
}


Edited by kodabear - 19 May 2016 at 23:44
Back to Top
 Post Reply Post Reply Page  <1 1112131415 19>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.