Azərbaycan dili Bahasa Indonesia Bosanski Català Čeština Dansk Deutsch Eesti English Español Français Galego Hrvatski Italiano Latviešu Lietuvių Magyar Malti Mакедонски Nederlands Norsk Polski Português Português BR Românã Slovenčina Srpski Suomi Svenska Tiếng Việt Türkçe Ελληνικά Български Русский Українська Հայերեն ქართული ენა 中文
Subpage under development, new version coming soon!

Subject: New transfer comparison tool

2010-01-19 16:47:52
cardaso [del] to All
Installation
(you need Firefox and Greasemonkey)
1.) install the new version of the script.
Make sure you don't have two versions installed.
2.) deactivate the NTDB Script if it is installed
3.) clear cookies, exit Sokker and reenter!! Important.
4.) if you don't work with one of the supported languages - switch to english language

Note: you need to set - Skill numbers: "none" in your Sokker profile!!

If you use this tool for transfer comparison, please help us fill the database.
You can include your own transfers and other transfers, too. Just go to the transferlist, select players of interest by opening the player's page in a new window and reload the page when the deadline has passed.
As long as the player has not been transfered to the new team, a button "Submit player" will be displayed.
------------------------------

The script has been successfully tested for
België - €
Bosna i Hercegovina - KM
Danmark - kr.
Deutschland - €
Chile - k.$
England - £
España - €
Hellas - €
Hrvatska - kn
Ireland - €
Italia - €
Kypros - €
Magyarország - Ft
Malta - €
Moldova - lei
Nederland - €
Österreich - €
Paraguay - k G
Pilipinas - P
Polska - zł
România - lei
Rossiya - руб.
Schweiz - CHF
Shqipëria - lek
Slovenija - €
Slovensko - €
Srbija - din
Türkiye - YTL

Supported languages:
• Bosanski
• Català
• Deutsch
• English
• Espanol
• Italiano
• Magyar
• Nederlands
• Polski
• Românã
• Türkçe
• Ελληνικά
• Русский
• Українська

Calculation of Skill sum:
GK 2.5x GK + 1.5x Pace + 0.5x Passing
DEF 2x Def + 1.5x Pace + Tech + Playmaking + 0.5x Passing
MID 1.5x Playmaking + 1.5x Passing + Tech + Pace + 0.75x Def
WING Pace + Tech + Passing + 0,9x Playmaking
ATT Striker + Pace + Tech

-------------------------------
older versions: v4.2
-------------------------------

(edited)
2010-01-19 16:53:12
To add a new language

Thats what I need:


1. everything on the right side of the = needs to be translated
of course not the HTML-Tags "" :-)

$lang_txt["hl"]="Transfer comparison";
$lang_txt["text_error1"]="No valid currency.";
$lang_txt["text_error2"]="Price: 0 €. This transfer was not included in the database.";
$lang_txt["text_error3"]="This player has not been sold yet.";
$lang_txt["text_error4"]="This transfer has already been included in the database.";
$lang_txt["text_error5"]="An error occured. This might be due to wrong language settings. Please change language to english. Clear Cache and Cookies and restart Firefox. Please report error with screenshot by sending a mail to";
$lang_txt["msg_1"]="This transfer was included in the databaseThanks!Current number of entries: ";

$skills=array("0 - tragic","1 - hopeless","2 - unsatisfactory","3 - poor","4 - weak","5 - average","6 - adequate","7 - good","8 - solid","9 - very good","10 - excellent","11 - formidable","12 - outstanding","13 - incredible","14 - brilliant","15 - magical","16 - unearthly","17 - divine","18 - superdivine");
$options=array("Player ID","Name","Age","Stamina","Keeper","Pace","Defender","Technique","Playmaking","Passing","Striker","Created by","Prize","Height", "Form");

$lang_txt['skillrange']='Skill range';

$lang_txt['name'] = 'Name';
$lang_txt['age'] = 'Age';
$lang_txt['height'] = 'Height';

$lang_txt['form'] = 'Form';
$lang_txt['stamina'] = 'Stamina';
$lang_txt['pace'] = 'Pace';
$lang_txt['technique'] = 'Technique';
$lang_txt['passing'] = 'Passing';
$lang_txt['keeper'] = 'Keeper';
$lang_txt['defender'] = 'Defender';
$lang_txt['playmaker'] = 'Playmaker';
$lang_txt['striker'] = 'Striker';
$lang_txt['date'] = 'Date';
$lang_txt['prize'] = 'Prize';
$lang_txt['week'] = 'Week';

$lang_txt['language'] = 'Language';
$lang_txt['currency'] = 'Currency';
$lang_txt['color'] = 'Text color';
$lang_txt['grey'] = 'grey';
$lang_txt['black'] = 'black';
$lang_txt['mark'] = 'mark skills by color';

