View Full Version : Logging in


Kenage75
01-11-2006, 01:40 AM
It seems like when i am in GEwar or the forum, sometimes i would need to login again midway through the game.

Ozzy.prv
01-11-2006, 02:01 AM
It seems like when i am in GEwar or the forum, sometimes i would need to login again midway through the game.

That had happened to me too, about four times now.

Oz.

~reficul~
01-11-2006, 02:05 AM
Probably a problem with the cache or something(servers). Was happening to a few peeps I think? Luke?

Dragonwick
01-13-2006, 07:25 PM
Has been happening for days. All of a sudden going to a new screen or refreshing an existing screen it will act like you are logged out. If you try to log in, it won't let you. Keep refreshing every 10 seconds or so and eventually it comes back.

Got to love intermittant problems! Let me know if there is anything else that you need from me. I'd be glad to help!

palau
01-13-2006, 07:40 PM
Has been happening for days. All of a sudden going to a new screen or refreshing an existing screen it will act like you are logged out. If you try to log in, it won't let you. Keep refreshing every 10 seconds or so and eventually it comes back.

Got to love intermittant problems! Let me know if there is anything else that you need from me. I'd be glad to help!
Just to confirm the above. Refresh or click on another link (no need to enter user and pass again).

Luke
01-13-2006, 09:23 PM
Just to confirm the above. Refresh or click on another link (no need to enter user and pass again).

True.
Or just refresh the forum a couple of times.
No need to login again.

Also read this:

http://www.gewar.net/forums/showpost.php?p=7779&postcount=19

zyrorl
01-16-2006, 08:07 AM
True.
Or just refresh the forum a couple of times.
No need to login again.

Also read this:

http://www.gewar.net/forums/showpost.php?p=7779&postcount=19

There's a lot of things you guys could be doing to spread the loads out...

For example, you could calculate interest hourly, compounded every 5 minutes.

You could calculate resources spread out rather than in large batches.

You could make jewel hunting worth more and add a time delay interval between jewels hunted (ie. 5 every 2 minutes or something like it).

You could add anti-auto-jewel hunting code... (not sure how the current scripts do it, but im sure its not hard to safeguard your server from such attacks).

You could cache a lot of information that doesnt need to be dynamic, such as army positioning, home bases, and cities into hard coded files every few minutes, instead of it causing mass query cascading...

I'm not entirely sure exactly how your game is coded, but im quite sure its more dynamic than it really needs to be for the nature of the game.. that takes a lot of cpu cycles, ram, and queries. It also encourages people to hammer the server.


I hope you take this as positive feedback and constructive criticism.
I have made a lot of assumptions here, and some of them may be incorrect, but thats the assumptions i make from looking at how the pages load etc and from poking around a bit.

While i could help, I unfortunately dont have the time to. But there is a hell of a lot you can do to optimise this game, and yes, it does take time. If you need advice etc, im happy to give it to you guys without a problem..

Dragonwick
01-16-2006, 07:48 PM
Now sometimes when it is happening, it seems to get worse. Instead of asking us to log in over and over, it throws out the following error:

Warning: Invalid argument supplied for foreach() in /includes/sessions.php on line 271


Unable to add cookies, header already sent.File: /home/httpd/vhosts/gewar.net/httpdocs/forums/includes/init.phpLine: 27

_____________________________
Hope that helps...

Oh yeah, and you can't get into the forums when it is happening...(not sure if anyone mentioned that).

hixthebeast
01-16-2006, 08:01 PM
i got this message once:

, phrasegroup_global AS phrasegroup_global, options AS lang_options, languagecode AS lang_code, charset AS lang_charset, locale AS lang_locale, imagesoverride AS lang_imagesoverride, dateoverride AS lang_dateoverride, timeoverride AS lang_timeoverride, registereddateoverride AS lang_registereddateoverride, calformat1override AS lang_calformat1override, calformat2override AS lang_calformat2override, logdateoverride AS lang_logdateoverride, decimalsep AS lang_decimalsep, thousandsep AS lang_thousandsep
Warning: Invalid argument supplied for foreach() in /includes/sessions.php on line 272




Unable to add cookies, header already sent.
File: /home/httpd/vhosts/gewar.net/httpdocs/forums/includes/sessions.php
Line: 265

hixthebeast
01-16-2006, 08:11 PM
i also got this:

Warning: main(./includes/sessions.php): failed to open stream: No such file or directory in /global.php on line 125

Fatal error: main(): Failed opening required './includes/sessions.php' (include_path='.:/usr/share/pear') in /home/httpd/vhosts/gewar.net/httpdocs/forums/global.php on line 125

McLamb
01-16-2006, 09:02 PM
Its happened to me alot today, I would just have to come back in 10 minutes and it would be fine.