From 18dcd6cc42f1f23e221702147a36f650f6aae6ac Mon Sep 17 00:00:00 2001 From: steev Date: Mon, 22 Jan 2024 19:37:54 +0100 Subject: [PATCH] stabilized login, first successfull stream of cards accross clients --- Client/Classes/Game/Cards/Card.py | 13 ++-- .../Cards/__pycache__/Card.cpython-312.pyc | Bin 5777 -> 6448 bytes .../__pycache__/MonsterCard.cpython-312.pyc | Bin 5506 -> 5521 bytes .../__pycache__/SpellCard.cpython-312.pyc | Bin 4612 -> 4626 bytes .../__pycache__/TrapCard.cpython-312.pyc | Bin 4590 -> 4604 bytes Client/Classes/Game/Events/GameStart.py | 8 +-- Client/Classes/Game/Events/PlaceCard.py | 6 +- .../__pycache__/GameStart.cpython-312.pyc | Bin 1032 -> 1131 bytes .../Events/__pycache__/Login.cpython-312.pyc | Bin 1091 -> 1298 bytes .../__pycache__/PlaceCard.cpython-312.pyc | Bin 1797 -> 1732 bytes Client/Classes/Game/World.py | 15 +++- .../__pycache__/BoardField.cpython-312.pyc | Bin 4938 -> 4944 bytes .../Game/__pycache__/Player.cpython-312.pyc | Bin 2688 -> 2901 bytes .../Game/__pycache__/World.cpython-312.pyc | Bin 10091 -> 11304 bytes Client/Classes/System/App.py | 27 +++---- .../__pycache__/InputHandler.cpython-312.pyc | Bin 2996 -> 3250 bytes .../__pycache__/Label.cpython-312.pyc | Bin 3603 -> 3635 bytes .../__pycache__/Window.cpython-312.pyc | Bin 3426 -> 3432 bytes Client/Classes/System/GameManager.py | 23 ++++++ Client/Classes/System/Network/TCPClient.py | 29 +++++++- .../__pycache__/TCPClient.cpython-312.pyc | Bin 3142 -> 4518 bytes .../Utils/__pycache__/Path.cpython-312.pyc | Bin 0 -> 668 bytes .../System/__pycache__/App.cpython-312.pyc | Bin 9025 -> 8142 bytes .../Game/__pycache__/Player.cpython-312.pyc | Bin 3265 -> 3301 bytes OLD_Server/Classes/System/GameManager.py | 33 ++++++--- .../Classes/System/Network/NetworkManger.py | 6 -- .../__pycache__/EventHandler.cpython-312.pyc | Bin 1503 -> 1643 bytes .../__pycache__/NetworkManger.cpython-312.pyc | Bin 10000 -> 9866 bytes .../Utils/__pycache__/Path.cpython-312.pyc | Bin 0 -> 676 bytes .../__pycache__/GameManager.cpython-312.pyc | Bin 4142 -> 6291 bytes .../System/__pycache__/Logger.cpython-312.pyc | Bin 1149 -> 1159 bytes .../__pycache__/PlayerManager.cpython-312.pyc | Bin 1739 -> 1749 bytes .../System/__pycache__/Server.cpython-312.pyc | Bin 2281 -> 2291 bytes .../System/__pycache__/World.cpython-312.pyc | Bin 1078 -> 1088 bytes OLD_Server/log/calpwwxt.log | 34 --------- OLD_Server/log/ftosavkt.log | 35 +++++++++ OLD_Server/log/fzvblgun.log | 51 ------------- OLD_Server/log/hbokqkpm.log | 49 ------------- OLD_Server/log/jopxlbza.log | 28 -------- OLD_Server/log/jsrrepta.log | 28 -------- OLD_Server/log/kawhnrji.log | 32 --------- OLD_Server/log/kuketiqt.log | 35 +++++++++ OLD_Server/log/mjlawgym.log | 35 +++++++++ OLD_Server/log/mxrdtmmv.log | 35 --------- OLD_Server/log/ncyhufrr.log | 35 +++++++++ OLD_Server/log/obhvhvqr.log | 48 ------------- OLD_Server/log/oclaenwk.log | 68 ------------------ OLD_Server/log/oiaflmlv.log | 34 +++++++++ OLD_Server/log/olchcxfi.log | 33 --------- OLD_Server/log/ooqpxwpe.log | 41 +++++++++++ OLD_Server/log/ploaokwx.log | 59 --------------- OLD_Server/log/qrgtwasn.log | 35 +++++++++ OLD_Server/log/sxuostca.log | 40 +++++++++++ OLD_Server/log/tmqifhet.log | 23 ------ OLD_Server/log/ubnbqlgn.log | 37 ---------- OLD_Server/log/usujxxks.log | 7 -- OLD_Server/log/votjjlwn.log | 35 --------- OLD_Server/log/wdqxolbm.log | 47 ------------ OLD_Server/log/xgoziiuu.log | 33 --------- OLD_Server/log/xtjfeaau.log | 35 +++++++++ OLD_Server/log/xwdjdxpk.log | 68 ------------------ OLD_Server/log/yudopqjp.log | 67 ----------------- OLD_Server/log/yxojocbd.log | 33 --------- 63 files changed, 441 insertions(+), 859 deletions(-) create mode 100644 Client/Classes/System/GameManager.py create mode 100644 Client/Classes/System/Utils/__pycache__/Path.cpython-312.pyc create mode 100644 OLD_Server/Classes/System/Utils/__pycache__/Path.cpython-312.pyc delete mode 100644 OLD_Server/log/calpwwxt.log create mode 100644 OLD_Server/log/ftosavkt.log delete mode 100644 OLD_Server/log/fzvblgun.log delete mode 100644 OLD_Server/log/hbokqkpm.log delete mode 100644 OLD_Server/log/jopxlbza.log delete mode 100644 OLD_Server/log/jsrrepta.log delete mode 100644 OLD_Server/log/kawhnrji.log create mode 100644 OLD_Server/log/kuketiqt.log create mode 100644 OLD_Server/log/mjlawgym.log delete mode 100644 OLD_Server/log/mxrdtmmv.log create mode 100644 OLD_Server/log/ncyhufrr.log delete mode 100644 OLD_Server/log/obhvhvqr.log delete mode 100644 OLD_Server/log/oclaenwk.log create mode 100644 OLD_Server/log/oiaflmlv.log delete mode 100644 OLD_Server/log/olchcxfi.log create mode 100644 OLD_Server/log/ooqpxwpe.log delete mode 100644 OLD_Server/log/ploaokwx.log create mode 100644 OLD_Server/log/qrgtwasn.log create mode 100644 OLD_Server/log/sxuostca.log delete mode 100644 OLD_Server/log/tmqifhet.log delete mode 100644 OLD_Server/log/ubnbqlgn.log delete mode 100644 OLD_Server/log/usujxxks.log delete mode 100644 OLD_Server/log/votjjlwn.log delete mode 100644 OLD_Server/log/wdqxolbm.log delete mode 100644 OLD_Server/log/xgoziiuu.log create mode 100644 OLD_Server/log/xtjfeaau.log delete mode 100644 OLD_Server/log/xwdjdxpk.log delete mode 100644 OLD_Server/log/yudopqjp.log delete mode 100644 OLD_Server/log/yxojocbd.log diff --git a/Client/Classes/Game/Cards/Card.py b/Client/Classes/Game/Cards/Card.py index 3ef646b..c98e175 100644 --- a/Client/Classes/Game/Cards/Card.py +++ b/Client/Classes/Game/Cards/Card.py @@ -16,10 +16,11 @@ class Card(pygame.sprite.Sprite): __inputHandler: InputHandler __owner:Player __state:str + __dragable:bool = True image:pygame.image rect:pygame.rect - def __init__(self, pos: pygame.Vector2, assetDir: str, inputHandler: InputHandler, owner: Player): + def __init__(self, pos: pygame.Vector2, assetDir: str, inputHandler: InputHandler, owner: Player, dragable:bool=True): if assetDir == "": raise ValueError("Card: imagePath cannot be empty") @@ -49,9 +50,10 @@ class Card(pygame.sprite.Sprite): def update(self): if self.__dragging: - mouse_pos = self.__inputHandler.getMousePos() - self.__pos = mouse_pos - self.rect.center = self.__pos + if self.__dragable: + mouse_pos = self.__inputHandler.getMousePos() + self.__pos = mouse_pos + self.rect.center = self.__pos def attacks(self): return self.__attacks @@ -68,6 +70,9 @@ class Card(pygame.sprite.Sprite): def getDragging(self): return self.__dragging + def getDragable(self): + return self.__dragable + def getOffset(self): return self.__offset diff --git a/Client/Classes/Game/Cards/__pycache__/Card.cpython-312.pyc b/Client/Classes/Game/Cards/__pycache__/Card.cpython-312.pyc index 3e97a3179d5b944e2ffeac541ca4e00d99083993..14a9d06ae7337ee508a4d93045a066e2953aab97 100644 GIT binary patch delta 2681 zcma)7T})I*6uy`Jxp#NjKVW}YcG>0MMS=QLOF@bTL_t9-Sb?IOmAN1YESbAhSy60a z8Zd2uj;We7H9j@QrXewXY5LNarb%OpAr0G&ed?2MC~4aG)N^L z=ggd$yHvBh&-RPeY8K$>4S%crZdtN@XSSdU&&HXhr%&^Ut>3O#6g{yYf-yxN4Kau4 zGC4G@lxt4Z$Xg_jT@c*|Nxq^Z1&Wop6dQ3XmLW6o+%oj%5$`RbKc5r=77(AJ8_FR? zxAgrkkdZc&;|lsgcas2Ect|mzmjnR|NeIwKd`RC5ZY5w=1a1b9OF{N)av8`0QVzz& z+DHYA1VOfeWhKZVkTGx-$R%VKB$q?NAeWMABsYV)8`QFNDPBO4c-G(1>fQJt*tozcImn z)qSBe#;r?Z{@fYkV=--TU1E#+uqd(b^}v=Ix; z*)ns(Xz9ynGty{LM&5dp++pEyPFimj&IbhHy3C#%cZ)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_>f7MF;aJR6W~y9hb4!|^=OaIP!ooXfJ%NxRe|Qc=F}XGj zVBQq%G|20Bq}!YHqPLD`1CC&8a*p}j4Y8BnePc%K(G9Wk##oSRJhX6ABiHm(=xUNm zQ6LpHJfq|w7H{@Z8>_+aR-!7Fne-Y(bG z;bq==b&xm%A{V_fFxR!nL`fph+v{kW-&xtY$oQ9e_k5@lT4cN{OwhLd>w!BXw?|ee z5bx)V;g_&6RL>}@XnnGm0dSHBfetqEgr#k*#3g;$VpM|p)4aA7Ye|w%r6cJSifsr+ ufd!P-ihjx+oGdEmC)7jQ$K*dL7CJ@Kk-5F|nM!6!h%E@Qe<`#W0sjMEB;~aL diff --git a/Client/Classes/Game/Cards/__pycache__/MonsterCard.cpython-312.pyc b/Client/Classes/Game/Cards/__pycache__/MonsterCard.cpython-312.pyc index 6b648b0c82dc56d768349a6c9203ea5e0120c7cc..0b40c995bec88e1e03b13d1657c44fc9675df87b 100644 GIT binary patch delta 1237 zcmZXS%TE(g6vml$=uA7EX*+#TN?$x|QmaTHMHEm7$RmK&05R4^BDohNLWkTbCd5RI zVd26=$xZwRT%mDcNZjjAP2A|lZd|x_SDPqK7JwmoaiQ@b^NK(@orbPG}E%Fh^CW zDwfhfdHDk&A*lSRkdQQMf)9I+`>B%zs7iFIEy*OfB^CoDwAE15Nf;O;5$arWkS557 zNQ6HUBGV8?AqlLRmZjg8<;g0ls*208^gPSR8X-3mHE+F(Nw z4}|RyCW#M2FN7TsrZ$gcGyJ8aAWJhw*{o2uD>|QvF+c3B>Rc&Tm<)<}5fUQ6-$)5T z=U=6i;Ny}^{6S2I5Me}w-;$G^^CPEA^Co3xX|_V?&C)0}Z&Zx+()woQx=~IWAPeQy zl`>tJ8yPS0S8`Tp+uf6O$B>Fce1NL5Oe-_ShDk3NW^DyJ){X(P4%Uqp_Zrq0)(z8i zK%7pqJRejRg%>X;~k3bJFOiKLh-=IZ+lPH zh6#QAn>X#X63tE&v4kT-Rxqp3Ab$z-2``jk~tVMW-9)~5tr;^sE&eyfz^ZWZL{!s4*<7<8R zP6qPU)z?lUh2c>I-au7cG>lbdowO5^A|imW-dG!|encEGgcwDPAtn*ihyvmwViqxv zxP-WD&AI||2hJNadCr3;Gy8i?FWU@Z9yOuqNq?oB!WS#5fGw?q-kgtW>7+Do7siLlg4oH zpowJe985gGmBh1m6Ql7&uU-fVG`l5 zh3E`~Ef7XX3=C1y3Tz>5z!-@GTS+^x4H}!lnE+=TvDR?DSr%8Y_mtUT7L zu1C};FuH26AphY^3NjD4$fAPw5F(6-V53MhL#sM8!_ZbYbR3wf|7vrSqxlCqWqSU; zLFsn>Ce=5LawR`kDz2AkVPP_x&uW{rz(2XtLdRjvrPwBXI9JBGURc3wc}u7BWxc-G zAlCW;X&bwQ7WXFB3zf32+aOM**btxbt_T@kkw%ik=oHuh{Ot>7gD#+p4FOr4JA4YpdE9D| z{+semzGk(UM`xL0_%jU_cx(IwtZS+HdmIy(HFxJ^&E{3GjM@$iT1Vl%IWsD7)sew$ zFP~Q~cH#E1Ea3QDSTE?)69HZI>U>#_@wY*>-q-i9?@mKs-`PI5&cDl1KB%p(S% zh$F@klZYwAZNxOW53zt)L@b$Oav=9%zcDk!--HHS>a$xf2ET|ZKMMU)%)A4N pX*cUckIKJ>r_)K4DFoJ-hNzDKRdbDPmdRF;UT1_qj9d}1@)v)q0u%rM diff --git a/Client/Classes/Game/Cards/__pycache__/SpellCard.cpython-312.pyc b/Client/Classes/Game/Cards/__pycache__/SpellCard.cpython-312.pyc index 90a425e01b13278829e25b30847d10fe73aee0c4..390039533360d3363e7bbf072ba450c76be21c2f 100644 GIT binary patch delta 979 zcmZXR&rcIU6vvtF+8^6)e?n;s{gJR}Y9O>}tcWNgRALPAPz*_JY-(o;#L}&^3rR2P zfrE($6XxWZ#H0rgh6`7(a#K$|>Y0CllkaUSw6cfKzP|UFZ)au?v_nljRaIpKoqS;ZX19S|gK^g{z=s0kcMu1~93JlX2bHb_#Fvsa6#*1B>LyGkN$^)YW zjH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`2;{zkpM7lJ&GBk-0w(xXPB+Pw$~lg44(7#Z&y#VCcCLo6b0Af^$^hz#Nm z;x6JIVjXbMJwBhrg!Lc9rYC2QJX?Ey?W+_KA3U!|jniU1;ous4I@VUZ3Ae>9xF#eX jdsB%ph7p9(Xagf-9X3C)FVz}!x5{quy!hyym$32|*@nE4 diff --git a/Client/Classes/Game/Events/GameStart.py b/Client/Classes/Game/Events/GameStart.py index 7181ec1..c6c6a27 100644 --- a/Client/Classes/Game/Events/GameStart.py +++ b/Client/Classes/Game/Events/GameStart.py @@ -8,10 +8,10 @@ from Classes.System.Utils.Path import PathUtil # send from the server to tell the player the game starts # gives the client its and the opponents stats (not cards!!) -def GameStart(world: World, handCards:list, inputHandler:InputHandler, owner:Player, opponent:Player): +def GameStart(world: World, handCards:list, inputHandler:InputHandler, owner:Player): index:int = 0 - world.setEnemy(opponent) for card in handCards: - world.AddToPlayerHand(Card(pygame.Vector2(500 + (index + 100), 1050), PathUtil.getAbsolutePathTo(f"Assets/Cards/{card}/"), inputHandler, owner)) - \ No newline at end of file + #world.AddToPlayerHand(Card(pygame.Vector2(500 + (index * 100), 1050), PathUtil.getAbsolutePathTo(f"Assets/Cards/{card}/"), inputHandler, Player(1000, 0, "test"), dragable=True)) + world.spawnCard(PathUtil.getAbsolutePathTo(f"Assets/Cards/{card}"), pygame.Vector2(500 + (index * 100), 1050), inputHandler, world.getPlayer()) + index=index+1 \ No newline at end of file diff --git a/Client/Classes/Game/Events/PlaceCard.py b/Client/Classes/Game/Events/PlaceCard.py index 4b2a39a..5d72646 100644 --- a/Client/Classes/Game/Events/PlaceCard.py +++ b/Client/Classes/Game/Events/PlaceCard.py @@ -2,6 +2,7 @@ import pygame from Classes.Game.World import World from Classes.System.Components.InputHandler import InputHandler from Classes.Game.Cards.Card import Card +from Classes.System.Utils.Path import PathUtil # the event the client sends to the server when it places a card def PlaceCard(tcpClient, card:Card, player): @@ -22,9 +23,10 @@ def PlaceCard(tcpClient, card:Card, player): tcpClient.send(payload) # the event send from the server to display a card on the field -def CardPlaced(world:World, card:int, type:str, owner:str, pos:pygame.Vector2, inputHandler:InputHandler): +def CardPlaced(world:World, card:int, owner:str, pos:pygame.Vector2, inputHandler:InputHandler): # todo: make this work with all cardtypes - world.spawnCard(f"Assets/Cards/{card}/", pos, inputHandler, owner) + print("placing enemy card") + world.spawnEnemyCard(PathUtil.getAbsolutePathTo(f"Assets/Cards/{card}"), pos, inputHandler, owner) def MovedCard(world:World, card:int, type:str, owner:str, oldPos:pygame.Vector2, newPos:pygame.Vector2, inputHandler:InputHandler): pass \ No newline at end of file diff --git a/Client/Classes/Game/Events/__pycache__/GameStart.cpython-312.pyc b/Client/Classes/Game/Events/__pycache__/GameStart.cpython-312.pyc index 8048845a3f9487984ce14fd6114e91cbb63fb53b..5d19205480f28e71ba3767860bee35eb9d63597b 100644 GIT binary patch delta 709 zcmeC+c+H`HnwOW00SKav*QKU2GcY^`abSQ0%J`fxQQc0NA%!i6GnXrhi;*FPJ(Vei zBb7UaGnFHSE0rycBZa$#C5mTagDHjBPfzQj< zQdp{385pX73Q|~CGeH#AFaeF?hOm*z)lklAsFN5Ofcn`$dTUvFqFER!88q4bia>@` z@j4b4r;tCJux@+7JFD~a!G!X(JfA(nt+_d%G4rFw#kA_N<3^poeE&^ zD`c_*lekzxWl2VUowrW9!wmt!2G<7y zlAjouS;ab79&qsX^LO&k;kYhgbWy@+L+k;Q18NtHJugdmopC$wchc`dblioc^b1+J z7n5=?M(159D7oxY`hkI=g3*NuNVze2Gkph9p-dkk)MpSC&h!Nsa}i88_=JTgICiFY zvVLR-+6R;ah63+oKIRs0N#~qIV1O0t1y>fAq~_{@BEMJ<6aS~y delta 687 zcmZ8eO=uHA6rS0?Oj3fa(u(#6wbGbVp#C6I6G|HDL1MwSNZGW;%ow7{ZkX8?5;vxT zU=AJ{a_GSy6ad1Ys}Hu#afBeYoeLvf!&$&R0JM$}TeV zdD9?2y z=$~YaSS%DxQp`ea7z(N`;*pp^as~I$B*wGmOg32{^yHPKfvJ#pwR|C+%n{c!Pg0gi z$Aca!Caq0Kr_PDZi7wjl=p}uQ5z6%I79lJ86k&HQGp}DWvKfOc%|@s7X|A(WTbIt3 z2Y8`)Pj-`=RnX||Ta7go@1yvG_}azK%Fy@TV}AftOR%CekpC+h-a^Aq@v953!!N_{ zMmPF5kGvn;8jo#S+oM;VnS`@=%Soi16n5goNi%1;xIJ?33$lO9LSu*b0Kp#G$H_e$ z%_dnbEf-dlY=&7>O!5ZMqnv0zH*GYLGx2hkgy{%(#YeIzH!T@L_zn1*;B*t5X@apP gh_rkvEWx$877+XbcX?x|%OB>u>@4ElPC}>2U(Q6PEC2ui diff --git a/Client/Classes/Game/Events/__pycache__/Login.cpython-312.pyc b/Client/Classes/Game/Events/__pycache__/Login.cpython-312.pyc index f293a042572b3158988e1e537c32590d28f1d597..11bdf15c1f1b458a629057a807420d7915ae410c 100644 GIT binary patch literal 1298 zcmds1&1(};5PvWGnc6h{0xPYsN)-dP$5urYno1Nj7C#U|K$d+kahuI9c}V{n6L~>;gllNB zH5y_B)$mf&icu9MlysmtUfy;CwG>uJ3~dWP)Bj(VkOGBPsOtxMnN#MPMH}@#5vp0Q8E7@_%3%*y%ma6_e&ow+y zue*-z(z~~ksca(&2$OTlvneQ+y(EhB>{T)M;ZikFLXCAoeld1#0Gmczorl+Y2ZGMR zPfd=i)2VtpQaYZdAE#f8uFCy85Q74(NI5t2G*BK0pje{CJ&J-7!s8_SdAXpEu=E7NA9E}}lkM)C1 z1oF$krqPBRU2Zd0PLU*vE`04EBe_rJ@!2QEWV)5 z-(T!n9DO_T>f(pgr}2;1zV(f*>PglG$r8~(p5&f*kk!0^W_J@i!vZ_Q;SYg{sRum= z94(g!kpz&oEkA7Z9SSpt7unU%7d=vT=mmBhk_b@n)4=Ky#&{haT1T->G`NXQ{?au( VQ18|7IG!J@BOw>*?@)%>{s7iXAg2HT literal 1091 zcmds0&ubGw6rS1NsY#7(!HQLLsD%a1u>}!5LxUwBd|$kc-1skcZx_2ipLTiSoYfqn0rnYVA=`{tXkrP3IJF?at1{bC^W zTTM;|%=H*9f!jd@5zJ6?ZaN=Lgbtjif03!Dkxa2^a4 zhl$aKB0geby*FRuK3YE;J^Bar@#o`JjB@1L4QaEa-HD}>>cjlohiacIPX1Hlo6@Em zz_s*xg7P?wsI&-eb%AnA(3toJcc6XgreV&KkO(D%O6BNL?N0Cv{t&@(M(IZIfQoLG zq`{Mzbz-`@QmY4bNVYn& zW@Neh$F(jxoAp5v+2ijTZyMVRd)Cz<#6VRM6(VfYb6QY3&|0_!UmpIo%iHP_ zD#wgfmvfQPsM?^}i-dQpr;mfH7UjfAm?FEX9}8D+K~A3A7(E_t!;Yp|SN93&qjmL1 z-rXo6Jx1^G8xW-05{kZoi80qu*#k5;@LW8zy*NbR22&=!zB~IDfz#Rk E0s0~EKL7v# diff --git a/Client/Classes/Game/Events/__pycache__/PlaceCard.cpython-312.pyc b/Client/Classes/Game/Events/__pycache__/PlaceCard.cpython-312.pyc index d5ef877e699436b563b1ddf162910a280ca3d69f..840027ce348415fcfc5d1fb86436fb3fba2e73e8 100644 GIT binary patch literal 1732 zcmah}O=u)V6t3#7?)k~g}+?XA9!@7eoD@GJVlywqf6l2&VYcdYeajKG?*wfu~ zbrO3SA%Y;{!7O`-;tG3Q2`usCHG-hvB|(>jlAQG7Z6u!dzeHzx|p3Ecm zbU)%fa%FfAaAhKz>-`IlnaojTz3l}K2auX@{gv>wvdbM2z?>Dz0ltqZG8lgzuCq0`Ho$l_ge%8wNPOVgnctEEvP zKL|a)!gt(y@Llmk8dV#C2yw?q;92dXAXMKG(o!ei}}yyKY!<-1^!OQy6yGxMjx>< zpH6-}x$(jScJ2tsh_cqOla%GHxo|nt_oPZy+j^?fuAdD%bmzDLHc5EWHJqO60gC-c zzl0||%gE9(xKXEHlW&X`OWmxqy0L{NhSAjcW*=%?b(gZj6}2dfV&6<(g))Zn3YJY? z0o^P=sJfxbNWZ-1j^RQK1$e0H1% z`mY0T{5-vTZDIF4@qjG`1F$dX0;6ot;Zsm`+ZAizE1h42t~VB96FZ$weoJz(ww#gU zIPr^!hSBKkkw<6W%0Ka@w<@?U##0bG50Ad$Iyqo*olve@*?zPH9jW@7{h7!9%L*9l;0)j%uSq{82o%%d(^E#3CY zL@`Yn!iRTVR6;L!Ru@0OD+HI&=u)CW592S@Jig+HmxE_uip?p%0@E-lrN5K(AsId- zuN;!gha}&yyXoMU{D^>S44ZU`Zp=0a`n!)E`+J3BzkU7th3^)QG3a-s7d4WUCN{x%)XlRWo@=GZMC?d30SQlMX8&b7U{NPEIT(f>FmsKXPR_n zQ&K2sDbkdFq~L>muI6VyBM9o30YNq)(&b9O{PJ%#e&x$^Zg-P4P3wg@uX|o|9`~0- zB1+&~d-rR0Lnq`9WZEa$BG$hJVxHK$+IZZK-PCf{V>a<8*d(4HM_)-h3BICbn%?y%hRLR>&_D3F zV*?RC>-ty2GX>Xn7%wVYX%GWw6~6Uf0l-hv3Z0}K_bqanT}4@JsaE3~le zGeNHjT2326zs$n3gCYWG1my-07rcPuba0F$w1ByGS`}7U^fS%`IO3R{i1>xF;}z@x z>(bZPw~@`fk-r!)9^{8Z#-{RvEVvSSe*V1cOt@@pBr}vBDwNpRBPaQcQwRbUNLl_g zCK%)|VA2`LvfnQYYm?)9AOsdMI0ImoG?Sz|)#%zgAH5sB7e^v~H-0bKNOa%1bnDXX z5ATfK8v76PSIpRD%nmiXh@Sj3dm}sd`fpm#I`|?&pT<#mA1I zf30=j<1i_@)l86Ra;|69 zdZeCOF;n+vsw35RYKQBGUab|EPA>0TGtZ;CiRuwlKe%f3Nbfx>X3zanb+CG()?H5> zuMID~w5+e0Sx|3iCf|#h8lGdr)(FF8(}0T+5OyB<&|u5waXo4F8 Card: + pos.y = (self.__cardHeight + 45) + + card = Card(pos, asset, inputHandler, self.enemy, dragable=False) + self.__cards.add(card) + + print(f"new card collection {self.__cards}") + return card + def spawnCards(self, cards:pygame.sprite.Group): for card in cards: self.__cards.add(card) diff --git a/Client/Classes/Game/__pycache__/BoardField.cpython-312.pyc b/Client/Classes/Game/__pycache__/BoardField.cpython-312.pyc index 690b53acd5c86ca02a65e930c6d4ea80e03d57f0..a854e6cefbd5f205c8623ef22e7550383d694511 100644 GIT binary patch delta 72 zcmX@5c0rB%G%qg~0}wo3ymlk^1U5ZCXRDad;?$zznBbDs)Up_t)Z*-t{DPQ*%94!y ZJcWE9(?2gKGcPqh#MwP&^I^7j9srg?8an_0 delta 66 zcmcbhc1n%=G%qg~0}xa@%-hI4flb51*(xTqIJKxaCb%RuwJgRZwK%&ZzaYjxFDElE UH9o}IJ;psTH#L6qNw#(#0LgL|$N&HU diff --git a/Client/Classes/Game/__pycache__/Player.cpython-312.pyc b/Client/Classes/Game/__pycache__/Player.cpython-312.pyc index ab0480619ecba378371550c030f38b1239fe8eae..57008983392e45470c0d5d093f30cb2c66166856 100644 GIT binary patch delta 1180 zcmZ8gOHUI~6rLwD1=@mzw$MUHQNoC*(T$I)#F{81BKU{~n~*DXG7A7hYQMrFoHQ>1z}wrFcn$@8PyPU1mv4) zNwG<0lwygr4xt{w3t-~`1J_o6;#~5MO{kr`l_z92d4<@M`P_7Jx{x2sWsMw!H?o=W zEE&0-xSC9`Z&F-rXKixW_qgs$Q}B_p;;Dd`z~sqVN(wSu~#|6iKghZ z-U3JLD)Ffj4F&fS=a=U<^;U;?-mRCrx0?u*lKOz;uMN)C4`xyYLXYzd&(H`0zxa~N z=f>~nYrwdk%BJRgI|`Ubk>2iTY^eSBc-IExrt27fFT3g(#3emtP0ZL>jNg^2K8WGb zMgX)j{JgK&w)i^! z5+>+Acca6(m(LFl?luDp(d>P`x;dA2$12zg9@Ozh24FDIOtXn?=yz`(fRN%y&{l*t zgo6l&5jqjN5RM_7L^uVo4j&w2w3;eaz<;6riw$|qj^B!+hE_Yu0&HsuzP(EG?RC0> z56kuJnWso9f}|Q{T~s5hr~eADIl3qb7M-ms(>O-kS8nO?shl;FAs6Wdc!ASxVxKEwJ>2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;81{OHxzIVq8*-vrF;|V*K-RGV@a7L!8}X+!J$C<0rpltk`VC?8eNM3 zl#%@wYi@pNaq8sH?DmYZn~gb^G76{w9bBXeBGf>H`s5d!t&B>O^SI_Q@=fODw$PFW z3Cn>94iKRLB9wu|E#}O;l3Oe}nZ+eV%pgJI$tB#15)**T7KR6`f*+X}Sv5X0Gq4GL d0I?-{sR>N4s5YIPxEsGQ*|Kt-aK}-%CPD%g( delta 206 zcmdliGg*fBG%qg~0}!a$&r2=Y$a{l{@!aNTOy?OVA7&9^gnUcLal} p18K+e4(5TG7orm&bavinkm3&_laqN5^J+7id}06+Man=A000&}KY0KE diff --git a/Client/Classes/System/Components/__pycache__/Window.cpython-312.pyc b/Client/Classes/System/Components/__pycache__/Window.cpython-312.pyc index 3ffb5fcfd857019970c05e32bfe454cd19349bd0..fb9b74b531f51a97a819a632a15cfd43c4370cfb 100644 GIT binary patch delta 54 zcmaDP^+JmKG%qg~0}wo3ymlk^K^DgF$!A%_#R@7*GV=2j^79K~{PS`$^HSqOoZVwK Je__ev008`36CnTq delta 48 zcmaDM^+<~QG%qg~0}w3nnzxbrAPZyQ Player: + return self.player + + def getEnemy(self) -> Player: + return self.enemy + + def setPlayer(self, player:Player): + self.player = player + + def setEnemy(self, enemy:Player): + self.enemy = enemy \ No newline at end of file diff --git a/Client/Classes/System/Network/TCPClient.py b/Client/Classes/System/Network/TCPClient.py index c1d7354..dcaf1b0 100644 --- a/Client/Classes/System/Network/TCPClient.py +++ b/Client/Classes/System/Network/TCPClient.py @@ -2,16 +2,20 @@ import json import socket import threading -from Classes.System.Network.EventHandler import TCPEventHandler +import pygame + from Classes.Game.World import World from Classes.System.Components.InputHandler import InputHandler +from Classes.Game.Events.GameStart import GameStart +from Classes.Game.Events.Login import LoginResponse +from Classes.Game.Events.PlaceCard import CardPlaced +from Classes.Game.Player import Player class TCPClient: def __init__(self, addr: str, port: str, world:World, inputHandler:InputHandler): self.addr = addr self.port = int(port) self.tcpSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) - self.eventHandler = TCPEventHandler(self.tcpSocket) self.world = world self.inputHandler = inputHandler @@ -35,11 +39,30 @@ class TCPClient: data = self.tcpSocket.recv(1024) if data: decoded_data = json.loads(data.decode()) - self.eventHandler.handleEvents(decoded_data, self.inputHandler, self.world) + self.handleEvents(decoded_data) except Exception as e: print(f"Error receiving TCP data: {e}") break + def handleEvents(self, message): + print(message) + if message["event"] == "loginresponse": + if message["status"] != "success": + print("login failed") + else: + print("receiving login confirmation from server") + self.world.setPlayer(Player(0,0,message["name"], message["id"])) + elif message["event"] == "startgame": + print(self.world.player) + # world.player.setMana(message["player"]["mana"]) + # world.player.setHp(message["player"]["hp"]) + self.world.setEnemy(Player(message["enemy"]["hp"],0,message["enemy"]["name"], message["enemy"]["id"])) + GameStart(self.world, message["player"]["hand"], self.inputHandler, self.world.getPlayer()) + pass + elif message["event"] == "PlacedCard": + CardPlaced(self.world, message["card"], message["owner"], pygame.Vector2(message["x"], message["y"]), self.inputHandler) + pass + def listen(self): tcpThread = threading.Thread(target=self.receive) tcpThread.daemon = True diff --git a/Client/Classes/System/Network/__pycache__/TCPClient.cpython-312.pyc b/Client/Classes/System/Network/__pycache__/TCPClient.cpython-312.pyc index 1471f32dfc9f4ff3e3e84e1774937e3cafc00bf7..e36cb61159c335f6700fcb86753e0e0981cc5901 100644 GIT binary patch literal 4518 zcmb7IU2GHC6~5z{u|4)Uae~PYA>fj*V7jCmU=uBcg^*-vcG-~KWT9)Na$V0P*s;gn zJ41q_kfN4{AW;#t4`Efc4HD7@QFT+P54?4=s@j$M;vqp!hw!xRL*G(@w1|D_Id}XQ zHuUEzx%Zs=bMCqKeCOOV{;SXDAyC%${Z1VK>MLZ5MJNy(SAdu!3Q@Qu3EM3f<{0k? zJ6Owyd1xI;Ati=I4(ISmXUY|JF-(+!_^#d zkkdqQUnPok&tYp2_Gh_}=by;*hd4_-pQcF#2)R$oTr_?V)s&=4ftOB4Q|h1*r3Ns* zGwIQ|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diff --git a/Client/Classes/System/Utils/__pycache__/Path.cpython-312.pyc b/Client/Classes/System/Utils/__pycache__/Path.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c08f6e0f9b8a1bf1e65415fefb3961b456c33802 GIT binary patch literal 668 zcmZWl&r2IY6n->q>{XoD_d6zu+LmJ3gjTk#<6ZVdnv@;9{ndf89j6Y4GmQgC4hm1boJ;lv zI!JGas+-{PdS|j0HB@ZhdQQd@lesN=e=^)LL_DTR$WTY+aidlZwvEyz*tAN04n8RJ z$tJC!mD>Fzt|Um;$iEubJwPVzrN1sMFsH5r<7BL^dTvGm-6x z__Pp*?Jyc<9AmYf#)ccvB?SGF4E^)K5HYXObfL#tVfnh;1B7qo2ZFqVYCNusqaHm+ jY%KOze3!qyqRW_|Z!}cVa~Na4;l;lR&X(^1&7kK$2(g@c literal 0 HcmV?d00001 diff --git a/Client/Classes/System/__pycache__/App.cpython-312.pyc b/Client/Classes/System/__pycache__/App.cpython-312.pyc index 92bec224a9afcb9760aef97e67dcf2bed2b498c2..115522b0cf0c53d03b372cf676a3d2b2ff6c6662 100644 GIT binary patch delta 3896 zcma(UZA@F&^}gr#z{WNP{K1Ev_<>D=i%k+f6AFcZfzXBU-7b)XIJ^fj7~6U8Q35k{ z)mB=ku?cpi(XFdS+Gk=-_MWyp1W>a$jl?&S~&QMlLf3UV45%wm$H@I94wpDrb$0ircEW+|4AfU!KdtTn@LRQq!?Q!}DHHA3??c$l)o zZoLs^7LJyM?aRS~kONovY&89`DH^7_Zbt1_jfarklQ75#yi01P!$cNeV zIl=_P^!_FzX3!X9VUUIaUPnSFZ~<;u~MlFL1nYrdQ;+7tVM&VO$J_&xEJNi=iMBLc`8rz#rs>`kLF$ zz~;2dv;w3od=6*R+SD61<~1s=&W9hQEtXsAnk&Gq3XRvUx>c9&El_<>K%?>S_F9n^ z02KPG(0|K`;3B-K&86oF{*?&4NxFy#>{gp$omLMg)kavGV$SP$DVK`JXK@#}a`{`TC^7#lIf<>SK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_{J%LFtjn&G49FUwx_hk&STM=hXWz!VS{@3a~J3cs%1_ej+!rh;SH)iiH|@Q}!C!UX!rbUhGN31^%ro zZzY)WH0$`VH(kml7%uJDlwdY}%@i9dZVW6_P%QXJao@LswWp1oq5kP%y4}#Ye2%6K zwYN%FC@5CUI>QE)Eo8)5riyG+UkY15WN$F4Y+ij}Yr#ji78e+iXiJVwBaVc^X-MiT zTnoH*M#3R5nb8*Ymk{cjZ+kvk?$0F1$|}VgGMSi!-PHHU^^^4p(qvdX-;()31$m)V zD%OlAfwyQ2`JILOZdskLzhC?L1+l(L$r>E!gr8%m-qgl5J?gSxE@H@&d|WY%5FRk{ z)xR-!soU{&5x+RPNl|oIKv&T8zfra&s`B5d&c{^8W9p5^RQ+Rwx0C9&$5i7Vm>5lO McnS)ERzKN)0Rt<8 diff --git a/OLD_Server/Classes/Game/__pycache__/Player.cpython-312.pyc b/OLD_Server/Classes/Game/__pycache__/Player.cpython-312.pyc index 2da2dbac598e88b67ae05002c0423b4ca7d6b69f..b664838dced4efc256c784c4b83f6a3395578a23 100644 GIT binary patch delta 352 zcmX>o`BakkG%qg~0}wo3yf)QzBkwcDhz1~UIztU}4MRLg0t{+cfILPxj}gdYg7MNB zfIMaxuZ9W8V}bEXxM8d;p2@aMij3@&~LW@(2ierLH zQd7%fTvCg(OY#e13Mxx7^79n(flU9roXot`_z-9J7=Is^_{krcY(*@9CNwbI5E1KO z>EXN~CIzIpCtEY$V-%Sz#WICaeDZphCN?RMHS&{Bv$;&JX4PbroxGHF4x_?kC$?rr z<;lm`${5uq+p@PXYEC}HK9^BvastOqMuW*4xuhnCa5gcTOuo)}lhJ(hMlLo+MK)I5 p8O|RVfYgE%Ftwr>OzlYi3=;e#F!=`e9bQvLg-;AXqDTyAF#tCtSPTFF delta 297 zcmaDVc~Fw~G%qg~0}!a$&r6lu$oq`Zs|d)O&QQZ#!w?UW0D~GvAdeBoOJ@M`m|(mb zCLoU)#w+23v9h=(dow9AvQ5rql3->pVw>E{VfPY?2W?pK1h_ic)dtz>? z!el;XTV6w;#s-EPB4QmZJ)D!{neQ@AEMlb^BAWz?SB!f}&Pe{vk>97f~Gzd3I*ngQ8T ylizc_QDkM+o#Fg}0Z1)K0aGiA!PJiA&mh51e3Soh-{Cc3RQSXIB#Oj<_5uKn!bsHs diff --git a/OLD_Server/Classes/System/GameManager.py b/OLD_Server/Classes/System/GameManager.py index 6aecb4a..3930a80 100644 --- a/OLD_Server/Classes/System/GameManager.py +++ b/OLD_Server/Classes/System/GameManager.py @@ -1,5 +1,6 @@ import json import socket +import time from Classes.Game.Player import Player @@ -24,7 +25,7 @@ class GameManager: # card management def spawnCard(self, card, owner, x, y): - self.logger("spawning card") + # self.logger.info("spawning card") self.__cards.append(card) @@ -37,9 +38,12 @@ class GameManager: } for userAddr in self.__players.keys(): - self.logger.info(f"send to client {self.__players[userAddr]['player'].getID() != owner}") - if self.__players[userAddr]["player"].getID() != owner: - self.__players[userAddr]["socket"].send(json.dumps(payload).encode()) + try: + self.logger.info(f"send to client {self.__players[userAddr]['player'].getID() != owner}") + if self.__players[userAddr]["player"].getID() != owner: + self.__players[userAddr]["socket"].send(json.dumps(payload).encode()) + except: + pass # game round management # this section manages the flow of rounds this should inherit itself @@ -64,7 +68,7 @@ class GameManager: # this section mostly only used by the networking and event handling classes # other parts should never need to interface with this unless really required # ============================================================================= - def startGame(self, tcpSocket:socket): + def startGame(self): self.__state = "running" players = list(self.__players.values()) @@ -97,11 +101,11 @@ class GameManager: }, } - print(f"user {userAddr}") - tcpSocket.send(json.dumps(payload).encode()) + print(f"user {player_data["socket"]}") + player_data["socket"].send(json.dumps(payload).encode()) except Exception as e: self.logger.error(f"failed to start game due to error: {e}") - break + pass # handles notifying all players that the game starts pass @@ -130,9 +134,20 @@ class GameManager: } self.logger.info(f"new length of user dictionary: {len(self.__players)}") + payload = { + "event":"loginresponse", + "status": "success", + "id": player.getID(), + "name": player.getName() + } + + socket.send(json.dumps(payload).encode()) + + # counts participating players and starts the game if enough have joined if len(self.__players) >= 2: + time.sleep(1) self.logger.info("2 players have join game starts") - self.startGame(socket) + self.startGame() return self.__players \ No newline at end of file diff --git a/OLD_Server/Classes/System/Network/NetworkManger.py b/OLD_Server/Classes/System/Network/NetworkManger.py index a08faa6..29c1a1c 100644 --- a/OLD_Server/Classes/System/Network/NetworkManger.py +++ b/OLD_Server/Classes/System/Network/NetworkManger.py @@ -90,12 +90,6 @@ class NetworkManager: self.__gameManager.getLogger().info(f"connected users {len(self.__gameManager.getPlayers())}") self.__gameManager.getLogger().info(f"confirming login for user") - self.send({ - "event":"loginresponse", - "status": "success", - "id": user[client_address]["player"].getID(), - "name": user[client_address]["player"].getName() - }, client_address) self.__eventHandler[client_address].handleTCPEvents(messageJson, self.__gameManager, client_address) self.__gameManager.getLogger().info(f"Received message from {client_address}: {message}") diff --git a/OLD_Server/Classes/System/Network/__pycache__/EventHandler.cpython-312.pyc b/OLD_Server/Classes/System/Network/__pycache__/EventHandler.cpython-312.pyc index fc97bd5e938289e59a673294dae3d6d2b004b7fe..5f66d8b9aef256e00b40eb55ce5ed16c67425f1c 100644 GIT binary patch delta 406 zcmcc5{hEjGG%qg~0}wo3yf#&kWg}lWqfwl*RZM7cYEf}aa7k)vS&U0+adt_5K}>lIq;}So)m$8|f9cT(O5Pue8oGi^0?x>zqI3q(C5!{ozE>XX};_!zk+H!=w`a)U`85XsA%t--)h#K_4| z$)L$M`6H9GbU{vHa%ys7QOYeA2w4jB!7av$Ta1;HMVX^ynQw8Xr6sjSu*p| z@^5h#7bKSFIRo`fZe)&UygT_Jv!Sy1bsoiwJc#IFoh*sgMpz4 zRg4vj7#kKbc8J*Iy-e!tj384rxh7jPOLGR~BqpaiCl;klE@X}pV!Fkdo?7CQpPrst zbc-c3FD-xa3+8yn9g{s+3@6WHxy~pvxs260l4~qyC(L#CbCP0yrEr`e>a`588 zAiskq9{dB08f@ZSIRU9@g~{v6tFvB9R< z0`E-LCCd>~+%uWEzqL|qfqBb5+_l~&syL$u7BimekFy9}N83j0of0TXFoh7b?W#61 ztG3~@-3FcZpd*1$H#5kPX^0tN_ULMq`HGM`0*~#z?2g$6)s7Ba3yY4^I1jcQ8|RuU z(6h{wX-z(~QgrGlS*`js%|3RuvZUF|u6a1(ta;VMS@W?}SC|4R>^fJ|TFt)T%PFg^ z#Cd5b4{+=&P8~>z|I8Gy@Lm;@#znafwAl{a0-o$T9F2?FpRhha{-0b&(ME9=!Z{X_ zn96agXbF~`RuyTD#p5{{7|+7Gb19{rCX9K+tQ~Q!&|1PV^?LcLy=@9*dCLlW5HTU8H`1TgL@+3P(tq#{1MX4O_E+z}E~e zJ1fB?s8yShaKH^S8iz^DzDZ4EG7mx+CD4EeX7px?vcqA{3f-nb)|8-bAkhp9CO@8l zU#3xhNkn7pDK?Jd=s4Yp;jLE=(#|t%6XSXRpu*7TmAG)zqYk38OzaOk6fo-RjwiT z)rv=lhLtoUMS7#6a2Mo^~0r}=kcInRabz?kpE z@#Ok^E5_rn+jV(O2XU@Obiqegf+^9T#4CLux=Zj80QW0HCrQ!DM~JT%qMmX_B&7s* zJsa^v^1UaHnO>rFL6^52hv0(Oi_gIWZ*$2(A_oZ$5v)dZlj<;mhCuy1NDdM7K%mgO zR>9ihFNknu0D^^EjN}#MegY>!8158abo7wYN3c%CPhHheR6H7%s^u882qjrND9n9D HgsZ0C#KiM; diff --git a/OLD_Server/Classes/System/Utils/__pycache__/Path.cpython-312.pyc b/OLD_Server/Classes/System/Utils/__pycache__/Path.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..81b63271804417889d025b8c0447bdf15d641d34 GIT binary patch literal 676 zcmZWl&rcIU6n-A>sev0`azT^W?3uCMKMm*KI3_lk9un`|*AI-n%T7rop}+U(WFpc?!nQ9f3i` zf)kJ+Sp+_CSOdv>Ae}Rwcla!2p8J!6`c|IG?L=YG#wUQ_GYLMI3?0eQdF@K4=lX8y zdWEd`Dm2?0W+%!X#EE&nsgtN53(rQX4e)rqJG1_BRWwlTqk8N)8BcWPwrPfY;ie|wF-2mUSe4sm?MbkqQR$#z z5ch*s)Nf7F4%(^NPU1>p;d&hH#3-7zwcww2P>VvX(b7_FuockSI-q5j+i5oc2FLp& z<(f%%fjo6B|5qE1vtY;h2sd-{#|K9T$A?FUpWmN;xL$hpZLWG%tPX4y>U3iv;;@B6 zWYa>l64{9e&kC{E38PWP(MG9ROZW<^WSyEJL-!sU0{W3PJ?L{*SUD~C!Mcm`Z*n<< rdOWU*V~%=AXd-r7e478es>-%Nr_|KZcNk;e;r^c~&Q^YbHABu{+uom+ literal 0 HcmV?d00001 diff --git a/OLD_Server/Classes/System/__pycache__/GameManager.cpython-312.pyc b/OLD_Server/Classes/System/__pycache__/GameManager.cpython-312.pyc index 963cabf859066f1de879a492cfec478ba7456afc..9effb6a34c14ebd49ba2a870d462a39657a8ed94 100644 GIT binary patch literal 6291 zcmb^#ZERE5^*;MO`#H7~6Fc8u4hbY~XbObV6+%i&+GIdODWxiDz_R>a5<8CVzV|{% z>M*1-Et!x=w2uUpiBy#asNG6`b)71eYEoBefBdk!c(1F3wEign0zn#Me|FA&esz8r`KMnp-g@UO%C{y5!&tkwOH z9Ey(U8`Rtz8)YS+h=oKcHW3vHiNSy*$ieLC(UZZt8UAZ;09Yg;k|2KCfIvWuF;Ia4 zEH_p#0fr-KNno3Cr(^`jaYow|@tFrS>trCLz!o$%8jFfPi-b2LSrPCEYydP%BsKzv zBB9*)Od2bTkzuJ65E<9?dLJG?uxIGFEK2gwF+~(l5A}-jm=cQ*#ix|fSkxPX>XB$9 z6czoi9q1c6a=6!jOq5QG($IlOK$b-qHYF?K_|UpD?~G4ryx$*+h7`Yl+OxjJpi&OD z0|)0wrlxL|y-=EIYMEuze0`?M3#cPg)j&U$_3*K0s%j|4JJw(f3Fb}^5UkVlu7%1X zoKqOSh2|zyC(+pHerI>Hzz=cE^{*+>?kJ(Mt?%W zc+myrgDl=lPF^Ks#$v7)s#yZ@IP|2dtg&O_luSidV?)v5n8txT{n6I@pn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^;8zHt{bWPo{X!VMj;M>U7o=v?sCY{$*;2}=(xAH* zgehT?8LW8o+?;MzZefE}&KVto!qieXk`eOipYUiLRU@lz%c=%pZAzR(gAH2CVz!jiPiMB!6qwrl=~zl9!=Ad%A}rA`LIx+m)89wS>?3d-FmPYr z8CsGyKV*!XcJbR=urp%dkJC7*+sc4p9d{~){N$-V2dk(NAF^GhVYS0KwhIs%(-uH! zKklqMX&Q9Hv4D;MJATkir))t#Gn_GP(MZM9x?#(0V{s#6CDJLUW8jV$r?KX8DioK{ zYPw;98vH5thbsN+xbYmaRM#4LpJg8m3bX814E z-zE3V@Tye09xA=2UQyRV+Hy!+3B9w40&>wzdzSUPi`IiBYe8)}sI3K?mxIlBPAvyp zei&O0wv%#i<2mrU>bWSadjpr%OX~c|#T|>S^WCf7`mBh`8rG}oZZ=(Sy0L9NQgc(e zuG~;xBc+jRN3R^c+W9n3EGf9?%6gG6d>JTi!MZkaW#U%-O2v+~ie1YUyH+ap-1qLy zRzphJCM3K6elDXx*(PEkH&W^=)*gBbHzf6+tPIEtGX%H1d$1-NV(*3IHbuBsS>7fH zKMO*eLVA4>Kc#`&2s>o4#U5Y!stb3FtLi zbtb(BEiEXlKMU){ZdjW0q`Ig+P+0O*;Odkae$F%Nxj3;bRb?d-E2@b;7m=DjW6ixaI%Yf8)Y4_Obg8UmRozda&e_iSovUiq25|TrFWIT(lcM0ELtdIz zAr)aNqEyg~aVr({li&_24p2c!8&eX+lsgagRZ}Otx-t;m;$);Bo+}WD2 z;9jhIhG5$KfCC`F2<7w9X9%XO;t|Rh#Vms9)`&Cxs6VHx+#xi+CSdya3~${Ks%|?# v)mI6;koFFz^)pGM1$V&)tvr)nAj>ff^8n>NK<-DV?k_RMFy)(wO2_v<{{jE! diff --git a/OLD_Server/Classes/System/__pycache__/Logger.cpython-312.pyc b/OLD_Server/Classes/System/__pycache__/Logger.cpython-312.pyc index ac8ea48e617accf1a3b3e1b9709b1e966ddccae0..24c0a41bdd4dc4b12438a1bbecb225a04ebe4cff 100644 GIT binary patch delta 58 zcmey%(ayd8zRs&h9b( NJ}&W_uQ4uX0sttd6T<)i delta 48 zcmZqY{L8_8nwOW00SHWFmu%!-%*g0Ac|D`JfPY?2W?pK1h_ic)dtz>?!sZ8z%b5T` C1rBQf diff --git a/OLD_Server/Classes/System/__pycache__/PlayerManager.cpython-312.pyc b/OLD_Server/Classes/System/__pycache__/PlayerManager.cpython-312.pyc index fccebea8669ba88767de10ed22a5b84b7527773e..d3f0a4c0572a8629fda7a1578769cc90a16eed33 100644 GIT binary patch delta 76 zcmX@jdzF{_G%qg~0}wo3ymlkEH=|LwvsFxJacWU7SRAnU@+L;_M#d@8c4`xsK776#(Pw8ifD= delta 66 zcmcc0dzzQ~G%qg~0}!a$&)dlD&8Xq)Y!wq)oLW>I6I_y-S{CDyTAW>yUl8M;my?;7 U8Xw~99^;;vo2sz6gVC220GzEAI{*Lx diff --git a/OLD_Server/Classes/System/__pycache__/Server.cpython-312.pyc b/OLD_Server/Classes/System/__pycache__/Server.cpython-312.pyc index 7700f6370bb88b162f56b69c89b85f4ae5dd62b3..e6f1af42e843ccd529af30c09a92d5bda54f9ae1 100644 GIT binary patch delta 76 zcmaDU_*szqG%qg~0}wo3ymlk^1!kiFXRDad;?$zznBbDs)Up_t)Z*-t{DPQ*%94!y dJcWE9(?2gKGcPqh#MwQ@-^V3>Gc(IG7624K8)*Ol delta 66 zcmew?_)?JjG%qg~0}zzUTS=ZvwMuc Mk4yY!cgFWj0Os%!=Kufz delta 48 zcmX@Wv5kZKG%qg~0}!a$&)di?!pP`4S%Fbpz&|f1GcPqh#MwQ@Jux>`VRInkdnN!M C7!3pf diff --git a/OLD_Server/log/calpwwxt.log b/OLD_Server/log/calpwwxt.log deleted file mode 100644 index 90c7b51..0000000 --- a/OLD_Server/log/calpwwxt.log +++ /dev/null @@ -1,34 +0,0 @@ -23:07:59,420 root INFO starting up server -23:07:59,420 root INFO starting up game manager -23:07:59,421 root INFO preparing to start server -23:07:59,421 root INFO starting up network manager -23:07:59,421 root INFO starting up network manager -23:07:59,421 root INFO starting up tcp server -23:07:59,421 root INFO starting up thread for client socket accepting -23:08:06,461 root INFO Connected with ('127.0.0.1', 52171) -23:08:06,462 root INFO starting client handler thread for client at address ('127.0.0.1', 52171) -23:08:06,463 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:08:06,466 root INFO user in message None -23:08:08,631 root INFO user logging in -23:08:08,664 root INFO task passed off to gameManager -23:08:08,695 root INFO creating user with id: > -23:08:08,892 root INFO new length of user dictionary: 1 -23:08:08,936 root INFO connected users 1 -23:08:09,160 root INFO confirming login for user -23:08:09,661 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:08:09,693 root INFO Received message from ('127.0.0.1', 52171): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:08:18,274 root INFO Connected with ('127.0.0.1', 52177) -23:08:18,274 root INFO starting client handler thread for client at address ('127.0.0.1', 52177) -23:08:18,275 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:08:18,275 root INFO user in message None -23:08:19,437 root INFO user logging in -23:08:19,468 root INFO task passed off to gameManager -23:08:19,500 root INFO creating user with id: > -23:08:19,663 root INFO new length of user dictionary: 2 -23:08:19,852 root INFO 2 players have join game starts -23:08:19,991 root INFO game manager is starting the game -23:08:20,297 root INFO connected users 2 -23:08:20,454 root INFO confirming login for user -23:08:20,950 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:08:20,982 root INFO Received message from ('127.0.0.1', 52177): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:10:25,4 root ERROR Connection with ('127.0.0.1', 52171) forcibly closed by remote host. diff --git a/OLD_Server/log/ftosavkt.log b/OLD_Server/log/ftosavkt.log new file mode 100644 index 0000000..5997e28 --- /dev/null +++ b/OLD_Server/log/ftosavkt.log @@ -0,0 +1,35 @@ +10:14:25,144 root INFO starting up server +10:14:25,145 root INFO starting up game manager +10:14:25,145 root INFO preparing to start server +10:14:25,145 root INFO starting up network manager +10:14:25,145 root INFO starting up network manager +10:14:25,145 root INFO starting up tcp server +10:14:25,147 root INFO starting up thread for client socket accepting +10:14:28,852 root INFO Connected with ('127.0.0.1', 40793) +10:14:28,853 root INFO starting client handler thread for client at address ('127.0.0.1', 40793) +10:14:28,862 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:14:28,863 root INFO user in message None +10:14:28,864 root INFO user logging in +10:14:28,865 root INFO task passed off to gameManager +10:14:28,866 root INFO creating user with id: > +10:14:28,866 root INFO new length of user dictionary: 1 +10:14:28,866 root INFO connected users 1 +10:14:28,867 root INFO confirming login for user +10:14:28,868 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:14:28,868 root INFO Received message from ('127.0.0.1', 40793): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:14:37,604 root INFO Connected with ('127.0.0.1', 40802) +10:14:37,604 root INFO starting client handler thread for client at address ('127.0.0.1', 40802) +10:14:37,617 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:14:37,618 root INFO user in message None +10:14:37,618 root INFO user logging in +10:14:37,618 root INFO task passed off to gameManager +10:14:37,620 root INFO creating user with id: > +10:14:37,622 root INFO new length of user dictionary: 2 +10:14:38,623 root INFO 2 players have join game starts +10:14:38,624 root INFO game manager is starting the game +10:14:38,624 root INFO connected users 2 +10:14:38,625 root INFO confirming login for user +10:14:38,626 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:14:38,626 root INFO Received message from ('127.0.0.1', 40802): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:14:45,312 root ERROR Connection with ('127.0.0.1', 40802) forcibly closed by remote host. +10:14:48,810 root ERROR Connection with ('127.0.0.1', 40793) forcibly closed by remote host. diff --git a/OLD_Server/log/fzvblgun.log b/OLD_Server/log/fzvblgun.log deleted file mode 100644 index 52efee5..0000000 --- a/OLD_Server/log/fzvblgun.log +++ /dev/null @@ -1,51 +0,0 @@ -23:35:15,875 root INFO starting up server -23:35:15,875 root INFO starting up game manager -23:35:15,875 root INFO preparing to start server -23:35:15,875 root INFO starting up network manager -23:35:15,875 root INFO starting up network manager -23:35:15,875 root INFO starting up tcp server -23:35:15,876 root INFO starting up thread for client socket accepting -23:35:20,243 root INFO Connected with ('127.0.0.1', 52881) -23:35:20,243 root INFO starting client handler thread for client at address ('127.0.0.1', 52881) -23:35:20,243 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:35:20,246 root INFO user in message None -23:35:20,246 root INFO user logging in -23:35:20,246 root INFO task passed off to gameManager -23:35:20,246 root INFO creating user with id: > -23:35:20,246 root INFO new length of user dictionary: 1 -23:35:20,246 root INFO connected users 1 -23:35:20,246 root INFO confirming login for user -23:35:20,247 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:35:20,247 root INFO Received message from ('127.0.0.1', 52881): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:35:25,465 root INFO Connected with ('127.0.0.1', 52887) -23:35:25,465 root INFO starting client handler thread for client at address ('127.0.0.1', 52887) -23:35:25,465 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:35:25,465 root INFO user in message None -23:35:25,465 root INFO user logging in -23:35:25,465 root INFO task passed off to gameManager -23:35:25,465 root INFO creating user with id: > -23:35:25,465 root INFO new length of user dictionary: 2 -23:35:25,465 root INFO 2 players have join game starts -23:35:25,466 root INFO game manager is starting the game -23:35:25,466 root INFO connected users 2 -23:35:25,466 root INFO confirming login for user -23:35:25,466 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:35:25,466 root INFO Received message from ('127.0.0.1', 52887): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:36:26,682 root ERROR Connection with ('127.0.0.1', 52887) forcibly closed by remote host. -23:36:27,925 root INFO Connected with ('127.0.0.1', 52921) -23:36:27,925 root INFO starting client handler thread for client at address ('127.0.0.1', 52921) -23:36:27,926 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:36:27,926 root INFO user in message None -23:36:27,926 root INFO user logging in -23:36:27,926 root INFO task passed off to gameManager -23:36:27,926 root INFO creating user with id: > -23:36:27,926 root INFO new length of user dictionary: 3 -23:36:27,926 root INFO 2 players have join game starts -23:36:27,926 root INFO game manager is starting the game -23:36:27,926 root ERROR failed to start game due to error: object of type 'NoneType' has no len() -23:36:27,926 root INFO connected users 3 -23:36:27,926 root INFO confirming login for user -23:36:27,926 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:36:27,926 root INFO Received message from ('127.0.0.1', 52921): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:36:34,685 root ERROR Connection with ('127.0.0.1', 52921) forcibly closed by remote host. -23:36:36,275 root ERROR Connection with ('127.0.0.1', 52881) forcibly closed by remote host. diff --git a/OLD_Server/log/hbokqkpm.log b/OLD_Server/log/hbokqkpm.log deleted file mode 100644 index b8b1191..0000000 --- a/OLD_Server/log/hbokqkpm.log +++ /dev/null @@ -1,49 +0,0 @@ -23:16:48,567 root INFO starting up server -23:16:48,567 root INFO starting up game manager -23:16:48,567 root INFO preparing to start server -23:16:48,567 root INFO starting up network manager -23:16:48,567 root INFO starting up network manager -23:16:48,567 root INFO starting up tcp server -23:16:48,568 root INFO starting up thread for client socket accepting -23:16:55,703 root INFO Connected with ('127.0.0.1', 52398) -23:16:55,704 root INFO starting client handler thread for client at address ('127.0.0.1', 52398) -23:16:55,704 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:16:55,707 root INFO user in message None -23:16:55,707 root INFO user logging in -23:16:55,707 root INFO task passed off to gameManager -23:16:55,707 root INFO creating user with id: > -23:16:55,707 root INFO new length of user dictionary: 1 -23:16:55,707 root INFO connected users 1 -23:16:55,707 root INFO confirming login for user -23:16:55,707 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:16:55,707 root INFO Received message from ('127.0.0.1', 52398): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:17:04,931 root INFO Connected with ('127.0.0.1', 52410) -23:17:04,931 root INFO starting client handler thread for client at address ('127.0.0.1', 52410) -23:17:04,965 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:17:04,965 root INFO user in message None -23:17:04,965 root INFO user logging in -23:17:04,965 root INFO task passed off to gameManager -23:17:04,966 root INFO creating user with id: > -23:17:04,966 root INFO new length of user dictionary: 2 -23:17:04,966 root INFO 2 players have join game starts -23:17:04,966 root INFO game manager is starting the game -23:17:04,966 root INFO connected users 2 -23:17:04,966 root INFO confirming login for user -23:17:04,966 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:17:04,966 root INFO Received message from ('127.0.0.1', 52410): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:17:45,314 root ERROR Connection with ('127.0.0.1', 52410) forcibly closed by remote host. -23:17:49,965 root INFO Connected with ('127.0.0.1', 52433) -23:17:49,965 root INFO starting client handler thread for client at address ('127.0.0.1', 52433) -23:17:50,291 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:17:50,291 root INFO user in message None -23:17:50,291 root INFO user logging in -23:17:50,291 root INFO task passed off to gameManager -23:17:50,291 root INFO creating user with id: > -23:17:50,291 root INFO new length of user dictionary: 3 -23:17:50,291 root INFO 2 players have join game starts -23:17:50,291 root INFO game manager is starting the game -23:17:50,291 root ERROR failed to start game due to error: object of type 'NoneType' has no len() -23:17:50,291 root INFO connected users 3 -23:17:50,291 root INFO confirming login for user -23:17:50,292 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:17:50,292 root INFO Received message from ('127.0.0.1', 52433): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/jopxlbza.log b/OLD_Server/log/jopxlbza.log deleted file mode 100644 index c904742..0000000 --- a/OLD_Server/log/jopxlbza.log +++ /dev/null @@ -1,28 +0,0 @@ -21:35:45,88 root INFO starting up server -21:35:45,89 root INFO starting up game manager -21:35:45,89 root INFO preparing to start server -21:35:45,89 root INFO starting up network manager -21:35:45,89 root INFO starting up network manager -21:35:45,89 root INFO starting up tcp server -21:35:45,89 root INFO starting up thread for client socket accepting -21:35:51,856 root INFO Connected with ('127.0.0.1', 49747) -21:35:51,856 root INFO starting client handler thread for client at address ('127.0.0.1', 49747) -21:35:51,859 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:35:51,860 root INFO user in message None -21:35:51,861 root INFO user logging in -21:35:51,861 root INFO task passed off to gameManager -21:35:51,861 root INFO creating user with id: > -21:35:56,111 root INFO new length of user dictionary: 1 -21:36:08,506 root INFO connected users 1 -21:36:08,506 root INFO confirming login for user -21:36:08,507 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:36:08,507 root INFO Received message from ('127.0.0.1', 49747): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:37:40,56 root INFO Connected with ('127.0.0.1', 49795) -21:37:40,56 root INFO starting client handler thread for client at address ('127.0.0.1', 49795) -21:37:40,57 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:37:40,58 root INFO user in message None -21:37:40,58 root INFO user logging in -21:37:40,58 root INFO task passed off to gameManager -21:37:40,58 root INFO creating user with id: > -21:37:43,614 root INFO new length of user dictionary: 2 -21:37:50,2 root INFO 2 players have join game starts diff --git a/OLD_Server/log/jsrrepta.log b/OLD_Server/log/jsrrepta.log deleted file mode 100644 index 62fc73f..0000000 --- a/OLD_Server/log/jsrrepta.log +++ /dev/null @@ -1,28 +0,0 @@ -21:02:55,541 root INFO starting up server -21:02:55,542 root INFO starting up game manager -21:02:55,542 root INFO preparing to start server -21:02:55,542 root INFO starting up network manager -21:02:55,543 root INFO starting up network manager -21:02:55,543 root INFO starting up tcp server -21:02:55,543 root INFO starting up thread for client socket accepting -21:03:03,608 root INFO Connected with ('127.0.0.1', 65384) -21:03:03,609 root INFO starting client handler thread for client at address ('127.0.0.1', 65384) -21:03:03,610 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:03:03,613 root INFO user in message None -21:03:03,613 root INFO user logging in -21:03:03,613 root INFO task passed off to gameManager -21:03:03,613 root INFO creating user with id: > -21:03:03,613 root INFO new length of user dictionary: 1 -21:03:03,613 root INFO connected users 1 -21:03:03,613 root INFO confirming login for user -21:03:03,614 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:03:03,614 root INFO Received message from ('127.0.0.1', 65384): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:03:21,850 root INFO Connected with ('127.0.0.1', 65399) -21:03:21,850 root INFO starting client handler thread for client at address ('127.0.0.1', 65399) -21:03:21,852 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:03:21,852 root INFO user in message None -21:03:21,852 root INFO user logging in -21:03:21,852 root INFO task passed off to gameManager -21:03:21,852 root INFO creating user with id: > -21:03:21,852 root INFO new length of user dictionary: 2 -21:03:21,852 root INFO 2 players have join game starts diff --git a/OLD_Server/log/kawhnrji.log b/OLD_Server/log/kawhnrji.log deleted file mode 100644 index 8a5fbfd..0000000 --- a/OLD_Server/log/kawhnrji.log +++ /dev/null @@ -1,32 +0,0 @@ -22:18:28,492 root INFO starting up server -22:18:28,493 root INFO starting up game manager -22:18:28,493 root INFO preparing to start server -22:18:28,493 root INFO starting up network manager -22:18:28,493 root INFO starting up network manager -22:18:28,493 root INFO starting up tcp server -22:18:28,493 root INFO starting up thread for client socket accepting -22:18:33,537 root INFO Connected with ('127.0.0.1', 50893) -22:18:33,537 root INFO starting client handler thread for client at address ('127.0.0.1', 50893) -22:18:33,539 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:18:33,540 root INFO user in message None -22:18:36,99 root INFO user logging in -22:18:36,131 root INFO task passed off to gameManager -22:18:36,195 root INFO creating user with id: > -22:18:36,427 root INFO new length of user dictionary: 1 -22:18:36,454 root INFO connected users 1 -22:18:36,467 root INFO confirming login for user -22:18:37,23 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:18:37,87 root INFO Received message from ('127.0.0.1', 50893): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:18:42,538 root INFO Connected with ('127.0.0.1', 50897) -22:18:42,538 root INFO starting client handler thread for client at address ('127.0.0.1', 50897) -22:18:42,540 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:18:42,540 root INFO user in message None -22:18:44,273 root INFO user logging in -22:18:44,305 root INFO task passed off to gameManager -22:18:44,369 root INFO creating user with id: > -22:18:44,475 root INFO new length of user dictionary: 2 -22:18:45,389 root INFO 2 players have join game starts -22:18:47,378 root INFO connected users 2 -22:18:47,410 root INFO confirming login for user -22:18:47,948 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:18:48,11 root INFO Received message from ('127.0.0.1', 50897): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/kuketiqt.log b/OLD_Server/log/kuketiqt.log new file mode 100644 index 0000000..25a6234 --- /dev/null +++ b/OLD_Server/log/kuketiqt.log @@ -0,0 +1,35 @@ +10:03:57,851 root INFO starting up server +10:03:57,851 root INFO starting up game manager +10:03:57,852 root INFO preparing to start server +10:03:57,852 root INFO starting up network manager +10:03:57,852 root INFO starting up network manager +10:03:57,853 root INFO starting up tcp server +10:03:57,854 root INFO starting up thread for client socket accepting +10:04:05,109 root INFO Connected with ('127.0.0.1', 40671) +10:04:05,110 root INFO starting client handler thread for client at address ('127.0.0.1', 40671) +10:04:05,124 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:04:05,125 root INFO user in message None +10:04:05,125 root INFO user logging in +10:04:05,125 root INFO task passed off to gameManager +10:04:05,126 root INFO creating user with id: > +10:04:05,126 root INFO new length of user dictionary: 1 +10:04:05,126 root INFO connected users 1 +10:04:05,126 root INFO confirming login for user +10:04:05,126 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:04:05,127 root INFO Received message from ('127.0.0.1', 40671): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:04:11,420 root INFO Connected with ('127.0.0.1', 40672) +10:04:11,420 root INFO starting client handler thread for client at address ('127.0.0.1', 40672) +10:04:11,439 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:04:11,439 root INFO user in message None +10:04:11,439 root INFO user logging in +10:04:11,439 root INFO task passed off to gameManager +10:04:11,440 root INFO creating user with id: > +10:04:11,440 root INFO new length of user dictionary: 2 +10:04:12,441 root INFO 2 players have join game starts +10:04:12,442 root INFO game manager is starting the game +10:04:12,442 root ERROR failed to start game due to error: list indices must be integers or slices, not str +10:04:12,444 root ERROR failed to start game due to error: list indices must be integers or slices, not str +10:04:12,445 root INFO connected users 2 +10:04:12,445 root INFO confirming login for user +10:04:12,445 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:04:12,445 root INFO Received message from ('127.0.0.1', 40672): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/mjlawgym.log b/OLD_Server/log/mjlawgym.log new file mode 100644 index 0000000..6a8d90a --- /dev/null +++ b/OLD_Server/log/mjlawgym.log @@ -0,0 +1,35 @@ +10:13:00,7 root INFO starting up server +10:13:00,8 root INFO starting up game manager +10:13:00,8 root INFO preparing to start server +10:13:00,8 root INFO starting up network manager +10:13:00,9 root INFO starting up network manager +10:13:00,9 root INFO starting up tcp server +10:13:00,11 root INFO starting up thread for client socket accepting +10:13:16,730 root INFO Connected with ('127.0.0.1', 40780) +10:13:16,731 root INFO starting client handler thread for client at address ('127.0.0.1', 40780) +10:13:16,732 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:13:16,733 root INFO user in message None +10:13:16,733 root INFO user logging in +10:13:16,734 root INFO task passed off to gameManager +10:13:16,734 root INFO creating user with id: > +10:13:16,735 root INFO new length of user dictionary: 1 +10:13:16,735 root INFO connected users 1 +10:13:16,737 root INFO confirming login for user +10:13:16,738 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:13:16,738 root INFO Received message from ('127.0.0.1', 40780): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:13:25,741 root INFO Connected with ('127.0.0.1', 40781) +10:13:25,741 root INFO starting client handler thread for client at address ('127.0.0.1', 40781) +10:13:25,773 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:13:25,775 root INFO user in message None +10:13:25,775 root INFO user logging in +10:13:25,776 root INFO task passed off to gameManager +10:13:25,779 root INFO creating user with id: > +10:13:25,780 root INFO new length of user dictionary: 2 +10:13:26,781 root INFO 2 players have join game starts +10:13:26,781 root INFO game manager is starting the game +10:13:26,783 root INFO connected users 2 +10:13:26,784 root INFO confirming login for user +10:13:26,784 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:13:26,784 root INFO Received message from ('127.0.0.1', 40781): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:13:50,23 root ERROR Connection with ('127.0.0.1', 40780) forcibly closed by remote host. +10:14:14,978 root ERROR Connection with ('127.0.0.1', 40781) forcibly closed by remote host. diff --git a/OLD_Server/log/mxrdtmmv.log b/OLD_Server/log/mxrdtmmv.log deleted file mode 100644 index 107ad65..0000000 --- a/OLD_Server/log/mxrdtmmv.log +++ /dev/null @@ -1,35 +0,0 @@ -23:30:08,625 root INFO starting up server -23:30:08,625 root INFO starting up game manager -23:30:08,625 root INFO preparing to start server -23:30:08,625 root INFO starting up network manager -23:30:08,625 root INFO starting up network manager -23:30:08,625 root INFO starting up tcp server -23:30:08,626 root INFO starting up thread for client socket accepting -23:32:30,46 root INFO Connected with ('127.0.0.1', 52793) -23:32:30,46 root INFO starting client handler thread for client at address ('127.0.0.1', 52793) -23:32:30,47 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:32:30,48 root INFO user in message None -23:32:30,48 root INFO user logging in -23:32:30,50 root INFO task passed off to gameManager -23:32:30,50 root INFO creating user with id: > -23:32:30,50 root INFO new length of user dictionary: 1 -23:32:30,50 root INFO connected users 1 -23:32:30,50 root INFO confirming login for user -23:32:30,50 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:32:30,50 root INFO Received message from ('127.0.0.1', 52793): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:32:35,992 root INFO Connected with ('127.0.0.1', 52796) -23:32:35,993 root INFO starting client handler thread for client at address ('127.0.0.1', 52796) -23:32:35,993 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:32:35,993 root INFO user in message None -23:32:35,993 root INFO user logging in -23:32:35,993 root INFO task passed off to gameManager -23:32:35,993 root INFO creating user with id: > -23:32:35,993 root INFO new length of user dictionary: 2 -23:32:35,993 root INFO 2 players have join game starts -23:32:35,993 root INFO game manager is starting the game -23:32:35,994 root INFO connected users 2 -23:32:35,994 root INFO confirming login for user -23:32:35,994 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:32:35,994 root INFO Received message from ('127.0.0.1', 52796): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:33:37,927 root ERROR Connection with ('127.0.0.1', 52796) forcibly closed by remote host. -23:33:39,992 root ERROR Connection with ('127.0.0.1', 52793) forcibly closed by remote host. diff --git a/OLD_Server/log/ncyhufrr.log b/OLD_Server/log/ncyhufrr.log new file mode 100644 index 0000000..17a3e86 --- /dev/null +++ b/OLD_Server/log/ncyhufrr.log @@ -0,0 +1,35 @@ +10:05:33,787 root INFO starting up server +10:05:33,788 root INFO starting up game manager +10:05:33,788 root INFO preparing to start server +10:05:33,788 root INFO starting up network manager +10:05:33,788 root INFO starting up network manager +10:05:33,788 root INFO starting up tcp server +10:05:33,790 root INFO starting up thread for client socket accepting +10:05:41,185 root INFO Connected with ('127.0.0.1', 40678) +10:05:41,185 root INFO starting client handler thread for client at address ('127.0.0.1', 40678) +10:05:41,203 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:05:41,204 root INFO user in message None +10:05:41,204 root INFO user logging in +10:05:41,204 root INFO task passed off to gameManager +10:05:41,204 root INFO creating user with id: > +10:05:41,204 root INFO new length of user dictionary: 1 +10:05:41,205 root INFO connected users 1 +10:05:41,205 root INFO confirming login for user +10:05:41,206 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:05:41,206 root INFO Received message from ('127.0.0.1', 40678): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:05:47,221 root INFO Connected with ('127.0.0.1', 40680) +10:05:47,221 root INFO starting client handler thread for client at address ('127.0.0.1', 40680) +10:05:47,229 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:05:47,233 root INFO user in message None +10:05:47,234 root INFO user logging in +10:05:47,234 root INFO task passed off to gameManager +10:05:47,234 root INFO creating user with id: > +10:05:47,234 root INFO new length of user dictionary: 2 +10:05:48,235 root INFO 2 players have join game starts +10:05:48,236 root INFO game manager is starting the game +10:05:48,236 root ERROR failed to start game due to error: list indices must be integers or slices, not str +10:05:48,237 root ERROR failed to start game due to error: list indices must be integers or slices, not str +10:05:48,237 root INFO connected users 2 +10:05:48,237 root INFO confirming login for user +10:05:48,237 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:05:48,237 root INFO Received message from ('127.0.0.1', 40680): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/obhvhvqr.log b/OLD_Server/log/obhvhvqr.log deleted file mode 100644 index 33b7c55..0000000 --- a/OLD_Server/log/obhvhvqr.log +++ /dev/null @@ -1,48 +0,0 @@ -23:11:13,696 root INFO starting up server -23:11:13,696 root INFO starting up game manager -23:11:13,696 root INFO preparing to start server -23:11:13,696 root INFO starting up network manager -23:11:13,696 root INFO starting up network manager -23:11:13,696 root INFO starting up tcp server -23:11:13,697 root INFO starting up thread for client socket accepting -23:11:17,731 root INFO Connected with ('127.0.0.1', 52240) -23:11:17,731 root INFO starting client handler thread for client at address ('127.0.0.1', 52240) -23:11:17,731 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:11:17,733 root INFO user in message None -23:11:17,733 root INFO user logging in -23:11:17,733 root INFO task passed off to gameManager -23:11:17,733 root INFO creating user with id: > -23:11:17,733 root INFO new length of user dictionary: 1 -23:11:17,733 root INFO connected users 1 -23:11:17,733 root INFO confirming login for user -23:11:17,733 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:11:17,733 root INFO Received message from ('127.0.0.1', 52240): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:11:59,620 root INFO Connected with ('127.0.0.1', 52270) -23:11:59,620 root INFO starting client handler thread for client at address ('127.0.0.1', 52270) -23:12:00,135 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:12:00,135 root INFO user in message None -23:12:00,135 root INFO user logging in -23:12:00,135 root INFO task passed off to gameManager -23:12:00,135 root INFO creating user with id: > -23:12:00,136 root INFO new length of user dictionary: 2 -23:12:00,136 root INFO 2 players have join game starts -23:12:00,136 root INFO game manager is starting the game -23:12:00,136 root INFO connected users 2 -23:12:00,136 root INFO confirming login for user -23:12:00,136 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:12:00,136 root INFO Received message from ('127.0.0.1', 52270): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:13:15,0 root ERROR Connection with ('127.0.0.1', 52270) forcibly closed by remote host. -23:13:18,810 root INFO Connected with ('127.0.0.1', 52306) -23:13:18,810 root INFO starting client handler thread for client at address ('127.0.0.1', 52306) -23:13:19,324 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:13:19,324 root INFO user in message None -23:13:19,324 root INFO user logging in -23:13:19,324 root INFO task passed off to gameManager -23:13:19,324 root INFO creating user with id: > -23:13:19,324 root INFO new length of user dictionary: 3 -23:13:19,324 root INFO connected users 3 -23:13:19,324 root INFO confirming login for user -23:13:19,324 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:13:19,324 root INFO Received message from ('127.0.0.1', 52306): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:14:13,515 root ERROR Connection with ('127.0.0.1', 52306) forcibly closed by remote host. -23:15:01,555 root ERROR Connection with ('127.0.0.1', 52240) forcibly closed by remote host. diff --git a/OLD_Server/log/oclaenwk.log b/OLD_Server/log/oclaenwk.log deleted file mode 100644 index 5173074..0000000 --- a/OLD_Server/log/oclaenwk.log +++ /dev/null @@ -1,68 +0,0 @@ -23:23:44,948 root INFO starting up server -23:23:44,948 root INFO starting up game manager -23:23:44,948 root INFO preparing to start server -23:23:44,948 root INFO starting up network manager -23:23:44,948 root INFO starting up network manager -23:23:44,950 root INFO starting up tcp server -23:23:44,950 root INFO starting up thread for client socket accepting -23:23:49,381 root INFO Connected with ('127.0.0.1', 52585) -23:23:49,382 root INFO starting client handler thread for client at address ('127.0.0.1', 52585) -23:23:49,382 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:23:49,384 root INFO user in message None -23:23:49,384 root INFO user logging in -23:23:49,384 root INFO task passed off to gameManager -23:23:49,384 root INFO creating user with id: > -23:23:49,384 root INFO new length of user dictionary: 1 -23:23:49,384 root INFO connected users 1 -23:23:49,384 root INFO confirming login for user -23:23:49,385 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:23:49,385 root INFO Received message from ('127.0.0.1', 52585): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:23:52,883 root INFO Connected with ('127.0.0.1', 52588) -23:23:52,883 root INFO starting client handler thread for client at address ('127.0.0.1', 52588) -23:23:52,884 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:23:52,884 root INFO user in message None -23:23:52,884 root INFO user logging in -23:23:52,884 root INFO task passed off to gameManager -23:23:52,884 root INFO creating user with id: > -23:23:52,884 root INFO new length of user dictionary: 2 -23:23:52,884 root INFO 2 players have join game starts -23:23:52,884 root INFO game manager is starting the game -23:23:52,884 root INFO connected users 2 -23:23:52,884 root INFO confirming login for user -23:23:52,884 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:23:52,884 root INFO Received message from ('127.0.0.1', 52588): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:26:10,258 root ERROR Connection with ('127.0.0.1', 52588) forcibly closed by remote host. -23:26:14,591 root ERROR Connection with ('127.0.0.1', 52585) forcibly closed by remote host. -23:26:16,284 root INFO Connected with ('127.0.0.1', 52648) -23:26:16,285 root INFO starting client handler thread for client at address ('127.0.0.1', 52648) -23:26:16,285 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:26:16,285 root INFO user in message None -23:26:16,285 root INFO user logging in -23:26:16,285 root INFO task passed off to gameManager -23:26:16,285 root INFO creating user with id: > -23:26:16,285 root INFO new length of user dictionary: 3 -23:26:16,285 root INFO 2 players have join game starts -23:26:16,285 root INFO game manager is starting the game -23:26:16,285 root ERROR failed to start game due to error: object of type 'NoneType' has no len() -23:26:16,286 root INFO connected users 3 -23:26:16,286 root INFO confirming login for user -23:26:16,286 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:26:16,286 root INFO Received message from ('127.0.0.1', 52648): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:26:23,147 root INFO Connected with ('127.0.0.1', 52651) -23:26:23,147 root INFO starting client handler thread for client at address ('127.0.0.1', 52651) -23:26:23,147 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:26:23,147 root INFO user in message None -23:26:23,147 root INFO user logging in -23:26:23,147 root INFO task passed off to gameManager -23:26:23,147 root INFO creating user with id: > -23:26:23,147 root INFO new length of user dictionary: 4 -23:26:23,148 root INFO 2 players have join game starts -23:26:23,148 root INFO game manager is starting the game -23:26:23,148 root ERROR failed to start game due to error: object of type 'NoneType' has no len() -23:26:23,148 root INFO connected users 4 -23:26:23,148 root INFO confirming login for user -23:26:23,148 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:26:23,148 root INFO Received message from ('127.0.0.1', 52651): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:26:31,768 root INFO decoded message {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 79956, 'x': 1117.0, 'y': 584.0} -23:26:31,768 root INFO user in message 79956 -23:26:31,768 root INFO incommingevent {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 79956, 'x': 1117.0, 'y': 584.0} diff --git a/OLD_Server/log/oiaflmlv.log b/OLD_Server/log/oiaflmlv.log new file mode 100644 index 0000000..1b02e2b --- /dev/null +++ b/OLD_Server/log/oiaflmlv.log @@ -0,0 +1,34 @@ +10:18:24,131 root INFO starting up server +10:18:24,131 root INFO starting up game manager +10:18:24,132 root INFO preparing to start server +10:18:24,132 root INFO starting up network manager +10:18:24,132 root INFO starting up network manager +10:18:24,133 root INFO starting up tcp server +10:18:24,135 root INFO starting up thread for client socket accepting +10:18:29,738 root INFO Connected with ('127.0.0.1', 10248) +10:18:29,738 root INFO starting client handler thread for client at address ('127.0.0.1', 10248) +10:18:29,741 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:18:29,741 root INFO user in message None +10:18:29,741 root INFO user logging in +10:18:29,741 root INFO task passed off to gameManager +10:18:29,742 root INFO creating user with id: > +10:18:29,742 root INFO new length of user dictionary: 1 +10:18:29,742 root INFO connected users 1 +10:18:29,742 root INFO confirming login for user +10:18:29,742 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:18:29,742 root INFO Received message from ('127.0.0.1', 10248): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:18:34,161 root INFO Connected with ('127.0.0.1', 10249) +10:18:34,163 root INFO starting client handler thread for client at address ('127.0.0.1', 10249) +10:18:34,182 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:18:34,182 root INFO user in message None +10:18:34,183 root INFO user logging in +10:18:34,183 root INFO task passed off to gameManager +10:18:34,183 root INFO creating user with id: > +10:18:34,184 root INFO new length of user dictionary: 2 +10:18:35,184 root INFO 2 players have join game starts +10:18:35,186 root INFO game manager is starting the game +10:18:35,187 root INFO connected users 2 +10:18:35,187 root INFO confirming login for user +10:18:35,187 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:18:35,188 root INFO Received message from ('127.0.0.1', 10249): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:18:48,867 root ERROR Connection with ('127.0.0.1', 10249) forcibly closed by remote host. diff --git a/OLD_Server/log/olchcxfi.log b/OLD_Server/log/olchcxfi.log deleted file mode 100644 index 119245f..0000000 --- a/OLD_Server/log/olchcxfi.log +++ /dev/null @@ -1,33 +0,0 @@ -22:30:19,522 root INFO starting up server -22:30:19,523 root INFO starting up game manager -22:30:19,523 root INFO preparing to start server -22:30:19,523 root INFO starting up network manager -22:30:19,523 root INFO starting up network manager -22:30:19,523 root INFO starting up tcp server -22:30:19,523 root INFO starting up thread for client socket accepting -22:30:25,764 root INFO Connected with ('127.0.0.1', 51190) -22:30:25,765 root INFO starting client handler thread for client at address ('127.0.0.1', 51190) -22:30:25,767 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:30:25,769 root INFO user in message None -22:30:28,438 root INFO user logging in -22:30:28,469 root INFO task passed off to gameManager -22:30:28,531 root INFO creating user with id: > -22:30:28,679 root INFO new length of user dictionary: 1 -22:30:28,898 root INFO connected users 1 -22:30:28,910 root INFO confirming login for user -22:30:29,365 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:30:29,397 root INFO Received message from ('127.0.0.1', 51190): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:30:35,73 root INFO Connected with ('127.0.0.1', 51194) -22:30:35,73 root INFO starting client handler thread for client at address ('127.0.0.1', 51194) -22:30:35,75 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:30:35,75 root INFO user in message None -22:30:35,940 root INFO user logging in -22:30:35,982 root INFO task passed off to gameManager -22:30:36,3 root INFO creating user with id: > -22:30:36,98 root INFO new length of user dictionary: 2 -22:30:36,277 root INFO 2 players have join game starts -22:30:36,468 root INFO game manager is starting the game -22:30:36,805 root INFO connected users 2 -22:30:36,817 root INFO confirming login for user -22:30:42,749 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:30:42,781 root INFO Received message from ('127.0.0.1', 51194): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/ooqpxwpe.log b/OLD_Server/log/ooqpxwpe.log new file mode 100644 index 0000000..75c8e7e --- /dev/null +++ b/OLD_Server/log/ooqpxwpe.log @@ -0,0 +1,41 @@ +10:20:46,144 root INFO starting up server +10:20:46,144 root INFO starting up game manager +10:20:46,144 root INFO preparing to start server +10:20:46,145 root INFO starting up network manager +10:20:46,145 root INFO starting up network manager +10:20:46,145 root INFO starting up tcp server +10:20:46,146 root INFO starting up thread for client socket accepting +10:20:51,500 root INFO Connected with ('127.0.0.1', 10276) +10:20:51,501 root INFO starting client handler thread for client at address ('127.0.0.1', 10276) +10:20:51,515 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:20:51,515 root INFO user in message None +10:20:51,516 root INFO user logging in +10:20:51,516 root INFO task passed off to gameManager +10:20:51,517 root INFO creating user with id: > +10:20:51,517 root INFO new length of user dictionary: 1 +10:20:51,517 root INFO connected users 1 +10:20:51,518 root INFO confirming login for user +10:20:51,518 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:20:51,518 root INFO Received message from ('127.0.0.1', 10276): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:21:07,724 root INFO Connected with ('127.0.0.1', 10277) +10:21:07,725 root INFO starting client handler thread for client at address ('127.0.0.1', 10277) +10:21:07,751 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:21:07,752 root INFO user in message None +10:21:07,753 root INFO user logging in +10:21:07,753 root INFO task passed off to gameManager +10:21:07,753 root INFO creating user with id: > +10:21:07,753 root INFO new length of user dictionary: 2 +10:21:08,754 root INFO 2 players have join game starts +10:21:08,754 root INFO game manager is starting the game +10:21:08,756 root INFO connected users 2 +10:21:08,756 root INFO confirming login for user +10:21:08,756 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:21:08,756 root INFO Received message from ('127.0.0.1', 10277): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:21:10,800 root INFO decoded message {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 848, 'x': 1120.0, 'y': 600.0} +10:21:10,801 root INFO user in message 848 +10:21:10,801 root INFO incommingevent {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 848, 'x': 1120.0, 'y': 600.0} +10:21:10,801 root INFO send to client True +10:21:10,802 root INFO send to client False +10:21:10,802 root INFO Received message from ('127.0.0.1', 10277): {"event": "placecard", "card": 1, "type": "Monster", "user": 848, "x": 1120.0, "y": 600.0} +10:21:21,124 root ERROR Connection with ('127.0.0.1', 10277) forcibly closed by remote host. +10:21:21,148 root ERROR Connection with ('127.0.0.1', 10276) forcibly closed by remote host. diff --git a/OLD_Server/log/ploaokwx.log b/OLD_Server/log/ploaokwx.log deleted file mode 100644 index a6fdccd..0000000 --- a/OLD_Server/log/ploaokwx.log +++ /dev/null @@ -1,59 +0,0 @@ -22:53:50,717 root INFO starting up server -22:53:50,718 root INFO starting up game manager -22:53:50,718 root INFO preparing to start server -22:53:50,718 root INFO starting up network manager -22:53:50,718 root INFO starting up network manager -22:53:50,718 root INFO starting up tcp server -22:53:50,719 root INFO starting up thread for client socket accepting -22:53:57,759 root INFO Connected with ('127.0.0.1', 51806) -22:53:57,759 root INFO starting client handler thread for client at address ('127.0.0.1', 51806) -22:53:57,761 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:53:57,764 root INFO user in message None -22:53:58,552 root INFO user logging in -22:53:58,584 root INFO task passed off to gameManager -22:53:58,657 root INFO creating user with id: > -22:53:58,751 root INFO new length of user dictionary: 1 -22:53:58,980 root INFO connected users 1 -22:53:59,2 root INFO confirming login for user -22:53:59,505 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:53:59,516 root INFO Received message from ('127.0.0.1', 51806): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:54:02,832 root INFO Connected with ('127.0.0.1', 51810) -22:54:02,832 root INFO starting client handler thread for client at address ('127.0.0.1', 51810) -22:54:02,832 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:54:02,834 root INFO user in message None -22:54:03,426 root INFO user logging in -22:54:03,448 root INFO task passed off to gameManager -22:54:03,480 root INFO creating user with id: > -22:54:03,586 root INFO new length of user dictionary: 2 -22:54:03,818 root INFO 2 players have join game starts -22:54:03,923 root INFO game manager is starting the game -22:54:04,230 root INFO connected users 2 -22:54:04,262 root INFO confirming login for user -22:54:04,741 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:54:04,774 root INFO Received message from ('127.0.0.1', 51810): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:01:35,624 root INFO Connected with ('127.0.0.1', 51984) -23:01:35,624 root INFO starting client handler thread for client at address ('127.0.0.1', 51984) -23:01:35,625 root ERROR Connection with ('127.0.0.1', 51806) forcibly closed by remote host. -23:01:35,625 root ERROR Connection with ('127.0.0.1', 51810) forcibly closed by remote host. -23:01:36,21 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:01:36,22 root INFO user in message None -23:01:36,637 root INFO user logging in -23:01:36,700 root INFO task passed off to gameManager -23:01:36,762 root INFO creating user with id: > -23:01:36,975 root INFO new length of user dictionary: 3 -23:01:37,228 root INFO connected users 3 -23:01:37,312 root INFO confirming login for user -23:01:37,756 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:01:37,852 root INFO Received message from ('127.0.0.1', 51984): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:01:41,725 root INFO Connected with ('127.0.0.1', 51989) -23:01:41,725 root INFO starting client handler thread for client at address ('127.0.0.1', 51989) -23:01:41,727 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:01:41,727 root INFO user in message None -23:01:42,769 root INFO user logging in -23:01:42,801 root INFO task passed off to gameManager -23:01:42,853 root INFO creating user with id: > -23:01:43,191 root INFO new length of user dictionary: 4 -23:01:43,244 root INFO connected users 4 -23:01:43,349 root INFO confirming login for user -23:01:43,822 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:01:43,843 root INFO Received message from ('127.0.0.1', 51989): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/qrgtwasn.log b/OLD_Server/log/qrgtwasn.log new file mode 100644 index 0000000..3751ca7 --- /dev/null +++ b/OLD_Server/log/qrgtwasn.log @@ -0,0 +1,35 @@ +10:08:28,843 root INFO starting up server +10:08:28,843 root INFO starting up game manager +10:08:28,844 root INFO preparing to start server +10:08:28,844 root INFO starting up network manager +10:08:28,844 root INFO starting up network manager +10:08:28,844 root INFO starting up tcp server +10:08:28,846 root INFO starting up thread for client socket accepting +10:08:40,764 root INFO Connected with ('127.0.0.1', 40708) +10:08:40,764 root INFO starting client handler thread for client at address ('127.0.0.1', 40708) +10:08:40,785 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:08:40,787 root INFO user in message None +10:08:40,787 root INFO user logging in +10:08:40,788 root INFO task passed off to gameManager +10:08:40,789 root INFO creating user with id: > +10:08:40,789 root INFO new length of user dictionary: 1 +10:08:40,789 root INFO connected users 1 +10:08:40,790 root INFO confirming login for user +10:08:40,790 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:08:40,790 root INFO Received message from ('127.0.0.1', 40708): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:08:50,849 root INFO Connected with ('127.0.0.1', 40709) +10:08:50,850 root INFO starting client handler thread for client at address ('127.0.0.1', 40709) +10:08:50,865 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:08:50,866 root INFO user in message None +10:08:50,866 root INFO user logging in +10:08:50,866 root INFO task passed off to gameManager +10:08:50,867 root INFO creating user with id: > +10:08:50,868 root INFO new length of user dictionary: 2 +10:08:51,868 root INFO 2 players have join game starts +10:08:51,868 root INFO game manager is starting the game +10:08:51,868 root ERROR failed to start game due to error: list indices must be integers or slices, not str +10:08:51,869 root ERROR failed to start game due to error: list indices must be integers or slices, not str +10:08:51,869 root INFO connected users 2 +10:08:51,869 root INFO confirming login for user +10:08:51,869 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:08:51,869 root INFO Received message from ('127.0.0.1', 40709): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/sxuostca.log b/OLD_Server/log/sxuostca.log new file mode 100644 index 0000000..3d78e83 --- /dev/null +++ b/OLD_Server/log/sxuostca.log @@ -0,0 +1,40 @@ +10:11:31,951 root INFO starting up server +10:11:31,951 root INFO starting up game manager +10:11:31,951 root INFO preparing to start server +10:11:31,952 root INFO starting up network manager +10:11:31,952 root INFO starting up network manager +10:11:31,952 root INFO starting up tcp server +10:11:31,953 root INFO starting up thread for client socket accepting +10:11:39,945 root INFO Connected with ('127.0.0.1', 40745) +10:11:39,945 root INFO starting client handler thread for client at address ('127.0.0.1', 40745) +10:11:39,959 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:11:39,960 root INFO user in message None +10:11:39,960 root INFO user logging in +10:11:39,960 root INFO task passed off to gameManager +10:11:39,960 root INFO creating user with id: > +10:11:39,961 root INFO new length of user dictionary: 1 +10:11:39,962 root INFO connected users 1 +10:11:39,962 root INFO confirming login for user +10:11:39,962 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:11:39,963 root INFO Received message from ('127.0.0.1', 40745): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:11:48,547 root INFO Connected with ('127.0.0.1', 40751) +10:11:48,547 root INFO starting client handler thread for client at address ('127.0.0.1', 40751) +10:11:48,578 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:11:48,578 root INFO user in message None +10:11:48,578 root INFO user logging in +10:11:48,579 root INFO task passed off to gameManager +10:11:48,579 root INFO creating user with id: > +10:11:48,579 root INFO new length of user dictionary: 2 +10:11:49,581 root INFO 2 players have join game starts +10:11:49,582 root INFO game manager is starting the game +10:11:49,585 root INFO connected users 2 +10:11:49,585 root INFO confirming login for user +10:11:49,586 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:11:49,586 root INFO Received message from ('127.0.0.1', 40751): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:12:17,219 root INFO decoded message {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 56607, 'x': 386.0, 'y': 568.0} +10:12:17,219 root INFO user in message 56607 +10:12:17,219 root INFO incommingevent {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 56607, 'x': 386.0, 'y': 568.0} +10:12:17,219 root INFO send to client False +10:12:17,219 root INFO send to client True +10:12:17,219 root INFO Received message from ('127.0.0.1', 40745): {"event": "placecard", "card": 1, "type": "Monster", "user": 56607, "x": 386.0, "y": 568.0} +10:12:26,488 root ERROR Connection with ('127.0.0.1', 40751) forcibly closed by remote host. diff --git a/OLD_Server/log/tmqifhet.log b/OLD_Server/log/tmqifhet.log deleted file mode 100644 index f6bd341..0000000 --- a/OLD_Server/log/tmqifhet.log +++ /dev/null @@ -1,23 +0,0 @@ -22:17:17,848 root INFO starting up server -22:17:17,849 root INFO starting up game manager -22:17:17,849 root INFO preparing to start server -22:17:17,849 root INFO starting up network manager -22:17:17,849 root INFO starting up network manager -22:17:17,849 root INFO starting up tcp server -22:17:17,849 root INFO starting up thread for client socket accepting -22:17:23,920 root INFO Connected with ('127.0.0.1', 50854) -22:17:23,921 root INFO starting client handler thread for client at address ('127.0.0.1', 50854) -22:17:23,923 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:17:23,923 root INFO user in message None -22:17:26,307 root INFO user logging in -22:17:26,339 root INFO task passed off to gameManager -22:17:26,370 root INFO creating user with id: > -22:17:26,466 root INFO new length of user dictionary: 1 -22:17:26,654 root INFO connected users 1 -22:17:26,665 root INFO confirming login for user -22:17:27,185 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:17:27,239 root INFO Received message from ('127.0.0.1', 50854): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:17:35,108 root INFO Connected with ('127.0.0.1', 50858) -22:17:35,109 root INFO starting client handler thread for client at address ('127.0.0.1', 50858) -22:17:35,110 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:17:35,110 root INFO user in message None diff --git a/OLD_Server/log/ubnbqlgn.log b/OLD_Server/log/ubnbqlgn.log deleted file mode 100644 index 2f1ebb2..0000000 --- a/OLD_Server/log/ubnbqlgn.log +++ /dev/null @@ -1,37 +0,0 @@ -23:37:26,357 root INFO starting up server -23:37:26,357 root INFO starting up game manager -23:37:26,357 root INFO preparing to start server -23:37:26,357 root INFO starting up network manager -23:37:26,357 root INFO starting up network manager -23:37:26,357 root INFO starting up tcp server -23:37:26,358 root INFO starting up thread for client socket accepting -23:37:32,685 root INFO Connected with ('127.0.0.1', 52954) -23:37:32,685 root INFO starting client handler thread for client at address ('127.0.0.1', 52954) -23:37:32,685 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:37:32,686 root INFO user in message None -23:37:32,686 root INFO user logging in -23:37:32,686 root INFO task passed off to gameManager -23:37:32,686 root INFO creating user with id: > -23:37:32,686 root INFO new length of user dictionary: 1 -23:37:32,686 root INFO connected users 1 -23:37:32,686 root INFO confirming login for user -23:37:32,686 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:37:32,686 root INFO Received message from ('127.0.0.1', 52954): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:37:37,284 root INFO Connected with ('127.0.0.1', 52960) -23:37:37,284 root INFO starting client handler thread for client at address ('127.0.0.1', 52960) -23:37:37,285 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:37:37,285 root INFO user in message None -23:37:37,285 root INFO user logging in -23:37:37,285 root INFO task passed off to gameManager -23:37:37,285 root INFO creating user with id: > -23:37:37,285 root INFO new length of user dictionary: 2 -23:37:37,285 root INFO 2 players have join game starts -23:37:37,285 root INFO game manager is starting the game -23:37:37,286 root INFO connected users 2 -23:37:37,286 root INFO confirming login for user -23:37:37,286 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:37:37,286 root INFO Received message from ('127.0.0.1', 52960): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:38:20,374 root INFO decoded message {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 54628, 'x': 1105.0, 'y': 600.0} -23:38:20,375 root INFO user in message 54628 -23:38:20,375 root INFO incommingevent {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 54628, 'x': 1105.0, 'y': 600.0} -23:40:40,18 root ERROR Connection with ('127.0.0.1', 52960) forcibly closed by remote host. diff --git a/OLD_Server/log/usujxxks.log b/OLD_Server/log/usujxxks.log deleted file mode 100644 index 61d04d6..0000000 --- a/OLD_Server/log/usujxxks.log +++ /dev/null @@ -1,7 +0,0 @@ -22:18:11,454 root INFO starting up server -22:18:11,455 root INFO starting up game manager -22:18:11,455 root INFO preparing to start server -22:18:11,455 root INFO starting up network manager -22:18:11,456 root INFO starting up network manager -22:18:11,456 root INFO starting up tcp server -22:18:11,457 root INFO starting up thread for client socket accepting diff --git a/OLD_Server/log/votjjlwn.log b/OLD_Server/log/votjjlwn.log deleted file mode 100644 index fa08189..0000000 --- a/OLD_Server/log/votjjlwn.log +++ /dev/null @@ -1,35 +0,0 @@ -21:49:14,507 root INFO starting up server -21:49:14,507 root INFO starting up game manager -21:49:14,507 root INFO preparing to start server -21:49:14,507 root INFO starting up network manager -21:49:14,507 root INFO starting up network manager -21:49:14,507 root INFO starting up tcp server -21:49:14,509 root INFO starting up thread for client socket accepting -21:49:17,561 root INFO Connected with ('127.0.0.1', 50136) -21:49:17,561 root INFO starting client handler thread for client at address ('127.0.0.1', 50136) -21:49:17,562 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:49:17,562 root INFO user in message None -21:49:20,150 root INFO user logging in -21:49:20,182 root INFO task passed off to gameManager -21:49:20,214 root INFO creating user with id: > -21:49:20,319 root INFO new length of user dictionary: 1 -21:49:20,508 root INFO connected users 1 -21:49:20,539 root INFO confirming login for user -21:49:21,932 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:49:21,995 root INFO Received message from ('127.0.0.1', 50136): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:49:28,5 root INFO Connected with ('127.0.0.1', 50140) -21:49:28,5 root INFO starting client handler thread for client at address ('127.0.0.1', 50140) -21:49:28,6 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:49:28,7 root INFO user in message None -21:49:28,943 root INFO user logging in -21:49:28,975 root INFO task passed off to gameManager -21:49:29,39 root INFO creating user with id: > -21:49:29,153 root INFO new length of user dictionary: 2 -21:49:29,375 root INFO 2 players have join game starts -21:50:40,445 root INFO connected users 2 -21:51:12,743 root INFO confirming login for user -21:51:14,842 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:51:15,515 root INFO Received message from ('127.0.0.1', 50140): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -21:51:22,712 root INFO decoded message {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 35452, 'x': 1114.0, 'y': 599.0} -21:51:22,712 root INFO user in message 35452 -21:51:28,960 root INFO incommingevent {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 35452, 'x': 1114.0, 'y': 599.0} diff --git a/OLD_Server/log/wdqxolbm.log b/OLD_Server/log/wdqxolbm.log deleted file mode 100644 index ad78473..0000000 --- a/OLD_Server/log/wdqxolbm.log +++ /dev/null @@ -1,47 +0,0 @@ -22:46:35,887 root INFO starting up server -22:46:35,888 root INFO starting up game manager -22:46:35,888 root INFO preparing to start server -22:46:35,888 root INFO starting up network manager -22:46:35,889 root INFO starting up network manager -22:46:35,889 root INFO starting up tcp server -22:46:35,890 root INFO starting up thread for client socket accepting -22:46:43,643 root INFO Connected with ('127.0.0.1', 51606) -22:46:43,643 root INFO starting client handler thread for client at address ('127.0.0.1', 51606) -22:46:43,645 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:46:43,649 root INFO user in message None -22:46:45,928 root INFO user logging in -22:46:45,961 root INFO task passed off to gameManager -22:46:45,994 root INFO creating user with id: > -22:46:46,152 root INFO new length of user dictionary: 1 -22:46:46,427 root INFO connected users 1 -22:46:46,461 root INFO confirming login for user -22:46:47,23 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:46:47,87 root INFO Received message from ('127.0.0.1', 51606): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:46:54,634 root INFO Connected with ('127.0.0.1', 51611) -22:46:54,634 root INFO starting client handler thread for client at address ('127.0.0.1', 51611) -22:46:54,636 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:46:54,636 root INFO user in message None -22:46:55,649 root INFO user logging in -22:46:55,670 root INFO task passed off to gameManager -22:46:55,753 root INFO creating user with id: > -22:46:55,912 root INFO new length of user dictionary: 2 -22:46:56,217 root INFO 2 players have join game starts -22:46:56,281 root INFO game manager is starting the game -22:46:56,639 root INFO connected users 2 -22:46:56,744 root INFO confirming login for user -22:46:57,245 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:46:57,267 root INFO Received message from ('127.0.0.1', 51611): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:51:59,765 root ERROR Connection with ('127.0.0.1', 51611) forcibly closed by remote host. -22:52:04,500 root ERROR Connection with ('127.0.0.1', 51606) forcibly closed by remote host. -22:52:08,317 root INFO Connected with ('127.0.0.1', 51743) -22:52:08,317 root INFO starting client handler thread for client at address ('127.0.0.1', 51743) -22:52:08,318 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:52:08,319 root INFO user in message None -22:52:10,75 root INFO user logging in -22:52:10,140 root INFO task passed off to gameManager -22:52:10,203 root INFO creating user with id: > -22:52:11,567 root INFO new length of user dictionary: 3 -22:52:11,673 root INFO connected users 3 -22:52:11,684 root INFO confirming login for user -22:52:12,84 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:52:12,95 root INFO Received message from ('127.0.0.1', 51743): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/xgoziiuu.log b/OLD_Server/log/xgoziiuu.log deleted file mode 100644 index a9aecf9..0000000 --- a/OLD_Server/log/xgoziiuu.log +++ /dev/null @@ -1,33 +0,0 @@ -23:05:43,273 root INFO starting up server -23:05:43,273 root INFO starting up game manager -23:05:43,274 root INFO preparing to start server -23:05:43,274 root INFO starting up network manager -23:05:43,274 root INFO starting up network manager -23:05:43,274 root INFO starting up tcp server -23:05:43,274 root INFO starting up thread for client socket accepting -23:05:53,367 root INFO Connected with ('127.0.0.1', 52107) -23:05:53,368 root INFO starting client handler thread for client at address ('127.0.0.1', 52107) -23:05:53,370 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:05:53,372 root INFO user in message None -23:05:55,184 root INFO user logging in -23:05:55,216 root INFO task passed off to gameManager -23:05:55,280 root INFO creating user with id: > -23:05:55,455 root INFO new length of user dictionary: 1 -23:05:55,666 root INFO connected users 1 -23:05:55,698 root INFO confirming login for user -23:05:56,135 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:05:56,178 root INFO Received message from ('127.0.0.1', 52107): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:05:59,541 root INFO Connected with ('127.0.0.1', 52110) -23:05:59,541 root INFO starting client handler thread for client at address ('127.0.0.1', 52110) -23:05:59,542 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:05:59,542 root INFO user in message None -23:06:00,450 root INFO user logging in -23:06:00,471 root INFO task passed off to gameManager -23:06:00,534 root INFO creating user with id: > -23:06:00,798 root INFO new length of user dictionary: 2 -23:06:00,913 root INFO 2 players have join game starts -23:06:01,42 root INFO game manager is starting the game -23:06:01,484 root INFO connected users 2 -23:06:01,506 root INFO confirming login for user -23:06:02,77 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:06:02,130 root INFO Received message from ('127.0.0.1', 52110): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/xtjfeaau.log b/OLD_Server/log/xtjfeaau.log new file mode 100644 index 0000000..c37963a --- /dev/null +++ b/OLD_Server/log/xtjfeaau.log @@ -0,0 +1,35 @@ +10:09:58,809 root INFO starting up server +10:09:58,809 root INFO starting up game manager +10:09:58,809 root INFO preparing to start server +10:09:58,809 root INFO starting up network manager +10:09:58,810 root INFO starting up network manager +10:09:58,810 root INFO starting up tcp server +10:09:58,812 root INFO starting up thread for client socket accepting +10:10:02,221 root INFO Connected with ('127.0.0.1', 40727) +10:10:02,221 root INFO starting client handler thread for client at address ('127.0.0.1', 40727) +10:10:02,225 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:10:02,225 root INFO user in message None +10:10:02,225 root INFO user logging in +10:10:02,226 root INFO task passed off to gameManager +10:10:02,226 root INFO creating user with id: > +10:10:02,226 root INFO new length of user dictionary: 1 +10:10:02,227 root INFO connected users 1 +10:10:02,227 root INFO confirming login for user +10:10:02,227 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:10:02,228 root INFO Received message from ('127.0.0.1', 40727): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:10:22,682 root INFO Connected with ('127.0.0.1', 40736) +10:10:22,682 root INFO starting client handler thread for client at address ('127.0.0.1', 40736) +10:10:22,709 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:10:22,709 root INFO user in message None +10:10:22,710 root INFO user logging in +10:10:22,710 root INFO task passed off to gameManager +10:10:22,710 root INFO creating user with id: > +10:10:22,712 root INFO new length of user dictionary: 2 +10:10:23,713 root INFO 2 players have join game starts +10:10:23,714 root INFO game manager is starting the game +10:10:23,714 root ERROR failed to start game due to error: list indices must be integers or slices, not tuple +10:10:23,715 root ERROR failed to start game due to error: list indices must be integers or slices, not tuple +10:10:23,715 root INFO connected users 2 +10:10:23,715 root INFO confirming login for user +10:10:23,715 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} +10:10:23,715 root INFO Received message from ('127.0.0.1', 40736): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} diff --git a/OLD_Server/log/xwdjdxpk.log b/OLD_Server/log/xwdjdxpk.log deleted file mode 100644 index 99a5fc3..0000000 --- a/OLD_Server/log/xwdjdxpk.log +++ /dev/null @@ -1,68 +0,0 @@ -23:21:38,356 root INFO starting up server -23:21:38,356 root INFO starting up game manager -23:21:38,356 root INFO preparing to start server -23:21:38,356 root INFO starting up network manager -23:21:38,356 root INFO starting up network manager -23:21:38,356 root INFO starting up tcp server -23:21:38,357 root INFO starting up thread for client socket accepting -23:21:44,434 root INFO Connected with ('127.0.0.1', 52527) -23:21:44,434 root INFO starting client handler thread for client at address ('127.0.0.1', 52527) -23:21:44,435 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:21:44,435 root INFO user in message None -23:21:44,435 root INFO user logging in -23:21:44,435 root INFO task passed off to gameManager -23:21:44,435 root INFO creating user with id: > -23:21:44,435 root INFO new length of user dictionary: 1 -23:21:44,435 root INFO connected users 1 -23:21:44,435 root INFO confirming login for user -23:21:44,435 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:21:44,435 root INFO Received message from ('127.0.0.1', 52527): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:21:50,371 root INFO Connected with ('127.0.0.1', 52533) -23:21:50,371 root INFO starting client handler thread for client at address ('127.0.0.1', 52533) -23:21:50,371 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:21:50,371 root INFO user in message None -23:21:50,371 root INFO user logging in -23:21:50,371 root INFO task passed off to gameManager -23:21:50,371 root INFO creating user with id: > -23:21:50,371 root INFO new length of user dictionary: 2 -23:21:50,371 root INFO 2 players have join game starts -23:21:50,371 root INFO game manager is starting the game -23:21:50,372 root INFO connected users 2 -23:21:50,372 root INFO confirming login for user -23:21:50,372 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:21:50,372 root INFO Received message from ('127.0.0.1', 52533): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:22:54,888 root ERROR Connection with ('127.0.0.1', 52533) forcibly closed by remote host. -23:22:57,833 root INFO Connected with ('127.0.0.1', 52563) -23:22:57,833 root INFO starting client handler thread for client at address ('127.0.0.1', 52563) -23:22:57,833 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:22:57,833 root INFO user in message None -23:22:57,833 root INFO user logging in -23:22:57,833 root INFO task passed off to gameManager -23:22:57,833 root INFO creating user with id: > -23:22:57,833 root INFO new length of user dictionary: 3 -23:22:57,833 root INFO 2 players have join game starts -23:22:57,833 root INFO game manager is starting the game -23:22:57,833 root ERROR failed to start game due to error: object of type 'NoneType' has no len() -23:22:57,833 root INFO connected users 3 -23:22:57,833 root INFO confirming login for user -23:22:57,833 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:22:57,834 root INFO Received message from ('127.0.0.1', 52563): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:23:18,244 root ERROR Connection with ('127.0.0.1', 52527) forcibly closed by remote host. -23:23:19,782 root INFO Connected with ('127.0.0.1', 52572) -23:23:19,782 root INFO starting client handler thread for client at address ('127.0.0.1', 52572) -23:23:19,783 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:23:19,783 root INFO user in message None -23:23:19,783 root INFO user logging in -23:23:19,783 root INFO task passed off to gameManager -23:23:19,783 root INFO creating user with id: > -23:23:19,783 root INFO new length of user dictionary: 4 -23:23:19,783 root INFO 2 players have join game starts -23:23:19,783 root INFO game manager is starting the game -23:23:19,783 root ERROR failed to start game due to error: object of type 'NoneType' has no len() -23:23:19,783 root INFO connected users 4 -23:23:19,783 root INFO confirming login for user -23:23:19,783 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:23:19,783 root INFO Received message from ('127.0.0.1', 52572): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:23:21,105 root INFO decoded message {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 38451, 'x': 1127.0, 'y': 531.0} -23:23:21,106 root INFO user in message 38451 -23:23:21,106 root INFO incommingevent {'event': 'placecard', 'card': 1, 'type': 'Monster', 'user': 38451, 'x': 1127.0, 'y': 531.0} diff --git a/OLD_Server/log/yudopqjp.log b/OLD_Server/log/yudopqjp.log deleted file mode 100644 index 479b053..0000000 --- a/OLD_Server/log/yudopqjp.log +++ /dev/null @@ -1,67 +0,0 @@ -23:33:49,621 root INFO starting up server -23:33:49,621 root INFO starting up game manager -23:33:49,621 root INFO preparing to start server -23:33:49,621 root INFO starting up network manager -23:33:49,621 root INFO starting up network manager -23:33:49,621 root INFO starting up tcp server -23:33:49,622 root INFO starting up thread for client socket accepting -23:33:54,167 root INFO Connected with ('127.0.0.1', 52836) -23:33:54,167 root INFO starting client handler thread for client at address ('127.0.0.1', 52836) -23:33:54,167 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:33:54,170 root INFO user in message None -23:33:54,170 root INFO user logging in -23:33:54,170 root INFO task passed off to gameManager -23:33:54,170 root INFO creating user with id: > -23:33:54,170 root INFO new length of user dictionary: 1 -23:33:54,170 root INFO connected users 1 -23:33:54,170 root INFO confirming login for user -23:33:54,170 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:33:54,170 root INFO Received message from ('127.0.0.1', 52836): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:33:59,531 root INFO Connected with ('127.0.0.1', 52844) -23:33:59,532 root INFO starting client handler thread for client at address ('127.0.0.1', 52844) -23:33:59,532 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:33:59,532 root INFO user in message None -23:33:59,532 root INFO user logging in -23:33:59,532 root INFO task passed off to gameManager -23:33:59,532 root INFO creating user with id: > -23:33:59,532 root INFO new length of user dictionary: 2 -23:33:59,532 root INFO 2 players have join game starts -23:33:59,532 root INFO game manager is starting the game -23:33:59,532 root INFO connected users 2 -23:33:59,532 root INFO confirming login for user -23:33:59,532 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:33:59,532 root INFO Received message from ('127.0.0.1', 52844): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:34:41,586 root ERROR Connection with ('127.0.0.1', 52844) forcibly closed by remote host. -23:34:43,778 root ERROR Connection with ('127.0.0.1', 52836) forcibly closed by remote host. -23:34:45,599 root INFO Connected with ('127.0.0.1', 52864) -23:34:45,600 root INFO starting client handler thread for client at address ('127.0.0.1', 52864) -23:34:45,600 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:34:45,601 root INFO user in message None -23:34:45,601 root INFO user logging in -23:34:45,601 root INFO task passed off to gameManager -23:34:45,601 root INFO creating user with id: > -23:34:45,601 root INFO new length of user dictionary: 3 -23:34:45,601 root INFO 2 players have join game starts -23:34:45,601 root INFO game manager is starting the game -23:34:45,601 root ERROR failed to start game due to error: object of type 'NoneType' has no len() -23:34:45,602 root INFO connected users 3 -23:34:45,602 root INFO confirming login for user -23:34:45,602 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:34:45,602 root INFO Received message from ('127.0.0.1', 52864): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:34:52,232 root INFO Connected with ('127.0.0.1', 52870) -23:34:52,232 root INFO starting client handler thread for client at address ('127.0.0.1', 52870) -23:34:52,233 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:34:52,233 root INFO user in message None -23:34:52,233 root INFO user logging in -23:34:52,233 root INFO task passed off to gameManager -23:34:52,233 root INFO creating user with id: > -23:34:52,233 root INFO new length of user dictionary: 4 -23:34:52,233 root INFO 2 players have join game starts -23:34:52,233 root INFO game manager is starting the game -23:34:52,233 root ERROR failed to start game due to error: object of type 'NoneType' has no len() -23:34:52,233 root INFO connected users 4 -23:34:52,233 root INFO confirming login for user -23:34:52,233 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:34:52,233 root INFO Received message from ('127.0.0.1', 52870): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -23:35:06,448 root ERROR Connection with ('127.0.0.1', 52870) forcibly closed by remote host. -23:35:09,441 root ERROR Connection with ('127.0.0.1', 52864) forcibly closed by remote host. diff --git a/OLD_Server/log/yxojocbd.log b/OLD_Server/log/yxojocbd.log deleted file mode 100644 index 59118dd..0000000 --- a/OLD_Server/log/yxojocbd.log +++ /dev/null @@ -1,33 +0,0 @@ -22:52:35,47 root INFO starting up server -22:52:35,47 root INFO starting up game manager -22:52:35,47 root INFO preparing to start server -22:52:35,48 root INFO starting up network manager -22:52:35,48 root INFO starting up network manager -22:52:35,48 root INFO starting up tcp server -22:52:35,48 root INFO starting up thread for client socket accepting -22:52:39,563 root INFO Connected with ('127.0.0.1', 51765) -22:52:39,563 root INFO starting client handler thread for client at address ('127.0.0.1', 51765) -22:52:39,564 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:52:39,566 root INFO user in message None -22:52:40,945 root INFO user logging in -22:52:40,976 root INFO task passed off to gameManager -22:52:41,8 root INFO creating user with id: > -22:52:41,125 root INFO new length of user dictionary: 1 -22:52:41,303 root INFO connected users 1 -22:52:41,324 root INFO confirming login for user -22:52:41,819 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:52:41,851 root INFO Received message from ('127.0.0.1', 51765): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:52:45,441 root INFO Connected with ('127.0.0.1', 51768) -22:52:45,441 root INFO starting client handler thread for client at address ('127.0.0.1', 51768) -22:52:45,442 root INFO decoded message {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:52:45,443 root INFO user in message None -22:52:46,369 root INFO user logging in -22:52:46,401 root INFO task passed off to gameManager -22:52:46,453 root INFO creating user with id: > -22:52:46,549 root INFO new length of user dictionary: 2 -22:52:46,783 root INFO 2 players have join game starts -22:52:46,867 root INFO game manager is starting the game -22:52:47,205 root INFO connected users 2 -22:52:47,216 root INFO confirming login for user -22:52:47,857 root INFO incommingevent {'event': 'login', 'username': 'player', 'deck': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} -22:52:47,868 root INFO Received message from ('127.0.0.1', 51768): {"event": "login", "username": "player", "deck": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]}