Incorrect username or password

 
14-05-2024 20:42
|
Season 90 · Week 7 · Day 43
|
Online: 4 190

Football

Football » English » ManagerZone talk

Userscript to Dispaly The Squad Value

Badge image
I developed a userscript for tampermonkey add-on.
If you visit the squad summary of any team, this script adds a new table to the view.
I am not sure it will work for other languages and currencies. Please let me if it is not working for you.



Note: You must directly visit the 'Squad Summary' page of your team or others. it will not work if you first visit the 'Player Profiles' page then switch to 'Squad Summary'.

To install:
https://greasyfork.org/en/scripts/476290-mz-player-values

Github Repo:
https://github.com/mz7z/mz-player-values
Views: 2510 Posts: 111
Previous
Page 1 2 3
Next
Reply
Last Message

Re: Userscript to Dispaly The Squad Value

Badge image
update v0.43

In match page, if the match is not yet started or finished, it will add squad summary instead of lineup.

Re: Userscript to Dispaly The Squad Value

Badge image
great script nice work

Re: Userscript to Dispaly The Squad Value

Badge image
Badge image
[BRAU18]
President
Nice userscript.

Re: Userscript to Dispaly The Squad Value

Badge image
johnniewalker wrote:
great script nice work


douglaskampl wrote:
Nice userscript.


Thanks.
I hope it is usefull.

Re: Userscript to Dispaly The Squad Value

Badge image
Update v0.44

Now it adds final result of the in progress matches in Fixtures page. (yourself or others)

Re: Userscript to Dispaly The Squad Value

Badge image
Update 0.46

Now it adds final result of the in progress matches in table of leagues, official cup, ...

Re: Userscript to Dispaly The Squad Value

Badge image
update 0.48

I added a config button (right side of the page, a red cog icon labeled MZP).
You can control script features.
I will updated it later to cover all features.

Please let me know if some features are bothering you and I will make it optional.
Thank you

Re: Userscript to Dispaly The Squad Value

Badge image
z7z wrote:

(right side of the page, a red cog icon labeled MZP)


update 0.49
I changed it to white color on a black background to be visible in all themes

Re: Userscript to Dispaly The Squad Value

Badge image
Could you add a switch for displaying players' value and average age in Leagues and Cups Pages? The layout on mobile isn't suitable for me, but it's prefect on desktop. Thanks a lot.

Re: Userscript to Dispaly The Squad Value

Badge image
paladiny wrote:
Could you add a switch for displaying players' value and average age in Leagues and Cups Pages? The layout on mobile isn't suitable for me, but it's prefect on desktop. Thanks a lot.


Yes.
Try the new version (v.50).
You'r welcome.

Re: Userscript to Dispaly The Squad Value

Badge image
Unchecking "Display Teams' Top Players in Tables" makes "Display In Progress Results" not work on the Cups page.
Maybe not work on the league page as well.

Re: Userscript to Dispaly The Squad Value

Badge image
paladiny wrote:
Unchecking "Display Teams' Top Players in Tables" makes "Display In Progress Results" not work on the Cups page.
Maybe not work on the league page as well.


Sorry.
It was fixed now. Try the new version (v0.51)

Re: Userscript to Dispaly The Squad Value

Badge image
I would consider optional this feature, you cant watch a 3D o 2D match without knowing the final result. If posibble a switch to active/desactivate this feature would be great, thanks

Update v0.44

Now it adds final result of the in progress matches in Fixtures page. (yourself or others)

Re: Userscript to Dispaly The Squad Value

Badge image
Its done already, thanks

Re: Userscript to Dispaly The Squad Value

Badge image
johnniewalker wrote:
I would consider optional this feature, you cant watch a 3D o 2D match without knowing the final result. If posibble a switch to active/desactivate this feature would be great, thanks

Update v0.44

Now it adds final result of the in progress matches in Fixtures page. (yourself or others)


Please update to the latest version.
You can disable "Display In Progress Results" from "MZP" menu.

Re: Userscript to Dispaly The Squad Value

