Commit graph

1690 commits

Author SHA1 Message Date
relesgoe
ef1539f18b Set server_ladderreply.count to the number of ladder entries added to the packet instead of the number of requested ladder entries in _client_ladderreq() 2020-12-14 21:13:01 -08:00
relesgoe
45d5f153f7 Fix loading ladder lists in _client_ladderreq(). 2020-12-14 21:11:02 -08:00
relesgoe
ae07d2701b Reorganize third-party library files 2020-12-13 21:24:45 -08:00
relesgoe
ce11099a70 On Windows, use included Lua 5.1 library if LUA_LIBRARIES and LUA_INCLUDE_DIR aren't set by the user 2020-12-13 20:51:01 -08:00
relesgoe
081ec359ba Avoid CMake error when WITH_LUA is not set 2020-12-13 20:50:15 -08:00
relesgoe
143e5cd4dd Move json.h (JSON for Modern C++) to include/nlohmann 2020-12-13 20:14:18 -08:00
relesgoe
71f7b1f518 Update {fmt} to 7.1.3 2020-12-13 19:57:35 -08:00
relesgoe
fd0979cf3a Lookup versioncheck entry for connections on demand. 2020-12-13 19:55:21 -08:00
relesgoe
aee42bff26 Fix dangling pointer bugs in _handle_connections_command() and _handle_gameinfo_command() 2020-12-13 19:09:37 -08:00
relesgoe
092a66e5f1 Check whether account has bot access or is locked before attempting to compare account's password hash in handle_bot_packet() 2020-12-08 21:28:05 -08:00
relesgoe
e96d1970a7 Check whether account has bot access or is locked before attempting to compare account's password hash in handle_telnet_packet() 2020-12-08 21:27:18 -08:00
relesgoe
101c041330 Format handle_telnet.cpp 2020-12-08 21:22:39 -08:00
relesgoe
4ea1291b70 Call conn_increment_passfail_count() for current telnet connection in handle_telnet_packet() 2020-12-08 21:22:10 -08:00
relesgoe
b9538b1c5d Call conn_increment_passfail_count() for current bot connection in handle_bot_packet() 2020-12-08 21:21:50 -08:00
relesgoe
02b40e9df2 Format handle_bot.cpp 2020-12-08 21:12:16 -08:00
relesgoe
206772e898 Unify playerinfo (AKA "chat statstring") retrieval in conn_get_playerinfo(). 2020-12-08 20:42:09 -08:00
relesgoe
ce6d30f361 Null-terminate BnetSRP3::username and BnetSRP3::password in BnetSRP3::init(). 2020-12-03 20:31:31 -08:00
relesgoe
7dc0a62465 Revert safe_toupper() calls to std::toupper() calls in BnetSRP3::init(). safe_toupper() appears to be bugged. 2020-12-03 20:30:19 -08:00
relesgoe
291339ee9a Remove unnecessary variable 'sql_tables'. Fixes 2020-11-30 23:17:59 -08:00
relesgoe
0afb991c35 Fixed bug where _cb_load_attr() and attrgroup_load() weren't correctly comparing the storage driver found inside the string returned by prefs_get_storage_path(). Fixes 2020-11-30 23:08:54 -08:00
RElesgoe
e10e3e606b
Update README.md 2020-10-18 15:30:04 -07:00
RElesgoe
8ed246a8b4
Update README.md 2020-10-17 19:17:55 -07:00
RElesgoe
57b511a5be
Change flags passed to G++ and Clang to "-Wall -Wextra -Wno-implicit-fallthrough -Wno-parentheses -Wno-unused-parameter -pedantic" 2020-10-17 19:17:16 -07:00
RElesgoe
17e931280f
Change flags passed to G++ and Clang to "-Wall -Wextra -Wno-implicit-fallthrough -pedantic" 2020-10-17 19:09:29 -07:00
RElesgoe
c63bb693ff
Change flags passed to G++ and Clang to "-Wall -Wextra -Wcast-qual -pedantic" 2020-10-17 19:00:08 -07:00
relesgoe
8a37cf6e2f Clear 'd2ladder_ladder_file' and 'd2ladder_backup_file' variables before writing to it 2020-10-16 18:41:34 -07:00
relesgoe
e3b7f6cc68 Change calls to fmt::format_to_n() to fmt::format_to() 2020-10-16 16:46:26 -07:00
relesgoe
41089f127d Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2020-10-16 16:29:14 -07:00
relesgoe
b3613fae07 Update JSON for Modern C++ from 3.1.2 to 3.9.1 2020-10-16 16:29:11 -07:00
relesgoe
1042be1072 Replace usages of std::sprintf() with fmt::format() or fmt::format_to_n() in d2dbs 2020-10-10 13:07:07 -07:00
RElesgoe
6f5b27a8b0
Fix incorrect parameter value in call to BigInt() when initializing BnetSRP3::I, which caused a buffer overflow 2020-10-07 15:04:01 -07:00
RElesgoe
92211ef22d
Fixed heading formatting for CentOS 7 and Fedora 32 headings 2020-10-06 01:37:25 -07:00
relesgoe
f7c24b2d89 Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2020-10-06 01:28:02 -07:00
relesgoe
7901f666a3 Rewrite channel topics code to support JSON format 2020-10-06 01:27:54 -07:00
cen1
c50a499f9a
updated distro instructions 2020-10-05 19:11:06 +02:00
cen1
987ba4c42c
add lua 5.1 build instructions 2020-10-05 18:01:26 +02:00
cen1
0d945bd202
Update README.md
Add libcurl to apt command
2020-10-05 17:20:22 +02:00
RElesgoe
82fb9def9e
Update README.md 2020-10-03 16:32:27 -07:00
RElesgoe
325ae8a183
Fix regression where /ping command did not return the specified user's ping 2020-10-02 17:47:56 -07:00
relesgoe
ca61400e5d Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2020-10-02 13:28:47 -07:00
relesgoe
11c204a4d7 Fix regression in conn_get_playerinfo() where statstrings were not properly returned 2020-10-02 13:28:25 -07:00
relesgoe
2768844791 Add optional-lite 3.2.0 to common project 2020-10-01 23:42:42 -07:00
RElesgoe
0e2c9d74f9
Update LICENSE 2020-09-26 14:58:12 -07:00
relesgoe
76271205bf Replace calls to sprintf() with snprintf() in sql_dbcreator() 2020-09-26 14:21:03 -07:00
relesgoe
8a3c850d0b Remove deprecated use of 'register' keyword in account_hash() 2020-09-26 14:10:35 -07:00
relesgoe
59827457f4 Replace call to snprintf() with empty format string with call to memset() in tracker_send_report() 2020-09-26 14:01:57 -07:00
relesgoe
e109b4b15e Define macros for default configuration values for smtp_ca_cert_store_fetch_interval and smtp_port 2020-09-26 13:54:11 -07:00
relesgoe
428955c726 Change CURLE_OK to CURLM_OK to match type of variable 'code' in smtp_send_email() 2020-09-26 13:49:26 -07:00
relesgoe
9fb483a294 Rewrite ipban_func_list() to prevent buffer overflow 2020-09-26 13:48:13 -07:00
relesgoe
7ee369d436 Change call to sprintf() to snprintf() in _handle_set_command() 2020-09-26 13:34:37 -07:00