MihailRis
24931770d3
fix warnings ( #648 )
...
* fix unknown command line argument
* fix warnings settings for gcc
* fix -Wzero-as-null-pointer-constant
* revert CMakeLists.txt
2025-10-10 23:12:01 +03:00
MihailRis
b2e03a6d18
fix windows build
2025-10-06 02:08:37 +03:00
MihailRis
44bf4a2f9e
add ReadableConnection interface
2025-10-06 01:49:13 +03:00
MihailRis
2895cff5f2
feat: max clients connected limit in TcpServer
2025-10-05 22:52:55 +03:00
MihailRis
2f15a1a8d4
refactor Network.cpp
2025-10-04 14:58:03 +03:00
MihailRis
fbba0e1415
Merge pull request #633 from Xertis/dev
...
Make Nagle's algorithm configurable
2025-10-01 01:29:49 +03:00
Xertis
1f049c2fd0
change "get" to "is"
2025-10-01 01:05:30 +03:00
MihailRis
9963bc4134
Merge branch 'main' into dev
2025-10-01 00:07:53 +03:00
Xertis
86053fa86d
Merge branch 'dev' of https://github.com/Xertis/VoxelEngine-Cpp into dev
2025-09-30 23:45:25 +03:00
Xertis
b6ca7cf918
make Nagle's algorithm configurable
2025-09-30 23:45:00 +03:00
MihailRis
289e0f597c
Merge branch 'main' into dev
2025-09-30 23:40:02 +03:00
MihailRis
6eda819011
fix
2025-09-28 22:22:59 +03:00
MihailRis
2d1c69ee7e
fix: Bytearray expected, got function
2025-09-28 21:44:04 +03:00
GHOST11111100
792ee63f22
Player Attributes ( #578 )
...
* feat: add max interaction distance functionality to Player class and Lua bindings
* feat: add getter and setter for max interaction distance in Player class documentation
* feat: add speed and gravity scale properties with corresponding getters and setters in Player class
* fix: replace deprecated __max and __min with std::max and std::min in setMaxInteractionDistance
* feat: add time scale functionality with getters and setters in World and Engine classes
* remove speed and gravity scale functions from player and world libraries
* remove time scale setting on world open and close
* rename interaction distance functions for consistency
* refactor: update interaction distance functions and remove time scale methods
* refactor: revert classes.lua to dev
* refactor: remove time scale functionality from Engine and World classes
* fix: Now I’ve definitely rolled back `classes.lua`.
* refactor: remove unused player attributes and clean up player class
* Update Player.hpp
removed unused methods from Player.cpp
2025-09-26 21:59:15 +03:00
MihailRis
3a40162f1e
Fix udp address resolve ( #624 )
...
* тест для udp + фикс udp
* fix udp addresses resolve
* update SocketUdpConnection::connect
* update SocketUdpServer::sendTo
* update udp test
* revert
* test
* test
* test
* test
* test
* test?
* update test
* cleanup
* cleanup
* update test
* update
* revert
* cleanup
* update test
* update test
* update
* fix test
* additional error handling
* update Network.cpp
* update Network.cpp 2
* fix the test
* cleanup Network.cpp
* revert network_tcp.lua extra changes
---------
Co-authored-by: Xertis <118364459+Xertis@users.noreply.github.com>
2025-09-25 17:02:42 +03:00
MihailRis
7d6ddfa535
add 'data' argument to http error callback
2025-09-16 23:17:06 +03:00
MihailRis
9fe26cc18d
enable follow-location for http get requests
2025-09-14 15:05:39 +03:00
MihailRis
f531d2e358
fix opening tcp server on macos
2025-09-14 13:45:07 +03:00
MihailRis
ee663fa322
improve setsockopt error message
2025-09-14 13:36:32 +03:00
MihailRis
3bd0ebcda2
Merge branch 'dev' into pathfinding
2025-09-11 18:06:16 +03:00
Onran0
6b4140f530
case fix
2025-09-10 04:36:21 +09:00
MihailRis
7826429a79
Merge branch 'dev' into pathfinding
2025-09-09 20:03:11 +03:00
MihailRis
9871bf1292
add 'headers' argument to network.get, network.get_binary and network.post
2025-09-08 23:46:37 +03:00
MihailRis
5204cfedf5
fix Network.cpp compile warnings
2025-08-31 13:37:22 +03:00
Onran0
1bea391f1d
fixes
2025-08-24 08:31:13 +09:00
Onran0
4a9aad04ff
udp support
2025-08-24 02:39:05 +09:00
MihailRis
1bd3463488
fix "cannot resume dead coroutine" for servers
2025-07-26 17:08:45 +03:00
MihailRis
556a561f1c
feat: error callback in network.get, .get_binary, .post
2025-04-30 19:15:39 +03:00
MihailRis
3d22de761f
fix compiler warnings (GCC + Clang)
2025-03-20 22:04:29 +03:00
MihailRis
e3c86cd1da
fix some small issues in Network.cpp
2025-01-28 11:34:18 +03:00
MihailRis
d2bbd82dbe
add 'discardAll' parameter to socket:close(...)
2025-01-17 23:43:44 +03:00
MihailRis
96b904e61f
add network.post
2025-01-08 17:02:07 +03:00
MihailRis
ae754e3da2
reduce log messages in release build
2024-12-04 12:00:22 +03:00
MihailRis
33a64915ad
fix: tcp server not listening to clients
2024-12-04 11:58:37 +03:00
MihailRis
21c76c1b0d
add socket:get_address, serversocket:get_port
2024-11-30 22:32:14 +03:00
MihailRis
14650562c2
update CURLOPT_USERAGENT value
2024-11-28 18:13:21 +03:00
MihailRis
95689b1115
add doc/*/scripting/builtins/libnetwork.md
2024-11-28 18:09:12 +03:00
MihailRis
46628263d1
add network.get_total_upload, .get_total_download
2024-11-28 10:21:16 +03:00
MihailRis
3b3407aef6
remove unused function
2024-11-27 21:18:11 +03:00
MihailRis
6b8ee77ff5
fix server shutdown with winsocks
2024-11-27 20:46:40 +03:00
MihailRis
79e311dd91
fix curl cleanup
2024-11-27 20:35:36 +03:00
MihailRis
43a838b1a5
fix WSAEAFNOSUPPORT (10047)
2024-11-27 20:31:05 +03:00
MihailRis
6af6eda78e
refactor Network
2024-11-27 20:24:09 +03:00
MihailRis
7e0c95d126
prevent uncaught exception in thread
2024-11-27 19:54:17 +03:00
MihailRis
34974c4bb3
add network.tcp_connect and .tcp_open
2024-11-27 17:06:06 +03:00
MihailRis
847ef23092
add network.__closeserver
2024-11-27 16:14:20 +03:00
MihailRis
1b04a2a61e
fix msvc build again
2024-11-27 16:07:21 +03:00
MihailRis
9e8addbd7d
fix msvc build
2024-11-27 15:55:14 +03:00
MihailRis
a72d36f53c
add simple inefficient server socket implementation (WIP)
2024-11-27 15:38:57 +03:00
MihailRis
233bc3174c
add network.__close
2024-11-27 12:51:01 +03:00