(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!