Code Monkey home page Code Monkey logo

blobbyvolley2's People

Contributors

danielknobe avatar julianaito avatar mailaender avatar ngc92 avatar roker2 avatar silentflyby avatar thrimbor avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

blobbyvolley2's Issues

UTF8 support

Right now, our rendering code contains a gigantic if cascade to detect the different characters that we support.
Maybe we should put that into an xml file instead, e.g. something like

<Font>
<!-- .... -->
<Character Symbol="¿" Index="56" />
<!-- .... -->
</Font>

and then just read in this file. This would also make adding new characters to the font a bit easier.

Blobby Volley 2 doesn't find opponent for online play

Steps to reproduce:
(Find a second player with own computer) > both open https://blobbyvolley.de/data/bv2browser/index.html > both select "Online" > (both wait on screen "Waiting for opponent")

Expected result: Matchmaking connects both players and they can play
Actual result: Stuck on screen "Waiting for opponent"

Environment: Edge 123.0.2420.65 (Official build) (64-bit), Chrome 123.0.6312.86 (Offizieller Build) (64-Bit)

Online play is impossible right now, because the game cannot connect online players.

Moving to C++14

Can we increase the minimum compiler requirements to having C++14 support, or are we targeting a platform where that is not possible?
Would give us e.g. std::make_unique, to finally get rid of all the explicit new still going on in the code.

RAII

Get rid of the remaining cases of manual resource management.
With #36 , we are getting rid of more native C++ new / delete, but
e.g. we also have all the SDL types that need SDL_Destroy* called on them.

This should make us more confident that there are no resource leaks in blobby.
Note that #36 includes some leak fixes.

critical server crash since Blobby Volley 1.1

Surely occurs after a certain time.
End of log:

Jun 13 21:53:08 DKBlobbyServer blobby-server[746]: Blobby Server Status Report 844h running 
                                                    packet count: 2594407
                                                    accepted connections: 363
                                                    started games: 14
                                                    game steps: 1300655
Jun 13 22:53:08 DKBlobbyServer blobby-server[746]: Blobby Server Status Report 845h running 
                                                    packet count: 2594407
                                                    accepted connections: 363
                                                    started games: 14
                                                    game steps: 1300655
Jun 13 23:53:09 DKBlobbyServer blobby-server[746]: Blobby Server Status Report 846h running 
                                                    packet count: 2594407
                                                    accepted connections: 363
                                                    started games: 14
                                                    game steps: 1300655
Jun 14 00:14:52 DKBlobbyServer blobby-server[746]: Connection incoming (24) from 35.68.178.45:43946, 1 clients connected now
Jun 14 00:14:53 DKBlobbyServer blobby-server[746]: Connection closed (26) from 35.68.178.45:43946, 0 clients connected now
Jun 14 00:53:10 DKBlobbyServer blobby-server[746]: Blobby Server Status Report 847h running 
                                                    packet count: 2594413
                                                    accepted connections: 364
                                                    started games: 14
                                                    game steps: 1300655
Jun 14 01:53:11 DKBlobbyServer blobby-server[746]: Blobby Server Status Report 848h running 
                                                    packet count: 2594413
                                                    accepted connections: 364
                                                    started games: 14
                                                    game steps: 1300655
Jun 14 02:08:20 DKBlobbyServer blobby-server[746]: Connection incoming (24) from 171.63.255.142:56399, 1 clients connected now
Jun 14 02:08:20 DKBlobbyServer blobby-server[746]: Connection closed (26) from 171.63.255.142:56399, 0 clients connected now
Jun 14 02:16:31 DKBlobbyServer blobby-server[746]: Connection incoming (24) from 171.63.255.142:49389, 1 clients connected now
Jun 14 02:16:31 DKBlobbyServer blobby-server[746]: Connection closed (26) from 171.63.255.142:49389, 0 clients connected now
Jun 14 02:16:40 DKBlobbyServer blobby-server[746]: Connection incoming (24) from 171.63.255.142:51393, 1 clients connected now
Jun 14 02:16:40 DKBlobbyServer blobby-server[746]: Player added (71) from 171.63.255.142:51393 (Right Player), 1 players available
Jun 14 02:17:16 DKBlobbyServer systemd[1]: blobbyvolley2_cpp.service: A process of this unit has been killed by the OOM killer.
Jun 14 02:17:16 DKBlobbyServer systemd[1]: blobbyvolley2_cpp.service: Main process exited, code=killed, status=9/KILL
Jun 14 02:17:16 DKBlobbyServer systemd[1]: blobbyvolley2_cpp.service: Failed with result 'oom-kill'.
Jun 14 02:17:16 DKBlobbyServer systemd[1]: blobbyvolley2_cpp.service: Consumed 1d 10h 43min 59.037s CPU time.

