diff --git a/GUI.py b/GUI.py index c938b79..662c43b 100644 --- a/GUI.py +++ b/GUI.py @@ -252,7 +252,7 @@ class ServerChatPanel(wx.Frame): self.SetMinSize((600, 450)) self.SetSize((600, 450)) - self.Status = wx.StaticText(self, -1, "HERP DERP TEST STUFF") + self.Status = wx.StaticText(self, -1, "Server Chat") self.messageEntry = wx.TextCtrl(self, -1, "", style=wx.EXPAND|wx.TE_PROCESS_ENTER) self.sendButton = wx.Button(self, -1, "&Send", size=(100, wx.Button.GetDefaultSize()[1])) diff --git a/GUI.pyc b/GUI.pyc new file mode 100755 index 0000000..a514f71 Binary files /dev/null and b/GUI.pyc differ diff --git a/NoGUIstuff.pyc b/NoGUIstuff.pyc new file mode 100755 index 0000000..bfb4e4c Binary files /dev/null and b/NoGUIstuff.pyc differ diff --git a/README.md b/README.md index 31c2deb..cdba6f0 100755 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ When running start.py, make sure you duck. #Requirements - wxPython (In the requirements.txt for all you pip fans, however you can avoid this.) +If the install fails for you, you can grab a binary of wxPython over at: [http://wxpython.org/download.php#stable] + Basically, run `pip install -r requirements.txt`, which should pull everything in. You need a compiler. Eventually we'll put some run instructions here. diff --git a/networking/NetworkManager.pyc b/networking/NetworkManager.pyc new file mode 100755 index 0000000..8c628c2 Binary files /dev/null and b/networking/NetworkManager.pyc differ diff --git a/networking/PacketListenerManager.pyc b/networking/PacketListenerManager.pyc new file mode 100755 index 0000000..3ac4a93 Binary files /dev/null and b/networking/PacketListenerManager.pyc differ diff --git a/networking/PacketSenderManager.pyc b/networking/PacketSenderManager.pyc new file mode 100755 index 0000000..3883113 Binary files /dev/null and b/networking/PacketSenderManager.pyc differ diff --git a/networking/__init__.pyc b/networking/__init__.pyc new file mode 100755 index 0000000..353f9ae Binary files /dev/null and b/networking/__init__.pyc differ diff --git a/requirements.txt b/requirements.txt index e396d5a..3e3471b 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -wxPython \ No newline at end of file +-e git+git://github.com/resba/wxPython-mirror.git@fix-duplicate-parameters#egg=wx \ No newline at end of file diff --git a/start.py b/start.py index 8c3bddd..369bced 100644 --- a/start.py +++ b/start.py @@ -2,11 +2,10 @@ import urllib import urllib2 import getpass import sys -from networking import NetworkManager, PacketSenderManager -import NoGUIstuff +from network import PacketSenderManager, NetworkManager +from interface import NoGUIstuff, GUI import time import threading -import GUI noGoooeees = False try: import wx @@ -46,6 +45,10 @@ class MinecraftLoginThread(threading.Thread): self.window.Status.SetForegroundColour(wx.RED) self.window.Status.SetLabel('Incorrect username or password') return + if(response == "Account migrated, use e-mail as username."): + self.rotationthread.Kill = True + self.window.Status.SetForegroundColour(wx.RED) + self.window.Status.SetLabel('Account migrated, use e-mail as username.') response = response.split(":") username = response[2] sessionID = response[3] diff --git a/start.pyc b/start.pyc new file mode 100755 index 0000000..6228fb4 Binary files /dev/null and b/start.pyc differ