Calificación:
  • 14 voto(s) - 3.14 Media
  • 1
  • 2
  • 3
  • 4
  • 5

Trasfermkt Scraper for PCF working Beta
#31

(13-01-2020, 08:18 PM)titudeante escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.It could be replaced?

Mediocentro ofensivo = Mediocentro organizador or Mediapunta central

Although is not the same...

'Defensa central' = 'Libero'
'Pivote'= "Medio centro defensivo"
'Mediocentro ofensivo'= "Media punta central"
'Mediapunta':rand ( 
Media punta derecha Media punta izquierda)

my subs
Responder
#32

biggrin.gif

  • now i m getting also Player Pics  automatically 
  • going to resize to 32x32

[Imagen: TB3j5OY.png]
[Imagen: yFqYjCL.jpg][Imagen: 89HYLVo.jpg][Imagen: K1OEy01.jpg][Imagen: WVIg8PC.jpg][Imagen: SeH1LuU.jpg]
Responder
#33

Laie_60B.gif Laie_60B.gif Laie_60B.gif Laie_60B.gif Laie_60B.gif Laie_60B.gif 


'Defensa central' 'Libero'
'Pivote'"Medio centro defensivo"
'Mediocentro ofensivo'"Media punta central"
'Mediapunta':rand ( 
Media punta derecha Media punta izquierda)

good.gif
Responder
#34

@and: Date of birth, Media and Secondary Roles still not working. Nationality and Passport must be reversed (in PCF, for example Umtiti is Cameroonian and not French)
Responder
#35

(15-01-2020, 01:20 AM)olmazabal escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.@and: Date of birth, Media and Secondary Roles still not working. Nationality and Passport must be reversed (in PCF, for example Umtiti is Cameroonian and not French)
@NAZIONALITY
fixed thank you good.gif
wacko2.gif scratch-smiley-face.gif 
DATE - MEDIA - SECONDARY ROLES
please check the video - for me it is working correctly

Responder
#36