Badge image
johnniewalker wrote:
Its done already, thanks


:)

You're welcome.

Re: Userscript to Dispaly The Squad Value

Badge image
Great updates. πŸ‘πŸΌπŸ‘πŸΌπŸ‘πŸΌ

Re: Userscript to Dispaly The Squad Value

Badge image
Update 1.3

I changed the name of the script to Mazyar.
I added a pretty cool and useful feature for monitoring transfer market but I am too busy to make a graphical tutorial to explain how to use it. :)

In summary:
First enable the "transfer filters" option from MZY menu (cog icon from right toolbar)
Then go to transfer market, you will see two new icon named 'MZY Filters' and 'MZY Save' in 'search' toolbar. (next to delete, save, search and ... buttons).

Suppose you are interested to buy a goalkeeper with 10 balls in Stamina, Keeping, PI and AP. But there is no player with these attributes at the moment. This feature helps you to monitor the market till such a player is available on the market.

To monitor the market, you can adjust the filters to your desired values then save it by 'MZY Save' button.
Give it a descriptive name to find it easily later. (for example: Top Class Keeper)

Create as many as filters you need.

Script always checks your filters after you visit any page in this site.
I will make it configurable very soon. Options will be 'never', 'once an hour', 'once a day', 'always'. For now, it acts like 'always' s selected.

When it finds some players in the market that match your filters, it updates 'search' icon of MZY toolbar, with the total number of hits found.
You can click on the badge and see which filters have a hit.
Click on a filter name to open the transfer market page. If you wait about 5 seconds, script will adjust the attribute filters to match your selected filter and then automatically hits the search button. (Sometimes it does not! In this case, please press the search button yourself.)

Please give it a try and let me know if there is a bug or you have any suggestion to make it better and more useful.

About The Name
Mazyar is acronym for ManagerZoneYar.
'-yar' is a Persian postfix that means companion, assistant or friend.
Also Mazyar is a Persian name for boys.

Re: Userscript to Dispaly The Squad Value

Badge image
I forgot to mention:
- You can delete the filters from 'MZY Transfer Filters' menu. (Click the search icon in MZY toolbar)
- When saving a filter, you can overwrite an existing one. Just double click on text input, it shows currently created filters, you can select the one that you want to overwrite. Or you start typing the first letters of the filter, it shows the filters that are starting with these letters.

Re: Userscript to Dispaly The Squad Value

Badge image
updated to v1.4

I added an interval option for transfer market monitor. Options are:
- always
- once a minute
- once a hour
- once a day
- never

Notice: It does not update the filter hits automatically, you must visit (or refresh) a page to trigger a new search and updating the hits.
Suppose you set it on 'once a minute' and you visit a page and stay for a while. Script only update the hits when you entered the page. When the page is loaded, it does not update the hits once a minute. You must visit a new page, refresh this page or click on the search icon from MZY toolbar.

Re: Userscript to Dispaly The Squad Value

Badge image
z7z wrote:
updated to v1.4

I added an interval option for transfer market monitor. Options are:
- always
- once a minute
- once a hour
- once a day
- never

Notice: It does not update the filter hits automatically, you must visit (or refresh) a page to trigger a new search and updating the hits.
Suppose you set it on 'once a minute' and you visit a page and stay for a while. Script only update the hits when you entered the page. When the page is loaded, it does not update the hits once a minute. You must visit a new page, refresh this page or click on the search icon from MZY toolbar.


Any way to add a special filter to look up in the market for H4 and H3 players? It would be a great feature to add and filter players

Re: Userscript to Dispaly The Squad Value

Badge image
Badge image
[CAVS]
President
johnniewalker wrote:
Any way to add a special filter to look up in the market for H4 and H3 players? It would be a great feature to add and filter players



I support this proposal

Odp: Userscript to Dispaly The Squad Value

Badge image
What is that bar on the left!?

Odp: Userscript to Dispaly The Squad Value

Badge image
What is that bar on the left!?

https://imgur.com/a/A4N6cl6

