Skip to content

Wiki example crashes with multiple clients #25

@shviller

Description

@shviller

This example https://github.com/josefnpat/LoverNet/wiki/Example%3A-Sending-Latest-Data-To-Client crashes with Love 11 when I launch multiple clients:

Error: .\lovernet.lua:240: Error during service
stack traceback:
        [string "boot.lua"]:637: in function <[string "boot.lua"]:633>
        [C]: in function 'service'
        .\lovernet.lua:240: in function 'update'
        main.lua:13: in function 'update'
        [string "boot.lua"]:509: in function <[string "boot.lua"]:493>
        [C]: in function 'xpcall'

In my case, it crashes with 7 clients. If I duplicate the lovernet:update(dt) line in the server, it works "better". As in, it works with 7 clients. But if I add more (to the total of 12), it still crashes. Works ok with Love 0.10, even though it's visibly slow with this number of clients.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions