BattleMaster Community

BattleMaster => Development => Topic started by: Indirik on October 10, 2015, 01:14:18 AM

Title: Problems on new server?
Post by: Indirik on October 10, 2015, 01:14:18 AM
Pages don't appear to be loading completely. I'm not seeing the page footers when playing a character.
Title: Re: Problems on new server?
Post by: James on October 10, 2015, 01:18:07 AM
Mobile site seems to have been lost in the move... Just a big default Apache page on m.battlemaster.org at moment.
Title: Re: Problems on new server?
Post by: Tom on October 10, 2015, 02:02:15 AM
@James: Should be fixed now. Yes, it got lost.

@Indirik: Can you be more specific, please?
Title: Re: Problems on new server?
Post by: Wimpie on October 10, 2015, 01:08:05 PM
Mobile site is up and running it seems  ;D

I have no difficulties regarding loading pagess. Footers are displayed just fine.
Title: Re: Problems on new server?
Post by: Indirik on October 10, 2015, 05:55:48 PM
The footer is working fine now.
Title: Re: Problems on new server?
Post by: eberheart on October 11, 2015, 03:12:55 AM
Are there still issues going on I am having nothing happen on turn changes, as well as been traveling past two turns from the same location?
Title: Re: Problems on new server?
Post by: Zakilevo on October 11, 2015, 06:19:39 AM
eh what happened to turn changes?
Title: Re: Problems on new server?
Post by: Tom on October 11, 2015, 12:14:26 PM
From what I can see, turns are running. I will check again.
Title: Re: Problems on new server?
Post by: eberheart on October 11, 2015, 02:49:39 PM
all four of my characters are still having the same issues, Nothing happening on turns, have been traveling for over 24 hours to the same place and no update on hours... not to mention very rarely am i recieving any notifications
Title: Re: Problems on new server?
Post by: D_Gile on October 11, 2015, 03:50:33 PM
I'm not getting my time pool refreshed, either on any of my characters.  It seems that the problem may be wide spread, but people are thinking that the game is still frozen.
Title: Re: Problems on new server?
Post by: Zappy99 on October 11, 2015, 05:49:25 PM
Same here. Turns aren't running.
Title: Re: Problems on new server?
Post by: Gabanus family on October 11, 2015, 06:04:44 PM
I got the same problem, none of my chars gets hours, travel doesn't happen and one has been returning from prison for like 2 days now. Seems that it doesn't work for most others either though. Haven't received reports about battles or anything either.
Title: Re: Problems on new server?
Post by: Fuor Family on October 11, 2015, 06:24:56 PM
All six of my characters are frozen. Two priests spent 12 hours preaching last night out of a full timepool, check in a bit less than 12 hours later and they're both still sitting at 4 hours of time available. Haven't seen any battle/turn change/etc notifications in a while now, either.
Title: Re: Problems on new server?
Post by: Thalanteus on October 11, 2015, 06:31:24 PM
All my characters are frozen still.  I thought the game was still paused...
Title: Re: Problems on new server?
Post by: Renodin on October 11, 2015, 07:13:06 PM
Renodin Family

Turns are not running for me sadly. Was told to report it here.
Title: Re: Problems on new server?
Post by: Tom on October 11, 2015, 08:08:08 PM
Ah, I found one problem that probably caused this, fixed now, turn is running manually.
Title: Re: Problems on new server?
Post by: James on October 11, 2015, 08:42:02 PM
Ah, I found one problem that probably caused this, fixed now, turn is running manually.

That looks better... However, my character that was seriously wounded, now shown as wounded, gets the following when clicking play:


Fatal error: Cannot use isset() on the result of a function call (you can use "null !== func()" instead) in /home/battlemaster/website/stable/out-wounded.php on line 35

He's on the Colonies...
Title: Re: Problems on new server?
Post by: Tom on October 11, 2015, 10:58:53 PM
That's a code error, probably because the PHP version on the new server is newer than on the old.

Tim should look at that tomorrow, I don't understand that code part 100% so late at night.
Title: Re: Problems on new server?
Post by: Bjorn on October 12, 2015, 02:16:25 PM
Well, my characters are still frozen in time, one of them in a travel. I don't see a turn change in a couple of days.
Title: Re: Problems on new server?
Post by: Zappy99 on October 12, 2015, 02:23:10 PM
I'm seeing the turn changes, but my character isn't moving. Dwilight, by the way.
Title: Re: Problems on new server?
Post by: James on October 12, 2015, 02:23:52 PM
Another character on the Colonies got this when trying to build a shrine:


