Git Product home page Git Product logo

hase's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hase's Issues

Client-Side IRC server choice?

Wow, works great now! Except chat. Freenode now requires SASL login from most countries, which is an unnecessary barrier.

While it does look easy to host one's own Hase server (documented in server.md (thanks)) I wonder if perhaps client/user could specify an alternate IRC server to chat in?

(aside) Did you upgrade the music? The main theme sounds punchier to me somehow. Cheers!

Clusters don't have timeout

In Hase 1.6.5, the clusters released by the cluster bomb have no timeout.

If you play in a match with the “infinite” border, this can effectively delay a turn for a very long time if the clusters are floating in space for a long time.

Thus, clusters should have a timeout just like everything else.

segfault with fresh 1.5 build, entering online game (local game works fine)

``Using server ziz.gp2x.de/hase/server17 with Version 17
Thread 1 "hase" received signal SIGSEGV, Segmentation fault.
0x0000555555563eca in start_lobby_game (font=0x55555588db40, resize=0x5555555579a5 , game=0x0,
spectate=0) at lobbyGame.c:1331
1331 after_start = (game->status != 0);
(gdb) bt
#0 0x0000555555563eca in start_lobby_game (font=0x55555588db40, resize=0x5555555579a5 , game=0x0,
spectate=0) at lobbyGame.c:1331
#1 0x000055555555e5c0 in ll_calc (steps=10) at lobbyList.c:296
#2 0x0000555555587f8a in spLoop ()
#3 0x000055555555f052 in start_lobby (font=0x55555588db40, resize=0x5555555579a5 , start_chat=1)
at lobbyList.c:541
#4 0x00005555555587d6 in main (argc=1, argv=0x7fffffffe078) at lobby.c:285

Crash when resizing window

Here's the output from valgrind:

==1518== Invalid read of size 4
==1518==    at 0x54D3CE0: SDL_UnlockSurface (SDL_surface.c:767)
==1518==    by 0x5ADD14D: spSelectRenderTarget (sparrowPrimitives.c:320)
==1518==    by 0x5A59090: spHandleEvent (sparrowCore.c:920)
==1518==    by 0x5A59090: spLoop (sparrowCore.c:1182)
==1518==    by 0x40EA5D: modal_window (window.c:555)
==1518==    by 0x404301: main (lobby.c:269)
==1518==  Address 0xc671124 is 68 bytes inside a block of size 88 free'd
==1518==    at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1518==    by 0x54D690B: SDL_SetVideoMode (SDL_video.c:664)
==1518==    by 0x5A542EB: spResizeWindow (sparrowCore.c:264)
==1518==    by 0x5A59090: spHandleEvent (sparrowCore.c:920)
==1518==    by 0x5A59090: spLoop (sparrowCore.c:1182)
==1518==    by 0x40EA5D: modal_window (window.c:555)
==1518==    by 0x404301: main (lobby.c:269)
==1518== 
==1518== Invalid read of size 8
==1518==    at 0x5ADD14E: spSelectRenderTarget (sparrowPrimitives.c:322)
==1518==    by 0x404600: resize (lobby.c:25)
==1518==    by 0x5A590DF: spLoop (sparrowCore.c:1184)
==1518==    by 0x40EA5D: modal_window (window.c:555)
==1518==    by 0x404301: main (lobby.c:269)
==1518==  Address 0xc6710e8 is 8 bytes inside a block of size 88 free'd
==1518==    at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1518==    by 0x54D690B: SDL_SetVideoMode (SDL_video.c:664)
==1518==    by 0x5A542EB: spResizeWindow (sparrowCore.c:264)
==1518==    by 0x5A59090: spHandleEvent (sparrowCore.c:920)
==1518==    by 0x5A59090: spLoop (sparrowCore.c:1182)
==1518==    by 0x40EA5D: modal_window (window.c:555)
==1518==    by 0x404301: main (lobby.c:269)
==1518== 
==1518== Invalid read of size 2
==1518==    at 0x5ADD156: spSelectRenderTarget (sparrowPrimitives.c:322)
==1518==    by 0x404600: resize (lobby.c:25)
==1518==    by 0x5A590DF: spLoop (sparrowCore.c:1184)
==1518==    by 0x40EA5D: modal_window (window.c:555)
==1518==    by 0x404301: main (lobby.c:269)
==1518==  Address 0xc6710f8 is 24 bytes inside a block of size 88 free'd
==1518==    at 0x4C2B200: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1518==    by 0x54D690B: SDL_SetVideoMode (SDL_video.c:664)
==1518==    by 0x5A542EB: spResizeWindow (sparrowCore.c:264)
==1518==    by 0x5A59090: spHandleEvent (sparrowCore.c:920)
==1518==    by 0x5A59090: spLoop (sparrowCore.c:1182)
==1518==    by 0x40EA5D: modal_window (window.c:555)
==1518==    by 0x404301: main (lobby.c:269)

Can't connect to chat on port 6666, 6667 works.

Found the issue i was having with hase and chat. Neither hase nor weechat can connect to irc.freenode.net 6666. But if I go into client.c around line 448 and comment-out the block where it gets the port from ziz's server (irc_port = atoi(mom->content); ) it works fine with the hardcoded default port 6667.

Great game. Would package for debian/ubuntu/mint if allowed.

Droid4- On the road to 60fps :)

hase-20200719fpsb

Still got problems with hildon-desktop not going fullscreen for sdl. Also with sdl-gles we can get gpu scaling and hit 60fps easy.

Cheers Ziz!

Hase eats away my CPU

I am using a gamer laptop on Parabola (Arch Linux derivate) yet the game it somewhat slow at times (low FPS). While the game runs, it makes one of the CPU cores go 100%.

Specs:

  • Processor: Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
  • Graphics: On chip
  • RAM: 8 GiB

This just doesn't seem right, especially for a simple 2D game. I am able to run much more demanding games just fine.
Seems like Hase is pretty wasteful on CPU time.

It's not so bad that Hase is unplayable, but the fact that it eats my CPU feels wrong.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.