Re: Synchronated Updates

More
13 years 2 months ago - 13 years 2 months ago #96503 by Synchronated
Was happy to fix scarini s problem over email - if you encounter the same problem just let me know.

Right, the spreadsheet - it s coming along nicely. If anyone has any other suggestion for carrying persistent attributes with only simple Excel-can-handle-65,000-of-it-at-once calculation, please let me know/discuss ASAP as this should hopefully be on the go within a week, and ready for merging with some new real-life data in terms of January transfers/February squad lists/players who might be missing :)

(if we can find a good way to quickly merge with real-life transfer/current squad data, the managers for each league need only be concerned with adjusting/updating players attributes and reputation, meaning those elements can be very much fine-tuned all round!)

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #96511 by dimetrodon
Replied by dimetrodon on topic Re: Synchronated Updates

If anyone has any other suggestion for carrying persistent attributes with only simple Excel-can-handle-65,000-of-it-at-once calculation, please let me know/discuss ASAP as this should hopefully be on the go within a week, and ready for merging with some new real-life data in terms of January transfers/February squad lists/players who might be missing :)


I am not sure I have understood the problem correctly, but maybe I have some ideas, or at least (as an Excel-fan) gladly try to solve it.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #96522 by Synchronated
Well at the moment each team s data looks something like this:



Each player s attributes are numbered from 1 to 7, with the 7 being their strongest attribute and 1 being the weakest.
The sheet combines this with the reputation coefficient (just to the left of the attributes) to generate SWOS attributes which will give a value that corresponds to the coefficient, i.e. everyone with reputation of 550 comes out as £2m in SWOS, with attributes distributed according to the player s strong and weak points.

e.g. Adam Johnson at £2.75m comes out as 7623775 just by increasing the 1-7 attributes, with a maxout of 7, until you get the right number of skill points. Dedryck Boyata at £750k comes out as 3265341. At any point we can simply increase or decrease someone s reputation, and therefore increase or decrease his overall ability, but the basic description of how his skills are distributed, and so what kind of player he is, can still remain the same.

So that is how it currently works (but if possible in the ouput, 7s and 6s will be replaced with 15s and 14s in order to make those attributes searchable in SWOS), and will work fine unless someone pitches an improvement for it or another system :)

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago - 13 years 2 months ago #96524 by Mozg
Replied by Mozg on topic Re: Synchronated Updates
Maybe it will be clearer (if possible to do) to rescale reputation values - IMO it will be better if it could have values simply from 0 to 49 - value 0 will mean that player has 25K- price, 1 - 25K, 2 - 30K ... 47 - 12M, 48 - 15M, 49 - 15M+ - so this coefficient will just represent sum of all abilities.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago - 13 years 2 months ago #96526 by Synchronated
Currently not all points totals are possible (using this simple calculation for each attribute) where the attributes are 1-7. Sometimes one or two are skipped because two attributes increase by a point at the same time. This is the main drawback currently.
Each attribute is currently (reputation/135)*(7/20)*(attribute) since this is the formula that the version of SWOES I am using to import uses. But we don t HAVE to use this, it s just the simplest way, we can bypass it if we have already calculated the values themselves.

Thing is, using a definitive points target is ideal, yes. However I can think of no simple way to arrive exactly at it with certainty (the values in the current sheet are taken from the outcome which occurs for that reputation value, not the other way around, and the reputation values have been scaled to fit that). I can arrive exactly at a points total in my fmtoswos and fifatoswos attibute calculations, but those are very complex and have many iterative steps... perhaps that can be applied to one team at once in an intermediate step but it cannot be applied to the whole sheet. Even 600 or 700 at once and Excel yells that I m torturing it.

I will have a look at making an intermediate step which just makes the points hit a specific target as this is a very good idea and should ideally be achieved before this sheet is put to use. It should also be easier/simpler than fmtoswos, since with the attributes being 1-7 and all being different there is no problem deciding between any two attributes when adding/subtracting missing skill points.

edit: as there are only 49 possible actual reputation values, I can basically do this with lookup tables and an attribute template (or maybe more than one) for each reputation value. Should work. Same result as the current basic calculation really, except that all values will be possible and the templates will be a bit better for SWOS than the basic result currently is - and reputation now just = number of SWOS points.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #96535 by Mozg
Replied by Mozg on topic Re: Synchronated Updates
This formula will produce attributes higher than 7, so I guess when higher value is reached, it s cut to 7?

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago - 13 years 2 months ago #96536 by Synchronated
Yeah if the value is higher than 7 it just reads 7.
I think this formula is about to be abandoned in favour of reputation values that are directly equal to SWOS points, and attributes adding up to the right number of points.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #96538 by Mozg
Replied by Mozg on topic Re: Synchronated Updates
I can write what algorithm I used to convert FM attributes to SWOS, I think it will be helpful here

Firstly I had to normalize input attributes to be from 0 to 1. Next, every attribute was raised to some positive power (let s call it x) - after that operation they were higher (if x 1) or lower (if x 1), but still between 0 and 1. Finally I multiplied it by 8 and cut the factor part after comma, so I get attributes from 0 to 7.

So in your case, firstly we can for example divide input attributes by 8 (not by 7 because we should get values higher than 0 and lower than 1, because when e.g. passing is 1 at this step, then it will be finally always 7) Next raise all values to the power of x, multiply by 8 and cut the factorial part.

When x is very large, all attributes go to 0, and when x is close to 0, all attributes go to 7. So what we have to do is to find what value of x is needed to get e.g. 50K or 5M etc.

It will be easy to find these values, but it will need to write IF function of excel with 50 condtions (eg. if Reputation=23 then x=sth, and so on), I don t know if it is possible :)

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #96539 by Synchronated
Nested IF functions only allow 8 conditions (and that s if you have no other functions requiring parentheses within them). At least on Excel 2003.
So we would have to do it as a lookup table anyway and then refer to it, and due to the 1-7 nature of all the player attributes the result would again be 50 templates, eg for £3m, the skills are always going to be (for example) 2-4-5-6-7-7-7 or 2-4-5-6-15-15-15, but the order in which they appear depends on the player s preferred attributes and makes most players unique or at least realistically distinctive.
So that is a good method but the result is pretty much the same.
I think now that we have set reputation = skill points, the rest is simple enough as a lookup table.

Please Log in or Create an account to join the conversation.

More
13 years 2 months ago #96542 by Mozg
Replied by Mozg on topic Re: Synchronated Updates
I didn t know that sth like lookup table is possible to write in excel :) In fact It will be really helpful here. So we don t even need any formula, just to write 50 templates :)

So I ll write my proposal to consider (by my algorithm) :

7776767564576354625347654321324152314621351241321

I wrote these tepmplates in shortest possible way :) These numbers means - when we want to create player with sum of attributes eg. 8, so we take first 8 attributes (77767675) - It means that player has attributes 5 2 1 0 0 0 0 (there are five 7s, two 6s and one 5). And so on :)

In general, we could discuss about what set of templates will be optimal.

Please Log in or Create an account to join the conversation.

Time to create page: 0.333 seconds
Powered by Kunena Forum