Parse error: syntax error, unexpected end of file in /home/battlemaster/website/stable/Priest.BuildShrine.php on line 78
Title: Re: Problems on new server?
Post by: Indirik on October 12, 2015, 05:00:24 PM
My guy on AT is not traveling. He only had a 4 hour journey, but he never gets any closer.

I'm not getting travel reports.

The last unit status report I got was 3 days ago.
Title: Re: Problems on new server?
Post by: Tom on October 12, 2015, 07:14:56 PM
I see turns running, but it is well possible that parts of them are still broken. I know some elements of them don't work, because I see error messages. But by now I am so far away from the code that it's better to leave this to Tim. I hope he will manage to look at it soon.
Title: Re: Problems on new server?
Post by: Indirik on October 12, 2015, 07:35:29 PM
Quick update: My character on AT is getting hours, just not moving. I stopped traveling, and he is even still dug in. I reset the travel destination to see if that breaks him free. I will report next turn.

My character on south island moved just fine.
Title: Re: Problems on new server?
Post by: Indirik on October 12, 2015, 07:42:28 PM
My character on BT keeps getting "forced into battle" due to not enough hours to travel away, even though I have 12 in my pool. Also, unit status seems stuck on "rallying". No unit status report, and still have 7 wounded men ever since the server change.
Title: Re: Problems on new server?
Post by: Zakilevo on October 12, 2015, 08:47:46 PM
I've been traveling toward a mountain region for the past two days. The game has been telling me my character is only 3 hours away from arriving for the past 2 days...
Title: Re: Problems on new server?
Post by: Tom on October 12, 2015, 08:53:55 PM
Yes, I know, travel is blocked somehow, and a few related things. I will look into it again, but I doubt I can figure it out so fast (my day is over in half an hour, because of a business trip tomorrow).
Title: Re: Problems on new server?
Post by: Tom on October 12, 2015, 09:07:16 PM
I might have found and fixed the error. We will know tomorrow morning.
Title: Re: Problems on new server?
Post by: Samboji on October 13, 2015, 03:15:59 AM
Some things fixed, some not. Travel not working on Dwilight, but taxes were gained and I think hours refreshed. Advies seem to be working fine though (movement ok, investigation, hunting all good). Tileni Janelle as Noble, stuck on ferry between Giask and Askileon. Rp'd a drinking session before hand funnily enough :)

Atamara seems to be working. Arrived in region properly.
Title: Re: Problems on new server?
Post by: Tom on October 13, 2015, 10:51:24 AM
Strange, I didn't get any errors in the turn this morning. Tim hasn't replied yet. Can we gather more data on what is working and what not?
Title: Re: Problems on new server?
Post by: Gabanus family on October 13, 2015, 12:44:04 PM
Actually, travel worked for me and some others on Dwilight this morning. Also travel worked again for Atamara for me at least. So far I have no more problems, will report back when I do find something.
Title: Re: Problems on new server?
Post by: Tom on October 13, 2015, 05:58:57 PM
Please do. Sadly, the debug output is not yet posted to the forum again, as it should. That makes checking for errors a little more difficult.
Title: Re: Problems on new server?
Post by: Tom on October 13, 2015, 06:07:32 PM
The post_to_forum script seems broken:

PHP Notice:  Undefined index: badbehavior_eu_cookie in /home/battlemaster/forum/Sources/bad-behavior/BadBehavior-SMF.php on line 359
PHP Notice:  Undefined index: REQUEST_METHOD in /home/battlemaster/forum/Sources/bad-behavior/bad-behavior/core.inc.php on line 117
PHP Notice:  Undefined index: REQUEST_METHOD in /home/battlemaster/forum/Sources/bad-behavior/bad-behavior/core.inc.php on line 117
PHP Notice:  Undefined index: REQUEST_URI in /home/battlemaster/forum/Sources/bad-behavior/bad-behavior/core.inc.php on line 123
PHP Notice:  Undefined index: badbehavior_url in /home/battlemaster/forum/Sources/bad-behavior/BadBehavior-SMF.php on line 339
PHP Notice:  Undefined index: badbehavior_useragent in /home/battlemaster/forum/Sources/bad-behavior/BadBehavior-SMF.php on line 340
PHP Notice:  Undefined index: server in /home/battlemaster/forum/Sources/QueryString.php on line 477
PHP Notice:  Undefined index: server in /home/battlemaster/forum/Sources/QueryString.php on line 477
PHP Notice:  Undefined index: server in /home/battlemaster/forum/Sources/QueryString.php on line 477
The database value you're trying to insert does not exist: request_method
Title: Re: Problems on new server?
Post by: Gabanus family on October 13, 2015, 06:29:08 PM
Travel didn't happen again for me on Atamara, where it did work yesterday (manually I think?). This goes for both my chars there.
Title: Re: Problems on new server?
Post by: Samboji on October 14, 2015, 01:58:47 AM
Pretty sure the same happened to me.

