Permalink
Browse files

fixes

  • Loading branch information...
cflavio committed Sep 12, 2018
1 parent c7c0269 commit b57e701018f5a7125794b8d2e690272ae94b1c2d
Showing with 5 additions and 20 deletions.
  1. +3 −7 menu/multiplayer/multiplayerfrm.py
  2. +1 −12 project.py
  3. +1 −1 yyagl
@@ -270,13 +270,9 @@ def cancel_invites(self):
pending_users = [usr[2:] for usr in users if usr.startswith('? ')]
self.eng.log('cancel invites: %s, %s, %s' % (invited, users, pending_users))
for usr in pending_users:
self.eng.log('cancel_invite ' + usr)
self.eng.xmpp.client.send_message(
mfrom=self.eng.xmpp.client.boundjid.full,
mto=usr,
mtype='ya2_yorg',
msubject='cancel_invite',
mbody='cancel_invite')
self.eng.log('cancel_invite %s %s' % (usr, self.match_frm.room))
self.eng.client.register_rpc('rm_usr_from_match')
self.eng.client.rm_usr_from_match(usr, self.match_frm.room)
def on_quit(self):
if self.eng.server.is_active: self.eng.server.stop()
View
@@ -4,25 +4,21 @@
# TODO LIST =====
# 0.10
# consecutive multiplayer races
# esc at race's end: (i) wrong cursor on the popup (ii) wrong curson on the main
# menu
# test three players
# 0.11 (local multiplayer)
# local multiplayer
# WAITING =====
# (Panda3D 1.10) python-keyring for xmpp's credentials
# (Panda3D 1.10) joypad
# (Panda3D 1.10) remove thirdparty libraries (manage them with deploy-ng)
# (Panda3D 1.10) write snow shader
# (Panda3D 1.10) hw skinning
# (Panda3D 1.10) deployng: log_filename
# (Panda3D 1.10) deployng: use logging for logging
# (Panda3D 1.10) port to python 3
# python 3: use keyring_jeepney
# hardware instancing (gl_InstanceID requires 1.40)
@@ -45,10 +41,3 @@
# do a single page with track, drivers, cars and messages for all: single,
# local and online multiplayer
# refactoring: select the driver before the car
# make a client-server solution (server on ya2tech.it) (advantages: doesn't
# require port forwarding, robust - no match server)
# refactoring of protocol: use less xmpp and more rpyc (easier concurrency
# management), also for the server
# remove xmpp: register users from the game with a db on the server, player's
# disconnection using socket () - evaluate, I'm not sure
# refactoring (network): use bjson for exchanging data
2 yyagl

0 comments on commit b57e701

Please sign in to comment.