fodev.net
15.08.2009 - 23.06.2013
"Wasteland is harsh"
Home Forum Help Login Register
  • December 22, 2024, 05:47:23 pm
  • Welcome, Guest
Please login or register.

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

Author Topic: GUI program for NameColorizing.txt  (Read 6956 times)

vad

  • Offline
GUI program for NameColorizing.txt
« on: January 10, 2010, 07:42:52 am »

I am writing program which edits NameColorizing.txt and I have 2 goals:
1) Possibility to load txt files from internet.
2) Possibility to merge 2 or more files in one.

I have created shared document and copypasted some gangs from North Alliance forum.(just for test)
« Last Edit: January 10, 2010, 08:07:47 pm by vad »
Logged

Wipe

  • Rotator
  • Random is god
  • Offline
Re: GUI program for NameColorizing.txt
« Reply #1 on: January 10, 2010, 09:30:55 am »

Can be nice tool for all who afraid notepad and paint (for RGB). Good job :)

Didn't played with this too long, but it looks like not all names are cleared on "new".
(run program) -> "open from url" -> (file loaded) -> "new" -> "open" -> (my own NameColorizing.txt) -> (file loaded + "mordecai" is added to list)
Logged
Games are meant to be created, not played...

skejwen

  • BBS AKBAR!
    • Brahmins rox
  • Offline
Re: GUI program for NameColorizing.txt
« Reply #2 on: January 10, 2010, 01:01:43 pm »

Nice work - if you want any help feel free to ask. I sent you file as you requested.



Didn't played with this too long, but it looks like not all names are cleared on "new".
(run program) -> "open from url" -> (file loaded) -> "new" -> "open" -> (my own NameColorizing.txt) -> (file loaded + "mordecai" is added to list)
This is probably due to this feature: "2) Possibility to merge 2 or more files in one." ;)
Logged
"Moo-OooooOO! MoMoo.. MmmmoOoo.. Moo!", translate from brahmin to English: "Two things are infinite - brahmin shit and human stupidity! - Brahminstein"

Wipe

  • Rotator
  • Random is god
  • Offline
Re: GUI program for NameColorizing.txt
« Reply #3 on: January 10, 2010, 01:12:04 pm »

This is probably due to this feature: "2) Possibility to merge 2 or more files in one." ;)

Then i should have all nicks added, not only one.
Logged
Games are meant to be created, not played...

Cpt.Rookie

  • The final act is mine
    • riget.info
  • Offline
Re: GUI program for NameColorizing.txt
« Reply #4 on: January 10, 2010, 01:42:00 pm »

Sounds interesting.
About files from GoogleDocs - it look that txt files are downloaded in UTF-8 encoding, so it doesn't matter what language version of Windows are you using.
It will be really nice to have a sw which will take different files, merge them, solve conflicts (same name, different colors) and make a final one. Good for keeping other allied factions informed about new players - and making one global file for everyone.

Maybe we should suggest to dev change of default encoding of _NameColorizing.txt to UTF-8. It will definitely help.
Logged
Server-Boy - FOnline servers statistics
pcntl_wait($status); //protect against zombie children
postCount++;

vad

  • Offline
Re: GUI program for NameColorizing.txt
« Reply #5 on: January 10, 2010, 02:55:17 pm »

Quote
This is probably due to this feature: "2) Possibility to merge 2 or more files in one."
No, it was bug and now it is fixed.

Quote
Nice work - if you want any help feel free to ask. I sent you file as you requested.
Thanks. As I suspected program does not convert UTF-8(Google) in CP-1251(FOnline) in not Russian verion of Windows.
Logged

Cpt.Rookie

  • The final act is mine
    • riget.info
  • Offline
Re: GUI program for NameColorizing.txt
« Reply #6 on: January 10, 2010, 03:07:13 pm »

Thanks. As I suspected program does not convert UTF-8(Google) in CP-1251(FOnline) in not Russian verion of Windows.
Generally, it is ANSI (I mean default encoding on Windows for given language) what FOnline is using when saving file. So on Czech Windows, the encoding is CP-1250.
Logged
Server-Boy - FOnline servers statistics
pcntl_wait($status); //protect against zombie children
postCount++;

vad

  • Offline
Re: GUI program for NameColorizing.txt
« Reply #7 on: January 10, 2010, 08:19:30 pm »

It seems a have won battle: Me VS UTF-8&CP-1251. Also in new version added two options for saving files: "replace space by ?" and "replace & by ?". My goal in next version is to prevent possibility to have doubles of players and colors.
But because of work I can't tell when I will have time to make new version.
Logged

vad

  • Offline
Re: GUI program for NameColorizing.txt
« Reply #8 on: January 23, 2010, 06:53:59 pm »

I have done all that I wanted. New versions will appear only after bug reports or suggestions.
Logged

skejwen

  • BBS AKBAR!
    • Brahmins rox
  • Offline
Re: GUI program for NameColorizing.txt
« Reply #9 on: January 24, 2010, 03:44:13 am »

I have done all that I wanted. New versions will appear only after bug reports or suggestions.

For editing lists now its perfect, but for creating new ones its pain... so I have one suggestion - it would be nice to be able to add more nicks at once (maybe based on txt files with nicks, like in my simple console program that I made some time ago: http://www.nma-fallout.com/forum/viewtopic.php?t=53237).

/skejwen
Logged
"Moo-OooooOO! MoMoo.. MmmmoOoo.. Moo!", translate from brahmin to English: "Two things are infinite - brahmin shit and human stupidity! - Brahminstein"
Re: GUI program for NameColorizing.txt
« Reply #10 on: March 04, 2010, 10:14:51 am »

I like your program very much. I have some suggestions, there is too much free space below listbox so if you could make it longer to fill the space it would be very good. Also, it would be very usefull if user could click some button "add admins" which would add admin names with admin-color and admin-contour, because not all player remember the names so users like me who erased them could add them back because program will remember the names.

Also i made czech translation for your program so you can implement it in download pack..
Here you are: http://www.mediafire.com/?mtmknowym0j
Logged
Dumb people say what they know, wise people know what they say.

vad

  • Offline
Re: GUI program for NameColorizing.txt
« Reply #11 on: March 06, 2010, 02:39:49 pm »

xpath created a more advanced program for editing NameColorizing.txt and I have no free time, so I abandon the development of my program. I apologize to those who liked it.
Logged
Re: GUI program for NameColorizing.txt
« Reply #12 on: March 26, 2010, 06:55:48 pm »

I just want you to know that i keep using your version anyways because this interface is more friendly to me than the Xpath´s version
Logged
Dumb people say what they know, wise people know what they say.

crash^US

  • There is no "us" in this.
  • Offline
Re: GUI program for NameColorizing.txt
« Reply #13 on: April 01, 2010, 08:42:24 am »

tHx
Logged
Pages: [1]
 

Page created in 0.07 seconds with 21 queries.