(09-01-2020, 12:39 AM)and escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.
(07-01-2020, 10:07 PM)Mikimelo escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.Hi. First of all, thank you very much, this looks amazing. I was watching the video and reading yoyr posts and i would like to ask you If the "media" value that the script asigns (that I guess it's done based on the table used for pcf revolution) can be modified. For my edition I use a different table to asign the Media based on Transfermarkt values.

Thanks!
modify this part using your value and send me
Código:
                   if int(market_value) < 25000:
                       media = 45
                   elif int(market_value) < 50000:
                       media = 46
                   elif int(market_value) < 75000:
                       media = 47
                   elif int(market_value) < 100000:
                       media = 48
                   elif int(market_value) < 120000:
                       media = 49
                   elif int(market_value) < 150000:
                       media = 50
                   elif int(market_value) < 200000:
                       media = 51
                   elif int(market_value) < 300000:
                       media = 52
                   elif int(market_value) < 400000:
                       media = 53
                   elif int(market_value) < 500000:
                       media = 54
                   elif int(market_value) < 600000:
                       media = 55
                   elif int(market_value) < 700000:
                       media = 56
                   elif int(market_value) < 800000:
                       media = 57
                   elif int(market_value) < 900000:
                       media = 58
                   elif int(market_value) < 1000000:
                       media = 59
                   elif int(market_value) < 1500000:
                       media = 60
                   elif int(market_value) < 2000000:
                       media = 61
                   elif int(market_value) < 3000000:
                       media = 62
                   elif int(market_value) < 4000000:
                       media = 63
                   elif int(market_value) < 5000000:
                       media = 64
                   elif int(market_value) < 6000000:
                       media = 65
                   elif int(market_value) < 7000000:
                       media = 66
                   elif int(market_value) < 8000000:
                       media = 67
                   elif int(market_value) < 9000000:
                       media = 68
                   elif int(market_value) < 10000000:
                       media = 69
                   elif int(market_value) < 12000000:
                       media = 70
                   elif int(market_value) < 15000000:
                       media = 71
                   elif int(market_value) < 20000000:
                       media = 72
                   elif int(market_value) < 22000000:
                       media = 73
                   elif int(market_value) < 25000000:
                       media = 74
                   elif int(market_value) < 28000000:
                       media = 75
                   elif int(market_value) < 30000000:
                       media = 76
                   elif int(market_value) < 35000000:
                       media = 77
                   elif int(market_value) < 40000000:
                       media = 78
                   elif int(market_value) < 50000000:
                       media = 79
                   elif int(market_value) < 55000000:
                       media = 80
                   elif int(market_value) < 60000000:
                       media = 81
                   elif int(market_value) < 70000000:
                       media = 82
                   elif int(market_value) < 80000000:
                       media = 83
                   elif int(market_value) < 90000000:
                       media = 84
                   elif int(market_value) < 100000000:
                       media = 85
                   elif int(market_value) < 125000000:
                       media = 86
                   elif int(market_value) < 150000000:
                       media = 87
                   elif int(market_value) < 175000000:
                       media = 88
                   elif int(market_value) < 200000000:
                       media = 89
                   elif int(market_value) >= 200000000:
                       media = 90
                   else:
                       media = 45

Ciao! this is my current table. No rush at all, whenever you finish with the error fixing part. 

     if int(market_value) < 25000:
                       media = 60
                   elif int(market_value) < 50000:
                       media = 65
                   elif int(market_value) < 75000:
                       media = 67
                   elif int(market_value) < 100000:
                       media = 69
                   elif int(market_value) < 150000:
                       media = 70
                   elif int(market_value) < 200000:
                       media = 71
                   elif int(market_value) < 300000:
                       media = 72
                   elif int(market_value) < 400000:
                       media = 73
                   elif int(market_value) < 600000:
                       media = 74
                   elif int(market_value) < 800000:
                       media = 75
                   elif int(market_value) < 1000000:
                       media = 76
                   elif int(market_value) < 1500000:
                       media = 77
                   elif int(market_value) < 2000000:
                       media = 78
                   elif int(market_value) < 2500000:
                       media = 79
                   elif int(market_value) < 3000000:
                       media = 80
                   elif int(market_value) < 4000000:
                       media = 81
                   elif int(market_value) < 6000000:
                       media = 82
                   elif int(market_value) < 8000000:
                       media = 83
                   elif int(market_value) < 10000000:
                       media = 84
                   elif int(market_value) < 15000000:
                       media = 85
                   elif int(market_value) < 20000000:
                       media = 86
                   elif int(market_value) < 25000000:
                       media = 87
                   elif int(market_value) < 30000000:
                       media = 88
                   elif int(market_value) < 40000000:
                       media = 89
                   elif int(market_value) < 50000000:
                       media = 90
                   elif int(market_value) < 60000000:
                       media = 91
                   elif int(market_value) < 70000000:
                       media = 92
                   elif int(market_value) < 80000000:
                       media = 93
                   elif int(market_value) < 90000000:
                       media = 94
                   elif int(market_value) < 100000000:
                       media = 95
                   elif int(market_value) < 125000000:
                       media = 96
                   elif int(market_value) < 150000000:
                       media = 97
                   elif int(market_value) < 200000000:
                       media = 98
                   elif int(market_value) >= 200000000:
                       media = 99
                   else:
                       media = 50

Grazie mille!
Responder
#37

(14-01-2020, 10:30 AM)and escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.biggrin.gif

  • now i m getting also Player Pics  automatically 
  • going to resize to 32x32

[Imagen: TB3j5OY.png]
[Imagen: yFqYjCL.jpg][Imagen: 89HYLVo.jpg][Imagen: K1OEy01.jpg][Imagen: WVIg8PC.jpg][Imagen: SeH1LuU.jpg]

The photos have to be bmp and the color indexed. But the game does not recognize them.
Responder
#38

(15-01-2020, 11:39 PM)fjpg escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.
(14-01-2020, 10:30 AM)and escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.biggrin.gif

  • now i m getting also Player Pics  automatically 
  • going to resize to 32x32

[Imagen: TB3j5OY.png]
[Imagen: yFqYjCL.jpg][Imagen: 89HYLVo.jpg][Imagen: K1OEy01.jpg][Imagen: WVIg8PC.jpg][Imagen: SeH1LuU.jpg]

The photos have to be bmp and the color indexed. But the game does not recognize them.

do u mean that even I download the pics in 32x32 indexed they are not recognized by the game ?
Responder
#39

If they are in .jpg the game does not recognize them ..

The characteristics of the photos are:

32x32, indexed mode and .bmp format
Responder
#40

@and: Date of birth finally solved, but 'Media' and secondary roles still not work and in some case, also primary role is incorrect (for example, Lucas Hernandez, Bayern). Very useful the possibility to insert the players in the editor directly from generated Excel
Responder
#41

(16-01-2020, 11:45 AM)fjpg escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.If they are in .jpg the game does not recognize them ..

The characteristics of the photos are:

32x32, indexed mode and .bmp format

Yes automatically convert in 32x32 indexed and bmp

[Imagen: bEtygf5.png?1]
Responder
#42

(16-01-2020, 12:35 PM)olmazabal escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.@and: Date of birth finally solved, but 'Media' and secondary roles still not work and in some case, also primary role is incorrect (for example, Lucas Hernandez, Bayern). Very useful the possibility to insert the players in the editor directly from generated Excel

 but 'Media' and secondary roles still not work and in some case

will be nice to have such cases  , will be much useful to understand   biggrin.gif



, also primary role is incorrect (for example, Lucas Hernandez, Bayern) . 

Primary Role is anyway right  according my substitution  (some post ago i was explaining )


[Imagen: uJrdMKT.png]

As I wrote before in PFC  there is no Defensa Central  i changed those Trasfmarket roles according this table 

'Defensa central' 'Libero'
'Pivote'"Medio centro defensivo"
'Mediocentro ofensivo'"Media punta central"
'Mediapunta':rand ( 
Media punta derecha Media punta izquierda)





[Imagen: 1QNWwil.png]



secondary role  bug fixed blush.gif  thank you
Responder
#43

@and: Media not work, you can compare the players of Bayern with the table of values in PCF Revolution section. Regarding the roles, pivote = medio centro defensivo it's okay, but defensa central it must correspond to central derecho, central izquierdo and libero as third role, because in PCF 2001 teams managed by computer always choose a 'central derecho/izquierdo' rather than a 'libero'. 'Mediocentro ofensivo' = media punta central + medio centro organizador as 2nd role. 'Mediapunta' = 'media punta derecha/izquierda' + extremo derecho/izquierdo as 2nd role. If you can, please make these corrections. Thanks for your efforts.
Responder
#44

(16-01-2020, 11:45 AM)fjpg escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.If they are in .jpg the game does not recognize them ..

The characteristics of the photos are:

32x32, indexed mode and .bmp format

attached the files generated automatically 
please let me know if they are ok


Archivos adjuntos
.bmp Lionel Messi.bmp Tamaño: 2,05 KB  Descargas: 12
.bmp Ansu Fati.bmp Tamaño: 2,05 KB  Descargas: 13
.bmp Sergio Busquets.bmp Tamaño: 2,05 KB  Descargas: 8
Responder
#45

(17-01-2020, 10:00 AM)and escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.
(16-01-2020, 11:45 AM)fjpg escribió: No puedes ver enlaces como invitado. Regístrate o conectate para verlo.If they are in .jpg the game does not recognize them ..

The characteristics of the photos are:

32x32, indexed mode and .bmp format

attached the files generated automatically 
please let me know if they are ok

I do not know in the PCF Revolution that is being done, but in the previous ones we tried to make the photos have a white background.
I give you some examples of some that I did the other day


Archivos adjuntos
.bmp j9803595.bmp Tamaño: 2,05 KB  Descargas: 12
.bmp j9800006.bmp Tamaño: 2,05 KB  Descargas: 9
.bmp j9804110.bmp Tamaño: 2,05 KB  Descargas: 8
.bmp j9844474.bmp Tamaño: 2,05 KB  Descargas: 7
Responder


Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)