You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
game: Call of Duty: Modern Warfare 3 (cod8 parser)
Issue:
the ; color code (dark blue) doesn't work
Hi,
I wanted to use dark blue to display messages but it seems like b3 isn't parsing this one color code at all... All the other colors work perfectly (0-9 and :). Also, game supports that color for sure, because non-b3 scripts based on InfinityScript display it properly.
I've tried to find the issue and fix that, but failed. Modifying these methods doesn't take any effect: _lineFormat = re.compile('^([a-z ]+): (.*?)', re.IGNORECASE) and _reColor = re.compile(r'\^[0-9a-z]') # regex used to strip out color codes from a given string.
So:
1. Is it possible to make it work somehow?
2. Is it possible to change the console: prefix?
3. Is there a way to change line color prefix? _line_color_prefix from parser.py doesn't change anything.
Attaching the screenshot where you can see the empty space after ^ while in the code of parser.py that looks like this pmPrefix = '^;[PM]:' # private message prefix.
The text was updated successfully, but these errors were encountered:
Using:
Issue:
;
color code (dark blue) doesn't workHi,
I wanted to use dark blue to display messages but it seems like b3 isn't parsing this one color code at all... All the other colors work perfectly (
0-9
and:
). Also, game supports that color for sure, because non-b3 scripts based on InfinityScript display it properly.I've tried to find the issue and fix that, but failed. Modifying these methods doesn't take any effect:
_lineFormat = re.compile('^([a-z ]+): (.*?)', re.IGNORECASE)
and_reColor = re.compile(r'\^[0-9a-z]') # regex used to strip out color codes from a given string
.So:
1. Is it possible to make it work somehow?
2. Is it possible to change the
console:
prefix?3. Is there a way to change line color prefix?
_line_color_prefix
fromparser.py
doesn't change anything.Attaching the screenshot where you can see the empty space after
^
while in the code ofparser.py
that looks like thispmPrefix = '^;[PM]:' # private message prefix
.The text was updated successfully, but these errors were encountered: