Latest Posts

Topic: game scheduling module

GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-08-30, 19:09

I'd say having users pick their time zone as a private profile field will be no issue at all. It's not the same as specifying a country as a location and getting it right too.


Busy indexing nil values

Top Quote
kaputtnik
Avatar
Joined: 2013-02-18, 20:48
Posts: 2433
OS: Archlinux
Version: current master
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-08-30, 22:49

GunChleoc wrote:

Not all users will be happy to provide country location in their profiles, so we can't rely on that.

Such an information mustn't be shown to all users. It's just the same as not showing the Time Zone setting. But i would prefer to fetch a users time zone automatically, so no user setting is needed. The people who want to provide as less information as possible when diving into the internet knew the disadvantages... imho.


Fight simulator for Widelands:
https://wide-fighter.netlify.app/

Top Quote
Venatrix
Avatar
Joined: 2010-10-05, 20:31
Posts: 449
Ranking
Tribe Member
Location: Germany
Posted at: 2017-08-31, 09:11

I felt reminded of this thread, when I saw this today: https://xkcd.com/1883/ face-smile.png

Sorry for being a bit off topic.


Two is the oddest prime.

Top Quote
trimard
Avatar
Topic Opener
Joined: 2009-03-05, 22:40
Posts: 230
Ranking
Widelands-Forum-Junkie
Location: Paris
Posted at: 2017-08-31, 15:08

kaputtnik wrote:

trimard wrote:

I think that's the best implementation we could have without adding any complexity for us. We could also pretty easily detect an error between localtime thanks to js and localtime calculated using the user's profil. And that way we would display a small error message to urge the player to fix the error if he confirm it is one.

Go for it face-smile.png

Here is the Time zone bug report

Mhh, I won't change anything to that ticket because I'm circumventing it face-tongue.png

GunChleoc wrote:

I'd say having users pick their time zone as a private profile field will be no issue at all. It's not the same as specifying a country as a location and getting it right too.

Yes I think that's how most websites do actually, they propose you a set of countries that respect the same timezone and same DST. So you're not telling your country, but you have accurate hour displayed.

Venatrix wrote:

I felt reminded of this thread, when I saw this today: https://xkcd.com/1883/ face-smile.png

Sorry for being a bit off topic.

xkcd is always on topic! face-grin.png


Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 04:10
Posts: 2091
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-09-02, 13:13

trimard wrote:

No problem worldsavior but you raised a good point though: should we create a module to find games for two players that know eachother? I agree with you that, for now at least, it is unnecessary.

Yes, it is probably unnecessary face-wink.png


Wanted to save the world, then I got widetracked

Top Quote
trimard
Avatar
Topic Opener
Joined: 2009-03-05, 22:40
Posts: 230
Ranking
Widelands-Forum-Junkie
Location: Paris
Posted at: 2017-09-09, 17:41

Ok! Finally managed to change the time with far more efficient standard (removed a lot of lines, at least in python)

https://code.launchpad.net/~trimardio/widelands-website/scheduling

Made some change in the general UI, closer to your different remarks:

https://imgur.com/zJIBFO8

Any other comments? face-smile.png

Didn't implement the warnings when js time =/= profil time. Yet.


Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 04:10
Posts: 2091
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-09-10, 02:42

trimard wrote:

Any other comments? face-smile.png

If the module is really so necessary for your revanche against me, I hope that it will work face-tongue.png

Good luck face-smile.png


Wanted to save the world, then I got widetracked

Top Quote
trimard
Avatar
Topic Opener
Joined: 2009-03-05, 22:40
Posts: 230
Ranking
Widelands-Forum-Junkie
Location: Paris
Posted at: 2017-09-10, 10:32

More display fix were done, now I think it's more readable and less "fuzzy" face-tongue.png

Also added the warning.

Imgur

Now what is to be done?

  • TESTS +++

  • One page to see the avaibilities of everyone. And one to set your own schedule

  • Capacity to ask for a game and propose dates directly rather than write a pm?

  • Thinking about ELO implementation? See king_of_nowhere comments here

If the module is really so necessary for your revanche against me, I hope that it will work face-tongue.png

Well I think it's functionnal now, but of course, some details need to be worked on! Don't worry, I'll show you I can boat rush too face-grin.png

Edited: 2017-09-10, 10:40

Top Quote
WorldSavior
Avatar
Joined: 2016-10-15, 04:10
Posts: 2091
OS: Linux
Version: Recent tournament version
Ranking
One Elder of Players
Location: Germany
Posted at: 2017-09-13, 18:17

trimard wrote:

If the module is really so necessary for your revanche against me, I hope that it will work face-tongue.png

Well I think it's functionnal now, but of course, some details need to be worked on!

Ok face-smile.png

Don't worry, I'll show you I can boat rush too face-grin.png

Interesting... With atlanteans, it is not easy face-wink.png


Wanted to save the world, then I got widetracked

Top Quote
GunChleoc
Avatar
Joined: 2013-10-07, 15:56
Posts: 3324
Ranking
One Elder of Players
Location: RenderedRect
Posted at: 2017-09-15, 21:34

Looking good face-smile.png

I think you should use the darkest background instead if the light wood though, there's not enough contrast between the writing and the background.


Busy indexing nil values

Top Quote