|
Post by fchladmin on Apr 22, 2021 14:11:59 GMT
So i have noticed that we have several players that have extra characters at the end of their name.
It could be a player that just has extra spaces or actually has an underscore like player name_
was wondering if their was an easy way of fixing this i really dont wanna go through and remove them one by one and probably wont because that is a pain.
I was wondering if an export to EXCEL then do the trim function would work?
Has anyone else ran into this in the past and if so how did you fix it?
Thanks for the help!
|
|
|
Post by eleclerc on Apr 22, 2021 21:00:18 GMT
You can edit the .ros file with an hex editor.
Each player is 172 chars, so you can set this for number of bytes by line (86). So each player is one line.
Search in hex value in the file for the underscore. (A0 in hex) Remove it by 20 (space) if you are in the player name area. Player names is 44 first bytes of each player (22).
I can do it for you if you don't want to mess your .ros file.
|
|
|
Post by fchladmin on Apr 22, 2021 22:43:23 GMT
If i was to give you my ros file how long would it take you to fix it? Just curious because i would need to sim tomorrow morning.
|
|
|
Post by eleclerc on Apr 22, 2021 23:29:03 GMT
If I edit it directly when I received it, it should takes not longer than 15 minutes. I have to synchronise with you... I can do it in the morning or after the job or later.
|
|
|
Post by fchladmin on Apr 22, 2021 23:30:37 GMT
Ok I will have it ready tomorrow after sim then that will give you 24 hours. I appreciate it
|
|
|
Post by eleclerc on Apr 22, 2021 23:31:21 GMT
Good, I just reinstalled the hex editor...
|
|
|
Post by fchladmin on Apr 22, 2021 23:34:46 GMT
Ok sounds good how do I get you the file?
|
|
|
Post by eleclerc on Apr 23, 2021 0:15:44 GMT
My email. It will be faster that way. I'm not looking at this forum each minute...
|
|
|
Post by fchladmin on Apr 23, 2021 12:18:30 GMT
sent thanks again
|
|
|
Post by eleclerc on Apr 24, 2021 16:56:14 GMT
I did it and the .ros file was wrong at two places with A0 for spacing after the player name, normally 20. Just don't know how the character A0 was created in the first place because A0 is not a valid character in the ASCII table...
|
|
|
Post by fchladmin on Apr 25, 2021 13:58:14 GMT
Thanks and yeah not sure how it was done
I appreciate it!
|
|