Other > Tools and Modifications

Automatic updater of NameColorizing.txt

(1/3) > >>

Cpt.Rookie:
Are you a member of some bigger gang?
Is your nameColorizing file constantly updated?
Are you all bored by neverending manual updating?
Do you want russian nicks to be colored correctly in game?

Then here comes solution. Program that will update your local namecolorizing by clicking on one button. Based on google docs, where one member creates a document and provides its ID to other.

1. Download & Run
Packed program can be downloaded at www.rookie.name/sw/fonline/NCH.zip
Download it and extract content of archive. Run extracted .exe file.
Note: some people reported that they're unable to write any data to program. In that case, right click on exe file and via "Properties", choose tab "Compatibility", tick  "Run this program in compatibility mode for" and choose "Windows NT 4.0, (Service Pack 5)".
It is weird, but at least it seems that it is working. In case that you don't have any issues with setting data in program, you, of course, don't have to do that.

2.0 What to do if I am the one who is maintaining NC for our gang
The only thing you have to do is make an account at gmail.com. Therefore you'll also get account at google docs.  Create a new document there, copy content of your local namecolorizing there and save. If you already have russian nicks in your NC, read notes below. Close the document, on the main page of Google docs tick the checkbox beside just created document, click "Share", "Get the link to share", check the only "Allow anyone with the link to view (no sign-in required)" is checked and copy ID of document. For example from sharing link

--- Code: ---https://spreadsheets.google.com/ccc?key=0As8mVeo83xLJdFEyWlFGWC10QUR4YVVYNnM4RXFyOFE&hl=en
--- End code ---
the ID will be

--- Code: ---0As8mVeo83xLJdFEyWlFGWC10QUR4YVVYNnM4RXFyOFE
--- End code ---

2.1 GUI & Settings



Id of google doc - the ID that will provide NC maintainer will be copied there. Nothing else.
local NC file - path to your local nameColorizing file. This file must exist.
check for updates - if local NC file differes from that on google docs, will be updated after clicking on this button
automatically check for updates every - I guess that this is clear. However, the lower number in minutes is 240 to prevent spam of GD.
save settings - don't forget to save settings


The second tab basically isn't related to updating of NC, it will just convert documents from Windows-1251 encoding to UTF-8 (and back). It is useful if you (for example) need to get human-readable russian nicks from log file (F2).

I guess that GUI is pretty self-explanatory, so just one note - text in combo box beside "browse" button determines encoding of source file. Therefore if you want to get russian nicks from log file, choose "cp1251" there (same as on picture).

3. Notes
If you already have russian nicks in your local NC file and you want to start using GD, you have to convert your local NC  to UTF-8, open, copy content and paste it to the GD document. Basically - content that you want to copy to GD document must be human-readable (even cyrillic).
If you're running Russian version of Windows (or if you have set Russian as language for non-unicode programs) you can copy content of NC directly.

If there will be any problems with newly downloaded NC, there is always made copy of old one in <path_to_fonline>\NC_backup\<year-month-day-hour-minute-second\NameColorizing.txt

And some security info about executable file:

--- Code: ---File size: 71517 bytes
MD5...: 37c36cc38d25174da520cba0f15ae513
SHA1..: 99a0aade9f937ff17ae9bd9bf725ac88ed429161
SHA256: ed2f5c3f9b3911c9634f8cd1a39f25c77a91df19da1ee7f34c73c67c1b5ef070
--- End code ---
I was checking it for viruses at http://www.virustotal.com with score 1/42 (Symantec reports Suspicious.Insight). If you believe that this is not false alarm, DO NOT DOWNLOAD AND/OR RUN THIS SW!

And as usual - if you have any recommendations or bug-reports, feel free to write it there or contact me via mail/jabber cpt.rookie at gmail dot com

Candy:
this is great news, thanks for the program. Im going to test it now, nice work

Resp:
Very useful.
I'll try to test it.

thx. There works fine

Resp:
suggestion
i would like to see the updating list with several addresses and then combine into a single file. with at least three.
also wants able minimizing to tray while auto-update checking.

Cpt.Rookie:
Thought about some sort of "merger" was on my mind too, it will definitely get implemented. Thanks for the suggestions.

Navigation

[0] Message Index

[#] Next page

Go to full version