Integrating EQU8

Getting rid of cheaters has never been easier

We have put a lot of effort towards making the integration of equ8 as easy – and dare I say fun – as possible. Actually... fun is probably a stretch, but it is definitely easy 😄 When signing up, you are immediately given access to you own personal Dashboard with example code and the very intuitive “Integrate EQU8 in 90 minutes” wizard.

Let us have a pseudo-look at what the integration process looks like!

Client-side Pseudo Integration

# Pseudo Integration: EQU8 Client-side
def main():
    # Initialize EQU8
    equ8_init()
    while playing:
        update_game()
    # De-initialize EQU8
    equ8_deinit()

def update_game():
    packet = read_network()
    # If packet is designated to EQU8, forward it.
    if packet.is_for_equ8():
        equ8_on_data(packet)
    game_logic(packet)
    # Does EQU8 have anything to send?
    if equ8_want_send():
        send(equ8_get_send())
        

Server-side Pseudo Integration

# Pseudo Integration: EQU8 Server-side
def main():
    # Initialize EQU8
    equ8_init()
    while running:
        clients.append(accept_client())
        update_clients(clients)
    # De-initialize EQU8
    equ8_deinit()

def update_game(clients):
    for c in clients:
        packet = c.read_network()
        # If packet is designated to EQU8, forward it.
        if packet.is_for_equ8():
            equ8_on_data(c.id(), packet)
        game_logic(packet)
        # Does EQU8 have anything to send?
        if equ8_want_send(c.id()):
            c.send(equ8_get_send(c.id()))
    

Need help?

If you are still not sure if EQU8 is for you or not, please don't hesitate to contact us!