fodev.net
15.08.2009 - 23.06.2013
"Wasteland is harsh"
Home Forum Help Login Register
  • December 24, 2024, 12:08:37 am
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Play WikiBoy BugTracker Developer's blog
Pages: [1]

Author Topic: Automatic updater of NameColorizing.txt  (Read 9196 times)

Cpt.Rookie

  • The final act is mine
    • riget.info
  • Offline
Automatic updater of NameColorizing.txt
« on: March 14, 2010, 05:28:34 pm »

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: [Select]
https://spreadsheets.google.com/ccc?key=0As8mVeo83xLJdFEyWlFGWC10QUR4YVVYNnM4RXFyOFE&hl=enthe ID will be
Code: [Select]
0As8mVeo83xLJdFEyWlFGWC10QUR4YVVYNnM4RXFyOFE
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: [Select]
File size: 71517 bytes
MD5...: 37c36cc38d25174da520cba0f15ae513
SHA1..: 99a0aade9f937ff17ae9bd9bf725ac88ed429161
SHA256: ed2f5c3f9b3911c9634f8cd1a39f25c77a91df19da1ee7f34c73c67c1b5ef070
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
« Last Edit: March 14, 2010, 05:31:11 pm by Cpt.Rookie »
Logged
Server-Boy - FOnline servers statistics
pcntl_wait($status); //protect against zombie children
postCount++;
Re: Automatic updater of NameColorizing.txt
« Reply #1 on: March 14, 2010, 10:53:27 pm »

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

Resp

  • I'll shoot second =]
    • spnet
  • Offline
Re: Automatic updater of NameColorizing.txt
« Reply #2 on: March 23, 2010, 01:42:43 pm »

Very useful.
I'll try to test it.

thx. There works fine
« Last Edit: March 26, 2010, 12:49:31 pm by Resp »
Logged
I'm sorry for my poor English. Please correct me, I will learn
"Hell," said Tanner. "That's my name...." (с)
http://wasteland.spb.su/fo/?s=2&t=4

Resp

  • I'll shoot second =]
    • spnet
  • Offline
Re: Automatic updater of NameColorizing.txt
« Reply #3 on: March 27, 2010, 11:12:05 pm »

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.
Logged
I'm sorry for my poor English. Please correct me, I will learn
"Hell," said Tanner. "That's my name...." (с)
http://wasteland.spb.su/fo/?s=2&t=4

Cpt.Rookie

  • The final act is mine
    • riget.info
  • Offline
Re: Automatic updater of NameColorizing.txt
« Reply #4 on: March 28, 2010, 01:29:20 pm »

Thought about some sort of "merger" was on my mind too, it will definitely get implemented. Thanks for the suggestions.
Logged
Server-Boy - FOnline servers statistics
pcntl_wait($status); //protect against zombie children
postCount++;
Re: Automatic updater of NameColorizing.txt
« Reply #5 on: July 06, 2010, 02:45:57 am »

any update of this ?!

"minimizing to tray while auto-update checking" this is super idea
Logged
.: I Like It :.

Cpt.Rookie

  • The final act is mine
    • riget.info
  • Offline
Re: Automatic updater of NameColorizing.txt
« Reply #6 on: July 06, 2010, 10:13:20 am »

Unfortunately there are some other 2238 projects that have higher priority now, so development of this tool is stopped. However, I'm taking a note to my to-do list. Thanks.
Logged
Server-Boy - FOnline servers statistics
pcntl_wait($status); //protect against zombie children
postCount++;

jan0s1k

  • If it bleeds we can kill it...
    • Chosen Soldiers
  • Offline
Re: Automatic updater of NameColorizing.txt
« Reply #7 on: July 11, 2010, 12:02:08 pm »

and something like download with ftp: user:password or sth like this would be cool ;]
Logged

The Good Doctor

  • Doctor: 100%
  • Offline
Re: Automatic updater of NameColorizing.txt
« Reply #8 on: February 04, 2012, 11:31:47 am »

Sure would like an update of this, I can't be the only one interested...

Cpt.Rookie

  • The final act is mine
    • riget.info
  • Offline
Re: Automatic updater of NameColorizing.txt
« Reply #9 on: February 04, 2012, 02:02:41 pm »

I thought that no one is using this tool anymore since devs made namecolorizing file quite useless.
Logged
Server-Boy - FOnline servers statistics
pcntl_wait($status); //protect against zombie children
postCount++;

The Good Doctor

  • Doctor: 100%
  • Offline
Re: Automatic updater of NameColorizing.txt
« Reply #10 on: February 04, 2012, 10:40:03 pm »

Works for me. Other players names are colored, not just mine. Still have the issue of Cyrillic names not colored though.
Pages: [1]
 

Page created in 0.105 seconds with 21 queries.