-
Ingame
- check khi tung bai ra chan
- remove event listener la bai cua gamer khi throw
- khi bi che boi la bai khac thi khong the mouseUp, can chu y de lam tinh nang swap
- drag n drop, swap
- auto combo
- throw combo ra ngay lap tuc khi danh
- scale khi select
- khi co mot nguoi choi trong phong va da bat dau tran dau, nhan thoat khong duoc (loi nay co ve kho gap trong thuc te vi phong khong the chi co 1 nguoi choi)
- thu font bitmap
- hien thi bai cua nguoi choi bang H Group
- //hien thi chu phong, nguoi choi dang danh,
- //hien thi quan bai cua nhung nguoi choi khac
- //chi chu phong va chua bat dau tran dau moi thay duoc nut bat dau
- //chuyen cac nut danh bai xuong duoi va thay skin
- //can chinh le ra giua cua ten nguoi choi
- tro vao duoi thi select binh thuong va swap, tren la bai thi auto combo
-
Server
- nick va name khong trung nhau
- quan ly bang id cua smartfox, han chi truyen string name
-
he thong san sang va bat dau
- van con don gian, can chi tiet hoa yeu cau
- add them may khi can thiet (chu phong co the yeu cau add them)
- chinh lai viec cap nhat khi co nguoi choi vao phong luc dang danh
-
ket thuc tran dau co exception khi xoa list
- jvm 1 | java.util.ConcurrentModificationException
- jvm 1 | at java.util.LinkedList$ListItr.checkForComodification(LinkedLis
- t.java:761)
- jvm 1 | at java.util.LinkedList$ListItr.next(LinkedList.java:696)
- jvm 1 | at it.gotoandplay.smartfoxserver.util.scheduling.Scheduler.execu
- teTasks(Scheduler.java:296)
- jvm 1 | at it.gotoandplay.smartfoxserver.util.scheduling.Scheduler.run(S
- cheduler.java:223)
- jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
- PoolExecutor.java:886)
- jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
- Executor.java:908)
- jvm 1 | at java.lang.Thread.run(Thread.java:619)
-
sua lai loi trung combo cua may, doi temppcombo sang NOcombo
- cho phep 1 la bai co the thuoc ve nhieu combo
- them name cho tung state de sau nay tien debug va change (ko dung if ma dung list de iterate)
- kiem tra xem co phai chu phong gui yeu cau bat dau van bai khong
- Tao 1 pool nhung turn de tiet kiem bo nho
- nguoi duoc huong sai bo luot hoac thoat = > ?
- trong khoang giua 2 luot danh, neu nhan thoat se bi loi
- co ve nhu sau khi ket thuc van bai, bat dau mot van moi, khi bat dau thi nguoi cam 3 bich khong nhan duoc tin hieu wait tu server
- reset lai tran dau sau khi ket thuc
- Xu thua cho gamer bo van bai
-
loi khong nhuong quyen uu tien khi ve nuoc (huong sai)
- | Den luot nguoi choi 3
- | Nguoi choi 3 da thang trong luot nay !!!
- | Nguoi choi 1 con 1
- | Nguoi choi 3 con 1
- | Nguoi choi 4 con 1
- | ==============
- | Nguoi choi 3 bat dau luot bai.
- | 1
- | 2
- | 3
- | 4
- | Gamer 3 da tim thay combo de bat dau luot choi
- | Bat dau tung bai ra :Rac tam nhep
- | 19
- | Nguoi choi 3 da tung ra combo thanh cong !
- | Nguoi choi 3 da ve nuoc.
- | ================================================
- | Den luot nguoi choi 4
- | 1
- | 2
- | 3
- | 4
- | 5
- | Nguoi choi 4 da that bai trong viec chan combo va phai bo luot !
- | Nguoi choi 4 bo luot.
- | Den luot nguoi choi 1
- | Nguoi choi 1 da thang trong luot nay !!!
- | Nguoi choi 1 con 1
- | Nguoi choi 4 con 1
- | ==============
- | Nguoi choi 1 bat dau luot bai.
- hoan thien he thong thong bao ket qua cua tran dau
- khi chu phong thoat thi nguoi ke se tro thanh chu phong. client cung cap nhat
- //khi nguoi choi ra bai sai thi khong bo qua ma van tiep tuc cho gamer do
- mot huong khac la dung 1 bien int priority o gamecycle, luu lai order cua nguoi choi huong sai, neu combo bi break thi bien do bang -1
- khi con lai 2 nguoi choi, nguoi kia sap ve nuoc thi nguoi nay khong nhin thay dong ho cua nguoi kia chay
-
nguoi choi 1 ra bai va ve nuoc luon, nguoi choi 3 bo luot= > nguoi choi 2 thang (cung ko phai la bug lam)
- Nguoi choi 2 da tung ra combo thanh cong !
- Den luot nguoi choi 3
- 1
- 2
- Nguoi choi 3 bo luot.
- Den luot nguoi choi 1
- 1
- 2
- 3
- 4
- 5
- 6
- Gamer da tim thay combo de block
- Bat dau tung bai ra :Rac Q co
- 49
- Nguoi choi 1 da tung ra combo thanh cong !
- Nguoi choi 1 da ve nuoc.
- ================================================
- Den luot nguoi choi 2
- Nguoi choi 2 da thang trong luot nay !!!
- Nguoi choi 2 con 2
- Nguoi choi 3 con 3
- ==============
- Nguoi choi 2 bat dau luot bai.
- 1
- 2
- 3
- 4
- 5
-
thoat ngay khi thang trong luot
- | Nguoi choi 4 con 1
- | Nguoi choi 5 con 1
- | Nguoi choi 2 con 1
- | Nguoi choi 9 con 1
- | ==============
- | Nguoi choi 4 bat dau luot bai.
- | Da qua 20 giay, nguoi choi 4 bo luot.
- | Nguoi choi 4 bo luot.
- | Den luot nguoi choi 5
- | Da qua 20 giay, nguoi choi 5 bo luot.
- | Nguoi choi 5 bo luot.
- | Den luot nguoi choi 2
- | Da qua 20 giay, nguoi choi 2 bo luot.
- | Nguoi choi 2 bo luot.
- | Den luot nguoi choi 9
- | Nguoi choi 9 da thang trong luot nay !!!
- | Nguoi choi 4 con 1
- | Nguoi choi 5 con 1
- | Nguoi choi 2 con 1
- | Nguoi choi 9 con 1
- | ==============
- | Nguoi choi 9 bat dau luot bai.
- | Da qua 20 giay, nguoi choi 9 bo luot.
- | Nguoi choi 9 bo luot.
- | Den luot nguoi choi 4
- | Da qua 20 giay, nguoi choi 4 bo luot.
- | Nguoi choi 4 bo luot.
- | Den luot nguoi choi 5
- | Da qua 20 giay, nguoi choi 5 bo luot.
- | Nguoi choi 5 bo luot.
- | Den luot nguoi choi 2
- | Nguoi choi 2 da thang trong luot nay !!!
- | Nguoi choi 2 da thoat khoi ban.
- | Nguoi choi 2 bo luot.
- | Den luot nguoi choi 9
- | Nguoi choi 9 bo luot.
- | Den luot nguoi choi 4
- | Nguoi choi 4 bo luot.
- | Den luot nguoi choi 5
- | Nguoi choi 5 bo luot.
- | Den luot nguoi choi 9
- | Nguoi choi 9 bo luot.
- | Den luot nguoi choi 4
- | Nguoi choi 4 bo luot.
- | Den luot nguoi choi 5
- | Nguoi choi 5 bo luot.
- | Den luot nguoi choi 9
-
tai sao nguoi choi thoat khi dang bat dau luot bai lai thanh thoat khi dang cho ? co the la do realtime, quit luc sau khi begin()
- | Den luot nguoi choi 3
- | Da qua 20 giay, nguoi choi 3 bo luot.
- | Nguoi choi 3 bo luot.
- | Den luot nguoi choi 4
- | Nguoi choi 4 da thang trong luot nay !!!
- | Nguoi choi 1 con 2
- | Nguoi choi 2 con 1
- | Nguoi choi 3 con 1
- | Nguoi choi 4 con 1
- | ==============
- | Nguoi choi 4 bat dau luot bai.
- | Nguoi choi 4 da thoat khoi ban khi dang cho.
- | Nguoi choi 4 bo luot.
- | Den luot nguoi choi 1
- | Da qua 20 giay, nguoi choi 1 bo luot.
- | Nguoi choi 1 bo luot.
- | Den luot nguoi choi 2
- | Da qua 20 giay, nguoi choi 2 bo luot.
- | Nguoi choi 2 bo luot.
- | Den luot nguoi choi 3
- | Nguoi choi 3 da thang trong luot nay !!!
- | Nguoi choi 1 con 2
- | Nguoi choi 2 con 1
- | Nguoi choi 3 con 1
- | ==============
- | Nguoi choi 3 bat dau luot bai.
- | Da qua 20 giay, nguoi choi 3 bo luot.
- | Nguoi choi 3 bo luot.
-
thoat hang loat (tran dau ket thuc do chi con duy nhat 1 nguoi choi ma nguoi choi do cung thoat) , khi announce winner thi khong con nguoi choi nao trong phong thi get first cua player list se bi loi
- | Nguoi choi 1 bo luot.
- | Den luot nguoi choi 2
- | Da qua 20 giay, nguoi choi 2 bo luot.
- | Nguoi choi 2 bo luot.
- | Den luot nguoi choi 3
- | Nguoi choi 3 da thang trong luot nay !!!
- | Nguoi choi 1 thoat khi da bo luot.
- | Nguoi choi 1 con 2
- | Nguoi choi 2 con 1
- | Nguoi choi 3 con 1
- | ==============
- | Nguoi choi 3 bat dau luot bai.
- | Nguoi choi 2 da thoat khoi ban khi dang cho.
- | Nguoi choi 3 da thoat khoi ban khi dang cho.
- | Tran dau ket thuc !!!
- | 14:41:42.297 - [ WARNING ] > Exception in ExtensionHandler: java.util
- ElementException
- | Exception type: java.util.NoSuchElementException
- | java.util.NoSuchElementException
- | at java.util.LinkedList.getFirst(LinkedList.java:109)
- | at vn.GameBTL.announceWinners(GameBTL.java:219)
- | at vn.GameBTL.removeQuiter(GameBTL.java:206)
- | at vn.sfsBTL.handleRequest(sfsBTL.java:152)
- | at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.pr
- ent(ExtensionHandler.java:454)
- | at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.ru
- sionHandler.java:344)
- | at java.lang.Thread.run(Thread.java:619)
- | [ vn.sfsBTL ]: Khong con nguoi choi nao trong phong !
- | Error: java.lang.NullPointerException
- | Handler: vn.sfsBTL$BTLTask@1a497e2
- | java.lang.NullPointerException
- | at vn.sfsBTL$BTLTask.doTask(sfsBTL.java:367)
- | at it.gotoandplay.smartfoxserver.util.scheduling.Scheduler.execu
- (Scheduler.java:310)
- | at it.gotoandplay.smartfoxserver.util.scheduling.Scheduler.run(S
- r.java:223)
- | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
- cutor.java:886)
- | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
- r.java:908)
- | at java.lang.Thread.run(Thread.java:619)
- | Nguoi choi 5 con 2
- | Nguoi choi 4 con 1
- | Nguoi choi 2 con 1
- | ==============
- | Nguoi choi 4 bat dau luot bai.
- | Da qua 20 giay, nguoi choi 4 bo luot.
- | Nguoi choi 4 bo luot.
- | Den luot nguoi choi 2
- | Da qua 20 giay, nguoi choi 2 bo luot.
- | Nguoi choi 2 bo luot.
- | Den luot nguoi choi 5
- | Nguoi choi 5 da thang trong luot nay !!!
- | Nguoi choi 5 con 2
- | Nguoi choi 4 con 1
- | Nguoi choi 2 con 1
- | ==============
- | Nguoi choi 5 bat dau luot bai.
- | Da qua 20 giay, nguoi choi 5 bo luot.
- | Nguoi choi 5 bo luot.
- | Den luot nguoi choi 4
- | Nguoi choi 2 da thoat khoi ban khi dang cho.
- | Nguoi choi 4 da thoat khoi ban khi dang cho.
- | Nhung nguoi con lai deu da bo luot.
- | Den luot nguoi choi 5
- | Tran dau ket thuc !!!
- | 15:20:37.144 - [ WARNING ] > Exception in ExtensionHandler: java.util
- ElementException
- | Exception type: java.util.NoSuchElementException
- | java.util.NoSuchElementException
- | at java.util.LinkedList.getFirst(LinkedList.java:109)
- | at vn.GameBTL.announceWinners(GameBTL.java:219)
- | at vn.GameBTL.removeQuiter(GameBTL.java:206)
- | at vn.sfsBTL.handleRequest(sfsBTL.java:152)
- | at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.pr
- ent(ExtensionHandler.java:454)
- | at it.gotoandplay.smartfoxserver.controllers.ExtensionHandler.ru
- sionHandler.java:344)
- | at java.lang.Thread.run(Thread.java:619)
- | [ vn.sfsBTL ]: Khong con nguoi choi nao trong phong !
- | Error: java.lang.NullPointerException
- | Handler: vn.sfsBTL$BTLTask@1e37e4a
- | java.lang.NullPointerException
- | at vn.sfsBTL$BTLTask.doTask(sfsBTL.java:367)
- | at it.gotoandplay.smartfoxserver.util.scheduling.Scheduler.execu
- (Scheduler.java:310)
- | at it.gotoandplay.smartfoxserver.util.scheduling.Scheduler.run(S
- r.java:223)
- | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Thread
- cutor.java:886)
- | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool
- r.java:908)
- | at java.lang.Thread.run(Thread.java:619)
-
server gui thong tin sau khi del room => phai chan
- [ RECEIVED ]: <msg t='sys'><body action='uCount' r='1' u='3'></body></msg>, (len: 60)
- [ RECEIVED ]: <msg t='sys'><body action='uCount' r='8' u='0' s='0'></body></msg>, (len: 66)
- [ RECEIVED ]: <msg t='sys'><body action='roomDel'><rm id='8'/></body></msg>, (len: 61)
- xoa bo hoan toan viec gui roomlist
-
Database
- //chuyen sang MySQL
-
Lobby
- xoa phong choi khi tran dau chua bat dau ma moi nguoi da roi bo het
-
vao phong choi, trong khi do o ngoai (hoac kenh khac ?) tao 1 phong choi khac = > khi thoat ra, du van nhin thay phong do nhung khong the vao duoc
- trong mot so truong hop hi huu nao do van co the xay ra, can chu y kiem tra
- viet lai ham createroom va joinroom de khong broadcast nua (chi su dung users list cua extension)
- trien khai popup
- chu y kiem tra lai event listenner o lobby
- khi vao mot phong day thi hien thi ra 1 popup bao rang phong da day, chu y he thong pop window
- ngan gamer vao mot ban dau da choi
- trien khai viec ngan chan vao phong o phia client và sẻver
- Signup
- Thiet ke lai client theo design pattern
-
Login
- Login nhu binh thuong, co nhap mat khau
- tach rieng login ra 1 ung dung rieng de nguoi dung khong phai cho down ve roi moi login
- them loading bar
-
Web
- signup