Actually no good idea what can be the reason for that.

Fixed-point physics

Switch all physics computations to use fixed-point numbers.
This will enable us to get rid of the inline assembly on x86 systems, and makes physics simulation reliably reproducible across system architectures, which is important for replays.

We probably should not roll our own implementation, but use an existing one such as
https://mikelankamp.github.io/fpm/

Changing to FP match will cause some compatibility problems:
a) replay files will be incompatible due to changed binary representation
b) replaying a replay could give slightly modified results
c) packet sending state updates from server to client will become incompatible
d) simulation on client and server might be slightly different if they use different versions

Out of these, a) could be fixed relatively easily, b) won't be fixed (would require us to keep the old physics code around), c) would require some work but should be doable if both client and server have a conversion layer that reinterprets packets from an incompatible version. Finally, d) should not be significant since we send the full game state regularly, so differences cannot accumulate (unlike in replays)

Enable blobby-server build on windows

Building with CMake on Windows will build only blobby.exe.
=> blobby-server.exe is missing

We should build blobby-server.exe on windows at least using MINGW.

Bot errors

Some bots currently cause lua to emit errors. Examples are:

  • - [string "scripts/Union.lua"]:275: attempt to compare nil with number
  • - [string "scripts/Union.lua"]:275: attempt to compare nil with number
  • - [string "scripts/Union3.lua"]:452: attempt to compare nil with number
  • - [string "scripts/hyp014.lua"]:456: attempt to compare number with nil
  • - [string "scripts/hyp014.lua"]:307: attempt to perform arithmetic on a nil value (global 't2')
  • - [string "scripts/Union3.lua"]:466: attempt to compare nil with number
  • - [string "scripts/Union3.lua"]:114: attempt to index a nil value (local 'best_fun')

Dangling references from exceptions `.what()`

Some of the exception types defined in FileExceptions.h build a std::string and return its .c_str() in their what() function, meaning the returned char pointer points to the memory of a deleted string.

I'm not sure what the best way to fix this is, the entire code there seems a bit overengineered for the needs of blobby.

Crash on play any replay

On linux I get the following error:

