2016-06-29

H1Z1 King of the Kill: Art of Camping

Art of Camping

Check my new tactic for the current (new) map

This is the tactic I usually use. It started with me trying to get to top 10 in the most safe way and now I regularly accomplish that. But to win you always need to win duels.
It has three phases:
  1. Parachute Dive down to a safe area and loot
  2. Movement Approach the circles close to the edge to avoid players
  3. Final Win duels to win the game!

Parachute

Go as far out to the edge as possible. You can fly further by strafing, using A and D. It's possible to cover two squares.
There are plenty of safe places but if you start in the middle it can be difficult reaching them

These areas usually empty from players and have plenty of loot. Notice that from F-G 5-6 it's quite difficult to parachute into a safe area!

Movement

Timing

Each circle appear in intervals and the gas move in between. The first circle appears after 5 minutes, then there's a delay of 5 minutes and then shrinks for 5 minutes. After coming circles shrinks during 1 minute.
The first circle have 5 squares in radius and the next four shrinks it's radius with 1 square. Then they are halved.
They are named after their square radius.
  1. The first circle is called "the five" since it's radius is 5 squares.
  2. The next three circles shrinks after 3min
    1. The four
    2. The three
    3. The two
  3. The next circles shrinks after 2min
    1. The one covering one square and shrinks relatively fast!
    2. The half
    3. The quarter
    4. The eighth
    5. ...

Speed

It's really useful to know how fast you travel to measure how long it will take you to reach the circle
  • Barefoot ~2:05/square
  • Shoes ~2:00/square
  • Sneakers ~1:50/square
  • Car
    • Full throtle ~30s/square
    • No throtle ~40s/square
Since the first circle shrinks after 5min and during 5min then you have 10min to run into it, and with shoes you can cover 5 squares during this time.

Healing and Gas Damage

If you're late and need to run through gas, make sure to have health packs. Each pack heals 1hp/s during 1min (60hp in total) and bandages heals 1hp/s during 10s (10 in total).
Gas make 1hp/s damage. This means you can use a health pack and run through the gas for 1min which covers a half square!
During the final the gas becomes stronger and reaches 2-3hp/s.

Approach

When heading towards a circle, try to avoid areas with lots of players and try to move around them and into an area which is in the outskirts.
Outside the roads are safe. Cities and fields are hazardous

Example

Run around the hazardous areas and only if necessary, try to run between those areas and move towards the edge of the map.
Move around the center and continue to the edge

Videos

You can watch some videos I've recorded here Art of Camping Playlist

Final

At the one and onward, there's usually around 10 players left and this is called the final. The gas damage is about 2-3 per second. You need to win duels at this point!
"The one" appear and it could be a good idea to take a chance and camp on the island!


2016-06-21

Logging with Flexible Environment and Jetty

Logging with Flexible Environment and Jetty

Problem

Logging was not available for Google Flexible Environment with Java 8 and Jetty 9. But after reading Jetty documentation all needed was added SLF4J as dependency and use it's Logger.

Solution

Add SL4FJ as dependencies in pom:

    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
      <version>1.7.21</version>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-simple</artifactId>
      <version>1.7.21</version>
    </dependency>

Use org.slf4j.LoggerFactory and org.slf4j.Logger to log:

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
private static Logger logger = LoggerFactory.getLogger(JavaServlet.class);
logger.info("Info logging!");

Deployed

When deployed, the logging is shown in STDERR

2016-06-01

Flexible Environment with Scala

Flexible Environment with Scala

Started a new Maven project with Google's Flexible Environment including Java 8, Scala and Web Servlets 3.1.

Source code

You can find it here:
https://github.com/AIMMOTH/scala-js-compiler/tree/java8-scala-flexible-environment-web-servlet-3.1