Ikariam Aide-Memoire (Generals Score)

By MT0 Last update Jan 17, 2011 — Installed 213,810 times.

Problems on german Server

in
Subscribe to Problems on german Server 1 post, 1 voice

viruzz Scriptwright
FirefoxWindows

on german servers there is the problem that the seperator of the score is a point not a comma. that leads to the problem that the scores are displayed wrong (player with 16834 points will have 16 and player with 312 points will have 312)

i solved this problem with replacing some of the sourcecode, maybe this could be used in the next update of these brilliant script ;-)

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

Auf deutschen Servern gibt es das Problem, dass die Tausendertrennzeichen Punkte statt Kommas sind. Das führt zu Anzeigeproblemen der Punktzahl. (ein Spieler mit 16234 Punkten hat nur 16 und einer mit 312 hat richtigerweise 312)

Ich hab das Problem umgangen indem ich Stellen im Quelltext ersetzt habe.
Ich hoffe das könnte in der nächsten Version dieses genialen Skripts berücksichtigt werden ;-)

------------------------------------------
file:/Datei:

51116user.js

line: /Zeile:

309:
var place = parseInt( $( "td:eq(0)", this ).text().replace( /\./g, '' ) );

320:
var points = parseInt( $( "td:eq(3)", this ).text().replace( /\./g, '' ) );

346/347:
total = parseInt( $("td:eq(2)", this ).text().replace( /\./g, '' ) ),
average = parseInt( $("td:eq(3)", this ).text().replace( /\./g, '' ) ),

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel