ZeroK-RTS / Zero-K-Infrastructure

Website, lobby launcher and server, steam deployment, .NET based tools and other vital parts of Zero-K infrastructure
GNU General Public License v3.0
53 stars 52 forks source link

Error on !map command #281

Closed Skasi closed 9 years ago

Skasi commented 9 years ago

We got an error once when using the !map command in the 2v2 matchmaking host. After that the !map command did not cause errors again.

[14:12] Skasi !map [14:12] * Zk2v2Host Sorry, you do not have rights to execute map [14:12] * Zk2v2Host System.NullReferenceException: Object reference not set to an instance of an object. [14:12] * Zk2v2Host at Springie.autohost.Polls.VoteMap.PerformInit(TasSayEventArgs e, String[] words, String& question, Int32& winCount) [14:12] Skasi wad [14:12] Skasi r u trolling me [14:12] Skasi !map [14:12] * Zk2v2Host Sorry, you do not have rights to execute map [14:12] * Zk2v2Host Poll: Change map to Lowland Crossing Revised v2 http://zero-k.info/Maps/Detail/23566 ? [!y=0/2, !n=0/2] [14:12] Skasi !y [14:12] Klon !y [14:12] * Zk2v2Host Poll: Change map to Lowland Crossing Revised v2 http://zero-k.info/Maps/Detail/23566 ? [END:SUCCESS] [14:12] * Zk2v2Host changing map to Lowland Crossing Revised v2 [14:12] Klon hm : / [14:12] Klon !map [14:12] * Zk2v2Host Poll: Change map to Badlands http://zero-k.info/Maps/Detail/7177 ? [!y=0/2, !n=0/2] [14:12] Klon !y [14:12] [ISP]Lauri !y [14:12] Skasi !y [14:12] * Zk2v2Host Poll: Change map to Badlands http://zero-k.info/Maps/Detail/7177 ? [END:SUCCESS] [14:12] * Zk2v2Host changing map to Badlands

ArchShaman commented 9 years ago

I think this may caused by a blank entry in the table of maps or something that springiee has.

I'll go thru and see if I can't hit the error.

abma commented 9 years ago

very likely related/duplicate of #71

abma commented 9 years ago

hmmm, or not? ug, #71 seems fixed, not sure how to verify. sorry

abma commented 9 years ago

71 is still valid, so could be cause of this, too

Histidine91 commented 9 years ago

71 has since been closed, closing this as well.