Unsupported format character

Host your own server and communicate with server operators.
5 posts Page 1 of 1 First unread post
kamild1996
Deuce
Posts: 6
Joined: Fri Dec 28, 2012 12:46 pm


That's what I see after starting a pyspades server:
D:\Game Files\Ace of Spades\dist>run.exe
2012-12-28 13:43:02+0100 [-] Log opened.
2012-12-28 13:43:02+0100 [-] REMEMBER TO CHANGE THE DEFAULT ADMINISTRATOR PASSWO
RD!
2012-12-28 13:43:02+0100 [-] Generating map 'random #437787503'...
2012-12-28 13:43:05+0100 [-] Map loaded successfully.
2012-12-28 13:43:05+0100 [-] Traceback (most recent call last):
2012-12-28 13:43:05+0100 [-] File "run.py", line 1030, in <module>
2012-12-28 13:43:05+0100 [-] File "D:\Game Files\Ace of Spades\dist\scripts\di
sco.py", line 39, in __init__
2012-12-28 13:43:05+0100 [-] protocol.__init__(self, *arg, **kw)
2012-12-28 13:43:05+0100 [-] File "run.py", line 653, in __init__
2012-12-28 13:43:05+0100 [-] File "run.py", line 761, in set_map_rotation
2012-12-28 13:43:05+0100 [-] File "run.py", line 727, in advance_rotation
2012-12-28 13:43:05+0100 [-] File "run.py", line 747, in set_map_name
2012-12-28 13:43:05+0100 [-] File "run.py", line 787, in update_format
2012-12-28 13:43:05+0100 [-] File "run.py", line 810, in format_lines
2012-12-28 13:43:05+0100 [-] File "run.py", line 802, in format
2012-12-28 13:43:05+0100 [-] ValueError: unsupported format character '!' (0x21)
at index 24

D:\Game Files\Ace of Spades\dist>pause
How to fix it?
colorpinpoint
League Champs
League Champs
Posts: 60
Joined: Tue Nov 06, 2012 11:06 pm


You most likely have a weird an unsupported character in your config.
kamild1996
Deuce
Posts: 6
Joined: Fri Dec 28, 2012 12:46 pm


My config.txt: http://pastebin.com/fRqYbFjS
I can't see any bad characters.
colorpinpoint
League Champs
League Champs
Posts: 60
Joined: Tue Nov 06, 2012 11:06 pm


Here you go: I found the bad characters.

New version:http://puu.sh/1Gvp0

It was this line:
"Aktualna mapa to %(map_name) autorstwa %(map_author)",
It's supposed to be
"Aktualna mapa to %(map_name)s autorstwa %(map_author)s",
kamild1996
Deuce
Posts: 6
Joined: Fri Dec 28, 2012 12:46 pm


Thanks (again Blue_BigSmile), replacing this fixed the problem.
5 posts Page 1 of 1 First unread post
Return to “Servers”

Who is online

Users browsing this forum: No registered users and 3 guests