Josko / aura-bot

Warcraft III high-performance hosting bot written in C++14.
75 stars 42 forks source link

in linux, map not found #13

Closed sainaetr closed 10 years ago

sainaetr commented 10 years ago

I have no idea about windows but in linux, if map name has some capital letters, bot is unable to find the map by .map command following with at least one of that capital letters. (not checked cfg and similar files yet)

ie: if the map name "My Awesome Map.w3x" I cannot use ".map Awesome" or ".map awesome", on the other hand I am able to use ".map wesome" but that is not good enough.

and the problem lays down in this method:

vector CBNET::MapFilesMatch(string pattern)

in bnet.cpp file. Working on a simple solution.

Josko commented 10 years ago

Should be fixed then.