I am trying to run my own bot for testing. I use https://github.com/uakfdotb/ghostpp
It compiled fine and joins the battle.net correctly. I can also host lobbies, which I can join, but:
-> I always am re-downloading the map, even if it is already present and
-> After I have downloaded another copy of the map, I get kicked from the lobby
I have tried various maps, even the default wormwar.cfg with all the same result.
Duplicate maps:
https://i.imgur.com/KAzu4fo.png
Log:
Code: Select all
[QUEUED: Europe] Loading config file [waterTD_v1.4.w3x].
[MAP] loading MPQ file [/home/ghost/ghostpp/maps/waterTD_v1.4.w3x]
[MAP] calculated map_size = 237 194 7 0
[MAP] calculated map_info = 199 139 174 107
[MAP] calculated map_crc = 247 216 194 48
[MAP] calculated map_sha1 = 27 21 193 213 163 221 16 185 42 138 51 191 13 97 30 55 16 179 180 55
[MAP] calculated map_options = 96
[MAP] calculated map_width = 96 0
[MAP] calculated map_height = 96 0
[MAP] calculated map_numplayers = 6
[MAP] calculated map_numteams = 2
[MAP] calculated map_slot1 = 0 255 0 0 0 0 1 1 100
[MAP] calculated map_slot2 = 0 255 0 0 0 3 1 1 100
[MAP] calculated map_slot3 = 0 255 0 0 0 4 1 1 100
[MAP] calculated map_slot4 = 0 255 0 0 0 5 1 1 100
[MAP] calculated map_slot5 = 0 255 0 0 0 6 1 1 100
[MAP] calculated map_slot6 = 0 255 2 1 1 11 4 1 100
[LOCAL: Europe] [Frotty] !priv watest
[BNET: Europe] admin [Frotty] sent command [!priv watest]
[GHOST] creating game [watest]
[GAME: watest] loading IP blacklist file [/home/ghost/ghostpp/ipblacklist.txt]
[GAME: watest] loaded 636 lines from IP blacklist file
[GAME: watest] attempting to bind to all available addresses
[GAME: watest] listening on port 6112
[QUEUED: Europe] Creating private game [watest] started by [Frotty].
[GameThread] Made new game thread
[GAME: watest] votestart expired
[GAME: watest] player [Frotty|---] joined the game
[GAME: watest] map download started for player [Frotty]
[GAME: watest] map download finished for player [Frotty] in 0.5 seconds
[GAME: watest] [Local]: Player [Frotty] downloaded the map in 0.5 seconds (1005.5 KB/sec).
[GAME: watest] deleting player [Frotty]: has left the game voluntarily
Any help would be appreciated.