loaded rules BV2 Default Rules by Blobby Volley 2 Developers from server_rules.lua
blobby: /home/danielknobe/repos/release/src/state/State.cpp:48: void State::playSound(const string&, float): Assertion `m_App' failed.
Abgebrochen (Speicherabzug geschrieben)

Ability to paste an IP address into direct connect

Currently it's not possible to paste an IP address into the direct connect textbox, so it must be typed manually.

Alternatively there could be a command line option for the client to start in direct connect mode and connect to the given server.
For example: ./blobby --connect <server-ip>

Blobs colors are off on big endian archs

Hi,

While playing on my old 32-bit PowerPC Mac running OpenBSD/macppc, i've found out that blobs colors are off, only on SDL mode (OpenGL is fine). The problem is more complex than swapping red and blue, and that fak thing gets in the mix ;)

I'm running out of ideas after trying many things, mostly because i don't really how SDL works in this regard.

I would be happy to try a potential fix :)

capture_2020-02-03_120312_28531

Get rid of boost dependency for blobby executable

We no longer have many boost dependencies. If we can get this dependency removed at least for the blobby application (not for server or test) it will simplify the compilation for various systems.

Blobby Volley 1.2 wishlist

Getting closer to 1.1 release we can start thinking about what we can do next.
My idea would be to extend blobby volley with features that bring real added value to the player and this as fast as possible.
Blobby Volley 1.1 has many smaller improvements all over the code and makes sure it works on many old platforms with old compilers. But that also slowed us down on the other side. I would suggest that we move away from these restrictions with the start of development of 1.2.

Proposal:

  • Let us switch to C++17 (or even C++20?!)
  • Make a high SDL2 version a requirement (e.g. SDL 2.0.14 which has nice new features)
  • Modern CMake where possible

Let us focus one single main feature:
What do you think of developing a league with rank system?

Any other good ideas or wishes?

User feedback if LAN hosting is not possible

I noticed during testing that if e.g. an active firewall interferes with the LAN server, pressing "Host Game" just appears to be doing nothing to the user. I'm not sure if we can actually figure out if it is the firewall interfering (I guess on Windows the OS would notify the user?), but at least we could give some feedback if the user tried to host a LAN game, but we are unable to connect to it. Possibly with a hint to check firewall settings.

flatpak

This is a friendly request if you want to /and/or/ create/(co-)maintain your application

Best Regards
Damian

Blobby on Android / screen ratio

Hello Daniel,

I've just bought Blobby on Android and found that the screen ratio is incorrect on my phone : everything is stretched. Is there an option to fix that and get back to the same ratio as on a desktop computer ? Getting 4/3 would be great (even with black sides on the screen...).

Thanks in advance,

Ganael.

Missing italian translations

The following translations are missing in lang_it.xml:
" by "
"arrow keys"
"blobby follows finger"
"challenger: "
"games: "
"join game"
"leave game"
"open game"
"points: "
"random"
"rules:"
"rules: "
"speed: "
"stay on server"
"touch input type:"

"show blood" will be changed to "show jelly" in the future to have the translation more suitable for children. What's the right translation for italian?

Crash on MacOs Ventura

After updating to MacOS Ventura 13.1 the game fails to start with an OS message "Failed to start".
After that the Gui freezes and the Mac reboots after some time.

blobby-server crashes

I observed crashes of the blobby-server during endurance test. The server crashes with the following error:
...
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 385h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 386h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:56:10 DKBlobbyServer blobby-server[932]: New incoming connection from 138.37.14.89:51577, 1 clients connected now
Feb 09 13:56:10 DKBlobbyServer blobby-server[932]: Connection 138.37.14.89:51577 closed via 26, 0 clients connected now
Feb 09 13:56:17 DKBlobbyServer blobby-server[932]: New incoming connection from 138.37.14.89:61799, 1 clients connected now
Feb 09 13:56:17 DKBlobbyServer blobby-server[932]: New player "ROFLCOPTER" connected from 138.37.14.89:61799
Feb 09 13:58:20 DKBlobbyServer blobby-server[932]: New incoming connection from 60.122.140.79:32072, 2 clients connected now
Feb 09 13:58:20 DKBlobbyServer blobby-server[932]: Connection 60.122.140.79:32072 closed via 26, 1 clients connected now
Feb 09 13:58:29 DKBlobbyServer blobby-server[932]: New incoming connection from 60.122.140.79:31462, 2 clients connected now
Feb 09 13:58:29 DKBlobbyServer blobby-server[932]: New player "IronFist" connected from 60.122.140.79:31462
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 387h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 388h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 389h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 390h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 391h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 392h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 393h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 394h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 395h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 396h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 397h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 398h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 399h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 400h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 390h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 391h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 392h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 393h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 394h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 395h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 396h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 397h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 398h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 399h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 400h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 378h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 379h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 380h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 381h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 382h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 383h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 384h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 385h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 386h running
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: started games: 16
Feb 08 21:21:59 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:56:10 DKBlobbyServer blobby-server[932]: New incoming connection from 138.37.14.89:51577, 1 clients connected now
Feb 09 13:56:10 DKBlobbyServer blobby-server[932]: Connection 138.37.14.89:51577 closed via 26, 0 clients connected now
Feb 09 13:56:17 DKBlobbyServer blobby-server[932]: New incoming connection from 138.37.14.89:61799, 1 clients connected now
Feb 09 13:56:17 DKBlobbyServer blobby-server[932]: New player "ROFLCOPTER" connected from 138.37.14.89:61799
Feb 09 13:58:20 DKBlobbyServer blobby-server[932]: New incoming connection from 60.122.140.79:32072, 2 clients connected now
Feb 09 13:58:20 DKBlobbyServer blobby-server[932]: Connection 60.122.140.79:32072 closed via 26, 1 clients connected now
Feb 09 13:58:29 DKBlobbyServer blobby-server[932]: New incoming connection from 60.122.140.79:31462, 2 clients connected now
Feb 09 13:58:29 DKBlobbyServer blobby-server[932]: New player "IronFist" connected from 60.122.140.79:31462
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 387h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 388h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 389h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 390h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 391h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 392h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 393h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 394h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 395h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 396h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 397h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 398h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 399h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 400h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 401h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 402h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Blobby Server Status Report 403h running
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: packet count: 227593
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: accepted connections: 261
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: started games: 16
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: game steps: 117191
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: loaded rules BV2 Default Rules by Blobby Volley 2 Developers from default.lua
Feb 09 13:58:43 DKBlobbyServer blobby-server[932]: Created game "IronFist" vs. "ROFLCOPTER", rules:default.lua
Feb 09 14:00:03 DKBlobbyServer blobby-server[932]: Disconnected player ROFLCOPTER
Feb 09 14:00:03 DKBlobbyServer blobby-server[932]: Connection 138.37.14.89:61799 closed via 26, 1 clients connected now
Feb 09 14:00:03 DKBlobbyServer blobby-server[932]: Removed game 60.122.140.79:31462 vs 138.37.14.89:61799 from gamelist
Feb 09 14:00:06 DKBlobbyServer blobby-server[932]: Disconnected player IronFist
Feb 09 14:00:06 DKBlobbyServer blobby-server[932]: Connection 60.122.140.79:31462 closed via 26, 0 clients connected now
Feb 09 14:00:14 DKBlobbyServer blobby-server[932]: New incoming connection from 138.37.14.89:54538, 1 clients connected now
Feb 09 14:00:14 DKBlobbyServer blobby-server[932]: Connection 138.37.14.89:54538 closed via 26, 0 clients connected now
Feb 09 14:00:17 DKBlobbyServer blobby-server[932]: New incoming connection from 60.122.140.79:31692, 1 clients connected now
Feb 09 14:00:17 DKBlobbyServer blobby-server[932]: Connection 60.122.140.79:31692 closed via 26, 0 clients connected now
Feb 09 14:00:21 DKBlobbyServer blobby-server[932]: New incoming connection from 138.37.14.89:64319, 1 clients connected now
Feb 09 14:00:21 DKBlobbyServer blobby-server[932]: New player "ROFLCOPTER" connected from 138.37.14.89:64319
Feb 09 14:00:28 DKBlobbyServer blobby-server[932]: New incoming connection from 60.122.140.79:31248, 2 clients connected now
Feb 09 14:00:28 DKBlobbyServer blobby-server[932]: New player "IronFist" connected from 60.122.140.79:31248
Feb 09 14:00:55 DKBlobbyServer blobby-server[932]: loaded rules BV2 Default Rules by Blobby Volley 2 Developers from default.lua
Feb 09 14:00:55 DKBlobbyServer blobby-server[932]: Created game "IronFist" vs. "ROFLCOPTER", rules:default.lua
Feb 09 14:00:55 DKBlobbyServer blobby-server[932]: blobby-server: /home/bvuser/bv2_cpp_server/src/server/MatchMaker.cpp:218: void MatchMaker::startGame(PlayerID, PlayerID): Assertion `first != mPlayerMap.end()' failed.