Re: Userscript to Dispaly The Squad Value

Badge image
kochas wrote:
What is that bar on the left!?

https://imgur.com/a/A4N6cl6


That happens, cause the CREW update the snapshots feature.

https://www.managerzone.com/?p=news&nid=113595

Odp: Userscript to Dispaly The Squad Value

Badge image
ruisimoes wrote:
That happens, cause the CREW update the snapshots feature.

https://www.managerzone.com/?p=news&nid=113595


I forgot to add that I use a regular computer, not a phone.

Re: Userscript to Dispaly The Squad Value

Badge image
kochas wrote:
I forgot to add that I use a regular computer, not a phone.


Yup, i know.
That problem only exists in PC, in a smartphone its ok.

Odp: Userscript to Dispaly The Squad Value

Badge image
Where can this problem be reported?

Re: Userscript to Dispaly The Squad Value

Badge image
kochas wrote:
Where can this problem be reported?

The issue is not because of MZ or this script.
The problem is the chinese script.

Re: Userscript to Dispaly The Squad Value

Badge image
@kochas

Hi.
You can report it here.

https://www.managerzone.com/?p=forum&sub=topic&topic_id=12475864&forum_id=10&sport=soccer

It's developer is an active manager and he will resolve this issue.

Re: Userscript to Dispaly The Squad Value

Badge image
johnniewalker wrote:
Any way to add a special filter to look up in the market for H4 and H3 players? It would be a great feature to add and filter players


I can add some options to hide or highlight any combination of H/L/S in market's search results. But you have to check every page of the results yourself.
This could be done very soon.
But using scout report parameters for a monitored 'MZY Filter' is a bit tricky.

Since managerzone ajax API does not provide scout report detail in market's search results, we need to query the scout report for each player separately.
There are always about ~3500 player at the market, so if we does not use a narrow filter, we need around (3500 + 3500/20) ~3675 requests to get the all data then apply the H3/H4 filter on them.

I would try implement this feature at some point in the future but as I explained, this feature needs a lot of traffic and takes too long to calculate the final results.
Of course you can set the attributes to a smaller range then save it in order to narrow down the results yourself. In this case, less traffic and time needed to get the result.

Re: Userscript to Dispaly The Squad Value

Badge image
z7z wrote:
I can add some options to hide or highlight any combination of H/L/S in market's search results. But you have to check every page of the results yourself.
This could be done very soon.
But using scout report parameters for a monitored 'MZY Filter' is a bit tricky.

Since managerzone ajax API does not provide scout report detail in market's search results, we need to query the scout report for each player separately.
There are always about ~3500 player at the market, so if we does not use a narrow filter, we need around (3500 + 3500/20) ~3675 requests to get the all data then apply the H3/H4 filter on them.

I would try implement this feature at some point in the future but as I explained, this feature needs a lot of traffic and takes too long to calculate the final results.
Of course you can set the attributes to a smaller range then save it in order to narrow down the results yourself. In this case, less traffic and time needed to get the result.


The Chinise scrip does that, maybe you could add a aditional feature to filter H4 players direct from the market using the available info in the other script. Not sure how it works but if someone has already find the way to highlight with diferent colors just use a filter over that and not on all playres in the market.

H4
H3
H2
L2
L1

Re: Userscript to Dispaly The Squad Value

Badge image
johnniewalker wrote:
The Chinise scrip does that, maybe you could add a aditional feature to filter H4 players direct from the market using the available info in the other script. Not sure how it works but if someone has already find the way to highlight with diferent colors just use a filter over that and not on all playres in the market.


Sorry for the late response.
This script can not depend on another script to function.
But feature that you are requested is implemented in v2.0. please update.

Re: Userscript to Dispaly The Squad Value

Badge image
Update v2.0

Notice: This update brings breaking changes and if you have any problem using it after upgrade, please use 'Clean Install' from settings menu. It will clear all your previous settings, filters and ...
Apologies for any inconvenience caused, and I appreciate your understanding.