No travel on Atamara.
Travel on Dwilight worked fine.

Things do seem a little slower on the mobile site, with some things not wanting to load easily (only really a problem for advies and hunting).

Still, we're getting there. Keep up the good work guys. Big hardware changeovers never go as smoothly as you'd like. I'll chuck a donation in soon just for all the hard work you must all be doing in the background. Cheers.

edit: mobile site seems to fail on page loads sometimes. Half-travel maps, non-loads, etc. This is through Opera Classic on Android, which has a hard time on some scripting/JavaScript pages sometimes, but is great on others, so if the gritty backend got updated, it might be that. I've got other browsers on my phone. But mobile site seems far less "loady-on-click" through this browser now. Press stop, press reload, usually works.
Title: Re: Problems on new server?
Post by: Ossan on October 14, 2015, 04:55:59 AM
I am not at all surprised there was an extra day of downtime with the travel being bugged, it seems to be a delicate part of the code as it does break fairly often :p Glad it has been fixed just in time for me to get home from Canadian Thanksgiving travels!
Title: Re: Problems on new server?
Post by: Gabanus family on October 14, 2015, 01:55:34 PM
As an update, travel did work again this morning on Atamara.
Title: Re: Problems on new server?
Post by: Tom on October 14, 2015, 02:57:28 PM
The main problem we have in debugging and fixing these issues is that a part of our monitoring / debugging infrastructure also stopped working, so we are not getting reports as easily and comfortably as we are used to.
Title: Re: Problems on new server?
Post by: Hyral on October 14, 2015, 10:04:24 PM
Getting this on South Island after being wounded.

Fatal error: Cannot use isset() on the result of a function call (you can use "null !== func()" instead) in /home/battlemaster/website/stable/out-wounded.php on line 35
Title: Re: Problems on new server?
Post by: Dante Silverfire on October 14, 2015, 10:58:01 PM
Turn ran on Dwilight but my movement failed to happen. Gained hours but no travel happened.
Title: Re: Problems on new server?
Post by: Samboji on October 15, 2015, 04:08:29 AM
Same. Advy movement worked fine though.
Movement worked on Atamara.

Getting some oddities on sending messages that I didn't notice before:

Notice: Undefined variable: Guild in /home/battlemaster/website/stable/message-write.php on line 548

On message send by a noble to lord on Atamara.


Notice: Undefined variable: ExcludeList in /home/battlemaster/website/stable/message-write.php on line 501
 You paid 1 silver for having this message sent.
On advy to guild on Atamara.


And this on advy movement on Atamara:

Notice: Undefined variable: TravelTime in /home/battlemaster/website/stable/Travel2.php on line 78

After movement complete.


With a:


Notice:  Undefined

On initial box for hunting (works fine when removed though).

Something similar in the resting box for the bedroll entry.
Title: Re: Problems on new server?
Post by: Indirik on October 15, 2015, 04:21:04 PM
I'm getting stuff like this all over the place:


Notice: Undefined variable: ExcludeList in /home/battlemaster/website/stable/message-write.php on line 501

Notice: Undefined variable: Guild in /home/battlemaster/website/stable/message-write.php on line 548
Title: Re: Problems on new server?
Post by: Vita` on October 15, 2015, 04:40:44 PM
PHP notices need turned off. Tim said he just did.
Title: Re: Problems on new server?
Post by: Tom on October 15, 2015, 05:07:45 PM
Getting this on South Island after being wounded.

Fatal error: Cannot use isset() on the result of a function call (you can use "null !== func()" instead) in /home/battlemaster/website/stable/out-wounded.php on line 35

This requires a small code change. The others should be gone now if Tim has turned the notifications off.
Title: Re: Problems on new server?
Post by: Anaris on October 15, 2015, 05:13:56 PM
This requires a small code change. The others should be gone now if Tim has turned the notifications off.

Yeah; I think I got that one, too.
Title: Re: Problems on new server?
Post by: Hyral on October 15, 2015, 05:49:00 PM
Yeah; I think I got that one, too.

Seems back to normal now thanks!