$lang_txt['headline'] = "Transfer Comparison";
$lang_txt['shown'] = "shown: ";
$lang_txt['of'] = "of";
$lang_txt['noresult']="No comparable transfers found!";

$lang_txt['up_to'] = "up to";
$lang_txt['sort_by'] = "Sort by";

$lang_txt['ascending'] = 'ascending';
$lang_txt['descending'] = 'descending';

$lang_txt['clear'] = 'Clear';
$lang_txt['search'] = 'Search';
$lang_txt['result'] = "transfers";
$lang_txt['result1'] = "Entries";
$lang_txt['searchskills'] = 'Searched by: skills +/-3, age +/-1, below 21 age +/-0.';

$lang_txt['version'] = 'Current version of the transfer analysis tool for Firefox:';
$lang_txt['newversion'] = 'A new version is available!!';
$lang_txt['install'] ='install';

lang["entry"]="enter transfer: ";
lang["compare"]="compare transfer: ";

$lang_txt['pGK'] = ' Goalkepper';
$lang_txt['pDEF'] = 'Defender';
$lang_txt['pMID'] = 'Midfielder';
$lang_txt['pW'] = 'Winger ';
$lang_txt['pATT'] = 'Striker';
$lang_txt['sorting'] = "Sorting";

$lang_txt['sum1'] = 'Sum Goalkepper skills';
$lang_txt['sum2'] = 'Sum Defender skills';
$lang_txt['sum3'] = 'Sum Midfielder skills';
$lang_txt['sum4'] = 'Sum Winger skills';
$lang_txt['sum5'] = 'Sum Striker skills';
$lang_txt['change'] = 'Change';
$lang_txt['mypos'] = "Best position of the player";


2. everything within the []

very important. I need the unicode character mapping here!!!
Look up here: http://rishida.net/tools/conversion/

Enter the skills in your language to the field "Mixed input", and copy the result from the field "JavaScript escapes"

lang["tragic"] = 0;
lang["hopeless"] = 1;
lang["unsatisfactory"] = 2;
lang["poor"] = 3;
lang["weak"] = 4;
lang["average"] = 5;
lang["adequate"] = 6;
lang["good"] = 7;
lang["solid"] = 8;
lang["very good"] = 9;
lang["excellent"] = 10;
lang["formidable"] = 11;
lang["outstanding"] = 12;
lang["incredible"] = 13;
lang["brilliant"] = 14;
lang["magical"] = 15;
lang["unearthly"] = 16;
lang["divine"] = 17;
lang["superdivine"] = 18;



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

send the translated text by sokker mail

then wait and be patient :-)

(edited)
(edited)
2010-01-19 16:58:50
The tool works in combination with Firesokker and oSokker.
The tool does not work when the Sokker NT Database script is activated!
Deactivate this script before using the transfer comparision tool.

Screen





Supported languages:
• Deutsch
• Dutch
• English
• Espanol
• Polski
• Русский
• Türkçe
• Українська

Supported currencies:
• hopefully all

Other languages might be added later on.
If you use the tool for price comparision of players, please help collect transfers by adding your transfers to the database.


You just need Firefox, greasemonkey and the transfer comparison script.
No login or password is needed. Any player on transferlist whose transfer deadline has passed and who has not been transfered to new team can be added.



Where to get the script?

Greasemonkey
Transfer comparison script

If any probblem occur, clean cache and cookies , restart browser , login again.

(edited)
2010-01-19 17:11:17
Am I dumb, or what?

Doesn't work AT ALL for me...
I don't see any new button...
2010-01-19 17:14:35
• it is important to exit sokker and log in again
• english language selected?
• NTDB script deactivated?
2010-01-19 17:16:33
Yeah, I had Romanian language selected, I thought you added it :P

changed to english, and it seems it works just fine :)
(edited)
2010-01-19 18:42:39
Works fine for België - €
2010-01-19 18:46:57
One possible problem though, but probably unrelated to the new script:

On the transfer comparison website, after I clicked "Wissen" (erase), I can't enter new search criteria anymore. I can select whatever I want, but when I hit search, it always reverts to tragic - superdivine.
2010-01-19 19:17:21
should work now
2010-01-19 19:59:12
Indeed, thx :-)
2010-01-20 17:44:14
I would just correct that Slovakia has EUR as curency
2010-01-20 18:25:00
done
2010-01-21 07:22:31
The Chilean money work fine
2010-01-21 16:32:40
nite
2010-01-25 20:16:51
hungarian language added
2010-01-26 01:12:54
Nice! Thanks!