Re: Userscript to Dispaly The Squad Value

Badge image
z7z wrote:
Update v2.0

Notice: This update brings breaking changes and if you have any problem using it after upgrade, please use 'Clean Install' from settings menu. It will clear all your previous settings, filters and ...
Apologies for any inconvenience caused, and I appreciate your understanding.


New Feature: Scout Filters
For this feature, "Transfer Filters" must be enabled from settings menu.
If it is enabled, it adds a toolbar to transfer market to filter out some search results.
For example:
* if you select only 'H4' it will dim players that have not scout report at all or their Highest Potential is not 4 star.
* if you select 'Hide', instead of dimming other players, it will hide them.
* if you want to limit Lowest Potential too, select any combination of 'L2' or 'L1'

Re: Userscript to Dispaly The Squad Value

Badge image
z7z wrote:
New Feature: Scout Filters


https://www.youtube.com/watch?v=zUy_3dTN-1A

Re: Userscript to Dispaly The Squad Value

Badge image
z7z wrote:
Update v2.0

Notice: This update brings breaking changes and if you have any problem using it after upgrade, please use 'Clean Install' from settings menu. It will clear all your previous settings, filters and ...
Apologies for any inconvenience caused, and I appreciate your understanding.


New Feature: Saved Filters
https://youtu.be/By3Q6ayD6Ww

Re: Userscript to Dispaly The Squad Value

Badge image
EDIT: This is concidered an exploit of the game and is not allowed. Posts about this will be deleted.

Thank you for your understanding /Thunderexpress
Edited: 12-03-2024 08:47
Total edits: 2

Re: Userscript to Dispaly The Squad Value

Badge image
Great updates. πŸ‘πŸΌπŸ‘πŸΌπŸ‘πŸΌ
Thank you.
I will not use the Scout Filter, cause i dont buy players, but is a huge update.

Keep the excelente work. πŸ’ͺ🏼πŸ’ͺ🏼

Re: Userscript to Dispaly The Squad Value

Badge image
ruisimoes wrote:
Great updates. πŸ‘πŸΌπŸ‘πŸΌπŸ‘πŸΌ
Thank you.
I will not use the Scout Filter, cause i dont buy players, but is a huge update.

Keep the excelente work. πŸ’ͺ🏼πŸ’ͺ🏼


Thanks.
I hope it is useful.

Re: Userscript to Dispaly The Squad Value

Badge image
Update v2.3

I removed 'not talk about it' feature from the script.
Please update the script. (or don't, who can force you?)

Re: Userscript to Dispaly The Squad Value

Badge image
Badge image
[FLUSA]
President
Funny how scripts for cloning tactics are ok but an script to push a button every 4 hours is not, I remember a long time ago I expent literally hours perfecting an U18 tactic that allowed me to dominate the WL and got me to a final of a U18 Champions cup despite having not such a strong team, of course everyone just cloned my hard work by pressing a button but that's ok? I mean... it's a manager game, aren't you supposed to create your own tactics and not just clone somebody's else's? I never complained about the "clone tactics if you're too lazy to create your own" script but it's mindblowing that one isn't considered an exploit but the "push a button every four hours" script is.

Re: Userscript to Dispaly The Squad Value

Badge image
darkline wrote:
Funny how scripts for cloning tactics are ok but an script to push a button every 4 hours is not.

πŸ‘πŸ‘

Re: Userscript to Dispaly The Squad Value

Badge image
Nice 😎

Re: Userscript to Dispaly The Squad Value

Badge image
is it feasible to add a red mark or something like that in the maxed skills in transfers view?

Re: Userscript to Dispaly The Squad Value

Badge image
ghost wrote:
is it feasible to add a red mark or something like that in the maxed skills in transfers view?


I'm not sure how can I get the maxed skills for a player.

Re: Userscript to Dispaly The Squad Value

Badge image
z7z wrote:
I'm not sure how can I get the maxed skills for a player.


MZ already shows that info in the players section... is it possible to extract the data from there?
Previous
Page 1 2 3
Next