https://linen.dev logo
Join Discord
Powered by
# learning
  • u

    64kramsystem

    07/28/2021, 8:27 PM
    @User does this error ring familiar?:
    Copy code
    $ cargo update
        Updating git repository `https://github.com/not-fl3/macroquad.git`
        Updating crates.io index
        Updating git repository `https://github.com/edwin0cheng/iokit-sys.git`
        Updating git repository `https://github.com/not-fl3/quad-snd.git`
    error: failed to get `quad-snd` as a dependency of package `macroquad v0.3.7 (https://github.com/not-fl3/macroquad.git?rev=cfd7099#cfd7099f)`
        ... which is depended on by `macroquad-platformer v0.1.1 (https://github.com/not-fl3/macroquad.git?rev=cfd7099#cfd7099f)`
        ... which is depended on by `fishgame v0.1.0 (/repo/fish2-dev)`
    
    Caused by:
      failed to load source for dependency `quad-snd`
    
    Caused by:
      Unable to update https://github.com/not-fl3/quad-snd.git?rev=8892248
    
    Caused by:
      revspec '8892248' not found; class=Reference (4); code=NotFound (-3)
  • u

    64kramsystem

    07/28/2021, 8:29 PM
    It's very odd. I get on one machine, but not another. When I check the
    quad-snd
    repository, the commit 8892248 is not part of it (see https://github.com/not-fl3/quad-snd/commit/8892248).
  • u

    64kramsystem

    07/28/2021, 8:33 PM
    OK, I think the Cargo configuration is inconsistent. If you do:
  • u

    64kramsystem

    07/28/2021, 8:34 PM
    Copy code
    sh
    $ git clone git https://github.com/not-fl3/quad-snd.git
    $ git checkout $ git co 8892248
    error: pathspec '8892248' did not match any file(s) known to git
  • u

    64kramsystem

    07/28/2021, 8:38 PM
    you get an error. Revision 8892248 is what's referenced in the MQ version pointed by fish2-dev. See https://github.com/fishfight/fish2/blob/5bd44e1167869cf89e59f0edb36cbf2f56a813b3/Cargo.toml#L22, then https://github.com/not-fl3/macroquad/blob/cfd7099f30d5de5384313a66038f23ccf1392930/Cargo.toml#L37.
  • u

    64kramsystem

    07/28/2021, 8:39 PM
    I guess there has been a force push on the quad-snd repo?
  • f

    Fedor

    07/28/2021, 9:01 PM
    oh, sorry for that, fixed
  • n

    naomijubs

    08/21/2021, 3:30 AM
    How do I pickup weapons?
  • n

    naomijubs

    08/21/2021, 3:54 AM
    Do we have an issue/bug registered for this bug?
  • n

    naomijubs

    08/21/2021, 3:56 AM
    The gun is in the middle of the block after I thrown it. Also, I seems I introduced another bug that
    F
    and
    L
    are making the same player attack
  • n

    naomijubs

    08/21/2021, 3:57 AM
    @User
  • e

    erlend

    08/21/2021, 6:59 AM
    Thanks. Having it noted here will suffice. Fedor is doing heavy refactoring in a new branch, so quirks like these may or may not be carried over into that new version.
  • f

    Fedor

    08/21/2021, 3:40 PM
    I believe we had a GH issue for this, but feel free to open a new one
  • e

    erlend

    08/21/2021, 6:06 PM
    We have this, but I’m not sure if it’s the same thing:
  • n

    naomijubs

    08/21/2021, 6:12 PM
    I think it may be related, will add a comment and the picture
  • u

    user

    09/07/2021, 11:39 AM
    Hello, The game loooooks awesome 🤩 but I am trying to figure out how to play with my friends over the internet. Any guide or help appreciated :D
  • e

    erlend

    09/07/2021, 11:43 AM
    @Fedor 👆 typing this up would probably be useful, right?
  • e

    erlend

    09/07/2021, 11:46 AM
    We’re gonna be incorporating some sort of matchmaker server that can bridge 2-4 p2p clients eventually, but it’d be good to document how a match can be started without relying on a matchmaker middleman.
  • f

    Fedor

    09/20/2021, 3:15 AM
    @User Finally there is a guide on how to play online: https://github.com/fishfight/FishFight/blob/main/docs/multiplayer.md
  • p

    PotatoTech

    09/25/2021, 10:00 PM
    quad-gamepad is causing problems for me. The game works fine with a keyboard or generic controller, but responsiveness and precision is extremely poor when using my Dualsense. The game also crashes if I press any of the media keys on my keyboard. Tested on Arch Linux.
  • f

    Fedor

    09/25/2021, 10:02 PM
    Any chance you have a crash log or some more info to track this down?
  • p

    PotatoTech

    09/25/2021, 10:04 PM
    The line causing the crash is
    quad-gamepad-0.2.0-alpha/src/platform/linux.rs:57:24
    . The subtraction seems to be overflowing.
  • p

    PotatoTech

    09/25/2021, 10:07 PM
    I am not sure what causes the Dualsense to perform so poorly.
  • f

    Fedor

    09/25/2021, 10:08 PM
    interesting, thanks! Not really sure how to fix it without Dualsense tho, this substraction is exactly the same with sdl/glfw and evdev should send a code in BTN_MISC..KEY_CNT range 😦
  • p

    PotatoTech

    09/25/2021, 10:13 PM
    I should clarify that the crash and Dualsense performance are two separate issues. The media key crash still happens when I unplug my Dualsense.
  • f

    Fedor

    09/25/2021, 10:13 PM
    oh, media key not on the gamepad?
  • f

    Fedor

    09/25/2021, 10:13 PM
    oh, sorry, my bad, I see
  • f

    Fedor

    09/25/2021, 10:14 PM
    So the crash in quad-gamepad happens with gamepad disconnected, just by pushing a key on the keyboard?
  • f

    Fedor

    09/25/2021, 10:14 PM
    IIRC FishFight prints names of connected gamepads on start, do it print anything with your keyboard?
  • p

    PotatoTech

    09/25/2021, 10:15 PM
    Copy code
    Found gamepad "/dev/input/event4": "USB Keyboard Consumer Control"
    input_id: InputId { bustype: 3, vendor: 3141, product: 30211, version: 273 }
12345...8Latest