Grid-Iron american football game language selector
Language
ČeštinaDanskDeutsch
EnglishEspañolEspañol (Latinoamérica)
FrançaisItalianoMagyar
NederlandsPolskiPortuguês (Brasil)
RomânăSlovenčinaSlovenščina
SrpskiSuomiБългарски
РусскийУкраїнська 
Register
Login
Some greasemonkey scripts
 
slider6
Posts: 352
Posted on 2010-06-21 18:44:33
TFisch wrote:

Show Training
Adds the current training of a player on the player page and makes it possible to change the chosen training

----------------------------------------------------------------

Hi

I'm having problems with this script.
A few of my players are showed with wrong training info.
Example:
- my OL Jesper Frost (ID 87438) has the training from G Jesper Michelsen (ID 187438) shown
- but Jesper Michelsen (ID 187438) has his own training shown correctly.

Anyone else experienced a problem like this?
And perhaps found a solution?


I was having this problem here and there. I think it comes from me opening players in multiple windows and when I would change training on one, and then change training on another then the training change I made on the 1st would be lost. So, I just edited the script back to when it would show, but not allow update.
  
Mikkel_Chargers
Posts: 1
Posted on 2010-06-25 23:52:58
Try the updated version of the script I have just uploaded http://userscripts.org/scripts/show/45958 .
I suspect that the problem is that the id of the first player (87438) is contained in the id of the second (187438).

Kind regards,
Mikkel

TFisch wrote:

Show Training
Adds the current training of a player on the player page and makes it possible to change the chosen training

----------------------------------------------------------------

Hi

I'm having problems with this script.
A few of my players are showed with wrong training info.
Example:
- my OL Jesper Frost (ID 87438) has the training from G Jesper Michelsen (ID 187438) shown
- but Jesper Michelsen (ID 187438) has his own training shown correctly.

Anyone else experienced a problem like this?
And perhaps found a solution?

  
Mikkel_Chargers
Posts: 1
Posted on 2010-06-26 0:03:02
slider6 wrote:

I was having this problem here and there. I think it comes from me opening players in multiple windows and when I would change training on one, and then change training on another then the training change I made on the 1st would be lost. So, I just edited the script back to when it would show, but not allow update.


The script takes a snapshot of the entire training page when you open a player page. So if you open multiple player pages you will have multiple snapshots of the entire training page. And when you submit training from the player page it actually just submits the entire training page, hence the last save you make will overwrite all other.

The script could be improved to only save the actual player, but I have lost interest in this game, so it has to be done by someone else
  
slider6
Posts: 352
Posted on 2010-06-26 23:43:37
Mikkel_Chargers wrote:

slider6 wrote:

I was having this problem here and there. I think it comes from me opening players in multiple windows and when I would change training on one, and then change training on another then the training change I made on the 1st would be lost. So, I just edited the script back to when it would show, but not allow update.


The script takes a snapshot of the entire training page when you open a player page. So if you open multiple player pages you will have multiple snapshots of the entire training page. And when you submit training from the player page it actually just submits the entire training page, hence the last save you make will overwrite all other.

The script could be improved to only save the actual player, but I have lost interest in this game, so it has to be done by someone else


That's what I thought. And why I edited the script back to only showing the training and now allowing changes.
  
TFisch
Posts: 0
Posted on 2010-06-27 13:57:42
Mikkel_Chargers wrote:

Try the updated version of the script I have just uploaded http://userscripts.org/scripts/show/45958 .
I suspect that the problem is that the id of the first player (87438) is contained in the id of the second (187438).

Kind regards,
Mikkel


Ahh, you're right

Its working now after I updated the 'Training Progress Numbers', eventhough its on 'Show training' script I had the problem.

Nice job
  
Mikkel_Chargers
Posts: 1
Posted on 2010-06-27 21:43:24
TFisch wrote:

Ahh, you're right

Its working now after I updated the 'Training Progress Numbers', eventhough its on 'Show training' script I had the problem.

Nice job


That is because I am an idiot . I uploaded the 'Show training' script as 'Training Progress Numbers'. I will correct the error now
  
pstimpel
Posts: 10622
Posted on 2010-06-27 22:36:59
Mikkel_Chargers wrote:

I uploaded the 'Show training' script as 'Training Progress Numbers'. I will correct the error now



  
DG_31
Posts: 429
Posted on 2010-07-02 20:41:04
Apologies if this has been done - I couldn't see it on the greasemonkey page I got the scripts from - any chance of a script with an estimate of a player's salary for next season, based on the improvement in their stats?

A huge thanks for the efforts with these so far guys
  
jespernohr
Posts: 0
Posted on 2010-07-02 20:59:37
DG_31 wrote:

Apologies if this has been done - I couldn't see it on the greasemonkey page I got the scripts from - any chance of a script with an estimate of a player's salary for next season, based on the improvement in their stats?

A huge thanks for the efforts with these so far guys


This script haven't been done, but what a wonderful idea. Could be really useful and help managers avoid going bankrupt, especially if it could make a total value somewhere as well. The first part should be doable, but I think the second part might be a bit more difficult.
  
AncientGreco
Posts: 3094
Posted on 2010-07-02 21:21:55
jespernohr wrote:

DG_31 wrote:

Apologies if this has been done - I couldn't see it on the greasemonkey page I got the scripts from - any chance of a script with an estimate of a player's salary for next season, based on the improvement in their stats?

A huge thanks for the efforts with these so far guys


This script haven't been done, but what a wonderful idea. Could be really useful and help managers avoid going bankrupt, especially if it could make a total value somewhere as well. The first part should be doable, but I think the second part might be a bit more difficult.



Its all in GIMS already.... and donot forget to donate, in case you use it because of lazyness to do the math
  
 
Last posts
2024-10-10 21:54
Survivor game
Author:RobTger
2024-10-10 19:22
2024 predictions
Author:philiom
2024-10-10 19:22
Survivor game
Author:philiom
2024-10-10 18:22
Messages I can't delete
Author:philiom
2024-10-10 15:53
2024 predictions
Author:martinroldan
2024-10-10 15:49
Survivor game
Author:martinroldan
2024-10-10 12:18
2024 predictions
Author:Radu27
2024-10-10 11:54
2024 predictions
Author:jaythegrim