grcrt / grcrt-script

GRCRT is "the" userscript for MMO web-browser strategy game Grepolis.
https://www.grcrt.net
GNU General Public License v3.0
14 stars 7 forks source link

Added support for grepolife.com -- OLD #2

Closed FivosM closed 6 years ago

FivosM commented 6 years ago

Pull Request type

Short description of what it does:

Added support for www.grepolife.com stats


FivosM commented 6 years ago

For some reason, atom has removed some non-displayable characters. I hope it's not such a big problem for you.

tomaski commented 6 years ago

it's probably a whitespace trimming. We'll take a look on the code (and test it) somewhere during the weekend.

A friendly tip: this is not what we consider a "feature". Feature is when something completely new gets added. Something that has not yet been present (probably requiring separate module). Statistics are. Adding new source for stats is what I would consider, refactoring.

FivosM commented 6 years ago

Alright, thanks. Sorry for adding it as a new feature, I should have payed more attention to the pull request type.

tomaski commented 6 years ago

so after a quick glance on the grepolife a few comments:

FivosM commented 6 years ago
tomaski commented 6 years ago

hi @FivosM how's it going with that list?

FivosM commented 6 years ago

@tomaski I was waiting for the ok to create the list, I will make it now.

tomaski commented 6 years ago

oh, ok :) a pro-tip @FivosM: as our main goal is performance and efficiency, try to make that list dynamic: if a world is not found on grepolife, use grcrt stats (our stats are "maintenance free": whenever new world is opened, stats are created automatically - so that makes it a good failsafe option)