fix calcolo punteggi + notifiche non permesse quando in gioco + ordinamento degli highscores per ordine crescente

This commit is contained in:
Lorenzo Iovino 2017-07-11 01:25:20 +02:00
parent dc206c0bb0
commit 4a29569052
16 changed files with 839 additions and 428 deletions

822
.idea/workspace.xml generated

File diff suppressed because it is too large Load diff

View file

@ -42,7 +42,7 @@ public class Game {
public DefaultListModel<Pair<String,Integer>> globalRanks = new DefaultListModel<>();
public MulticastSocket multicastSocket;
public INotificationServer server;
public Boolean isStarted = false;
public SocketChannel clientSocket = null;
public Game(){
@ -78,21 +78,23 @@ public class Game {
e.printStackTrace();
}
//Visualizza popup
new TTDialog("success", "New invitation from: " + userName + "!",
new Callable() {
@Override
public Object call() throws Exception {
App.game.joinMatch(userName);
return null;
}
},
new Callable() {
@Override
public Object call() throws Exception {
return new MenuPage(Page.window);
}
});
if(!App.game.isStarted) {
//Visualizza popup
new TTDialog("success", "New invitation from: " + userName + "!",
new Callable() {
@Override
public Object call() throws Exception {
App.game.joinMatch(userName);
return null;
}
},
new Callable() {
@Override
public Object call() throws Exception {
return new MenuPage(Page.window);
}
});
}
}
@ -100,29 +102,29 @@ public class Game {
this.words = words;
}
public void setLetters(DefaultListModel<String> letters){
this.letters = letters;
}
public void joinMatch(String matchName) {
//Svuota la lista dei game pendenti e joina il game selezionato
this.pendingList.clear();
try {
//Invia tcp req a server per dirgli che sto joinando
DefaultListModel<String> matchNames = new DefaultListModel<String>();
matchNames.addElement(matchName);
Message message = new Message("JOIN_GAME", App.session.account.userName, App.session.token, matchNames);
if(!isStarted) {
this.pendingList.clear();
try {
//Invia tcp req a server per dirgli che sto joinando
DefaultListModel<String> matchNames = new DefaultListModel<String>();
matchNames.addElement(matchName);
Message message = new Message("JOIN_GAME", App.session.account.userName, App.session.token, matchNames);
byte[] byteMessage = new String(message.toString()).getBytes();
buffer = ByteBuffer.wrap(byteMessage);
clientSocket.write(buffer);
byte[] byteMessage = new String(message.toString()).getBytes();
buffer = ByteBuffer.wrap(byteMessage);
clientSocket.write(buffer);
new GamePage(Page.window);
new GamePage(Page.window);
} catch (IOException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
}

View file

@ -90,7 +90,7 @@ public class GamePage extends Page {
public void showLetters(){
/* Place letters in a available random spawning point */
for(int i = 0; i < gameController.getLetters().size(); i++){
for(int i = 0; i < gameController.getLetters().size()-1; i++){
new TTLetter(
occupyRandomPosition(),
gameController.getLetters().get(i),

View file

@ -9,6 +9,7 @@ import javax.swing.*;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;
import java.util.*;
/**
* Job: FetchHighscore
@ -46,14 +47,11 @@ public class FetchHighscore extends SwingWorker<Void,Void> {
if (line.startsWith("MESSAGE")) {
Message msg = Message.toMessage(line);
//MODIFICARE QUI. IL BUG SI VERIFICA ANCHE CON 2 CLIENT, INVIANDO IL GIOCO A UN CLIENT CHE STA SULLA PAGNA DI HIGHSCORES
if (msg.message.equals("HIGHSCORES") && msg.data != null) {
for(int i = 0; i< msg.data.size()-1; i++){
String[] splitted = msg.data.get(i).split(":");
globalRanks.addElement(new Pair<>(splitted[0],new Integer(splitted[1])));
}
buffer.clear();
return null;

View file

@ -1,5 +1,6 @@
package com.texttwist.client.tasks;
import com.texttwist.client.App;
import com.texttwist.client.pages.GamePage;
import com.texttwist.client.ui.TTDialog;
@ -19,11 +20,12 @@ public class StartGame extends SwingWorker<Void,Void> {
public StartGame(DefaultListModel<String> letters, GamePage game){
this.letters = letters;
this.gamePage = game;
}
@Override
public Void doInBackground(){
App.game.isStarted=true;
//Mostra pannello di conferma che le lettere sono tutte arrivate
new TTDialog("success", "GamePage is ready. Press OK to start!",
new Callable() {

View file

@ -39,7 +39,6 @@ public class WaitForPlayers extends SwingWorker<DefaultListModel<String>,Default
try {
buffer = ByteBuffer.allocate(1024);
String line1 = new String(buffer.array(), buffer.position(), buffer.remaining());
System.out.println("Questo è il buffer prima: " + line1);
TTDialog loading = new TTDialog("alert", "Waiting for users joins",null,null);
buffer.flip();

View file

@ -69,7 +69,7 @@ public class WaitForScore extends SwingWorker<Void,Void> {
e.printStackTrace();
}
App.game.multicastSocket.close();
App.game.isStarted=false;
try {
this.callback.execute();
} catch (Exception e) {

View file

@ -13,7 +13,7 @@ public class TTLetter extends TTLabel{
super(position,
new Dimension(50,50),
caption,
new Font(Palette.inputBox_font.getFontName(), Font.ITALIC, 40),
new Font(Palette.inputBox_font.getFontName(), Font.ITALIC, 20),
Palette.fontColor,
parent);
parent.add(this);

View file

@ -23,7 +23,7 @@ public class Config {
public static String NotificationServerName ="notification";
public static int timeoutGame = 5;
public static int timeoutGame = 10;
public static String getNotificationServerURI(){

View file

@ -9,7 +9,7 @@ public class Palette {
public static Color root_backgroundColor = new Color(145,181,88);
public static Color inputBox_backgroundColor = new Color(250,250,250); //"#FAFAFA;
public static Color button_backgroundColor = new Color(105,130,63); //#69823f
public static Font inputBox_font = new Font("DK Trained Monkey", Font.BOLD, 26);
public static Font inputBox_font = new Font("Arial Black", Font.BOLD, 20);
public static Font password_font = new Font("Arial Black", Font.BOLD, 26);
public static Color fontColor = new Color(95,0,0);
public static Color registerLblBtn_color = new Color(95,0,0);
@ -20,7 +20,7 @@ public class Palette {
public static Color dialog_success = new Color(53,66,32);
public static Font button_font = new Font("DK Trained Monkey", Font.BOLD, 30);
public static Font button_font = new Font("DK Trained Monkey", Font.BOLD, 25);
public Palette() {
//TODO fetchare dal server questi dati

View file

@ -4,13 +4,11 @@ import interfaces.INotificationClient;
import interfaces.INotificationServer;
import javax.swing.*;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import static com.texttwist.client.App.session;
/**
* Created by loke on 19/06/2017.

View file

@ -140,7 +140,6 @@ public class ThreadProxy implements Callable<Boolean> {
} catch (IOException e) {
e.printStackTrace();
}
return false;
} catch (InterruptedException e) {
e.printStackTrace();

View file

@ -1,8 +1,12 @@
package com.texttwist.server.tasks;
import com.texttwist.server.components.AccountsManager;
import models.User;
import javax.swing.*;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.List;
import java.util.concurrent.Callable;
/**
@ -15,6 +19,13 @@ public class ComputeHighscores implements Callable<DefaultListModel<String>> {
@Override
public DefaultListModel<String> call() throws Exception {
DefaultListModel<String> l = new DefaultListModel<>();
AccountsManager.getInstance().users.sort(new Comparator<User>() {
@Override
public int compare(User o1, User o2) {
return o2.score.compareTo(o1.score);
}
});
for(int i =0; i< AccountsManager.getInstance().users.size(); i++){
l.addElement(AccountsManager.getInstance().users.get(i).userName+":"+AccountsManager.getInstance().users.get(i).score);
}

View file

@ -23,6 +23,7 @@ public class ComputeScore implements Callable<Integer> {
public DefaultListModel<String> words;
public final String sender;
public Match match;
public DefaultListModel<String> wordsValid;
public ComputeScore(String sender, DefaultListModel<String> words, Match match){
this.words = words;
@ -32,21 +33,20 @@ public class ComputeScore implements Callable<Integer> {
@Override
public Integer call() throws Exception {
System.out.println("COMPUTE SCORE STARTED");
System.out.println(match);
System.out.println("COMPUTE SCORE STAsssssRTED");
System.out.print("CALCOLO LO SCORE PER " + match.matchCreator);
wordsValid = new DefaultListModel<>();
Integer score = 0;
for (int i = 0; i < words.size(); i++) {
if (isValid(words.get(i), match.letters)) {
score += words.get(i).length();
System.out.println(words.get(i) + " is valid!" + " : " + score );
wordsValid.addElement(words.get(i));
}
}
System.out.println("SOODDISDIS");
System.out.println(sender +" totalize SCORE = " + score);
match.setScore(sender, score);
System.out.println(score);
User u = AccountsManager.getInstance().findUser(sender);
u.addScore(score);
@ -55,12 +55,8 @@ public class ComputeScore implements Callable<Integer> {
match.matchTimeout = false;
System.out.println("MATCH TIMEOUT CANCELLATO");
//channel.close();
//Start receive words: tempo masimo 5 minuti per completare l'invio delle lettere.
match.setUndefinedScorePlayersToZero();
System.out.println("SEND BROADCAST");
match.sendScores();
}
@ -82,7 +78,7 @@ public class ComputeScore implements Callable<Integer> {
return true;
}
if(!isCharacterPresent){
if(!isCharacterPresent || wordsValid.indexOf(word)!=-1){
return false;
}
}

View file

@ -8429,3 +8429,204 @@ LOGGER (Client1): Mon Jul 10 23:01:37 CEST 2017 - Invoked invitation with userna
LOGGER (Client1): Mon Jul 10 23:01:37 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Mon Jul 10 23:01:37 CEST 2017 - Invoked invitation with username=b|[a, c]
LOGGER (Client1): Mon Jul 10 23:01:37 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:15:26 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:15:26 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:15:26 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:15:26 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:19:45 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:20:04 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:20:14 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:21:06 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:21:27 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:22:10 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:22:16 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:23:15 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:23:16 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:23:23 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:23:23 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:23:23 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:23:23 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:23:54 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:28:56 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:28:58 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:29:04 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:29:04 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:29:04 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:29:04 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:30:51 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:30:53 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:31:00 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:31:00 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:31:00 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:31:00 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:33:37 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:33:39 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:33:44 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:33:44 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:33:44 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:33:44 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:37:19 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:37:23 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:37:27 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:37:27 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:37:27 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:37:27 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:38:09 CEST 2017 - Invoked invitation with username=a|[b]
LOGGER (Client1): Tue Jul 11 00:38:09 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:38:09 CEST 2017 - Invoked invitation with username=a|[b]
LOGGER (Client1): Tue Jul 11 00:38:09 CEST 2017 - a ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:38:40 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:38:40 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:38:40 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:38:40 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:47:45 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:47:46 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:47:48 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:48:00 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:48:00 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:48:00 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:48:00 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:48:00 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:48:00 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:48:05 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:48:05 CEST 2017 - c ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:48:05 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:48:05 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:48:05 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:48:05 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:49:02 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:49:02 CEST 2017 - c ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:49:02 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:49:02 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:49:02 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:49:02 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:49:37 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:49:39 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:49:40 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:49:49 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:49:49 CEST 2017 - c ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:49:49 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:49:49 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:49:49 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:49:49 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:49:55 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:49:55 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:49:55 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:49:55 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:49:55 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:49:55 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:50:38 CEST 2017 - Invoked invitation with username=b|[]
LOGGER (Client1): Tue Jul 11 00:50:38 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:50:38 CEST 2017 - Invoked invitation with username=b|[]
LOGGER (Client1): Tue Jul 11 00:50:38 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:50:38 CEST 2017 - Invoked invitation with username=b|[]
LOGGER (Client1): Tue Jul 11 00:50:38 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:50:39 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:50:39 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:50:39 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:50:39 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:50:39 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:50:39 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:50:55 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:50:55 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:50:55 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:50:55 CEST 2017 - a ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:50:55 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:50:55 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:51:10 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:51:10 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:51:10 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:51:10 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:51:10 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:51:10 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:51:56 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:52:00 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:52:02 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 00:52:12 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:52:12 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:52:12 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:52:12 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:52:12 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 00:52:12 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:52:26 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:52:26 CEST 2017 - c ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:52:26 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:52:26 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:52:26 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 00:52:26 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:52:42 CEST 2017 - Invoked invitation with username=b|[c]
LOGGER (Client1): Tue Jul 11 00:52:42 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:52:42 CEST 2017 - Invoked invitation with username=b|[c]
LOGGER (Client1): Tue Jul 11 00:52:42 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:52:42 CEST 2017 - Invoked invitation with username=b|[c]
LOGGER (Client1): Tue Jul 11 00:52:42 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:52:48 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:52:48 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:52:48 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:52:48 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:52:48 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:52:48 CEST 2017 - a ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:53:25 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:53:25 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:53:25 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:53:25 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:53:25 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:53:25 CEST 2017 - a ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:53:30 CEST 2017 - Invoked invitation with username=b|[c]
LOGGER (Client1): Tue Jul 11 00:53:30 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:53:30 CEST 2017 - Invoked invitation with username=b|[c]
LOGGER (Client1): Tue Jul 11 00:53:30 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:53:30 CEST 2017 - Invoked invitation with username=b|[c]
LOGGER (Client1): Tue Jul 11 00:53:30 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 00:53:54 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:53:54 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:53:54 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:53:54 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 00:53:54 CEST 2017 - Invoked invitation with username=a|[c]
LOGGER (Client1): Tue Jul 11 00:53:54 CEST 2017 - a ti ha sfidato!
LOGGER (Client1): Tue Jul 11 01:20:28 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 01:20:30 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 01:20:36 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 01:20:36 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 01:20:36 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 01:20:36 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 01:20:56 CEST 2017 - Invoked invitation with username=a|[b]
LOGGER (Client1): Tue Jul 11 01:20:56 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 01:20:56 CEST 2017 - Invoked invitation with username=a|[b]
LOGGER (Client1): Tue Jul 11 01:20:56 CEST 2017 - a ti ha sfidato!
LOGGER (Client1): Tue Jul 11 01:22:20 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 01:22:21 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 01:22:28 CEST 2017 - Client starting ...
LOGGER (Client1): Tue Jul 11 01:22:40 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 01:22:40 CEST 2017 - b ti ha sfidato!
LOGGER (Client1): Tue Jul 11 01:22:40 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 01:22:40 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 01:22:40 CEST 2017 - Invoked invitation with username=b|[a]
LOGGER (Client1): Tue Jul 11 01:22:40 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 01:23:00 CEST 2017 - Invoked invitation with username=c|[a, b]
LOGGER (Client1): Tue Jul 11 01:23:00 CEST 2017 - c ti ha sfidato!
LOGGER (Client1): Tue Jul 11 01:23:00 CEST 2017 - Invoked invitation with username=c|[a, b]
LOGGER (Client1): Tue Jul 11 01:23:00 CEST 2017 - c ti ha sfidato!
LOGGER (Client1): Tue Jul 11 01:23:00 CEST 2017 - Invoked invitation with username=c|[a, b]
LOGGER (Client1): Tue Jul 11 01:23:00 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 01:23:44 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 01:23:44 CEST 2017 - c ti ha sfidato!
LOGGER (Client1): Tue Jul 11 01:23:44 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 01:23:44 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 01:23:44 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 01:23:44 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 01:24:02 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 01:24:02 CEST 2017 - c ti ha sfidato!
LOGGER (Client1): Tue Jul 11 01:24:02 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 01:24:02 CEST 2017 - L'utente è sloggato
LOGGER (Client1): Tue Jul 11 01:24:02 CEST 2017 - Invoked invitation with username=c|[a]
LOGGER (Client1): Tue Jul 11 01:24:02 CEST 2017 - L'utente è sloggato

View file

@ -9610,3 +9610,132 @@ LOGGER (Server): Mon Jul 10 23:01:29 CEST 2017 - Invoked login with username=b A
LOGGER (Server): Mon Jul 10 23:01:29 CEST 2017 - Login successfull
LOGGER (Server): Mon Jul 10 23:01:33 CEST 2017 - Invoked login with username=c AND password=c
LOGGER (Server): Mon Jul 10 23:01:33 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:19:41 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:19:41 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:19:41 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:19:41 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:19:47 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:19:47 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:20:10 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:20:10 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:20:10 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:20:10 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:21:09 CEST 2017 - Invoked login with username= AND password=
LOGGER (Server): Tue Jul 11 00:21:09 CEST 2017 - Login unsuccessfull
LOGGER (Server): Tue Jul 11 00:21:14 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:21:14 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:21:33 CEST 2017 - Invoked login with username=aa AND password=
LOGGER (Server): Tue Jul 11 00:21:33 CEST 2017 - Login unsuccessfull
LOGGER (Server): Tue Jul 11 00:21:35 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:21:35 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:22:13 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:22:13 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:22:55 CEST 2017 - Invoked logout with username=b AND token=irpkavdo8uqhghjcu1kaseaita
LOGGER (Server): Tue Jul 11 00:22:55 CEST 2017 - Logout successfull
LOGGER (Server): Tue Jul 11 00:22:55 CEST 2017 - Logout successfull (but something gone wrong)
LOGGER (Server): Tue Jul 11 00:22:56 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:22:56 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:22:57 CEST 2017 - Invoked logout with username=a AND token=nuougfg3p4nv9d07la66i38v8m
LOGGER (Server): Tue Jul 11 00:22:57 CEST 2017 - Logout successfull
LOGGER (Server): Tue Jul 11 00:22:57 CEST 2017 - Logout successfull (but something gone wrong)
LOGGER (Server): Tue Jul 11 00:22:58 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:22:58 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:23:13 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:23:13 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:23:13 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:23:13 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:23:18 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:23:18 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:23:20 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:23:20 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:23:52 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:23:53 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:23:53 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:23:53 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:23:57 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:23:57 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:28:52 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:28:52 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:28:52 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:28:52 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:29:00 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:29:00 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:29:02 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:29:02 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:30:50 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:30:50 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:30:50 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:30:50 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:30:54 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:30:54 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:30:57 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:30:57 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:33:33 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:33:33 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:33:33 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:33:33 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:33:40 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:33:40 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:33:42 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:33:42 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:37:14 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:37:15 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:37:15 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:37:15 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:37:21 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:37:21 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:37:24 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:37:24 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:47:43 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:47:43 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:47:43 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:47:43 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:47:49 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:47:49 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:47:52 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:47:52 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:47:55 CEST 2017 - Invoked login with username=c AND password=c
LOGGER (Server): Tue Jul 11 00:47:55 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:49:36 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:49:36 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:49:36 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:49:36 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:49:41 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:49:41 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:49:44 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:49:44 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:49:47 CEST 2017 - Invoked login with username=c AND password=c
LOGGER (Server): Tue Jul 11 00:49:47 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:50:33 CEST 2017 - Invoked logout with username=a AND token=vbqsba0bupve4h89bau5nrplpm
LOGGER (Server): Tue Jul 11 00:50:33 CEST 2017 - Logout successfull
LOGGER (Server): Tue Jul 11 00:50:33 CEST 2017 - Logout successfull (but something gone wrong)
LOGGER (Server): Tue Jul 11 00:50:36 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:50:36 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:51:54 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 00:51:54 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 00:51:54 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 00:51:54 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 00:52:03 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 00:52:03 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:52:05 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 00:52:05 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 00:52:07 CEST 2017 - Invoked login with username=c AND password=c
LOGGER (Server): Tue Jul 11 00:52:07 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 01:20:27 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 01:20:27 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 01:20:27 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 01:20:27 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 01:20:31 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 01:20:31 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 01:20:34 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 01:20:34 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 01:22:18 CEST 2017 - Server starting ...
LOGGER (Server): Tue Jul 11 01:22:18 CEST 2017 - Auth Service running at 9999 port...
LOGGER (Server): Tue Jul 11 01:22:18 CEST 2017 - GamePage Service is running at 10000 port...
LOGGER (Server): Tue Jul 11 01:22:18 CEST 2017 - Server started
LOGGER (Server): Tue Jul 11 01:22:22 CEST 2017 - Invoked login with username=a AND password=a
LOGGER (Server): Tue Jul 11 01:22:22 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 01:22:25 CEST 2017 - Invoked login with username=b AND password=b
LOGGER (Server): Tue Jul 11 01:22:25 CEST 2017 - Login successfull
LOGGER (Server): Tue Jul 11 01:22:30 CEST 2017 - Invoked login with username=c AND password=c
LOGGER (Server): Tue Jul 11 01:22:30 CEST 2017 - Login successfull