Example #1
0
	def Network_connected(self, data):
		barf.msg('Successfully connected to server at <%s:%s>' % (self.server[0],self.server[1]))
Example #2
0
	def Network_error(self, data):
		barf.error(str(data['error']))
		if data['error'][0] == 111:
			barf.msg('Unable to connect to %s:%s.' % (self.server[0],self.server[1]),False)
			barf.warn('Starting offline game session.',False)
			multiplayer = False