Add catch for migrated accounts. Fix readme and requirements files
This commit is contained in:
1 parent
a3a442db3a
commit
a1d68f172a
11 files changed
+10
-5
No files matched your search
@@ -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]))
|
||||
|
||||
|
||||
Executable
BIN
Binary file not shown.
@@ -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.
|
||||
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
+1
-1
@@ -1 +1 @@
|
||||
wxPython
|
||||
-e git+git://github.com/resba/wxPython-mirror.git@fix-duplicate-parameters#egg=wx
|
||||
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user