+11
Under review

"show Active players" in provinciarum

Escalada Deportiva 5 years ago updated 5 years ago 2
Hi

Great addon, thx very much for it.

As an idea it would be nice to know which players from the 5 shown in Provinciarum are actual players and not old accounts. I think a way to do that could be based on the stolen weekly gold by the player, if its is 0 then it is not an active player. What do you think? is it possible?

Greetings

Answer

Answer
Under review
Nice idea for a local script but it is not so simple...

How it can be made:
- The addon must go to the 7-days highscore and search the player there.
If we load the 7-days highscore based on levels, we can make a binary search to locate the target levels (and then the player). This will give as at best 1 server request (mined that each request takes some time) and at worst 4 server requests for EACH player.

On the other hand, the addon can load the 10 pages of the 7-days highscore directly, once a day, and temporary save each players data. Then we can have this data available all day long and use them as we like (your idea for example).

I do not know if gameforge will like this feature, but it's a nice idea ;)
Answer
Under review
Nice idea for a local script but it is not so simple...

How it can be made:
- The addon must go to the 7-days highscore and search the player there.
If we load the 7-days highscore based on levels, we can make a binary search to locate the target levels (and then the player). This will give as at best 1 server request (mined that each request takes some time) and at worst 4 server requests for EACH player.

On the other hand, the addon can load the 10 pages of the 7-days highscore directly, once a day, and temporary save each players data. Then we can have this data available all day long and use them as we like (your idea for example).

I do not know if gameforge will like this feature, but it's a nice idea ;)
Thx for reply!

Wow you already worked it out, I think second choice sounds good, once a day its more than enough. But its true is not easy, it will be different for each country, depending on how many servers and names of them I guess.

And lets see what gf says...