HTTPS for blobbyvolley.de

Greetings,

Could you please enable HTTPS for blobbyvolley.de website?
Eg. using Let's encrypt.

Take care, cheers! ^°\_/°^ 🏐

Fullscreen on MAC

There is a bug if you choose fullscreen on a macbook it scales wrong and you are only able to see one half of the game and there is no possibility to change it back - even deleting and reinstalling the game won't change back the settings to window mode

Multiple players can join a single game

in online games, more than one player can join an open game. This should not be the case. It would be better if the other players get the information that the server is full and therefore joining is no longer possible.

Deadlock in ThreadSafeRakServer

When we shutdown the ThreadSafeRakServer (Disconnect method) we wait for the other thread (by observing isMainLoopThreadActive) to finish. Because of the lock it is possible that the thread never stops (Receive call in DedicatedServer class is blocked because Disconnect call holds lock and is checking isMainLoopThreadActive in an infinite loop which never become false. The result is a deadlock.

This behavior can be observed be restarting the lan server multiple times in blobby client.

Please provide Appstream data and desktop launcher

.desktop file is needed to show icon in desktop environment, to make it possible to launch app from GUI. Appstream data is useful for software catalogs like Discover in KDE and GNOME Software.

Please take a look at specs:

I prepared basic desktop activator and appstream data for Flatpak package. https://github.com/TomaszGasior/flathub/tree/de.blobbyvolley.BlobbyVolley2

Physfs setup on Android

Recently, physfs added the following to its documentation regarding Android:

 * \warning On Android, argv0 should be a non-NULL pointer to a
 *          PHYSFS_AndroidInit struct. This struct must hold a valid JNIEnv *
 *          and a JNI jobject of a Context (either the application context or
 *          the current Activity is fine). Both are cast to a void * so we
 *          don't need jni.h included wherever physfs.h is. PhysicsFS
 *          uses these objects to query some system details. PhysicsFS does
 *          not hold a reference to the JNIEnv or Context past the call to
 *          PHYSFS_init(). If you pass a NULL here, PHYSFS_init can still
 *          succeed, but PHYSFS_getBaseDir() and PHYSFS_getPrefDir() will be
 *          incorrect.

We are not doing this, but then we are currently not using PHYSFS_getBaseDir() for Android, so maybe this is not a problem. But we are still passing argv[0], which may not be a nullptr.

Spectator mode for dedicated servers

When hosting my own dedicated server, I would love to have the ability to connect with a client as a spectator to a (running) game on my dedicated server. Is this possible?

Missing french translations

The following translations are missing in lang_fr.xml:
" by "
"challenger: "
"games: "
"join game"
"leave game"
"open game"
"points: "
"random"
"rules:"
"rules: "
"speed: "
"stay on server"

"show blood" will be changed to "show jelly" in the future to have the translation more suitable for children. What's the right translation for french?

Missing error message

If blobby cannot find the config.xml, it currently exits without giving a useful error message.
We throw a FileSystemException, but it's what() seems to give an empty string.

Czech translation for Blobby Volley

Hi,

it is almost seven years when I've translated the VB2 into Czech language, but somehow I don't see it among the localization files, even if I remember I had sent it to original Blobby Volley project (?). Also attached.
lang_cs.zip

XMPP as a platform to connect with friend and peers

Consider XMPP to negotiate with friends and potential peers.

  • Use the roster (i.e. contact list of XMPP) to invite friends.

  • Use MIX group chats to invite new people for a game.

  • Use PubSub (XEP-0060) to publish a list of players, scores and other relevant resources.

Extend CI builds to cover all supported platforms

We have some form of support code in blobby for at least the following platforms which are currently not covered by the CI

  • Nintendo Switch
  • Android
  • iOS
  • WebAssembly/Ecmscripten?
  • MSVC
  • SteamDeck / SteamOD?

There is also code for GP2X, is that obsolete by now?

LibGL.so: undefined reference to `_glapi_tls_Current'.

Hi! :-)

Linking failed, with this message:

[ 79%] Linking CXX executable blobby
/usr/bin/ld: /usr/lib64/libglvnd/libGL.so: undefined reference to `_glapi_tls_Current'
collect2: σφάλμα: η ld επέστρεψε κατάσταση εξόδου 1
make[2]: *** [src/CMakeFiles/blobby.dir/build.make:969: src/blobby] Error 1
make[1]: *** [CMakeFiles/Makefile2:348: src/CMakeFiles/blobby.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
>

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.