grosse bombe gross explosion
This commit is contained in:
parent
86a7194ec5
commit
47527f5b0b
1 changed files with 47 additions and 72 deletions
|
|
@ -96,62 +96,62 @@ public class Program {
|
||||||
//// }
|
//// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
// timoutheou
|
// // timoutheou
|
||||||
while (true) {
|
// while (true) {
|
||||||
StatisticsResponse statistics = Basics.getStatistics();
|
// StatisticsResponse statistics = Basics.getStatistics();
|
||||||
logger.debug(statistics.toString());
|
// logger.debug(statistics.toString());
|
||||||
for (var player : statistics.players) {
|
// for (var player : statistics.players) {
|
||||||
|
//
|
||||||
if (!player.name.equals(login) && (player.name.contains("battefort") || player.name.contains("brainkel"))) {
|
// if (!player.name.equals(login) && (player.name.contains("battefort") || player.name.contains("brainkel") || player.name.contains("gilbert"))) {
|
||||||
logger.debug("Spamming " + player.name);
|
// logger.debug("Spamming " + player.name);
|
||||||
// citizen1.sendMessage(player.name, "Nicole");
|
//// citizen1.sendMessage(player.name, "Nicole");
|
||||||
// citizen2.sendMessage(player.name, "Ouvre");
|
//// citizen2.sendMessage(player.name, "Ouvre");
|
||||||
citizen1.sendMessage(player.name, "MAIS MOI JE VEUX FAIRE L'AMOUUUUR");
|
// citizen1.sendMessage(player.name, "MAIS MOI JE VEUX FAIRE L'AMOUUUUR");
|
||||||
citizen2.fetchMessages();
|
// citizen2.fetchMessages();
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
// citizen1.sendMessage(player.name, "Nicole");
|
//// citizen1.sendMessage(player.name, "Nicole");
|
||||||
// citizen2.sendMessage(player.name,"Ouvre");
|
//// citizen2.sendMessage(player.name,"Ouvre");
|
||||||
// citizen1.sendMessage(player.name, "Nicole");
|
//// citizen1.sendMessage(player.name, "Nicole");
|
||||||
// citizen2.sendMessage(player.name, "MAIS MOI JE VEUX FAIRE L'AMOUUUUR");
|
//// citizen2.sendMessage(player.name, "MAIS MOI JE VEUX FAIRE L'AMOUUUUR");
|
||||||
// citizen1.sendMessage(player.name, "<3");
|
//// citizen1.sendMessage(player.name, "<3");
|
||||||
// citizen2.fetchMessages();
|
//// citizen2.fetchMessages();
|
||||||
|
//
|
||||||
// Country road
|
// // Country road
|
||||||
|
//// citizen1.move(Direction.RIGHT);
|
||||||
|
//// citizen2.move(Direction.LEFT);
|
||||||
|
//// citizen1.build(Building.ROAD);
|
||||||
|
//// citizen2.build(Building.ROAD);
|
||||||
|
//// citizen1.move(Direction.UP);
|
||||||
|
//// citizen2.move(Direction.DOWN);
|
||||||
|
//// citizen1.build(Building.ROAD);
|
||||||
|
//// citizen2.build(Building.ROAD);
|
||||||
|
//
|
||||||
|
// // Gather + country road
|
||||||
// citizen1.move(Direction.RIGHT);
|
// citizen1.move(Direction.RIGHT);
|
||||||
// citizen2.move(Direction.LEFT);
|
// citizen2.move(Direction.LEFT);
|
||||||
// citizen1.build(Building.ROAD);
|
// citizen1.gather();
|
||||||
// citizen2.build(Building.ROAD);
|
// citizen2.gather();
|
||||||
|
//// citizen1.build(Building.ROAD);
|
||||||
|
//// citizen2.build(Building.ROAD);
|
||||||
// citizen1.move(Direction.UP);
|
// citizen1.move(Direction.UP);
|
||||||
// citizen2.move(Direction.DOWN);
|
// citizen2.move(Direction.DOWN);
|
||||||
// citizen1.build(Building.ROAD);
|
// citizen1.gather();
|
||||||
// citizen2.build(Building.ROAD);
|
// citizen2.gather();
|
||||||
|
//// citizen1.build(Building.ROAD);
|
||||||
// Gather + country road
|
//// citizen2.build(Building.ROAD);
|
||||||
citizen1.move(Direction.RIGHT);
|
// }
|
||||||
citizen2.move(Direction.LEFT);
|
|
||||||
citizen1.gather();
|
|
||||||
citizen2.gather();
|
|
||||||
// citizen1.build(Building.ROAD);
|
|
||||||
// citizen2.build(Building.ROAD);
|
|
||||||
citizen1.move(Direction.UP);
|
|
||||||
citizen2.move(Direction.DOWN);
|
|
||||||
citizen1.gather();
|
|
||||||
citizen2.gather();
|
|
||||||
// citizen1.build(Building.ROAD);
|
|
||||||
// citizen2.build(Building.ROAD);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Negotiator
|
// Negotiator
|
||||||
// citizen2.sendMessage("Hector", "Nique ta mère Hector").waitFinished();
|
// citizen2.sendMessage("Hector", "Nique ta mère Hector").waitFinished();
|
||||||
|
|
||||||
// Kaboom & epic fail
|
// Kaboom & epic fail
|
||||||
// citizen1.spawn("bomber-bot").waitFinished();
|
citizen1.spawn("bomber-bot").waitFinished();
|
||||||
// List<Unit> bomberos = BomberBot.getBomberBotUnits();
|
List<Unit> bomberos = BomberBot.getBomberBotUnits();
|
||||||
// BomberBot bomberau = (BomberBot) bomberos.getFirst();
|
BomberBot bomberau = (BomberBot) bomberos.getFirst();
|
||||||
//
|
|
||||||
//// bomberau.upgrade();
|
// bomberau.upgrade();
|
||||||
// bomberau.fire();
|
bomberau.fire();
|
||||||
|
|
||||||
// =======================================================
|
// =======================================================
|
||||||
// Stormtrooper
|
// Stormtrooper
|
||||||
|
|
@ -196,30 +196,5 @@ public class Program {
|
||||||
// logger.info("Done");
|
// logger.info("Done");
|
||||||
}
|
}
|
||||||
|
|
||||||
// ### Get statistics
|
|
||||||
//GET http://localhost:1664/statistics
|
|
||||||
//
|
|
||||||
//### Get status
|
|
||||||
//GET http://localhost:1664/status
|
|
||||||
//
|
|
||||||
//### Get report
|
|
||||||
//GET http://localhost:1664/report/148997e9b
|
|
||||||
//
|
|
||||||
//### Login with user login_l
|
|
||||||
//POST http://localhost:1664/init/login_l
|
|
||||||
//
|
|
||||||
//> {%
|
|
||||||
//client.global.set("baseId", response.body.baseId);
|
|
||||||
//client.global.set("probeId", response.body.probeId);
|
|
||||||
//client.global.set("login", response.body.login);
|
|
||||||
//%}
|
|
||||||
//
|
|
||||||
//### Post noop commande
|
|
||||||
//POST http://localhost:1664/command/{{login}}/{{probeId}}/noop
|
|
||||||
//
|
|
||||||
//###
|
|
||||||
//POST http://localhost:1664/command/dumeig_a/8d87eea10/inspect
|
|
||||||
//
|
|
||||||
//###
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue