Compare commits

...

1019 commits

Author SHA1 Message Date
relesgoe
fcdf00fedf Revert previous commit 2021-02-26 23:28:46 -08:00
relesgoe
7491f568e8 Update README.md 2021-02-27 07:24:48 +00:00
RElesgoe
d05a714e39
Remove Clang 2020-10-16 16:18:27 -07:00
RElesgoe
c4b62e3731
Create codeql-analysis.yml 2020-10-01 05:18:58 -07:00
RElesgoe
0f37dd2347
Let Clang use default standard library 2020-09-22 12:04:03 -07:00
RElesgoe
4437f3bf65
Add -Wno-idiomatic-parentheses flag for Clang 2020-09-19 01:35:35 -07:00
RElesgoe
3f83bd0044
Remote -O3, -march, and , -mtune flags for Clang and GCC 2020-09-19 01:34:15 -07:00
RElesgoe
42bf0f1587
Build with both clang and gcc 2020-09-19 01:16:14 -07:00
RElesgoe
7a3f413ec4
Change distribution to focal 2020-09-19 01:15:18 -07:00
RElesgoe
77c2b4e307
Update CMakeLists.txt 2020-06-05 01:54:44 -07:00
RElesgoe
8ea40616d1
Revert FindMySQL.cmake to old version 2020-06-05 00:02:26 -07:00
RElesgoe
fdb359250e
Update CMakeLists.txt 2020-06-04 16:56:54 -07:00
RElesgoe
aa81c94b41
Update CMakeLists.txt 2020-06-04 16:03:55 -07:00
RElesgoe
ab22f8da62
Update CMakeLists.txt 2020-06-04 16:03:25 -07:00
RElesgoe
eb32a735b1
Merge branch 'develop' into master 2020-05-17 22:37:11 -07:00
relesgoe
1136333b0d Comment pre-existing alias commands. bnalias.conf will have no aliases by default. 2020-05-17 22:13:51 -07:00
relesgoe
14c5c0fdeb Try to read account's charinfo directory after creating it when the directory was initially nonexistant 2020-05-17 22:13:51 -07:00
relesgoe
dba5e6db69 Revert Winapi wide changes 2020-05-17 22:13:51 -07:00
RElesgoe
79b2ab6b5e
Update appveyor.yml 2020-05-17 17:26:00 -07:00
RElesgoe
ca51708af6
Merge pull request #398 from denodster/master
#397 Add PMAC versioncheck entries for WC2 2.02, SC: BW (SC mode) 1.15.0, SC: BW (BW mode) 1.15.0, D1 1.08, and D1 1.09
2020-04-07 02:32:36 -07:00
HarpyWar
040ff6a173
Update appveyor.yml 2020-04-06 13:19:22 +03:00
Andrew Colchagoff
f6150041d7 Fixes #397 As well as add support for Other PMac Versions 2020-04-04 00:09:23 -04:00
RElesgoe
7c78536025
Update appveyor.yml 2020-01-08 02:07:36 -08:00
RElesgoe
42ad0865d7
Update appveyor.yml 2020-01-07 17:58:40 -08:00
RElesgoe
7e05344e58
Compile to 64-bit binaries 2020-01-07 17:02:54 -08:00
RElesgoe
f06269330f
Update FindMySQL.cmake 2020-01-07 16:26:50 -08:00
RElesgoe
82ba84aee9
Update CMakeLists.txt 2020-01-07 02:47:04 -08:00
RElesgoe
32d67055d3
Update FindMySQL.cmake 2020-01-07 01:38:16 -08:00
RElesgoe
cc371941aa
Update CMakeLists.txt 2020-01-06 23:47:12 -08:00
RElesgoe
98621a361a
Use environment variable ProgramW6432 when searching for MySQL files/paths
This will force a 32-bit CMake binary on a 64-bit host to look in the C:/Program Files/ directory instead of the C:/Program Files (x86)/ directory.
2020-01-06 23:30:08 -08:00
RElesgoe
5092fe07ae
Use FindMySQL.cmake from github.com/facebook/hhvm 2020-01-06 21:01:20 -08:00
RElesgoe
1f746909c1
Update appveyor.yml 2020-01-06 20:18:14 -08:00
RElesgoe
2876017b7d
Update appveyor.yml 2020-01-06 20:06:16 -08:00
RElesgoe
305ccfb2b8
Temporarily delete build cache 2020-01-06 19:53:04 -08:00
cen1
d4a4c2d39c
Merge pull request #394 from BNETDocs/develop
Change bnftp to exit success when successful
2020-01-04 02:53:21 +01:00
Carl Bennett
5188f4e555 Change bnftp to exit success when successful 2020-01-03 11:22:02 -06:00
RElesgoe
1af4a3ebbc
Update appveyor.yml 2019-12-18 01:32:49 -08:00
RElesgoe
043dd8a799
Update appveyor.yml 2019-12-18 00:35:07 -08:00
RElesgoe
0e2e05b69c
Update appveyor.yml 2019-12-18 00:22:47 -08:00
RElesgoe
9182a891c9
Update appveyor.yml 2019-12-16 15:47:30 -08:00
RElesgoe
3c3425438d
Update appveyor.yml
Remove testing code, rewrote artifact packaging scripts
2019-12-16 15:07:30 -08:00
RElesgoe
9724f3fe49
Fix renaming binaries 2019-12-16 14:02:48 -08:00
RElesgoe
e28f44e5ec
Pass -A Win32 to CMake calls 2019-12-16 11:33:52 -08:00
RElesgoe
5c8a50ecd3
Change platform from x86 to Win32 2019-12-16 10:56:39 -08:00
RElesgoe
7fedbaf588
Remove hard-coded lua5.1.lib linker include 2019-12-16 10:17:06 -08:00
relesgoe
04ce9f62f9 Fixed path to projectory directory 2019-12-15 22:27:04 -08:00
relesgoe
88a7219ea9 Update .travis.yml to use Ubuntu Bionic, remove redundant packages 2019-12-15 22:00:56 -08:00
relesgoe
b9bfc08e9b Change AboutDlgProc() and KickDlgProc() declarations to match the corresponding function signatures in WinAPI documentation 2019-12-15 21:03:42 -08:00
relesgoe
45f5cb0c28 Change guiWndProc() and AnnDlgProc() declarations to match the corresponding function signatures in WinAPI documentation 2019-12-15 20:41:28 -08:00
relesgoe
3f18c75cb5 Invoke CMake with CMAKE_SYSTEM_VERSION = 10.0 in AppVeyor 2019-12-15 19:56:31 -08:00
relesgoe
d124142bc1 Continuation of previous commit 2019-12-15 18:19:36 -08:00
relesgoe
ce4cf6d2ff Change image from Visual Studio 2017 to Visual Studio 2019 2019-12-15 18:18:55 -08:00
relesgoe
4f9f84ff43 Don't pull vcpkg's upstream anymore 2019-12-15 18:05:22 -08:00
relesgoe
241e038eb2 Set LUA_DIR environment variable in AppVeyor 2019-12-15 17:54:57 -08:00
relesgoe
1b6278f053 Removed local FindLua.cmake, CMake will now use its built-in FindLua.cmake 2019-12-15 17:54:43 -08:00
relesgoe
852cf02143 Install lua from Chocolatey instead of vcpkg 2019-12-15 17:10:20 -08:00
cen1
9374dd3b00
Merge pull request #385 from pvpgn/feature/docs
Feature/docs
2019-07-11 23:31:06 +02:00
cen1
89616448fa add ubuntu 18.04 and clarify debian compiler 2019-07-11 23:26:05 +02:00
cen1
d874f59d85 add route info to readme 2019-04-23 04:12:02 +03:00
cen1
7f6caa7ac0 add route info to readme 2019-03-07 00:08:46 +01:00
HarpyWar
91fb4ee395 add track.pvpgn.pro to trackaddrs 2019-01-16 17:06:39 +03:00
RElesgoe
697e62b8fb Fixed error 2018-08-15 00:36:59 -07:00
RElesgoe
3f0bd8b978 Fixed error 2018-08-15 00:11:49 -07:00
RElesgoe
92787f2c30 Fix error 2018-08-14 23:07:45 -07:00
RElesgoe
7ba9dfd2f4 Install libmariadb instead of libmysql 2018-08-14 22:55:54 -07:00
RElesgoe
57b93c6939 Update vcpkg through git 2018-08-14 14:45:33 -07:00
RElesgoe
26a783518d Add vcpkg packages to cache 2018-08-10 18:16:03 -07:00
RElesgoe
a9f7fea510 Add vcpkg update before installing packages 2018-08-10 18:14:32 -07:00
RElesgoe
cdb41e277c Fixed error 2018-08-10 17:08:39 -07:00
RElesgoe
8ec8122cd9 Fixed typo 2018-08-10 17:05:36 -07:00
RElesgoe
a83510fb39 Install PDB files only when using Visual Studio and Windows 2018-08-10 16:48:04 -07:00
RElesgoe
ae3bac9337 Fixed syntax error 2018-08-10 16:41:36 -07:00
RElesgoe
ce38172b72 Update AppVeyor to configure and build PvPGN with CMake and MSBuild directly 2018-08-10 16:33:20 -07:00
RElesgoe
06f967c19d Install PDB files along with their binaries for bnetd, d2cs, and d2dbs 2018-08-10 16:13:13 -07:00
RElesgoe
44ae82c91c Remove dependency on afxres.h when compiling without gui 2018-08-01 11:01:16 -07:00
RElesgoe
a633c1e8f0 Revert "Re-add FindZLIB.cmake"
This reverts commit 5225b5ae9d.
2018-08-01 10:49:32 -07:00
RElesgoe
5225b5ae9d Re-add FindZLIB.cmake 2018-08-01 10:32:03 -07:00
RElesgoe
b684ef9cff Revert "Changed binary names from bnetd to PvPGN/PvPGNConsole, d2cs to D2CS/D2CSConsole, and d2dbs to D2DBS/D2DBSConsole"
This reverts commit 51607568ac.
2018-07-29 06:13:43 -07:00
RElesgoe
51607568ac Changed binary names from bnetd to PvPGN/PvPGNConsole, d2cs to D2CS/D2CSConsole, and d2dbs to D2DBS/D2DBSConsole 2018-07-29 03:54:42 -07:00
RElesgoe
9378a8dfe6 Fixed include placement 2018-07-28 19:05:19 -07:00
RElesgoe
6ca46aca62 Re-added make command to Travis config file 2018-07-28 18:49:09 -07:00
RElesgoe
e1ff375b4d Add additional includes 2018-07-28 18:40:08 -07:00
RElesgoe
672e81e8de Fixed file existence check in CMake 2018-07-28 18:15:47 -07:00
RElesgoe
ae25d2d731 Improve CMake files 2018-07-27 06:53:26 -07:00
RElesgoe
1226f0f21c Remove code related to HAVE_CONFIG_H 2018-07-27 04:44:37 -07:00
RElesgoe
4a4208a15f Remove unused code 2018-07-27 04:43:12 -07:00
RElesgoe
0c6402841f Fix compilation 2018-07-27 04:40:16 -07:00
RElesgoe
0a20cf448a Replace subdirs() with multiple add_subdirectory() calls 2018-07-27 03:19:17 -07:00
RElesgoe
a9b2a48ada Specify C++ standard requirement in CMake 2018-07-27 02:52:41 -07:00
RElesgoe
29b5f2f886 Remove unnecessary ppa in Travis config 2018-07-27 02:43:58 -07:00
RElesgoe
d1d98760d6 Build commits from develop branch in Travis 2018-07-27 02:32:20 -07:00
RElesgoe
9ebaef6911 Remove Coverity Scan from Travis config 2018-07-27 02:31:47 -07:00
RElesgoe
e4e8579a60 Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2018-07-20 22:45:31 -07:00
RElesgoe
e16e1851b2 Upgrade fmt from 3.0.1 to 5.1.0 2018-07-20 22:28:24 -07:00
RElesgoe
beeb0c3469 Remove unnecessary length check 2018-07-15 02:39:39 -07:00
RElesgoe
523a87c81d Remove unnecessary length check 2018-07-15 02:38:11 -07:00
RElesgoe
d7e0392c96 Change type of i from unsigned int to std::size_t 2018-07-15 02:31:15 -07:00
RElesgoe
3284ab32a8 Change type of len from unsigned int to std:size_t 2018-07-15 02:27:32 -07:00
RElesgoe
e4df12bd13 Remove unnecessary c_str() call 2018-07-15 02:21:40 -07:00
RElesgoe
c9be8ce1fb Conditionally check result when WITH_LUA is defined 2018-07-15 02:11:43 -07:00
RElesgoe
d2708b5792 Revert "Conditionally check result when WITH_LUA is defined"
This reverts commit 2b22068c48.
2018-07-15 02:10:06 -07:00
RElesgoe
2b22068c48 Conditionally check result when WITH_LUA is defined 2018-07-15 02:09:32 -07:00
RElesgoe
9e7c471e0f
Merge pull request #362 from pvpgn/develop
Finalize 1.99.7.2.1 release
2018-07-09 22:38:58 -07:00
RElesgoe
2b503e035e
Merge branch 'master' into develop 2018-07-09 16:08:14 -07:00
RElesgoe
6698e036cf Add StarCraft and StarCraft: Brood War 1.18.0 versioncheck entry 2018-07-09 14:36:28 -07:00
RElesgoe
9a1a830347 Update PvPGN verion to 1.99.7.2.1 2018-07-09 14:33:59 -07:00
RElesgoe
e5d0aab7b9 Update downloads badge in readme 2018-07-09 14:33:20 -07:00
RElesgoe
ddc84e873a Create versioncheck entries for StarCraft and StarCraft: Brood War 1.18.0 2018-06-26 02:43:55 -07:00
RElesgoe
9aa884eaa4 Modernized timing in accountlist_load_all() 2018-06-12 16:14:17 -07:00
RElesgoe
6ab1b48c28 Removed eventlog calls from conn_set_archtag() and conn_set_clienttag() 2018-05-31 00:40:24 -07:00
RElesgoe
7a1816ba1d Renamed COUNTRYINFO_109 packet to AUTH_INFO 2018-05-31 00:37:01 -07:00
RElesgoe
df837c6f3e Fixed memory leak in ipbanlist_check() when returning without freeing whole 2018-05-28 15:27:10 -07:00
RElesgoe
08b42c5990 Fixed memory leak in game_report() when returning without freeing ladder_info 2018-05-28 15:11:54 -07:00
RElesgoe
682abe3cc5 Update icon and supported StarCraft versions in README.md 2018-05-28 15:02:05 -07:00
RElesgoe
8464f2b4dd Fixed /games command to hide private games when hide_pass_games is true. Admins can now view private games via /games all even when hide_pass_games is true. 2018-05-17 23:18:56 -07:00
RElesgoe
1212e047e2 Added ad000002.smk to installation 2018-05-17 22:27:51 -07:00
RElesgoe
2bb5613ce7 Fixed typo 2018-05-17 17:41:01 -07:00
RElesgoe
c29b950a82 Added versioncheck entries for StarCraft 1.17.0 and StarCraft: Brood War 1.17.0 2018-05-17 17:20:24 -07:00
RElesgoe
69b4b7ebbe - Added additional logging
- Fixed bug that prevented clients using an older login system from connecting
2018-05-17 17:06:49 -07:00
RElesgoe
64386a81b7 Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2018-05-16 19:26:25 -07:00
RElesgoe
09caba4858 Remove deprecated options from bnetd.conf for Windows 2018-05-16 19:23:57 -07:00
RElesgoe
488f06791c Fixed memory leak in _client_authreq109() when returning without calling packet_del_ref() 2018-05-16 13:15:21 -07:00
RElesgoe
222f4cd465 Fixed memory leak in _client_passchangeproofreq() when returning without calling packet_del_ref() 2018-05-16 13:13:55 -07:00
RElesgoe
4d87132872 Fixed memory leak when _client_logonproofreq() returns without calling packet_del_ref() 2018-05-16 13:11:35 -07:00
HarpyWar
36f9925357 set compiler and linker flags only for msvc 2018-05-09 11:16:34 +03:00
HarpyWar
f7ba9ec0a6 fix artifact file name 2018-05-09 11:16:34 +03:00
HarpyWar
4235aa8b3a * fix cmake linker flags
* update appveyor with disable debug build and add separate archive with pdb for release
2018-05-09 11:16:34 +03:00
HarpyWar
0d1c09e918 add pdb generation for d2cs and d2dbs 2018-05-09 11:16:34 +03:00
HarpyWar
90fa311a18 * Add debug information for crash dumps. /Zi flag was missing and dumps did not contain useful info for debugging in non-assembler mode.
* Generate dump for Release by default
2018-05-09 11:16:34 +03:00
HarpyWar
33a70d17ce Move crash dump generation into a separate file winmain.cpp 2018-05-09 11:16:34 +03:00
HarpyWar
70c654989e set compiler and linker flags only for msvc 2018-05-09 01:01:46 +03:00
HarpyWar
9796253960 fix artifact file name 2018-05-08 22:25:44 +03:00
HarpyWar
c1c0c7789c * fix cmake linker flags
* update appveyor with disable debug build and add separate archive with pdb for release
2018-05-08 20:51:28 +03:00
HarpyWar
b186b23a30 add pdb generation for d2cs and d2dbs 2018-05-08 01:03:24 +03:00
HarpyWar
4d1025dd9d * Add debug information for crash dumps. /Zi flag was missing and dumps did not contain useful info for debugging in non-assembler mode.
* Generate dump for Release by default
2018-05-07 23:59:36 +03:00
HarpyWar
2e2232c4c1 Move crash dump generation into a separate file winmain.cpp 2018-05-07 23:53:36 +03:00
RElesgoe
007dc8a332
Merge pull request #347 from pvpgn/develop
Finalize 1.99.7.2.0 release
2018-05-06 15:07:44 -07:00
RElesgoe
b53e0b13c8
Add Coverity Scan to Travis CI 2018-05-06 12:42:31 -07:00
RElesgoe
7d0b2e7ab3 Merge branch 'develop' of https://github.com/pvpgn/pvpgn-server into develop 2018-05-05 23:24:06 -07:00
RElesgoe
6c2b35ce6c Pass const char pointer instead of char to packet_append_string() in _client_authreq109() 2018-05-05 23:23:58 -07:00
RElesgoe
966751b26a Fix crash when a client connects with no corresponding versioncheck entry and allow_unknown_version is true 2018-05-05 23:22:42 -07:00
RElesgoe
0695ed0716
Merge branch 'master' into develop 2018-05-03 01:53:39 -07:00
RElesgoe
1de80bfdae Change version number from 1.99.7.1.1 to 1.99.7.2.0 2018-05-03 01:46:29 -07:00
RElesgoe
ee9d84478d Revert accidental change 2018-05-03 01:45:58 -07:00
RElesgoe
0923f6a52e Remove cdb support 2018-04-28 20:58:14 -07:00
RElesgoe
5699020a6b Remove /src/autoconf directory 2018-04-28 18:46:08 -07:00
RElesgoe
74b06d022b
Overhaul versioncheck system (#340)
* Overhaul versioncheck system
 - Removed version_exeinfo_match, skip_versioncheck, and version_exeinfo_maxdiff from bnetd.conf
 - Modified configuration file to use JSON
 - Correctly finds the appropriate versioncheck entries
 - Add versioncheck.md to docs/

* Update JSON for Modern C++ from 3.0.1 to 3.1.2
2018-04-28 17:23:10 -07:00
RElesgoe
47ba463536 Add versioncheck.md to docs/ 2018-04-26 01:37:02 -07:00
RElesgoe
5cc3771b5b Change vc_entries to use std::unordered_map instead of std::forward_list 2018-04-26 00:56:54 -07:00
RElesgoe
e5ec51628a Remove VERSIONCHECK_INTERNAL_ACCESS macro 2018-04-24 22:24:43 -07:00
RElesgoe
05d00d134f Clear cr_entries on unload 2018-04-24 22:20:34 -07:00
RElesgoe
2c10c89964 Fix multi-character constant warning 2018-04-23 14:11:24 -07:00
RElesgoe
4e7163f444 Reordered code 2018-04-23 14:00:48 -07:00
RElesgoe
bc0590fa75 Use uniform initialization instead of initializer list 2018-04-23 13:03:52 -07:00
RElesgoe
497e7a9157 - Removed version_exeinfo_match and skip_versioncheck from bnetd.conf
- Removed remaining references to version_exeinfo_maxdiff
- Modified versioncheck.json format
- Correctly finds the appropriate versioncheck entries
2018-04-22 23:14:25 -07:00
RElesgoe
f8dd2b8b8b Update JSON for Modern C++ from 3.0.1 to 3.1.2 2018-04-08 16:49:20 -07:00
HarpyWar
9c326d33ce
Forbid reading of BNET\acct\verifier with /set
https://github.com/pvpgn/pvpgn-server/issues/333
2018-03-28 10:19:04 +03:00
HarpyWar
85f26eb2ab
Update appveyor.yml 2018-03-02 10:02:52 +03:00
HarpyWar
b5e55b4a30
Update appveyour.yml
https://github.com/pvpgn/pvpgn-server/issues/337
2018-02-11 09:58:06 +03:00
RElesgoe
05ae34eff1 I don't know how this happened 2018-02-10 21:17:16 -08:00
RElesgoe
10b63de30e Fix build 2018-02-10 21:12:01 -08:00
RElesgoe
b75ac5e39e Overhaul versioncheck system 2018-02-10 03:01:12 -08:00
RElesgoe
a78355e88a Replace use of deprecated function that serializes a stream to a json object 2018-01-04 02:40:10 -08:00
RElesgoe
c2ee0a33e3 Update JSON for Modern C++ from 2.0.2 to 3.0.1 2018-01-04 02:25:28 -08:00
RElesgoe
94fb6842ee Update .gitignore 2018-01-04 02:24:54 -08:00
RElesgoe
a4afc108ad
Re-add UNICODE and _UNICODE defines for MSVC 2017-12-17 01:15:57 -08:00
RElesgoe
abe0cf8f2c
Added -O3 -march=native -mtune=native flags for G++ and Clang 2017-12-14 19:49:16 -08:00
RElesgoe
7f90cc251b
Fix compiler detection and flag passing 2017-12-14 19:41:22 -08:00
cen1
dc3d64e668 fixes issue 314 2017-09-05 23:56:11 +02:00
RElesgoe
517bc3a5e6 Delete IGNOREME 2017-08-07 22:26:46 -07:00
RElesgoe
c142e0063a Updated supported clients in readme 2017-08-07 22:26:10 -07:00
RElesgoe
39a391cded Rename COPYING to LICENSE 2017-08-07 22:19:27 -07:00
RElesgoe
4c6f55d98d List supported clients in readme 2017-08-07 22:13:24 -07:00
RElesgoe
d232c3117f Merge pull request #318 from cen1/128updates
WarCraft 3 1.28.2, 1.28.4, 1.28.5 Versioncheck
2017-08-07 21:45:38 -07:00
cen1
3a09bec191 1.28 versioncheck series 2017-07-16 12:33:50 +02:00
HarpyWar
2f60147fff fix banners 3edbffb955 (commitcomment-23104980) 2017-07-15 11:54:37 +03:00
HarpyWar
408c3ce907 fix mistake 2017-07-14 20:30:24 +03:00
HarpyWar
3edbffb955 Fixes for banners:
* fix randomize banners
* fix miss handling of first banner https://github.com/pvpgn/pvpgn-server/issues/300
* change banners iteration from random to sequence if client support it (actually only warcraft 3 does not support it)
* fix ad000001.smk to show in diablo 2
* return ad000002.smk from old pvpgn for a change
2017-07-14 17:42:32 +03:00
HarpyWar
95ab5faccf fix 1454cdd256 2017-07-04 16:06:08 +03:00
RElesgoe
8b333d0fd9 Check for null friends list before attempting to unload an account's friend list 2017-05-28 17:16:30 -07:00
RElesgoe
9e0a01455d - Fix pre-filled username input in Windows GUI
- Fix sending server announcements from Windows GUI
2017-05-28 17:04:33 -07:00
HarpyWar
dcd4ffb509 forgot that first variable always corresponds to icon_key 2017-05-25 18:53:15 +03:00
HarpyWar
77ea946864 * fix icons.conf variables for compatibility with a plain mode https://forums.pvpgn.pro/viewtopic.php?pid=8988#p8988
* add predefined examples for Warcraft 2 and Diablo 1
* update link to Bni Icon Builder
2017-05-25 17:55:04 +03:00
HarpyWar
5c59124205 fix mistake from the previous commit 2017-05-24 23:04:25 +03:00
HarpyWar
f37309e2a8 add missing diablo 2 gametypes for open battle.net https://github.com/pvpgn/pvpgn-server/issues/307
https://forums.pvpgn.pro/viewtopic.php?pid=8981#p8981
2017-05-24 23:01:21 +03:00
HarpyWar
1454cdd256 switch log line from error to debug https://github.com/pvpgn/pvpgn-server/issues/307 2017-05-24 22:42:22 +03:00
HarpyWar
5608370ad9 (bug fix) make sqlite3 working again https://github.com/pvpgn/pvpgn-server/issues/311 2017-05-23 19:59:04 +03:00
HarpyWar
601798c108 (bug fix) symbol ` is unacceptable in syntax of pgsql and odbc https://github.com/pvpgn/pvpgn-server/issues/311 2017-05-23 19:51:25 +03:00
HarpyWar
77570d08c0 (bug fix) increase sizes of database columns https://github.com/pvpgn/pvpgn-server/issues/301 2017-05-23 19:45:01 +03:00
HarpyWar
a0b67d1328 Update appveyor.yml
https://github.com/pvpgn/pvpgn-server/issues/308
2017-05-22 22:44:26 +03:00
HarpyWar
5b033ffac2 Update appveyor.yml
https://github.com/pvpgn/pvpgn-server/issues/308
2017-05-22 22:26:01 +03:00
HarpyWar
9ae0fceac2 Update appveyor.yml
https://github.com/pvpgn/pvpgn-server/issues/308
2017-05-22 21:37:10 +03:00
HarpyWar
c1529fc6a0 Update appveyor.yml
https://github.com/pvpgn/pvpgn-server/issues/308
2017-05-22 20:27:19 +03:00
HarpyWar
7c6be2ee50 Update appveyor.yml
https://github.com/pvpgn/pvpgn-server/issues/308
2017-05-22 20:08:16 +03:00
HarpyWar
b331c9f1c9 Update appveyor.yml 2017-05-22 19:42:24 +03:00
HarpyWar
71f1d2ced8 Update appveyor.yml
https://github.com/pvpgn/pvpgn-server/issues/308
2017-05-22 19:06:40 +03:00
HarpyWar
c057e4b9e1 Update appveyor.yml
https://github.com/pvpgn/pvpgn-server/issues/308
2017-05-22 19:06:09 +03:00
HarpyWar
7a5741dbdf Update appveyor.yml
testing build matrix https://github.com/pvpgn/pvpgn-server/issues/308
2017-05-22 19:04:14 +03:00
RElesgoe
d5b7a51c99 Merge pull request #304 from cen1/versioncheckw31281
Versioncheck WarCraft 3 1.28, 1.28.1, 1.28.2
2017-05-20 16:24:27 -07:00
cen1
ccad33bfdb support for w3 1.28.2 2017-05-20 15:38:37 +01:00
cen1
424ab7c97d fix entry ordering 2017-05-20 12:04:11 +01:00
cen1
1824ce6dd2 versioncheck for w3 1.28.1, works with w3l 1.28 with no changes 2017-04-28 21:31:57 +01:00
cen1
0ae55c11c2 versioncheck for w3 1.28 2017-04-22 12:27:18 +01:00
HarpyWar
9ee4009660 Update appveyor.yml
Remove plain build to fit in 1 hour of available time in appveyor
2017-04-03 21:20:06 +03:00
cen1
8da1718e0b zlib names typo 2017-03-30 20:28:13 +03:00
cen1
d5ea411b9a fix magic builder link 2017-03-30 20:27:02 +03:00
HarpyWar
b5771e760d Update appveyor.yml 2017-03-30 14:34:24 +03:00
HarpyWar
9b621b4d11 Update appveyor.yml 2017-03-30 11:45:27 +03:00
HarpyWar
2bbeabaeba Update appveyor.yml
set build image "Visual Studio 2017" https://www.appveyor.com/docs/build-environment/
2017-03-30 09:23:16 +03:00
RElesgoe
69da5ab2bf Change version from 1.99.7.1-PRO to 1.99.7.1.1-PRO 2017-03-21 03:21:29 -07:00
RElesgoe
3b46205114 - Improved code safety
- Fixed bug in /ipscan command
- Restored icons_STAR.bni
2017-03-21 03:20:06 -07:00
RElesgoe
38c78a5a1c Fix handling of WC3 MOTD file 2017-03-21 01:42:15 -07:00
RElesgoe
9606689639 Use correct case of ver-IX86-1.mpq in versioncheck.conf 2017-03-21 00:09:25 -07:00
RElesgoe
a1a4d483c9 Ignore /.vs folder in git 2017-03-21 00:08:47 -07:00
RElesgoe
bb0202c638 Merge pull request #292 from Dramacydal/icons
Fix logic in sending custom and user selected icons
2017-03-08 23:33:55 -08:00
Yaki Khadafi
577ccf75ab Fix logic in sending custom and user selected icons
- fix sending empty icons
- fix custom icons overriding user selected icons
- code style
2017-03-08 23:06:36 +03:00
HarpyWar
50c481dacb move language codes and countries in common.xml to allow manage languages (add/remove) without code modifications 2017-01-25 21:47:08 +03:00
HarpyWar
b78af39d26 Fix format mistakes from commit b245f6c6c9 2017-01-19 20:39:50 +03:00
HarpyWar
d55cb60630 Remove reduntant word "public" from whois, to return compatibility with Ghost bot spoof check
https://github.com/pvpgn/pvpgn-server/issues/126
https://github.com/pvpgn/pvpgn-server/issues/189
http://forums.pvpgn.pro/viewtopic.php?pid=8602#p8602
2017-01-18 12:53:24 +03:00
RElesgoe
61be2e63b6 Add VersionCheck entries for Diablo 2 and Diablo 2: Lord of Destruction 1.14a, 1.14b, 1.14c, and 1.14d 2017-01-17 10:43:04 -08:00
RElesgoe
026751e2cf Fix issue when displaying online users in the Windows GUI 2017-01-17 10:38:38 -08:00
RElesgoe
e2fb7975c0 Update fmt to 3.0.1 2017-01-17 10:36:25 -08:00
RElesgoe
30f085c71f Merge pull request #283 from Aloki/master
Fix #265, update README
2017-01-17 07:46:57 -08:00
Aleksei Danilov
fa61eba0d0 Fix pvpgn/pvpgn-server#265 2017-01-05 04:55:26 +03:00
Aleksei Danilov
860eb4c48e Two commands can be used 2017-01-04 21:26:40 +03:00
Aleksei Danilov
fe075e8a14 EPEL repo already have CMake 3.6 2017-01-04 21:15:34 +03:00
RElesgoe
cd17f6ab7d Merge pull request #282 from Aloki/master
Fix typo in command.cpp
2017-01-03 21:50:06 -08:00
Aleksei Danilov
b0ca992f00 Merge remote-tracking branch 'refs/remotes/origin/master' into pvpgn/master 2017-01-04 07:42:37 +03:00
Aleksei Danilov
ecb27e735a Fixes pvpgn/pvpgn-server#260 2017-01-04 04:42:22 +03:00
RElesgoe
a4c4b03394 Merge pull request #280 from cen1/extendbuildreadme
centos7 gcc fix
2016-12-30 13:40:24 -08:00
RElesgoe
4578376717 Merge pull request #279 from cen1/w3127b
versioncheck entry for w3 1.27b
2016-12-29 20:07:43 -08:00
RElesgoe
af3d0b5bdc Update ports.md 2016-12-29 18:08:31 -08:00
cen1
edb67aa81d centos7 gcc fix 2016-12-30 02:57:32 +01:00
cen1
ffdbd53a4f move old entries to the bottom 2016-12-30 02:54:35 +01:00
cen1
217d55cfb7 versioncheck entry for w3 1.27b 2016-12-28 18:25:20 +01:00
RElesgoe
dbf4ad5ec6 Update ports.md 2016-12-27 00:42:15 -08:00
RElesgoe
2d7e3ad65a Merge pull request #274 from cen1/libc++bydefault
use libc++ with clang by default
2016-12-27 00:34:20 -08:00
RElesgoe
5d3b663f60 Merge pull request #273 from cen1/extendbuildreadme
build instructions for more operating systems
2016-12-26 15:36:05 -08:00
cen1
34d4e02557 use libc++ with clang by default 2016-12-26 22:31:29 +01:00
cen1
13e7031a70 build instructions for more operating systems 2016-12-26 22:27:42 +01:00
HarpyWar
2f5da2232f Update appveyor.yml 2016-11-24 11:22:09 +03:00
HarpyWar
3d047578ce Update appveyor.yml 2016-11-23 22:49:43 +03:00
HarpyWar
8b8425b177 Update appveyor.yml 2016-11-23 22:48:39 +03:00
HarpyWar
83b996be76 Update appveyor.yml 2016-11-23 22:33:13 +03:00
HarpyWar
1963732161 Update appveyor.yml 2016-11-23 21:17:59 +03:00
HarpyWar
126bfb3aa8 Update appveyor.yml 2016-11-23 19:18:46 +03:00
HarpyWar
a8b7114300 Update appveyor.yml 2016-11-23 18:10:32 +03:00
HarpyWar
37447f04b7 Update appveyor.yml 2016-11-23 16:26:38 +03:00
HarpyWar
cdf08d3185 try appveyour artifacts
https://github.com/pvpgn/pvpgn-server/issues/264
2016-11-23 16:21:22 +03:00
RElesgoe
126d6146c4 Merge pull request #263 from Dramacydal/packet_limit
- move packet limit option to config
2016-11-21 23:39:39 -08:00
Yaki Khadafi
f00959c024 - move packet limit option to config 2016-11-18 20:39:30 +03:00
RElesgoe
178e4d8fc8 Update README.md 2016-10-04 00:08:03 -07:00
RElesgoe
dc3aac1666 Update README.md 2016-10-03 23:48:47 -07:00
RElesgoe
542865a0ab Merge pull request #257 from RElesgoe/master
Change version number from 1.99.7-PRO to 1.99.7.1-PRO
2016-09-10 15:55:35 -07:00
RElesgoe
326a076e48 Change version number from 1.99.7-PRO to 1.99.7.1-PRO 2016-09-10 14:25:33 -07:00
RElesgoe
f89d6937fd Merge pull request #256 from RElesgoe/master
Fix memory leaks and other issues
2016-09-10 14:21:59 -07:00
RElesgoe
b8a59f76d9 Prevent use of uninitialize variable in class AdBannerSelector 2016-09-10 12:03:42 -07:00
RElesgoe
0a5d4d8889 Fix resource leak in guiThread() 2016-09-10 11:58:18 -07:00
RElesgoe
9c043d372d Fix use after free in _handle_finger_command() 2016-09-10 11:55:02 -07:00
RElesgoe
a8b9059c59 Zero initialize variable 'cdkey_info' in client_connect() 2016-09-10 11:46:48 -07:00
RElesgoe
d33dc46cfb Fix memory leak in handle_anongame_join() 2016-09-10 11:44:15 -07:00
RElesgoe
5a72bdc7be Fix memory leak in d2ladder_saveladder() 2016-09-10 11:40:21 -07:00
RElesgoe
c13f76d95a Prevent using ininitialized variable in _client_supr() 2016-09-10 11:36:55 -07:00
RElesgoe
9026bff9bb Fix possible buffer overflow in KickDlgProc() 2016-09-10 11:35:58 -07:00
RElesgoe
f9b6c58709 Fix use after free in _handle_connections_command() 2016-09-10 11:33:19 -07:00
RElesgoe
16f27e75ab Update ports.md 2016-09-07 10:46:08 -07:00
RElesgoe
62566ddec9 Include common/setup_before.h before checking for HAVE_UNAME 2016-09-06 15:02:00 -07:00
RElesgoe
260313ed16 Prevent possible buffer overflows 2016-09-04 22:56:53 -07:00
RElesgoe
eb8a2754f8 Merge pull request #254 from RElesgoe/master
Fix memory leaks and compiler warnings
2016-09-04 22:47:58 -07:00
RElesgoe
e257a781a2 Merge branch 'master' of https://github.com/RElesgoe/pvpgn.git 2016-09-04 21:53:49 -07:00
RElesgoe
4d6dbff78e Fixed various compiler warnings 2016-09-04 21:53:44 -07:00
RElesgoe
0f6a62080a Added UID_FORMATF and GAMEID_FORMATF for compatibility 2016-08-29 01:21:32 -07:00
RElesgoe
511a0cfd5c Converted printf format specifiers for eventlog() calls 2016-08-29 01:00:07 -07:00
RElesgoe
e94d8a94bf Fixed memory leak in _ladder_send() when returning without calling packet_del_ref() on 'p' 2016-08-29 00:42:36 -07:00
RElesgoe
ae8ceede03 Fixed memory leak in _client_loginreq1() when returning without calling packet_del_ref() on 'rpacket' 2016-08-29 00:30:11 -07:00
RElesgoe
5a9ce9cce4 Fixed memory leak in _anongame_search_found() when returning without calling anongameinfo_destroy() on 'info' 2016-08-29 00:25:27 -07:00
RElesgoe
fb29dce9a4 Merge pull request #16 from pvpgn/master
Sync
2016-08-29 00:05:10 -07:00
HarpyWar
a19df85e2c Update appveyor.yml
save pdb files for gui version
2016-08-29 00:18:05 +03:00
HarpyWar
72778c7ece Update appveyor.yml
publish debug builds
2016-08-28 20:03:14 +03:00
RElesgoe
a2b80dc74e Merge pull request #253 from RElesgoe/master
Fix various issues
2016-08-28 03:24:32 -07:00
RElesgoe
6c63a455e7 Zero initialize variable 'rawname' in handle_file_packet() 2016-08-28 02:56:21 -07:00
RElesgoe
e759c4e7a8 Fix memory leak in customicons_stash_get_list() 2016-08-28 02:53:31 -07:00
RElesgoe
bbb2264de5 Fix possible buffer overflow in _news_cb() 2016-08-28 02:48:25 -07:00
RElesgoe
6870226159 Fix memory leak in _handle_topic_command() when returning without calling irc_unget_listelems() on variable 'e' 2016-08-28 02:46:51 -07:00
RElesgoe
71afce3904 Fix out of bounds access in anongame_gameresult_parse() when passing 'hero->level' to bn_int_get() instead of bn_short_get() 2016-08-28 02:44:29 -07:00
RElesgoe
379a8d76b7 Fix memory leak in _handle_verchk_command() when returning without calling xfree() on variable 'filestring' 2016-08-28 02:42:52 -07:00
RElesgoe
e2b354387d Fixed incorrect declaraction type of variable 'c' and 'prev_c' in userlog_read() 2016-08-28 02:33:30 -07:00
RElesgoe
049b029a95 Fix memory leak in _client_motdw3() when continuing loop without calling xfree() on variable 'line' 2016-08-28 02:27:17 -07:00
RElesgoe
13ac03d753 Fix memory leak in _handle_tos_command() when returning without calling xfree() on variable 'filename' 2016-08-28 02:24:23 -07:00
RElesgoe
e0cd3f7894 Fix memory leak in _handle_user_command() 2016-08-28 02:21:43 -07:00
RElesgoe
67a511cc3e Prevented use of uninitialized variable in _client_gsku() 2016-08-28 02:17:05 -07:00
RElesgoe
269334c9de Revert testing code in _handle_alert_command() 2016-08-28 02:16:02 -07:00
RElesgoe
699bdd42e3 Fix memory leak in d2cs's main() when returning without calling xfree() on variable 'pidfile' 2016-08-28 02:12:46 -07:00
RElesgoe
48291318e4 Fix possible buffer overflow in _client_motdw3() 2016-08-28 02:07:22 -07:00
RElesgoe
e05b18269e Prevented use of uninitialized variable in _client_flag() 2016-08-28 02:03:47 -07:00
RElesgoe
a521a8bb4f Ensure buffer is null terminated in d2charsave_init_from_d2s() 2016-08-28 02:00:16 -07:00
RElesgoe
3f892f03c2 Fix memory leak in d2charsave_init_from_d2s() 2016-08-28 01:59:59 -07:00
RElesgoe
4ca4e6b971 Fix resource leak in client_connect() 2016-08-28 01:50:03 -07:00
RElesgoe
846c4dc5a6 Fix out of bounds access in d2ladder_append_ladder() due to calling bn_int_get() instead of bn_byte_get on 'info->level' 2016-08-28 01:47:08 -07:00
RElesgoe
dee1d78a72 Fix memory leak in _handle_startg_command() when returning without calling irc_unget_listelems() on variable 'e' 2016-08-28 01:37:46 -07:00
RElesgoe
e7b81495dd Fix possible null pointer dereference in _client_clan_createinvitereply() 2016-08-28 01:31:19 -07:00
RElesgoe
427047a248 Fix possible buffer overflow in handle_irc_common_line() 2016-08-28 01:22:14 -07:00
RElesgoe
27d31a22d9 Added missing return statements in _client_createaccountw3() 2016-08-28 01:11:20 -07:00
RElesgoe
84bcf69fad Fix compile error 2016-08-24 01:25:47 -07:00
RElesgoe
3dfc1c97fa Simplified string copying code in tracker_send_report() 2016-08-24 01:10:08 -07:00
RElesgoe
f0ad3fae24 Prevent possible use of uninitialized variable in _client_createaccountw3() 2016-08-24 00:54:55 -07:00
RElesgoe
8c2c82a162 Fixed incorrect usages of std::swprintf() 2016-08-24 00:46:54 -07:00
RElesgoe
cc496b2fbd Fixed memory leak in userlog_read() 2016-08-24 00:41:09 -07:00
RElesgoe
3464cb38b8 Fixed memory leak in news_load() when returning without calling std::fclose() on variable 'fp' 2016-08-24 00:37:53 -07:00
RElesgoe
fb48daa92a Fixed memory leak in _handle_realmann_command() when returning without calling message_destroy() on variable 'message' 2016-08-24 00:36:04 -07:00
RElesgoe
a9f8ad46cb Fixed memory leak in conn_update_w3_playerinfo() when returning without calling xfree() in variable 'userincon' in a certain scenario 2016-08-24 00:33:45 -07:00
RElesgoe
c52e1836e7 Fixed dangling pointer return in conf_get_int() 2016-08-24 00:27:07 -07:00
RElesgoe
9783e19537 Prevent possible use of uninitialized variable in _client_crat() 2016-08-24 00:12:20 -07:00
RElesgoe
131bb8dd04 Prevented possible use of unitialized variable in _client_shrt() 2016-08-23 23:47:01 -07:00
RElesgoe
4c056aab0f Fixed possible memory leak in ipban_func_del() when returning without calling ipban_unload_entry() on variable 'to_delete' 2016-08-23 23:45:18 -07:00
RElesgoe
24041be4de Fixed memory leak in function _handle_motd_command() when returning without calling xfree() on variable 'filename' 2016-08-23 23:42:24 -07:00
RElesgoe
845e659100 Fixed memory leak in RLE_compress() when returning without calling xfree() on variable 'pktdata' 2016-08-23 23:40:51 -07:00
RElesgoe
44cb120a8d Fixed resource leak in make_minidump() when returning without calling FreeLibrary() on variable 'hDbgHelp' 2016-08-23 23:38:10 -07:00
RElesgoe
21402786df Fixed a memory leak in userlog_append() when returning without calling xfree() on variable 'filename' 2016-08-23 23:35:02 -07:00
RElesgoe
b460835af8 Prevent possible division/modulo by zero in anongame_get_map_from_prefs() 2016-08-23 21:05:44 -07:00
RElesgoe
24b92311a0 Fix memory leak in _handle_invmsg_command() when returning without calling irc_unget_listelems() on variable 'e' 2016-08-23 20:59:56 -07:00
RElesgoe
daee1995f9 Fix memory leak in _client_motdw3() when returning without calling xfree() on variable 'filename' 2016-08-23 20:57:34 -07:00
RElesgoe
6f3cd20c47 Fix memory leak in _client_clan_createinvitereq() when returning without calling packet_del_ref() on variable 'rpacket' 2016-08-23 20:54:46 -07:00
RElesgoe
3fe54ca634 Prevent usage of uninitialized variable in _client_sdfx() 2016-08-23 20:53:03 -07:00
RElesgoe
39ef8d5791 Fix memory leak in _client_loginreq2() when returning without calling packet_del_ref() on variable 'rpacket' 2016-08-23 20:38:03 -07:00
RElesgoe
6cbf39f611 Fix possible use after free in _handle_end_apiregtag() when looping through a list 2016-08-23 20:33:53 -07:00
RElesgoe
44d6c78ebf Fix possible null pointer dereference in _client_clanmember_rankupdatereq() when packet_get_str_const() returns a null pointer 2016-08-23 20:29:08 -07:00
RElesgoe
d7d6a192d9 Fix memory leak in _client_clanmember_rankupdatereq() when returning without calling packet_del_ref() on variable 'rpacket' 2016-08-23 20:25:48 -07:00
RElesgoe
09bb7569f4 Fix memory leak in apireg_send() when returning without calling packet_del_ref() on variable 'p' 2016-08-23 20:22:38 -07:00
RElesgoe
f1ea7d0c09 Fix out of bounds access in _client_extrawork() 2016-08-23 20:18:20 -07:00
RElesgoe
8bb8607897 Fix bug in message_telnet_format() when switch statement goes to case message_type_mode and falls into default case 2016-08-23 20:16:15 -07:00
RElesgoe
ae481691c7 Fix memory leak in character_create() when returning without freeing allocated memory in variable 'ch' 2016-08-23 20:09:15 -07:00
RElesgoe
e0ba035357 Fix bug in addr_create_str() when using a pointer that points to a variable that has gone out of scope 2016-08-23 20:01:18 -07:00
RElesgoe
603657f3e2 Fix memory leak in _client_friendslistreq() when returning without calling packet_del_ref() on rpacket 2016-08-23 19:34:00 -07:00
RElesgoe
a23f4e284c Merge pull request #252 from RElesgoe/master
Use fmt library for eventlog() calls
2016-08-23 17:16:24 -07:00
RElesgoe
89aa3ad327 Apply patch to fix handling of non-const unsigned char strings
https://github.com/fmtlib/fmt/issues/373
2016-08-23 16:44:48 -07:00
RElesgoe
795964d877 Fix compile error when compiling without WIN32_GUI due to defining a "printf" macro 2016-08-23 02:11:40 -07:00
RElesgoe
159e078bbf Merge branch 'master' of https://github.com/RElesgoe/pvpgn.git 2016-08-23 01:50:01 -07:00
RElesgoe
afed6da48b - Fix compile error when not compiling with WIN32_GUI
- Print passed error string when formatting fails in eventlog()
2016-08-23 01:49:59 -07:00
RElesgoe
5bdf3f4971 Merge pull request #15 from pvpgn/master
Sync
2016-08-23 01:38:03 -07:00
RElesgoe
d0dd295734 Fix CMakeLists.txt for /common/ 2016-08-23 01:33:52 -07:00
RElesgoe
b245f6c6c9 Use fmt library for type safe formatting when calling eventlog() 2016-08-23 01:29:06 -07:00
RElesgoe
1e6dc02155 Delete conversion-changelog 2016-08-18 02:28:35 -07:00
RElesgoe
33af5ee94f Delete README.cmake 2016-08-18 02:27:41 -07:00
RElesgoe
f876fc8c7b Delete README.ALPHA 2016-08-18 02:27:13 -07:00
RElesgoe
afd72200d2 Delete BUGS 2016-08-18 02:26:48 -07:00
RElesgoe
5aab53f8c7 Delete TODO 2016-08-18 02:26:41 -07:00
HarpyWar
0d9747a1ad Update quiz.lua
Fix Lua quiz break https://github.com/pvpgn/pvpgn-server/issues/196
2016-08-18 09:40:05 +03:00
RElesgoe
49cffbae75 Merge pull request #250 from RElesgoe/master
Fix typo
2016-08-13 12:20:06 -07:00
xboi209
34d5d3e4fb Fix typo 2016-08-13 12:05:54 -07:00
RElesgoe
1fa987f473 Merge pull request #248 from RElesgoe/master
Update Travis CI to use Trusty (Ubuntu 14.04)
2016-08-13 05:44:36 -07:00
xboi209
b2803cf020 Export variables in Travis CI .yml 2016-08-13 04:33:59 -07:00
xboi209
e1eab3f7a8 Fix 2016-08-13 04:28:01 -07:00
xboi209
2b91ebf697 Fix apt sources in Travis CI .yml 2016-08-13 04:25:50 -07:00
xboi209
661b3a13a3 Remove tab characters from Travis CI .yml 2016-08-13 04:20:39 -07:00
xboi209
ffaa8e45cd Travis CI use Trusty (Ubuntu 14.04) 2016-08-13 04:10:39 -07:00
RElesgoe
4987e41cad Merge pull request #247 from RElesgoe/master
Update fmt (formerly C++ Format) to 3.0.0
2016-08-13 03:14:10 -07:00
xboi209
b63b4756e4 Update to fmt 3.0.0 2016-08-12 23:35:15 -07:00
RElesgoe
58c6d6cb4e Merge pull request #245 from RElesgoe/master
Fix value comparison bug in tracker.cpp
2016-08-12 23:05:57 -07:00
xboi209
f336183eb6 Fix value comparison bug in tracker.cpp 2016-08-12 22:19:54 -07:00
RElesgoe
9763715f70 Merge pull request #244 from RElesgoe/master
Use wide functions from WinAPI when possible and update greeting message
2016-08-12 22:01:00 -07:00
xboi209
b12ebbacd4 Move Windows-specific code to appropriate #ifdef block 2016-08-12 21:17:17 -07:00
xboi209
96d017284f - Use narrow functions in sql_odbc.cpp
- Remove use of TCHAR types
2016-08-12 20:54:35 -07:00
xboi209
1e36d4995d Update greeting message in pvpgn_greeting() 2016-08-12 18:40:10 -07:00
xboi209
09d012360b - Use wide functions instead of narrow functions when using WinAPI
- Use RtlGetVersion() instead of GetVersionEx()
2016-08-12 18:34:04 -07:00
RElesgoe
b9beb3b495 Merge pull request #240 from RElesgoe/master
Use standard typedefs and fix format specifiers
2016-08-12 04:58:03 -07:00
xboi209
cd394c6905 Fix mistakes with format specifiers 2016-08-12 00:36:23 -07:00
xboi209
e1dee887df Fix incorrect format specifiers 2016-08-12 00:20:22 -07:00
xboi209
77c209318f Fix previous commit 2016-08-11 22:53:37 -07:00
xboi209
42e3a6680b Use standard typedefs from <cstdint> 2016-08-11 22:47:12 -07:00
RElesgoe
78516e1db3 Merge pull request #237 from RElesgoe/master
Use singleton class for ad banner
2016-08-11 21:37:40 -07:00
xboi209
8fd10d01dc Use singleton class for ad banner 2016-08-11 17:42:24 -07:00
RElesgoe
fc82715c61 Merge pull request #234 from RElesgoe/master
Fix compile errors
2016-08-05 16:43:41 -07:00
xboi209
f828993102 Fix compile errors 2016-08-05 04:32:54 -07:00
xboi209
01499ccd5b Fix compile error 2016-08-05 02:37:49 -07:00
xboi209
de866c1ba5 Merge branch 'master' of https://github.com/RElesgoe/pvpgn.git 2016-08-05 02:24:52 -07:00
xboi209
ca6acfd419 Fix compile error 2016-08-05 02:24:49 -07:00
RElesgoe
ae761897a0 Merge pull request #232 from RElesgoe/master 2016-08-05 01:46:12 -07:00
RElesgoe
6c29c0edc0 Merge pull request #14 from pvpgn/master
Sync
2016-08-05 01:44:26 -07:00
xboi209
6436e2fe9b Remove track.muleslow.net from the tracker list 2016-08-05 01:43:04 -07:00
RElesgoe
81b8dcd879 Remove dynamic exception specification from functions in luawrapper.c… (#231)
* Remove dynamic exception specification from functions in luawrapper.cpp and luawrapper.h

* Added missing semicolon
2016-08-05 01:40:09 -07:00
xboi209
134448e67a Added missing semicolon 2016-08-05 01:39:49 -07:00
xboi209
dbef3aa172 Remove dynamic exception specification from functions in luawrapper.cpp and luawrapper.h 2016-08-05 01:37:19 -07:00
RElesgoe
ae7f41a2b8 Merge pull request #229 from RElesgoe/master
Removed unreferenced variables
2016-08-05 01:00:35 -07:00
xboi209
3400a2a3ee Removed unreferenced variables 2016-08-05 01:00:00 -07:00
RElesgoe
ceb67ed09a Merge pull request #228 from RElesgoe/master
Update trackers
2016-08-05 00:54:01 -07:00
xboi209
48807fdbfb - Remove track.dreaming-bg.com tracker (dead)
- Add track.eurobattle.net tracker
2016-08-05 00:53:12 -07:00
RElesgoe
81c35b65f0 Merge pull request #227 from RElesgoe/master
Possible crash at userlog_read() when an argument is a null pointer
2016-08-05 00:50:16 -07:00
xboi209
179c547459 Possible crash at userlog_read() when an argument is a null pointer 2016-08-05 00:48:42 -07:00
RElesgoe
3a95a5dda4 Merge pull request #223 from RElesgoe/master
Sync
2016-08-04 22:24:16 -07:00
xboi209
0a57d3f700 Fix casing on ver-IX86-1.mpq 2016-08-04 21:42:32 -07:00
xboi209
bb5b6a94ba Define the ad.json format specification 2016-08-04 21:22:49 -07:00
xboi209
38ae37fb5b - Update CheckRevision ver-IX86-*.mpq files
- Use ver-IX86-1.mpq for WarCraft 3
2016-08-04 20:31:50 -07:00
xboi209
d5ec921422 Create VersionCheck entry for WarCraft 3: Reign of Chaos 1.27a 2016-08-04 19:58:33 -07:00
xboi209
1505fc5238 Move VersionCheck entries for WarCraft 3 1.26a to Older Versions section 2016-08-04 19:55:42 -07:00
xboi209
c68aff0a1a Update JSON for Modern C++ to v2.0.2 2016-08-04 19:52:02 -07:00
RElesgoe
bc74c5b602 Merge pull request #211 from RElesgoe/master
Fix exception when attempting to select an invalid ad id
2016-07-01 02:00:11 -07:00
xboi209
2639fa9578 - Fixed exception when attempting to select an invalid ad id 2016-07-01 01:58:32 -07:00
RElesgoe
295f9d481a Merge pull request #204 from RElesgoe/master
Modify bnetd.conf.win32 to use ad.json instead of ad.conf
2016-05-24 17:54:14 -07:00
xboi209
23b7a5de56 Modified bnetd.conf.win32 to use ad.json instead of ad.conf 2016-05-24 17:53:02 -07:00
RElesgoe
c99de23626 Merge pull request #203 from RElesgoe/master
Use JSON configuration file for Ad Banners
2016-05-24 13:28:17 -07:00
xboi209
a42ec6f6ab Corrected format specifier for std::size_t 2016-05-24 04:14:11 -07:00
xboi209
d906975dfc Remove unused includes in adbanner.cpp and adbanner.h 2016-05-24 04:01:48 -07:00
xboi209
505633aba0 PvPGN now loads ads configuration in JSON format 2016-05-24 03:58:39 -07:00
xboi209
8102febfd3 Updated json.hpp to correct file 2016-05-23 21:06:30 -07:00
xboi209
c036a43bd3 Update to JSON for Modern C++ 2.0.0 commit a3f432b3dde1d71c8940961947db5938ed11ee91 2016-05-23 21:02:22 -07:00
xboi209
214861038b Update to JSON for Modern C++ 2.0.0 commit a3f432b3dde1d71c8940961947db5938ed11ee91 2016-05-23 20:59:25 -07:00
xboi209
cc393bb543 Add JSON for Modern C++ 1.1.0 2016-05-23 14:24:13 -07:00
RElesgoe
315f45ce4f Merge pull request #202 from RElesgoe/master
Sync
2016-05-23 13:46:03 -07:00
RElesgoe
94dc3e627f Merge pull request #13 from pvpgn/master
Sync
2016-05-23 13:45:37 -07:00
xboi209
2461e895e7 Merge pull request #198 from cen1/wc3_127a
Support for W3 patch 1.27a
2016-04-14 18:20:22 -07:00
cen1
3f1b18ed7f Support for W3 patch 1.27a 2016-04-02 15:19:54 +02:00
xboi209
cbca36ac7d Merge pull request #193 from cen1/bsdfix
FreeBSD compilation error fixes
2015-11-16 19:38:30 -08:00
xboi209
0b98e4fafa Update .travis.yml
Add --no-check-certificate to wget parameter
2015-11-16 13:24:53 -08:00
xboi209
c0b126379c Update .travis.yml
Force Travis to use CMake 3.4.0
2015-11-16 13:02:58 -08:00
cen1
9b6f38028f Merge branch 'master' of https://github.com/pvpgn/pvpgn-server into bsdfix 2015-11-16 20:03:21 +01:00
cen1
4d20b91580 Merge branch 'master' of https://github.com/pvpgn/pvpgn-server into bsdfix 2015-11-16 19:47:55 +01:00
cen1
7fa9f0430a Changed string to reference 2015-11-16 19:31:18 +01:00
cen1
3914288b05 Corrected fix for clang 2015-11-16 12:07:53 +01:00
cen1
a8901d9edc Fix event.h cmake find on freebsd 2015-11-16 11:59:23 +01:00
cen1
788b167ddd FIx compile with clang 2015-11-16 11:57:54 +01:00
xboi209
9385d027a2 Use std::string()'s 2015-11-03 17:41:00 -08:00
xboi209
1303e41913 Fix compile error on FreeBSD 10.2 with Clang 3.4.1 2015-10-31 01:21:01 -07:00
xboi209
72a3d92e5c Use std::string's 2015-10-31 01:13:24 -07:00
xboi209
b2ceee18e7 Merge pull request #180 from xboi209/master
Remove unused/unneeded defines
2015-10-17 16:05:18 -07:00
xboi209
c0f2c3968e - Removed HAVE_STRTOUL 2015-10-17 13:45:41 -07:00
xboi209
ddb665a543 - Removed HAVE_GETENV 2015-10-17 13:37:21 -07:00
xboi209
ebfb1b97fe - Removed HAVE_UNAME duplicate 2015-10-17 13:33:00 -07:00
xboi209
597f394d46 - Removed HAVE_VSNPRINTF 2015-10-17 13:30:18 -07:00
xboi209
a1f80f108f - Removed HAVE_DIFFTIME
- Removed HAVE_INDEX
- Removed HAVE_RINDEX
- Removed HAVE_STRCHR
- Removed HAVE_STRRCHR
2015-10-17 13:26:49 -07:00
xboi209
6f9294d198 Undo tmp change 2015-10-17 13:16:06 -07:00
xboi209
d1ac041bf5 - Removed check for HAVE_MKTIME 2015-10-17 13:15:41 -07:00
xboi209
534da8445a - Removed HAVE_SNPRINTF defines 2015-10-17 13:11:46 -07:00
xboi209
4908e192dd - Removed src/win32/configwin.h 2015-10-17 13:10:28 -07:00
xboi209
3ce35b1a83 Additional tested configurations 2015-10-17 12:40:49 -07:00
xboi209
92b8f9fea6 Merge pull request #178 from xboi209/master
Various Changes
2015-10-16 19:17:09 -07:00
xboi209
9cd2ef2b4b Updated docs files to use markdown 2015-10-16 17:13:24 -07:00
xboi209
ce56cf1619 Uncomment max_accounts in bnetd.conf 2015-10-12 16:03:39 -07:00
xboi209
9e3ba4e31a Use trace instead of error in friendlist_close() 2015-10-12 15:35:36 -07:00
xboi209
a5c1a8ed1e Revert account_set_rawattr() which caused a crash when creating a new account in WC3 2015-10-12 15:33:05 -07:00
xboi209
fc3080f447 Merge branch 'master' of https://github.com/xboi209/pvpgn.git 2015-10-10 13:54:34 -07:00
xboi209
33b4b61c95 Pass compiler flags for Clang 2015-10-10 13:54:31 -07:00
xboi209
0cb70c3264 Merge pull request #12 from pvpgn/master
Sync with HarpyWar
2015-10-09 20:44:53 -07:00
xboi209
5a455db8e2 Remove the -ansi flag 2015-10-09 20:41:08 -07:00
xboi209
664923370d Forgot to remove snprintf.cpp from compat/CMakeLists.txt 2015-10-09 20:23:21 -07:00
xboi209
7ba2bfab8b Rewrite account_wrap.cpp to use std::string()'s 2015-10-09 20:17:28 -07:00
xboi209
1aa1ecab6a Remove snprintf shim 2015-10-09 15:54:45 -07:00
xboi209
28752e8bd8 Optimized munge() by not calling strlen() in loop 2015-10-01 04:51:58 -07:00
xboi209
e45f503d2f Created a reference for topic->topicstr in class_topic::display() 2015-10-01 04:50:10 -07:00
xboi209
b907b28f51 Removed check for non-null pointer 2015-10-01 04:45:28 -07:00
xboi209
cfb327493d Corrected wrong format specifiers 2015-10-01 04:42:19 -07:00
xboi209
5a788bf6ce Optimized various functions in topic.cpp by declaring function parameters as constant 2015-10-01 04:36:06 -07:00
xboi209
6fdca215fc Removed unused variable 'when' 2015-10-01 04:32:35 -07:00
xboi209
a8bd7f2f0f Optimized tournament_init() by not calling strlen() in loop 2015-10-01 04:32:15 -07:00
xboi209
f2ddd3c6f5 Optimized customicons_load() by not calling strlen() in loop 2015-10-01 04:31:31 -07:00
xboi209
e477de2052 Removed check for non-null pointer 2015-10-01 04:28:44 -07:00
xboi209
a18107407f Removed check for non-null pointer 2015-10-01 04:28:26 -07:00
xboi209
4844c0c989 Optimized checks for empty strings 2015-10-01 04:24:28 -07:00
xboi209
c0db97afd6 Optimized versioncheck_compare_exeinfo() by not calling strlen() on every loop 2015-10-01 04:20:04 -07:00
xboi209
9948a600fc Optimized userlog_read() by not calling strlen() on every loop 2015-10-01 04:19:13 -07:00
xboi209
8be043e97e Optimized userlog_append() by not calling strlen() on every loop 2015-10-01 04:17:25 -07:00
xboi209
973141b193 Removed unused variable 'token' 2015-10-01 04:16:03 -07:00
xboi209
18c6de18da Removed unused variable 'istr' 2015-10-01 04:15:42 -07:00
xboi209
5f65085527 Optimized ipban_could_be_ip_str() by not calling strlen() on every loop 2015-10-01 04:15:18 -07:00
xboi209
b21db674c9 Optimized file_find_localized() by not calling strlen() on every loop 2015-10-01 04:13:39 -07:00
xboi209
6262ec0f01 Optimized replace_args() by not calling strlen() on every loop 2015-10-01 04:12:13 -07:00
xboi209
7c8f939bc1 Optimized account_check_name() by not calling strlen() on every loop 2015-10-01 04:10:21 -07:00
xboi209
39f58d3c9f Removed unused variable 'clients' 2015-10-01 04:08:05 -07:00
xboi209
a717515e7a Corrected wrong format specifiers 2015-10-01 04:03:57 -07:00
xboi209
2bda96bbc4 Corrected wrong format specifier 2015-10-01 04:01:57 -07:00
xboi209
8ea6bfe401 Corrected wrong format specifiers 2015-10-01 04:00:44 -07:00
xboi209
4cf7bb0cb2 Added explicit check for strcasecmp()'s return value 2015-10-01 03:59:49 -07:00
xboi209
0e7941a774 Corrected wrong format specifiers 2015-10-01 03:56:45 -07:00
xboi209
73ec155553 Corrected wrong format specifier 2015-10-01 03:55:06 -07:00
xboi209
b17bbe7a2f Corrected wrong format specifiers in anongame_wol.cpp 2015-10-01 03:51:49 -07:00
xboi209
c99246bcf4 Check the return value of LoadLibrary() 2015-10-01 03:49:40 -07:00
xboi209
5d279da11f Removed useless check for 'clan' 2015-10-01 03:46:30 -07:00
xboi209
289272945a 'filenamestk' is always not equal to a null pointer, remove check 2015-10-01 03:43:01 -07:00
xboi209
11e2b9fd94 - Minor code improvements to the Topics system
- Empty lines in the topic file no longer displays an error in the eventlog
- Added checks for duplicate lines in the topic file
- Optimized code to only write data from memory to the topic file if it doesn't already exist
2015-09-27 22:40:54 -07:00
HarpyWar
38f36b28ee automate windows builds for all storage types 2015-09-23 22:14:02 +03:00
HarpyWar
200ec3b48d fix error with cmake 3.3 when parsing string with brackets
"$ENV{PROGRAMFILES(x86)}/MySQL/*/include"
2015-09-23 22:11:05 +03:00
xboi209
db3c77558d Merge pull request #172 from xboi209/master
Various changes
2015-09-22 18:13:45 -07:00
xboi209
de13ce5351 Unreferenced local variable 'i' in sha1hash.cpp 2015-09-22 17:29:53 -07:00
xboi209
4b61afde1b Unreferenced local variable 'i' in bnchat.cpp 2015-09-22 17:29:34 -07:00
xboi209
1ee46e84ea Fixed truncation warnings in i18n.cpp 2015-09-22 17:28:50 -07:00
xboi209
9d126f9cc8 Return bool type in conn_wol_get_findme() and conn_wol_get_pageme() 2015-09-22 17:21:45 -07:00
xboi209
40d3b09edb Changed comparison between int and bool to int and int in clan_remove_member() 2015-09-22 17:16:38 -07:00
xboi209
96e1b8ef01 Do not initialize and declare extern variable 'countries' at the same time 2015-09-22 17:12:07 -07:00
xboi209
b5aca7a9cd Fixed mistake from previous commit 2015-09-22 17:09:33 -07:00
xboi209
caf4b212ff Fixed improper eventlog() calls 2015-09-22 16:49:35 -07:00
xboi209
3d51d15182 Fixed improper eventlog() calls 2015-09-22 16:34:55 -07:00
xboi209
1c22743786 Fixed compile error when compiling with SQL 2015-09-22 16:31:19 -07:00
xboi209
fa9cf3a329 Don't use NULL when a non-pointer is expected 2015-09-22 11:44:47 -07:00
xboi209
534206717a Don't use NULL when returning in tag_validate_client() 2015-09-22 11:35:29 -07:00
xboi209
1ae129e8f9 Fixed improper eventlog() calls 2015-09-22 11:30:55 -07:00
xboi209
4e0f62daef Fix non-conforming ISO C++ code 2015-09-22 11:23:05 -07:00
xboi209
5542dbd7d7 Fixed conflicting declaration of sql_tables 2015-09-22 11:19:27 -07:00
xboi209
01e9483bb4 Avoid fpermissive warning in G++ 2015-09-22 10:20:08 -07:00
xboi209
c4ea37bde7 Fix previous commit 2015-09-22 10:02:21 -07:00
xboi209
3422fb3990 Fix AppVeyor build issue 2015-09-22 09:58:55 -07:00
xboi209
f57a8c4a55 Force AppVeyor to use v140 build tools 2015-09-22 09:46:31 -07:00
xboi209
863c0cdcd0 Force AppVeyor to use Visual Studio 2015 2015-09-22 09:42:56 -07:00
xboi209
a8fbd54e2b - Force Travis to use CMake 3.3.2
- Force appveyor to use Visual Studio 2015
2015-09-22 09:39:03 -07:00
xboi209
08bd745c42 - Force Travis to use CMake 3.3.2
- Force appveyor to use Visual Studio 2015
2015-09-22 09:31:59 -07:00
xboi209
0274999f1a Merge branch 'master' of https://github.com/xboi209/pvpgn.git 2015-09-22 09:26:36 -07:00
xboi209
dce287825e Update minimum required compiler version to G++ 5.1 and Visual Studio 2015 2015-09-22 09:26:34 -07:00
xboi209
c9c78623b2 Merge pull request #11 from pvpgn/master
Sync with HarpyWar
2015-09-22 09:00:22 -07:00
HarpyWar
224fed7598 restrict check for STARTGAME4 packet length for starcraft client only
https://github.com/pvpgn/pvpgn-server/issues/159
2015-09-22 18:40:01 +03:00
HarpyWar
f19ca1afa2 update appveyor badge url 2015-09-22 14:48:49 +03:00
HarpyWar
7e7a371d45 update links to the repository due to move it to "pvpgn" organization 2015-09-22 13:46:18 +03:00
xboi209
d656e16493 Merge pull request #10 from HarpyWar/master
fix "WITH SQL" compile errors for Visual Studio 2015 (continuation of…
2015-09-21 21:30:26 -07:00
HarpyWar
bd08cc8d78 fix "WITH SQL" compile errors for Visual Studio 2015 (continuation of https://github.com/HarpyWar/pvpgn/pull/163) 2015-09-21 21:42:10 +03:00
xboi209
2660145b37 Implement C++14's make_unique 2015-09-20 20:10:28 -07:00
xboi209
b645515eee Overhaul topic.cpp and topic.h 2015-09-20 20:09:17 -07:00
xboi209
cac1d19a11 Removed redundant code in sha1_hash() and bnet_hash() 2015-09-06 11:43:12 -07:00
xboi209
d4085f218e Remove inet_ntoa, use inet_ntop 2015-09-06 11:25:48 -07:00
xboi209
4472050fb8 Remove inet_aton, use inet_pton 2015-09-06 10:49:42 -07:00
xboi209
0110ccd7a7 Revert change, can't figure out why this xfree() causes a crash 2015-08-26 01:18:22 -07:00
xboi209
177c482c7e Fixed mistake when attempting to free memory too early in userlog_filename() 2015-08-26 01:08:53 -07:00
xboi209
6ebdee268f Use xfree() instead of free() in anongame_infos_DESC_destroy() 2015-08-26 00:56:30 -07:00
xboi209
df840e101c Fixed mistake in checking for a failure from list_remove_elem() in friends.cpp 2015-08-26 00:53:34 -07:00
xboi209
ed37d44001 Fixed memory leaks in userlog_append() and userlog_filename() 2015-08-26 00:52:52 -07:00
xboi209
03b1c5e35c Fixed mistake in checking for a failure from list_remove_data() in friends.cpp 2015-08-26 00:16:24 -07:00
xboi209
638ab9e402 Make file_get_info() more consistent 2015-08-26 00:15:24 -07:00
xboi209
b171e72586 std::atexit() wasn't what I thought it was... 2015-08-25 23:58:44 -07:00
xboi209
61d3be9470 - Rewrote friends.cpp
- Created a new-handler function to handle out of memory failures by operator new
2015-08-25 23:55:30 -07:00
xboi209
0ef8c1990f Fix previous commit 2015-08-24 12:19:43 -07:00
xboi209
b586b8e60d Simplify some functions using C++ 2015-08-24 12:17:48 -07:00
xboi209
21adb496b7 Fix non-ISO C++ conformant code 2015-08-24 03:17:12 -07:00
xboi209
5a1e471e8b std::auto_ptr is deprecated in C++11, replace with std::unique_ptr 2015-08-24 02:55:31 -07:00
xboi209
ae45207b29 - Minimum CMake version: 3.1.0
- Minimum G++ version: 4.8
- Minimum Visual Studio version: VS2012
- Added '-std=c++11' flag to G++
- Removed unused defines
- Removed checks for standard library headers
- Added CMake detections of '_vsnprintf' and '_snprintf' for Visual Studio 2015
- Removed bnpcap
- Force Travis CI to use CMake 3.1.3 and G++5
2015-08-24 02:30:17 -07:00
xboi209
98f7165e21 Merge pull request #9 from HarpyWar/master
Sync
2015-08-23 00:03:57 -07:00
HarpyWar
5f9d7d6b9e Merge pull request #164 from xboi209/memleak
Memleak
2015-08-20 16:15:48 +03:00
HarpyWar
d1c2be66ae Merge pull request #163 from xboi209/master
Fix compile errors for Visual Studio 2015
2015-08-20 16:15:28 +03:00
xboi209
e299aadee0 Remove __cdecl because it's unnecessary and non portable 2015-08-13 12:51:05 -07:00
xboi209
a27a181e52 Change _cdecl to __cdecl 2015-08-13 12:45:48 -07:00
xboi209
52d112644b Fixed leaks 2015-08-13 12:39:19 -07:00
xboi209
eea783b1a0 Fixed memory leak from attrgroup_flush() 2015-08-13 10:23:38 -07:00
xboi209
85965c7804 Fixed mistake 2015-08-13 09:39:51 -07:00
xboi209
9a5be8f445 - Fix snprintf and vsnprintf detection errors for Visual Studio 2015 in CMake
- Fix user-defined literal errors for Visual Studio 2015
2015-08-01 02:41:45 -07:00
HarpyWar
095cdee275 Merge pull request #154 from xboi209/patch-11
Close fp in customicons_load()
2015-06-28 10:31:41 +03:00
HarpyWar
aee1deec82 Merge pull request #148 from xboi209/patch-8
Do not define snprintf() as _snprintf()
2015-06-28 10:31:35 +03:00
HarpyWar
4fb5e7617d Merge pull request #146 from xboi209/afxres
Fix compile error when MFC is not installed
2015-06-28 10:31:21 +03:00
HarpyWar
5bfea3a1ea Merge pull request #144 from xboi209/cleanup
Cleanup
2015-06-28 10:31:15 +03:00
HarpyWar
3560aa1bd6 Merge pull request #143 from cen1/findmysql
On windows, mysql lib name is apparently libmysql, at least it was in my...
2015-06-28 10:31:02 +03:00
HarpyWar
8c446098f7 Merge pull request #142 from cen1/118
Fixed a warning from Ref #118. Plus has priority over dereference. I was...
2015-06-28 10:30:56 +03:00
xboi209
6f788b393c Update icons.cpp 2015-05-16 11:54:28 -07:00
xboi209
c742aeec3f Update icons.cpp 2015-05-16 11:42:55 -07:00
xboi209
72be079079 Close fp in customicons_load() 2015-05-16 11:30:40 -07:00
HarpyWar
c35b876e4d Merge pull request #151 from xboi209/patch-10
Update and rename Compile.Instructions.Win32.VS.Net2005.txt to Compile.I...
2015-04-01 12:27:51 +03:00
xboi209
f2c97b23ab Update Compile.Instructions.Win32.VS2013.txt 2015-03-24 11:26:04 -07:00
xboi209
1a97ed5c1f Update and rename Compile.Instructions.Win32.VS.Net2005.txt to Compile.Instructions.Win32.VS2013.txt 2015-03-23 15:03:37 -07:00
HarpyWar
f26ee365ee Merge pull request #150 from xboi209/patch-9
Deleaker
2015-03-23 11:40:49 +03:00
xboi209
f206be7af1 Update README.DEV
Deleaker
2015-03-23 01:33:40 -07:00
xboi209
316f14808c Update README.md
Deleaker
2015-03-22 14:49:11 -07:00
xboi209
9d1085b343 snprintf() is no longer defined as, if available, _snprintf() 2015-03-15 10:58:59 -07:00
xboi209
af44d9afdc Fix compile error when MFC is not installed 2015-03-13 23:06:52 -07:00
xboi209
b9c500f11a fix compile issue 2015-03-08 21:49:01 -07:00
xboi209
6511cb9e02 fix compile issue 2015-03-08 21:45:10 -07:00
xboi209
cc099ac1b0 fix compile issue 2015-03-08 21:41:05 -07:00
xboi209
7aabe19c8a fix compile issue 2015-03-08 21:36:32 -07:00
xboi209
16271f6488 warning C4101: 'end_lines' : unreferenced local variable
warning C4101: 'start_lines' : unreferenced local variable
2015-03-08 21:14:09 -07:00
xboi209
67a08a0671 warning C4101: 'player' : unreferenced local variable
warning C4101: 'ctag' : unreferenced local variable
warning C4101: 'channelname' : unreferenced local variable
2015-03-08 21:13:22 -07:00
xboi209
aeb08c5eb6 warning C4101: 'clienttag_str' : unreferenced local variable
warning C4101: 'item' : unreferenced local variable
warning C4101: 'item' : unreferenced local variable
warning C4101: 'usericon' : unreferenced local variable
warning C4101: 'uicon' : unreferenced local variable
warning C4101: 'curr_icon' : unreferenced local variable
2015-03-08 21:12:53 -07:00
xboi209
be0e98089a warning C4715: 'pvpgn::bnetd::irc_send_rpl_namreply_internal' : not all control paths return a value 2015-03-08 21:11:44 -07:00
xboi209
0738110702 warning C4101: 'pid' : unreferenced local variable 2015-03-08 21:10:33 -07:00
xboi209
0f8b242914 warning C4101: 'rating' : unreferenced local variable 2015-03-08 21:10:18 -07:00
xboi209
cc440af5ee warning C4101: 'temp_' : unreferenced local variable 2015-03-08 21:09:58 -07:00
xboi209
47de763487 warning C4715: 'pvpgn::bnetd::_ladder_is_integer' : not all control paths return a value 2015-03-08 21:09:39 -07:00
xboi209
f343d5152b warning C4101: 'i' : unreferenced local variable 2015-03-08 21:08:38 -07:00
xboi209
7fea5f9d54 warning C4101: '_temp' : unreferenced local variable
warning C4101: 'ircname' : unreferenced local variable
warning C4101: 'temp' : unreferenced local variable
2015-03-08 21:08:00 -07:00
xboi209
592227bf0f warning C4101: 'p' : unreferenced local variable
warning C4101: 'j' : unreferenced local variable
warning C4101: 'ircname' : unreferenced local variable
warning C4101: 'temp' : unreferenced local variable
2015-03-08 21:07:20 -07:00
xboi209
d4c35f5dbc warning C4101: 'test' : unreferenced local variable 2015-03-08 21:06:27 -07:00
xboi209
8bda8e3b49 warning C4101: 'i' : unreferenced local variable 2015-03-08 21:06:15 -07:00
xboi209
a1617bdb6a warning C4101: 'server_public_key' : unreferenced local variable
warning C4101: 'passhash' : unreferenced local variable
warning C4101: 'server_public_key' : unreferenced local variable
warning C4101: 'clienthash' : unreferenced local variable
warning C4101: 'serverhash' : unreferenced local variable
warning C4101: 'memory' : unreferenced local variable
warning C4101: 'rpacket' : unreferenced local variable
2015-03-08 21:05:48 -07:00
xboi209
262d9ba9fd warning C4101: 'apiregmember' : unreferenced local variable
warning C4101: 'apiregmember' : unreferenced local variable
2015-03-08 21:03:56 -07:00
xboi209
f3a6863290 warning C4101: 'ctag' : unreferenced local variable 2015-03-08 21:03:04 -07:00
xboi209
441fd71bcf warning C4101: 'game' : unreferenced local variable 2015-03-08 21:02:45 -07:00
xboi209
b74f81c905 warning C4101: 'pid' : unreferenced local variable 2015-03-08 21:02:17 -07:00
xboi209
7aacc75acd warning C4101: 'ctag' : unreferenced local variable
warning C4101: 'i' : unreferenced local variable
warning C4101: 'j' : unreferenced local variable
warning C4101: 'i' : unreferenced local variable
warning C4101: 'j' : unreferenced local variable
warning C4101: 'i' : unreferenced local variable
warning C4101: 'j' : unreferenced local variable
warning C4101: 'j' : unreferenced local variable
warning C4101: 'i' : unreferenced local variable
warning C4101: 'i' : unreferenced local variable
warning C4101: 'i' : unreferenced local variable
warning C4101: 'j' : unreferenced local variable
warning C4101: 'i' : unreferenced local variable
warning C4101: 'j' : unreferenced local variable
warning C4101: 'i' : unreferenced local variable
warning C4101: 'j' : unreferenced local variable
warning C4101: 'channel_name' : unreferenced local variable
warning C4101: 'topic' : unreferenced local variable
2015-03-08 21:01:35 -07:00
xboi209
72d3b6cd8e warning C4101: 'pid' : unreferenced local variable 2015-03-08 20:56:02 -07:00
xboi209
e7a62d3f7d warning C4101: 'i' : unreferenced local variable 2015-03-08 20:55:24 -07:00
xboi209
c13851adef warning C4101: 'output' : unreferenced local variable
warning C4101: 'data' : unreferenced local variable
2015-03-08 20:54:46 -07:00
xboi209
a069abf63d warning C4101: 'i' : unreferenced local variable 2015-03-08 20:54:16 -07:00
xboi209
01b179d7e1 warning C4101: 'end_lines' : unreferenced local variable
warning C4101: 'start_lines' : unreferenced local variable
2015-03-08 20:53:37 -07:00
cen
1a28831d98 On windows, mysql lib name is apparently libmysql, at least it was in my installation 2015-03-02 19:18:27 +01:00
cen
3532ba199b Fixed a warning from Ref #118. Plus has priority over dereference. I was actually unable to replicate the warning on VS2013 even with /Wall 2015-03-02 16:45:35 +01:00
xboi209
760a98a70b Merge pull request #7 from HarpyWar/master
Sync
2015-02-13 08:17:37 -08:00
HarpyWar
11d67dbb87 Merge pull request #135 from xboi209/memleak
PR
2015-02-12 20:18:36 +03:00
xboi209
5013aac4c4 Update account_wrap.cpp
Added missing comma
2015-02-12 07:26:41 -08:00
HarpyWar
0fb418ef15 Merge pull request #133 from Kelwing/master
Fixed the first issue in #118
2015-02-11 23:58:45 +03:00
Jacob Wiltse
c3994f023d Fixed formatting, really? we're using actual tab characters? 2015-02-10 13:35:42 -05:00
Jacob Wiltse
ee7ba4034b Added = operator definition to iterator in elist.h. Ref #118 2015-02-10 13:27:55 -05:00
HarpyWar
ae2d0e4359 refactoring tolower functions
=> fix "debug assertion failed" on Windows that appears in Debug mode due to non-ascii symbols in user input
=> now it's possible use utf-8 symbols for password and login (it works in Warcraft 3)
2015-02-09 20:44:28 +03:00
xboi209
19fbaa5c51 Update account_wrap.cpp
Reorder headers
2015-02-09 08:33:07 -08:00
xboi209
fd904b23d1 Update account_wrap.cpp
Fixed some mistakes from previous commit
2015-02-09 08:29:12 -08:00
xboi209
de7ddf5300 Update account_wrap.cpp
Use ````snprintf```` instead of ````sprintf````
2015-02-09 08:26:41 -08:00
xboi209
f2a7d0b2ea Update watch.cpp
Use ````snprintf```` instead of ````sprintf````
2015-02-09 07:49:50 -08:00
xboi209
dc80998cc3 Update xstring.cpp
Use xmalloc
2015-02-08 08:28:30 -08:00
xboi209
df4e082f93 Update strdup.cpp
Use xmalloc
2015-02-08 08:25:50 -08:00
xboi209
5122177a00 Update d2dbs_winmain.cpp
Close va_list with va_end
2015-02-08 08:14:43 -08:00
xboi209
66768a796b Update d2cs_winmain.cpp
Close va_list with va_end
2015-02-08 08:14:42 -08:00
xboi209
fcf7256b03 Merge pull request #5 from HarpyWar/master
sync
2015-02-08 08:03:50 -08:00
HarpyWar
9375de8283 force lock account with illegal username when log on (fix for previous commit, restriction was when create account) 2015-02-02 13:22:12 +03:00
HarpyWar
8af97e7ad8 do not allow register account named with one of the reserved filenames in Windows https://msdn.microsoft.com/en-us/library/aa365247.aspx#naming_conventions 2015-02-01 21:42:56 +03:00
xboi209
5e8dfbd977 Merge pull request #4 from HarpyWar/master
Sync
2015-01-29 08:08:16 -08:00
HarpyWar
4c36a6ad25 Merge pull request #123 from aancw/bugIconSwithHack
Fix User DC when click Tournament Icon & Set user to Default Icon when I...
2015-01-27 21:38:13 +03:00
aancw
7397168f01 [CLEAN] Fix User DC when click Tournament Icon & Set user to Default Icon when ICON SWITCH HACK 2015-01-23 11:23:14 +07:00
aancw
efa98d3885 Fix User DC when click Tournament Icon & Set user to Default Icon when ICON SWITCH HACK
Signed-off-by: aancw <cacaddv@gmail.com>
2014-12-22 17:48:11 +07:00
HarpyWar
10c542a784 fix send "png" banner files https://github.com/HarpyWar/pvpgn/issues/120 2014-11-10 22:33:27 +03:00
HarpyWar
954dcd131a continue to previous commit 2014-11-08 10:57:11 +03:00
HarpyWar
451718a6b8 refactoring and fix code warnings from PVS Studio 2014-11-07 20:26:57 +03:00
HarpyWar
1bcf7879d4 fix possible memory leak, because key_get_tab return xstrdup (?) 2014-11-06 14:18:30 +03:00
HarpyWar
cf388ca0a4 cleanup code 2014-11-06 10:07:10 +03:00
HarpyWar
7878a6fec3 fix next_id assignment when loading ad.conf https://github.com/HarpyWar/pvpgn/issues/115 2014-11-05 11:52:46 +03:00
HarpyWar
eb7e80d35d fix russian encoding (in addition to https://github.com/HarpyWar/pvpgn/pull/117) 2014-11-05 11:51:28 +03:00
HarpyWar
8d9b37b9d5 Merge pull request #117 from iltmpz/master
fix encoding for W2BN, should be cp1251 instead of UTF-8
2014-11-05 11:48:22 +03:00
HarpyWar
3b3c385b02 Update CMakeLists.txt https://github.com/HarpyWar/pvpgn/issues/115 2014-11-04 20:46:39 +03:00
HarpyWar
16d8cc2d6b fix compile error in Linux https://travis-ci.org/HarpyWar/pvpgn/builds/39961428 https://github.com/HarpyWar/pvpgn/issues/115 2014-11-04 19:49:46 +03:00
HarpyWar
0825dd6c18 update banner configuration https://github.com/HarpyWar/pvpgn/issues/115 2014-11-04 19:32:14 +03:00
iltmpz
fac1e9328d fix encoding for W2BN, should be cp1251 instead of UTF-8 2014-11-03 15:53:42 +03:00
HarpyWar
91204db81a Update FindMySQL.cmake https://github.com/HarpyWar/pvpgn/issues/116
(fix for the commit  8b17eefadf)
2014-11-02 22:31:52 +03:00
HarpyWar
c2f5732611 more flexibly grant permissions for user groups who can manage icons of other users 2014-11-02 21:32:20 +03:00
HarpyWar
f3c2efdebd fix crash when fetching Ladder using MirageBot https://github.com/HarpyWar/pvpgn/issues/107 2014-11-02 14:40:14 +03:00
HarpyWar
44e5267940 Merge branch 'master' of https://github.com/harpywar/pvpgn 2014-11-01 13:12:12 +03:00
HarpyWar
8b17eefadf Update FindMySQL.cmake with the actual directory paths (source https://gist.github.com/RenatoUtsch/1623340) 2014-11-01 13:11:54 +03:00
HarpyWar
129ce9ba39 Merge pull request #58 from AleXoundOS/patch-1
little changes for ruRU translations
2014-10-29 14:21:20 +03:00
HarpyWar
3af4f2a7e1 fix displaying channel topic text (length was cut) 2014-10-29 11:57:51 +03:00
HarpyWar
8b3ed987ec fix mysql column names for mute/lock https://github.com/HarpyWar/pvpgn/issues/111
https://github.com/HarpyWar/pvpgn/issues/85
2014-10-28 18:58:20 +03:00
HarpyWar
dd71f21784 fix lock/mute text formatting https://github.com/HarpyWar/pvpgn/issues/108 2014-10-28 18:50:55 +03:00
HarpyWar
23f03d6060 flash attribute for online users if FORCE flag is passed https://github.com/HarpyWar/pvpgn/issues/110
https://github.com/HarpyWar/pvpgn/issues/85
2014-10-28 18:20:05 +03:00
HarpyWar
93c385ff2b oops, forgot set length https://github.com/HarpyWar/pvpgn/issues/72 2014-10-28 13:52:51 +03:00
HarpyWar
ab60ca6506 fix ExtraWork data handling https://github.com/HarpyWar/pvpgn/issues/72 2014-10-28 13:21:55 +03:00
HarpyWar
1fe87515ab there is _DEBUG flag for debug mode 2014-10-26 00:30:46 +04:00
HarpyWar
245c871d44 fix compile on Freebsd 10 http://forums.harpywar.com/viewtopic.php?id=1235 2014-10-26 00:17:09 +04:00
HarpyWar
e9d63f2678 generate a crash dump file on Windows https://github.com/HarpyWar/pvpgn/wiki/Debugging-Segment-Faults-(crash-dump) 2014-10-26 00:15:08 +04:00
HarpyWar
c75cbc5c63 Merge pull request #97 from GeckoVOD/master
German translation
2014-10-25 16:10:48 +04:00
xboi209
a13a545725 Update common.xml 2014-09-28 16:22:47 -07:00
xboi209
80a832a2fd Update common.xml 2014-09-25 19:33:41 -07:00
Celetuiw
9450bf8290 Update w3motd.txt 2014-09-25 21:48:10 +02:00
Celetuiw
8480f814fa Update newaccount.txt 2014-09-25 21:47:32 +02:00
Celetuiw
9ffaedef17 Update termsofservice.txt 2014-09-25 21:46:48 +02:00
Celetuiw
87b236a57e Update newaccount.txt 2014-09-25 21:43:14 +02:00
Celetuiw
62978dd7d8 Update common.xml 2014-09-25 21:39:49 +02:00
Celetuiw
c25a1dab67 Update chathelp-war3.txt 2014-09-25 20:28:53 +02:00
Celetuiw
f0f136ae02 Update bnmotd.txt 2014-09-25 20:28:12 +02:00
Celetuiw
470b7fa9d0 Update bnhelp.conf 2014-09-25 20:27:35 +02:00
HarpyWar
6c50351e27 log all sql queries in trace level https://github.com/HarpyWar/pvpgn/issues/85 2014-09-13 22:18:47 +04:00
HarpyWar
bb54fecd39 Do not set dirty flag on just loaded attributes, and due to this do not clear dirty flags after each load https://github.com/HarpyWar/pvpgn/issues/85 https://github.com/HarpyWar/pvpgn/issues/99
It saves the same functionality, but now it fixes bug when loading a next sql table into a memory (not we load a whole table on demand) - it clear dirty flags on previous modified attributes that were not saved yet.
2014-09-13 17:58:19 +04:00
HarpyWar
5f171df203 move Quiz records file into /var/quiz_records.txt 2014-09-13 12:42:50 +04:00
HarpyWar
0c6738fe89 fix implementation for ghost commands, now it mostly tested and work https://github.com/HarpyWar/pvpgn/issues/35 2014-09-13 12:27:25 +04:00
HarpyWar
9b2e7fda4e * allow send whisper message from the server in Lua
* fix attribute return types in Lua
2014-09-12 23:13:21 +04:00
HarpyWar
1f1076c8ae login handlers for Lua 2014-09-12 23:12:07 +04:00
HarpyWar
e1eb3623f5 fix crash when saving gamelist to status file https://github.com/HarpyWar/pvpgn/pull/80#issuecomment-55013934 2014-09-10 14:16:46 +04:00
Celetuiw
f190b8ad8c Update termsofservice.txt 2014-09-09 19:29:00 +02:00
Celetuiw
93a98acafc Update newaccount.txt 2014-09-09 19:28:53 +02:00
Celetuiw
a9f5eaa1fe Update newaccount.txt 2014-09-09 19:19:56 +02:00
Celetuiw
a03d8d5eec Update w3motd.txt 2014-09-07 02:36:37 +02:00
Celetuiw
0033abc78a Update chathelp-war3.txt 2014-09-07 02:34:18 +02:00
Celetuiw
cbb50cc6d4 Update bnmotd.txt 2014-09-07 02:27:56 +02:00
Celetuiw
aab2863a95 Update bnhelp.conf 2014-09-07 02:26:25 +02:00
Celetuiw
b820892ad7 Update bnhelp.conf 2014-09-07 02:08:05 +02:00
Celetuiw
2055b028de Update bnhelp.conf 2014-09-07 02:01:24 +02:00
Celetuiw
d714272723 Update bnhelp.conf 2014-09-06 21:54:38 +02:00
Celetuiw
4a742f53b7 Update bnhelp.conf 2014-09-05 21:43:36 +02:00
Celetuiw
6f1e8d11e2 Update bnhelp.conf 2014-09-05 21:05:11 +02:00
HarpyWar
a7ea686415 Remove .gitattributes https://github.com/HarpyWar/pvpgn/issues/86 2014-09-03 20:16:07 +04:00
root
efde8d7cb4 go 2014-09-03 11:26:57 -04:00
HarpyWar
c75095f888 Update README.md 2014-09-01 21:19:14 +04:00
HarpyWar
72fe92d673 Update README.md 2014-09-01 21:18:23 +04:00
HarpyWar
15bf198388 Update version.h 2014-09-01 20:08:08 +04:00
HarpyWar
dc1340952c Update .travis.yml 2014-09-01 16:15:23 +04:00
HarpyWar
14d52b6832 Merge branch 'cen1-installpath' 2014-09-01 16:10:02 +04:00
HarpyWar
da63220367 Merge branch 'installpath' of git://github.com/cen1/pvpgn into cen1-installpath
Conflicts:
	files/Makefile.am
	src/bnetd/Makefile.am
2014-09-01 16:08:58 +04:00
HarpyWar
cc37ec0fbc * fix for userflush_connected option
* return back a default attributes - it's required, but now we do not flush it, because it used often without changes
* fix for "file" storage (loadedtabs related to "sql" only)
https://github.com/HarpyWar/pvpgn/issues/85
2014-08-30 21:48:25 +04:00
HarpyWar
434ec4758a * remove extra fields from Lua account objects to exclude additional sql query.
* verious changes
2014-08-30 16:32:38 +04:00
HarpyWar
5008da5b3d fix compile error on linux https://travis-ci.org/HarpyWar/pvpgn/builds/33929543 2014-08-29 22:55:55 +04:00
HarpyWar
8beca0c6e0 fix compile on linux https://travis-ci.org/HarpyWar/pvpgn 2014-08-29 22:49:44 +04:00
HarpyWar
874b849334 fix compile on linux https://travis-ci.org/HarpyWar/pvpgn/builds/33928461 2014-08-29 22:44:38 +04:00
HarpyWar
16fd7d7d30 continue of previous commit 2014-08-29 22:38:08 +04:00
HarpyWar
7f58487a41 remove "waste" sql2 mode https://github.com/HarpyWar/pvpgn/issues/85 2014-08-29 22:28:13 +04:00
HarpyWar
1159fe09d6 edit columns size, add index on clanmember table https://github.com/HarpyWar/pvpgn/issues/85 2014-08-29 21:19:28 +04:00
HarpyWar
ee4d7830fa add "userflush_connected" option into a config. It allows disable flushing online users. https://github.com/HarpyWar/pvpgn/issues/85 2014-08-29 20:51:05 +04:00
HarpyWar
67ea3a6bc8 I don't know why "default" empty account is needed, just return it back (I removed it in previous commit while testing) 2014-08-29 20:04:30 +04:00
HarpyWar
b0c0d7ece8 load only needed tables instead of all tables, it decrease sql queries count and memory usage https://github.com/HarpyWar/pvpgn/issues/85 2014-08-29 19:58:04 +04:00
cen
a245200eaa Moved main binary out of sbin, changed default config path 2014-08-28 10:06:59 +02:00
HarpyWar
329d2a580c improve performance by decreasing count and frequency of sql queries https://github.com/HarpyWar/pvpgn/issues/85 2014-08-27 21:41:53 +04:00
HarpyWar
d737a4444b cleanup unused code 2014-08-26 16:13:48 +04:00
HarpyWar
15d90e380a lowercase filename for user logs https://github.com/HarpyWar/pvpgn/issues/47 2014-08-25 20:14:38 +04:00
HarpyWar
f49305523d Merge branch 'master' of https://github.com/harpywar/pvpgn 2014-08-25 19:49:15 +04:00
HarpyWar
1d0a26045c fix compile in Visual Studio 2008 2014-08-25 19:48:55 +04:00
HarpyWar
92ee335765 Merge pull request #87 from cen1/bom
i18n.cpp encoding changed to UTF8 without BOM because it breaks compilat...
2014-08-25 12:27:00 +04:00
cen
01df6b75a3 Removed Makefiles 2014-08-12 17:08:46 +02:00
cen
12b9374295 Changed windows install path which is now all in a single folder. Added make uninstall target: removes all files that were installed but leaves runtime generated files (db) and directories. Added make purge: removes everything, not leaving a trace on the disk. 2014-08-12 16:36:11 +02:00
cen
da9b6b7514 i18n.cpp encoding changed to UTF8 without BOM because it breaks compilation with error: stray XXX in program. Do not use BOM, ever. 2014-08-12 13:03:21 +02:00
HarpyWar
8d3f36e695 continue of previous commit https://github.com/HarpyWar/pvpgn/issues/55 2014-08-10 16:26:05 +04:00
HarpyWar
5034546a79 remove deprecated icons_STAR.bni and all the references https://github.com/HarpyWar/pvpgn/issues/55 2014-08-10 16:20:18 +04:00
HarpyWar
65eda9f368 add archtag and several other fields to Lua account object https://github.com/HarpyWar/pvpgn/issues/79 2014-08-10 14:21:37 +04:00
HarpyWar
6af15e0871 fix compile on linux https://travis-ci.org/HarpyWar/pvpgn/builds/32135931 2014-08-10 12:45:44 +04:00
HarpyWar
2bbfbe6edc fix compile https://travis-ci.org/HarpyWar/pvpgn/builds/32135543 2014-08-10 12:09:30 +04:00
HarpyWar
af486612db compile fix https://github.com/HarpyWar/pvpgn/issues/47 2014-08-10 11:56:39 +04:00
HarpyWar
0d01a01b46 Do not allow flood for admins due to possible abuse with quick command sending that high load a server processor. If we really need to ignore flood protection, it can be allowed in Lua config for special users https://github.com/HarpyWar/pvpgn/issues/49 2014-08-10 11:50:07 +04:00
HarpyWar
c2cd07b1dd correct commands code returns for properly logging https://github.com/HarpyWar/pvpgn/issues/47 2014-08-10 11:44:43 +04:00
HarpyWar
3f2d2072fe add logging feature for commands of each user https://github.com/HarpyWar/pvpgn/issues/47 2014-08-10 03:24:56 +04:00
HarpyWar
3613ad99f0 fix c++ command execution if Lua scripts has errors (earlier all c++ commands were ignored and it was not possible to run /lua rehash) 2014-08-10 02:23:34 +04:00
HarpyWar
cdd0129cac refactoring: extract caseinsensitive find_substr function 2014-08-09 23:30:25 +04:00
cen
833a6e0273 Changed install paths from /usr/local/var to /usr/local/var/pvpgn and /usr/local/etc to /usr/local/etc/pvpgn 2014-08-09 13:51:22 +02:00
HarpyWar
c2b838bf77 add GUI menu item to Restart Lua Virtual Machine 2014-08-07 13:53:13 +04:00
HarpyWar
5a61c023c1 fixes 2014-08-07 13:48:48 +04:00
HarpyWar
786359124e fix possible server crash due to unlimited queue with packets, that client can't receive 2014-08-07 13:45:52 +04:00
HarpyWar
f62b7f4739 Protection from hack attempt for Starcraft
Large map name size will cause crash Starcraft client for user who select an item in game list ("Join" area)
It occurs when the packet size of packet 0x0c in length interval 161-164
2014-08-07 03:22:20 +04:00
HarpyWar
4c6e54b101 * fix lost "</user>" in output of server.xml https://github.com/HarpyWar/pvpgn/issues/75
* add country in user info
2014-08-06 22:03:03 +04:00
HarpyWar
4886f1729b fix server crash, when use functions from Lua handle_client_readmemory or handle_client_extrawork (relates to previous commit) https://github.com/HarpyWar/pvpgn/issues/74 2014-08-06 11:57:00 +04:00
HarpyWar
1065063561 SID_REQUIREDWORK, SID_EXTRAWORK https://github.com/HarpyWar/pvpgn/issues/72 2014-08-05 21:16:49 +04:00
HarpyWar
57968d83c8 fix compile error on Linux https://travis-ci.org/HarpyWar/pvpgn/builds/31499490 2014-08-02 20:05:48 +04:00
HarpyWar
137b5cc7a5 * command /chost to allow host custom maps with GHost f6a2049502 (commitcomment-7207326)
* add help for /host and /chost
2014-08-02 19:32:56 +04:00
HarpyWar
f4fff62f82 * add server_handle_rehash to Lua
* function in Lua to save GHost state when rehash
2014-08-02 19:26:01 +04:00
HarpyWar
607d798609 Lua function handle_user_icon (feature to override user icon from Lua) 2014-08-02 17:51:07 +04:00
HarpyWar
5d05d6ce4a add handle_game_list Lua function (feature to sort game list from Lua) https://github.com/HarpyWar/pvpgn/issues/35 2014-08-02 17:49:40 +04:00
HarpyWar
69fed5a3e2 * add game_get_by_name Lua API function
* refactoring for lua_handle_command
2014-08-02 14:13:52 +04:00
HarpyWar
9d13198a88 continuation of previous commit https://github.com/HarpyWar/pvpgn/issues/49 2014-07-31 11:08:36 +04:00
HarpyWar
c1af0137d1 feature to ignore commands flood protection in Lua https://github.com/HarpyWar/pvpgn/issues/49 2014-07-31 11:02:17 +04:00
HarpyWar
f6a2049502 commands implementation for Ghost++ and DotA support in Lua https://github.com/HarpyWar/pvpgn/issues/35 (untested code) 2014-07-30 17:15:30 +04:00
HarpyWar
a49a95a448 change return codes in Lua commands https://github.com/HarpyWar/pvpgn/issues/47 2014-07-26 16:39:14 +04:00
xboi209
d577663b24 Update termsofservice.txt 2014-07-25 00:01:06 -07:00
xboi209
669c8380c8 Merge pull request #3 from HarpyWar/master
Sync with Harpywar
2014-07-24 12:18:27 -07:00
HarpyWar
60ea38000a fix crash when chatting on moderated channel https://github.com/HarpyWar/pvpgn/issues/68 2014-07-24 11:22:18 +04:00
HarpyWar
e6e07856bb Update .travis.yml 2014-07-23 21:40:32 +04:00
HarpyWar
a28e67f6be fix pvpgn crash when creating diablo 2 game https://github.com/HarpyWar/pvpgn/issues/68 2014-07-23 15:03:50 +04:00
HarpyWar
873025eb73 additional for previous commit https://github.com/HarpyWar/pvpgn/issues/67 2014-07-22 11:12:13 +04:00
HarpyWar
b1975c4316 fix /mute output https://github.com/HarpyWar/pvpgn/issues/67 2014-07-22 10:58:12 +04:00
HarpyWar
90a44ad4bf fox /whois https://github.com/HarpyWar/pvpgn/issues/68 2014-07-22 10:52:43 +04:00
HarpyWar
dfee2d7715 Merge pull request #66 from xboi209/patch-7
Define connection class 0x98
2014-07-20 12:04:18 +04:00
xboi209
e57d3c8004 Update handle_init.cpp 2014-07-20 00:58:18 -07:00
xboi209
ffe5f9e855 Update init_protocol.h 2014-07-20 00:55:45 -07:00
HarpyWar
853daa5b92 little fix for a previous commit 2014-07-20 11:14:52 +04:00
HarpyWar
4645d484f0 fix Windows version identification https://github.com/HarpyWar/pvpgn/issues/65 2014-07-20 11:09:05 +04:00
HarpyWar
61a682eee0 fix Windows version identification https://github.com/HarpyWar/pvpgn/issues/60#issuecomment-49385463 2014-07-19 14:43:20 +04:00
HarpyWar
fb47c20057 Merge pull request #64 from xboi209/patch-6
Update winmain.cpp
2014-07-19 13:49:53 +04:00
xboi209
d982603dd8 Update winmain.cpp
-Changed the huge if-else statement list to switch-case
-bnetd.conf will now open in the default application rather than notepad.exe
-Changed the Homepage link to http://pvpgn.pro/
2014-07-17 18:03:40 -07:00
xboi209
76214a86c9 Merge pull request #2 from HarpyWar/master
Sync with Harpywar
2014-07-17 16:47:59 -07:00
HarpyWar
d0616d4b1d fix /admin command output https://github.com/HarpyWar/pvpgn/issues/63 2014-07-17 20:14:16 +04:00
HarpyWar
d7893fe253 Update validate.bat script - English should not be checked 2014-07-17 18:17:17 +04:00
HarpyWar
00009df854 Update version.h 2014-07-17 18:15:41 +04:00
HarpyWar
fefef4e584 Add .gitattributes https://github.com/HarpyWar/pvpgn/pull/53 2014-07-17 16:34:33 +04:00
HarpyWar
854ac23460 Russian text encoding conversion for Starcraft, Diablo 1, Warcraft 2 https://github.com/HarpyWar/pvpgn/issues/13#issuecomment-44127543 2014-07-16 22:26:27 +04:00
HarpyWar
3fee8b7ae9 Update .travis.yml 2014-07-16 14:38:07 +04:00
HarpyWar
0c71645d87 fix display /games https://github.com/HarpyWar/pvpgn/issues/56 2014-07-16 14:08:48 +04:00
HarpyWar
2cc7a8cfcf Merge pull request #53 from xboi209/master
Change line endings from Unix to Windows
2014-07-16 13:46:59 +04:00
HarpyWar
9622e06b3f fix Windows version identification https://github.com/HarpyWar/pvpgn/issues/60 2014-07-16 13:23:06 +04:00
HarpyWar
7107a67276 Merge branch 'patch-2' of git://github.com/plisskenwat/pvpgn 2014-07-16 11:47:13 +04:00
HarpyWar
b08489cce9 Merge branch 'patch-2' of git://github.com/plisskenwat/pvpgn into plisskenwat-patch-2
Conflicts:
	conf/i18n/esES/bnhelp.conf
	conf/i18n/esES/bnmotd.txt
	conf/i18n/esES/common.xml
2014-07-16 11:47:06 +04:00
xboi209
a880c8855f Update common.xml 2014-07-15 22:02:56 -07:00
xboi209
e4ced26bde Update common.xml 2014-07-15 22:01:45 -07:00
xboi209
2687585099 Update common.xml
a3c629afb2
2014-07-15 21:57:40 -07:00
Celetuiw
a3c629afb2 Update common.xml 2014-07-15 13:58:21 +02:00
Celetuiw
7a1d947495 Update common.xml 2014-07-15 13:55:53 +02:00
xboi209
a839c6c761 Update common.xml 2014-07-14 10:32:06 -07:00
xboi209
eb3155768a Update common.xml 2014-07-14 10:30:59 -07:00
xboi209
57137cb6fa Create w3motd.txt 2014-07-14 10:15:13 -07:00
xboi209
1201654296 Create termsofservice.txt 2014-07-14 10:15:01 -07:00
xboi209
7f4e00dcbb Create newaccount.txt 2014-07-14 10:14:44 -07:00
xboi209
f63627e336 Create chathelp-war3.txt 2014-07-14 10:14:35 -07:00
xboi209
c5decc0cd7 Create bnhelp.conf 2014-07-14 10:13:59 -07:00
xboi209
598ceaa0ff Create common.xml 2014-07-14 10:13:30 -07:00
AleXoundOS
687a143e79 Update chathelp-war3.txt 2014-07-13 23:53:13 +04:00
AleXoundOS
eec258be3a Update bnmotd.txt 2014-07-13 23:52:15 +04:00
AleXoundOS
4edebfc9dd Update chathelp-war3.txt 2014-07-13 23:39:11 +04:00
xboi209
a1ca1e273d Merge pull request #1 from HarpyWar/master
Sync with Harpywar
2014-07-13 00:28:41 -07:00
xboi209
27a47df0fa Change line endings from Unix to Windows 2014-07-12 18:59:44 -07:00
xboi209
7f52813082 Merge pull request #1 from HarpyWar/master
Sync with Harpywar
2014-07-12 18:02:47 -07:00
plisskenwat
56bed29c2c Merge pull request #1 from xboi209/patch-4
Update common.xml
2014-07-12 16:02:55 -07:00
xboi209
8314302fa6 Update common.xml 2014-07-12 16:02:04 -07:00
plisskenwat
7946fd94cc Update common.xml 2014-07-13 00:46:07 +02:00
plisskenwat
0e528dc734 Update common.xml 2014-07-13 00:26:50 +02:00
plisskenwat
65b5c13a2a Update common.xml 2014-07-13 00:23:43 +02:00
plisskenwat
5301e283b6 Update common.xml 2014-07-13 00:20:02 +02:00
plisskenwat
f4b382e793 Update common.xml 2014-07-13 00:16:29 +02:00
plisskenwat
f20eda19ac Update bnmotd.txt 2014-07-13 00:05:53 +02:00
plisskenwat
5367b8c10f Update bnhelp.conf 2014-07-13 00:04:40 +02:00
plisskenwat
d53f9a1192 Update common.xml 2014-07-12 18:15:42 +02:00
plisskenwat
4b5327625e Update common.xml 2014-07-12 18:11:38 +02:00
plisskenwat
84b8fba665 Update common.xml 2014-07-12 17:34:16 +02:00
plisskenwat
cc0cc4b19d Update common.xml 2014-07-12 17:24:16 +02:00
plisskenwat
f8dd4e626e Update common.xml 2014-07-12 16:56:11 +02:00
plisskenwat
aaecabf76b Update common.xml 2014-07-12 16:43:33 +02:00
plisskenwat
c959c0de1e Update common.xml 2014-07-12 16:36:25 +02:00
plisskenwat
93cd1e829a Update common.xml 2014-07-12 16:35:44 +02:00
plisskenwat
9b7517c2c5 Update common.xml 2014-07-12 13:00:40 +02:00
plisskenwat
d457687341 Update bnmotd.txt 2014-07-11 22:59:26 +02:00
HarpyWar
1355b18dfc fix compile errors 2014-07-12 00:22:13 +04:00
HarpyWar
82c8f0a1c6 Update translations 2014-07-11 23:46:09 +04:00
HarpyWar
cb35c542a5 Merge branch 'master' of https://github.com/harpywar/pvpgn 2014-07-11 23:33:07 +04:00
HarpyWar
5b7498f053 Merge pull request #48 from plisskenwat/patch-2
Spanish Translation
2014-07-11 23:32:31 +04:00
plisskenwat
5d5cef9f40 Update common.xml 2014-07-11 12:19:25 -07:00
HarpyWar
6d2fd9d037 missing localize strings, update common.xml 2014-07-11 18:40:41 +04:00
HarpyWar
095b94a538 update scripts for localization 2014-07-11 18:40:02 +04:00
HarpyWar
7be4c30229 missing localized strings 2014-07-11 16:16:57 +04:00
plisskenwat
3a6b82f7d4 Update common.xml 2014-07-11 02:15:31 +02:00
plisskenwat
75cada2986 Update common.xml 2014-07-11 02:15:03 +02:00
plisskenwat
609c26d8c5 Update common.xml 2014-07-11 02:09:10 +02:00
plisskenwat
29ad92f76d Update common.xml 2014-07-11 02:08:41 +02:00
plisskenwat
c72bfb8f4a Update bnhelp.conf 2014-07-11 01:52:36 +02:00
plisskenwat
6328a1cced Update bnhelp.conf 2014-07-11 01:51:46 +02:00
plisskenwat
5bdde32da7 Update common.xml 2014-07-11 01:31:37 +02:00
plisskenwat
7af768fad3 Update bnhelp.conf 2014-07-11 01:18:54 +02:00
plisskenwat
3327447514 Update bnhelp.conf 2014-07-11 01:14:16 +02:00
plisskenwat
87d39dab95 Update w3motd.txt 2014-07-10 16:13:59 -07:00
plisskenwat
19e6ffc77c Update bnhelp.conf 2014-07-11 01:12:08 +02:00
plisskenwat
b18fe0c569 Update bnhelp.conf 2014-07-11 01:11:03 +02:00
plisskenwat
7c3610be49 Update w3motd.txt 2014-07-10 16:06:24 -07:00
plisskenwat
3276a9811d Update common.xml 2014-07-10 15:53:34 -07:00
plisskenwat
08e893a768 Update common.xml 2014-07-10 15:45:16 -07:00
plisskenwat
f245ac2690 Update common.xml 2014-07-10 15:42:07 -07:00
plisskenwat
7ca9f7aa0e Update bnhelp.conf 2014-07-10 15:36:27 -07:00
plisskenwat
c44eefe442 Update bnhelp.conf 2014-07-11 00:35:11 +02:00
plisskenwat
a1eab03abe Update bnhelp.conf 2014-07-10 15:04:19 -07:00
plisskenwat
08eb67c7b5 Create common.xml 2014-07-10 14:26:44 -07:00
plisskenwat
0f19a2d8f0 Create w3motd.txt 2014-07-10 14:24:44 -07:00
plisskenwat
83d7011eb3 Create termsofservice.txt 2014-07-10 14:23:54 -07:00
plisskenwat
79922328e6 Create newaccount.txt 2014-07-10 14:23:24 -07:00
plisskenwat
9006328883 Create chathelp-war3.txt 2014-07-10 14:22:45 -07:00
plisskenwat
fc152f8c16 Create bnhelp.conf 2014-07-10 14:21:20 -07:00
HarpyWar
43f971ddf5 * remove files that are not translated yet https://github.com/HarpyWar/pvpgn/issues/13
* remove duplicate German country definition c4dd101c4e (commitcomment-6954490)
2014-07-11 00:53:16 +04:00
HarpyWar
7737a60147 user can select different language using command /language [code] to display different translation https://github.com/HarpyWar/pvpgn/issues/13 2014-07-11 00:48:49 +04:00
HarpyWar
a207ab790a get user language by a country (instead of a game language) if new config option "localize_by_country" is enabled https://github.com/HarpyWar/pvpgn/issues/13 2014-07-10 02:16:22 +04:00
HarpyWar
c4dd101c4e get language by country for TOS file 2014-07-10 01:27:00 +04:00
HarpyWar
039ad8adf3 fix news loading 2014-07-08 23:00:29 +04:00
HarpyWar
5d7049ca18 fix crash when send "/con anytext" https://github.com/HarpyWar/pvpgn/issues/13#issuecomment-48153581 2014-07-08 11:15:46 +04:00
HarpyWar
a091669a66 Merge branch 'master' of https://github.com/harpywar/pvpgn 2014-07-07 21:35:35 +04:00
HarpyWar
79f8555312 Display Sex and Age in /finger only if they are not empty, and "unknown" location if it is empty display https://github.com/HarpyWar/pvpgn/issues/44 2014-07-07 21:34:08 +04:00
HarpyWar
3129bdfd0e Update Travis CI badge 2014-07-06 20:46:31 +04:00
HarpyWar
50b7df5b24 * supress gcc variadic warnings
* shorthand of format usage https://github.com/cppformat/cppformat/issues/49#issuecomment-48116104
2014-07-06 20:37:11 +04:00
HarpyWar
596b50e7ce remove d2server.ini definition (it must be supplied with d2gs) 2014-07-06 20:11:24 +04:00
HarpyWar
522a75e559 Update .travis.yml 2014-07-06 20:05:48 +04:00
HarpyWar
d38498a3a0 fix compile errors on Linux https://github.com/cppformat/cppformat/issues/49 2014-07-06 20:03:05 +04:00
HarpyWar
d74da670c1 the latest cppformat library version 0.10.0 2014-07-06 20:02:22 +04:00
HarpyWar
937ac6723b * move /killsession and /addacct into commented section for debug https://github.com/HarpyWar/pvpgn/issues/42
* remove unknown command /bitsinfo
2014-07-06 16:44:58 +04:00
HarpyWar
eff351d652 Update TODO
https://github.com/HarpyWar/pvpgn/pull/41
2014-07-04 17:53:08 +04:00
HarpyWar
6ec07558b7 remove ZLIB_WINAPI macro
https://github.com/HarpyWar/pvpgn/issues/24
2014-07-04 16:27:11 +04:00
HarpyWar
10a16d4cb9 Merge pull request #41 from xboi209/patch-3
Update TODO
2014-07-04 14:52:49 +04:00
HarpyWar
6550ecc78b Update appveyor.yml 2014-07-04 14:51:47 +04:00
xboi209
a393e03829 Update TODO
Removed Gamespy protocol support, updated roadmap for PvPGN 2.0-PRO
2014-07-03 21:23:39 -07:00
HarpyWar
b325926cfc Update appveyor.yml 2014-07-04 05:44:00 +04:00
HarpyWar
cfc6923178 Update appveyor.yml 2014-07-04 05:39:05 +04:00
HarpyWar
6a65e2012a Update appveyor.yml 2014-07-04 05:37:59 +04:00
HarpyWar
ee3967385d Update appveyor.yml 2014-07-04 05:22:35 +04:00
HarpyWar
f26d23b991 Update appveyor.yml 2014-07-04 04:47:29 +04:00
HarpyWar
8048482592 Update appveyor.yml 2014-07-04 04:47:03 +04:00
HarpyWar
bdbd032c85 Update appveyor.yml 2014-07-04 04:05:46 +04:00
HarpyWar
f429d6dd18 Update appveyor.yml 2014-07-04 03:55:03 +04:00
HarpyWar
a08aeaeb8c Update appveyor.yml 2014-07-04 03:44:55 +04:00
HarpyWar
a2849dbef8 Update appveyor.yml 2014-07-04 03:35:58 +04:00
HarpyWar
82e769ff49 Add appveyor.yml 2014-07-04 03:17:00 +04:00
HarpyWar
29d405fad1 Travis and AppVeyor badges 2014-07-04 01:08:39 +04:00
HarpyWar
db8b9b1aa0 * set different "conf" path for Windows and Linux
* allow all clients by default in Windows config, and more detailed loglevel
2014-07-04 00:58:20 +04:00
HarpyWar
3074a6a992 fix Linux compile errors 2014-07-03 02:08:28 +04:00
HarpyWar
c54e1c15cd fix compile errors on Linux 2014-07-03 00:35:42 +04:00
HarpyWar
96bbf4d0e9 fix compile errors on Linux 2014-07-03 00:33:14 +04:00
HarpyWar
6d39b26a31 Add .travis.yml 2014-07-02 23:47:46 +04:00
HarpyWar
5812041299 add updated w3motd.txt to localized files https://github.com/HarpyWar/pvpgn/issues/13 2014-07-02 22:42:54 +04:00
HarpyWar
1e0b253d68 add format feature with variables into w3motd file (like in bnmotd) 2014-07-02 22:41:01 +04:00
HarpyWar
0d738e5dae remove unused code 2014-07-02 22:39:42 +04:00
HarpyWar
79d6ccc331 switch to return localized files for user: bnhelp.conf, motdw3.txt, termsofservice.txt, newaccount.txt, chathelp-war3.txt 2014-07-01 23:54:27 +04:00
HarpyWar
272b83a8e2 Add termsofservice.txt. Content is the same as newaccount.txt that shows in Warcraft 3 after displaying TOS, but TOS used in all games. 2014-07-01 23:37:10 +04:00
HarpyWar
8dc23c0f0b add localizefile option in config 2014-07-01 23:34:46 +04:00
HarpyWar
89ba17b420 update make files, remove files (that are localized now) from old location 2014-06-30 22:55:44 +04:00
HarpyWar
f6096d834c remove reduntant *.in extension, add news.txt 2014-06-30 22:47:11 +04:00
HarpyWar
9fa8161126 update localization scripts according to a new directory structure 2014-06-30 14:27:03 +04:00
HarpyWar
7a5b98802f duplication of files to be translated soon https://github.com/HarpyWar/pvpgn/issues/13 2014-06-30 10:26:57 +04:00
HarpyWar
f240cb96d6 reorganize localization file structure 2014-06-30 09:39:49 +04:00
HarpyWar
b0cc40a030 utility that validates XML translation files https://github.com/HarpyWar/pvpgn/issues/13 2014-06-29 16:31:54 +04:00
HarpyWar
dd157be15d replace empty spaces "<translate> </translate>" -> "<translate></translate>" (for comfort further translation) https://github.com/HarpyWar/pvpgn/issues/13 2014-06-29 12:52:13 +04:00
HarpyWar
502f45dc6e bnhelp.conf also needed a translation, rename all files to *.in (cmake install extension) 2014-06-29 00:32:09 +04:00
HarpyWar
06bbc58c4d keep Lua translations at the end of xml, remove enUS because it is already defined in code 2014-06-28 23:17:59 +04:00
HarpyWar
147a38dd18 files to be translated https://github.com/HarpyWar/pvpgn/issues/13 2014-06-28 22:01:01 +04:00
HarpyWar
671c5ad9c7 utility that generates localization files by extracting localized strings from the code files (*.cpp, *.h, *.lua) https://github.com/HarpyWar/pvpgn/issues/13 2014-06-28 21:46:54 +04:00
HarpyWar
f40ac4b008 add localize function for Lua and localize exist strings 2014-06-28 21:33:09 +04:00
HarpyWar
69545f25bf localize all static strings (IRC and WWOL are not localized due to encoding issue with IRC protocol) 2014-06-28 21:32:11 +04:00
HarpyWar
268520ec8b finish localize function with formatter for hardcoded strings 2014-06-28 21:29:25 +04:00
HarpyWar
4676a6bb5d new version of cppformat library 2014-06-26 16:15:06 +04:00
HarpyWar
9ea6aabe0e fix truncate message text 2014-06-26 16:14:15 +04:00
HarpyWar
102e315102 fix compile errors, add config values for i18n https://github.com/HarpyWar/pvpgn/issues/13 2014-06-24 10:06:30 +04:00
HarpyWar
d4b513ded1 Allow /quiz for everyone, but /quiz start|stop is only for server admin/operator https://github.com/HarpyWar/pvpgn/issues/34 2014-06-23 15:12:59 +04:00
HarpyWar
05541ed49b add base for localization https://github.com/HarpyWar/pvpgn/issues/13 2014-06-22 20:37:06 +04:00
HarpyWar
61d9c413cf add libraries pugixml https://github.com/zeux/pugixml and cppformat https://github.com/cppformat/cppformat to support localization 2014-06-22 17:14:21 +04:00
HarpyWar
a1163af7a2 Fix multiple correct unswers in Lua Quiz https://github.com/HarpyWar/pvpgn/issues/34 2014-06-21 16:07:15 +04:00
HarpyWar
109deedae0 Fix crash when login with chat clients https://github.com/HarpyWar/pvpgn/issues/33 2014-06-19 21:41:30 +04:00
HarpyWar
c0263d3f7e Simple antihack implementation example for Starcraft maphack, based on SID_READMEMORY https://github.com/HarpyWar/pvpgn/pull/26 2014-06-19 21:16:57 +04:00
HarpyWar
7af51a1f88 Lua api function client_kill 2014-06-19 21:16:24 +04:00
HarpyWar
d65dc73dfe * fix lua function identification when output log
* better table view output in log
2014-06-17 15:02:55 +04:00
HarpyWar
c7a5ccabf9 * fix command groups permission in lua https://github.com/HarpyWar/pvpgn/issues/32
* move /quiz command to command group=2
2014-06-17 12:55:19 +04:00
HarpyWar
3ed0b3542d Lua various changes 2014-06-17 12:53:49 +04:00
HarpyWar
9ca58e5cdb Merge branch 'master' of https://github.com/HarpyWar/pvpgn 2014-06-17 12:03:46 +04:00
HarpyWar
1523723154 Merge branch 'xboi209-patch-1' 2014-06-17 12:00:21 +04:00
HarpyWar
9bd578c64d add client_readmemory function, and make it available to call/handle from Lua 2014-06-17 11:59:20 +04:00
HarpyWar
1613f90de4 Merge pull request #31 from xboi209/patch-2
Update default trackers
2014-06-17 11:32:31 +04:00
xboi209
d51534d27e update trackers 2014-06-16 12:59:35 -07:00
xboi209
fe552e6270 update trackers 2014-06-16 12:58:49 -07:00
HarpyWar
150908cf7d Merge pull request #29 from xboi209/master
Create ad.txt
2014-06-16 13:48:43 +04:00
HarpyWar
dd74f4419b Merge branch 'patch-1' of git://github.com/xboi209/pvpgn into xboi209-patch-1 2014-06-16 08:12:57 +04:00
HarpyWar
7c40b0d10c Fix automatic unban when user login with Warcraft 3 https://github.com/HarpyWar/pvpgn/issues/27
Extract duplicated code for output author, time, reason into a function
2014-06-15 22:04:14 +04:00
xboi209
b5eb333ea5 Create ad.txt 2014-06-13 22:22:48 -07:00
xboi209
8f27283fb5 Update packet.h 2014-06-05 12:41:49 -07:00
xboi209
be43779622 Update handle_bnet.cpp 2014-06-05 12:39:40 -07:00
xboi209
f098dceb5f Update packet.cpp 2014-06-05 12:25:37 -07:00
xboi209
b5a7d55622 Packet 0x17 support 2014-06-05 12:16:53 -07:00
HarpyWar
e5493046a2 update several Lua api functions (return object(table) instead of name(string) is more convenient) 2014-05-27 14:51:06 +04:00
HarpyWar
9895a04030 set different config path for Windows and Linux 2014-05-27 14:46:02 +04:00
HarpyWar
11fc7760a0 * send notification message to user after /rehash
* move command_split() into command.cpp
* fix compile errors on linux
2014-05-27 14:12:12 +04:00
HarpyWar
8fa63b578f Update README.md 2014-05-27 10:41:28 +04:00
HarpyWar
a90d3c385f Update README.md 2014-05-27 10:31:41 +04:00
HarpyWar
397c6b286d Change version
https://github.com/HarpyWar/pvpgn/issues/21
2014-05-27 05:25:54 +04:00
HarpyWar
ee04fdd23d Lua scripts pack. It is a part of PvPGN now.
First large implementation in Lua is Trivia Quiz Game (/quiz command) http://i.imgur.com/8QV3blt.png
2014-05-26 16:17:51 +04:00
HarpyWar
4d862593b4 New Lua functions: describe_command, messagebox_show 2014-05-24 23:24:12 +04:00
HarpyWar
d4428c1971 /alert command with messagebox_show function
https://github.com/HarpyWar/pvpgn/issues/15
2014-05-24 20:55:52 +04:00
HarpyWar
af2baccdb8 Actually message length is 255 (not 254), and limitation in Blizzard game clients is the same. 2014-05-24 20:54:51 +04:00
HarpyWar
3b840052a2 https://github.com/HarpyWar/pvpgn/issues/20 2014-05-24 14:37:52 +04:00
HarpyWar
9c0afe54cb Enable trackers by default https://github.com/HarpyWar/pvpgn/issues/18 2014-05-23 23:28:33 +04:00
HarpyWar
eb9e5fcd01 Fix compile errors from the previous commit.
Return code -1 = error. But display help message is info message, so return 0 instead of -1.
2014-05-23 23:27:20 +04:00
HarpyWar
5ed7a52c88 Merge branch with Lua support 2014-05-23 22:53:04 +04:00
HarpyWar
1be1f823ef Add Lua to cmake.
Fix compile errors on Linux
2014-05-23 22:19:43 +04:00
HarpyWar
4d3e070617 New Lua functions:
- command_get_group
- icon_get_rank
2014-05-17 19:38:48 +04:00
HarpyWar
688b9f09b8 * Add feature to use normal d2s character in newbie.save as a template for a new Diablo 2 characters. Different template for each character class. 2014-05-10 17:07:34 +04:00
HarpyWar
6883be9a11 Remove reduntant extra_commands 2014-05-06 23:17:03 +04:00
HarpyWar
e17fa89497 - "main" entry point for Lua scripts, when all the scripts are loaded and user can make initialiation there
- load Lua scripts alphabetically and recursively: first directories and then files
2014-05-05 23:21:40 +04:00
HarpyWar
6a43773b43 - Lua new event: handle_server_loop
- Fix timers check delay
- "online" field for account object
2014-05-05 18:43:11 +04:00
HarpyWar
acb87fa225 - add "config" table for Lua scripts with all the options from bnetd.conf
- all Lua functions are in "api" lib
- extract Lua functions, and objects into different cpp files
2014-05-04 00:57:05 +04:00
HarpyWar
dd30674d0e New Lua functions:
- game_get_by_id
- channel_get_by_id
- server_get_users
- server_get_games
- server_get_channels
2014-05-03 19:15:36 +04:00
HarpyWar
5287c5c266 New Lua events:
- handle_channel_message
- handle_channel_userjoin
- handle_channel_userleft
- handle_user_whisper
- handle_user_login
- handle_user_disconnect

New Lua functions:
- account_get_friends
- account_get_teams
- clan_get_members
2014-05-02 22:23:13 +04:00
HarpyWar
a792b15666 dirent.h for directory iteration (windows implementation of unix functions) 2014-04-30 12:48:15 +04:00
HarpyWar
36deb1179b /icon enhancements:
* removed clienttag from the command syntax
* simple syntax for normal user: /icon [code]
* complex syntax for operator/admin: /icon set|add|del|list [username] [code]
* add aliases for icon codes in icons.conf (users can use alias name instead of code)
* refactoring customicons function names https://github.com/HarpyWar/pvpgn/issues/10
2014-04-29 12:53:58 +04:00
HarpyWar
8638b1733a Improvements for commands:
/lock <player> [hours] [reason]
/mute <player> [hours] [reason]

https://github.com/HarpyWar/pvpgn/issues/3
2014-04-27 11:14:45 +04:00
HarpyWar
50e85312fa Continue of previous commit.
* add help description for /mail and /ipban https://github.com/HarpyWar/pvpgn/issues/5
* refactoring: move /icon command to icons.cpp, move split_command() to common
2014-04-27 11:11:04 +04:00
HarpyWar
d2fffcf408 * display help for commands from bnhelp.conf instead of hardcoded strings https://github.com/HarpyWar/pvpgn/issues/5
* better view for help output, commands are highlited, tabs replaces with spaces http://i.imgur.com/vrj9QG1.png
* add aliases /mute /unmute /lock /unlock = /muteacct /unmuteacct /lockacct /unlockacct)
* command.cpp code refactoring and fixes (including /icon https://github.com/HarpyWar/pvpgn/issues/9)
2014-04-26 18:46:33 +04:00
HarpyWar
0e72ec967b Command /topic modifications:
* new line symbol "\n" is available
* remove required channel name from arguments: /topic [message]
https://github.com/HarpyWar/pvpgn/issues/6
2014-04-21 17:15:30 +04:00
HarpyWar
8657c029c9 Merge pull request #1 from xboi209/master
Tidying things up
2014-04-21 07:56:00 +04:00
xboi209
5449ae69ab Fixed compile errors 2014-04-20 10:21:39 -07:00
HarpyWar
7e5a95b914 forgot add to changed from previous commit to windows config
https://github.com/HarpyWar/pvpgn/issues/7
2014-04-20 14:00:27 +04:00
xboi209
c3507e4968 Update default trackers
https://github.com/HarpyWar/pvpgn/issues/7
2014-04-20 13:06:37 +04:00
HarpyWar
906596a15c fix /icon (it reverses icon code each time when invoked) 2014-04-20 13:01:01 +04:00
xboi209
8f797f7fbf This is actually an older version.... 2014-04-19 23:54:00 -07:00
xboi209
3549b74ed9 Forgot to add /? and /emote to command_groups.conf.in 2014-04-19 11:36:04 -07:00
xboi209
721cd83856 Updated more help messages 2014-04-19 10:43:13 -07:00
HarpyWar
2e87533c0c Fix to find account by name offline, but not only online (connlist_find_connection_by_accountname -> accountlist_find_account)
New Lua functions:
account_attr_get
account_attr_set
2014-04-18 23:52:27 +04:00
HarpyWar
8438259077 New Lua events implemented:
handle_game_create,
handle_game_report,
handle_game_end,
handle_game_destroy,
handle_game_changestatus,
handle_user_joingame,
handle_user_leftgame,

New Lua function:
get_account
2014-04-18 21:57:45 +04:00
HarpyWar
4ea106be50 /rehash configs separately 2014-04-16 11:10:52 +04:00
HarpyWar
6c31420ffd First look with LUA
* load & execute all .lua scripts from scriptdir
* lua test event for handle_command
* first lua registered function message_send_text
2014-04-16 00:08:07 +04:00
HarpyWar
33dec83146 When there is a user notification message, such as one of your friends entering the server, joining a game, leaving a game, or leaving a server, the message is sent by the server name, instead of the user triggering the event, which Battle.net does.
This allows the /r command to go to the user triggering the event.
http://developer.berlios.de/bugs/?func=detailbug&bug_id=15327&group_id=2291
2014-04-15 18:09:16 +04:00
xboi209
f2dd4eccbd •Replaced instances of PVPGN_SOFTWARE to prefs_get_servername()
•Added command /?, alias of /help
•Added command /emote, alias of /me
•Fixed a few spelling mistakes
2014-04-14 19:30:37 -07:00
xboi209
8cefee9065 Updated help messages for commands 2014-04-14 19:15:07 -07:00
xboi209
caa33eee79 •Corrected language errors
•Added /j command, alias of /join
•Replaced instances of "PVPGN" with the name of your server
•/warrenty --> /warranty
2014-04-13 10:56:51 -07:00
HarpyWar
68ed78fb91 merge 2014-04-11 20:01:23 +04:00
HarpyWar
e86b6701e4 minor fixes for /icon 2014-04-11 11:55:19 +04:00
HarpyWar
2b848281d3 add info about BNI icons editing 2014-04-10 13:14:34 +04:00
HarpyWar
b401d4e849 fix /icon command to view current usericon with /icon <username> (icon code is not necessary) 2014-04-10 11:31:09 +04:00
HarpyWar
3f4d46295a Update README.md 2014-04-07 21:29:27 +04:00
HarpyWar
b5da29b392 Update README.md 2014-04-07 21:26:31 +04:00
HarpyWar
1ade081c6b Add command /icon <username> [CODE] 2014-04-07 20:12:32 +04:00
HarpyWar
f1a96c3920 example rating icons for starcraft, that are set in icons.conf 2014-04-07 17:59:40 +04:00
HarpyWar
368c4b9296 fix compile for unix 2014-04-07 17:11:36 +04:00
HarpyWar
422ea12fcf Merge branch 'master' of https://github.com/HarpyWar/pvpgn 2014-04-07 16:50:37 +04:00
HarpyWar
c11af35260 Add flexible tuning of custom icons for Warcraft, Starcraft in icons.conf 2014-04-07 16:49:35 +04:00
HarpyWar
c376602982 fix compile on posix systems 2014-04-07 13:02:38 +04:00
HarpyWar
f2d3ed2a6d * minor changes in motd, to avoid questions from users "how to display red color there"; message with a mail box is more visible now http://img819.imageshack.us/img819/810/40ao.png
* add text with a file location into all the files with a text information that displayed in games
* version string changed from "SVN" to "GIT"
2014-03-27 17:37:23 +04:00
HarpyWar
ff8ca941cd Welcome text for Warcraft 3 is moved into new file conf/bnmotd_w3.txt
http://img21.imageshack.us/img21/1808/j2py.png
2014-03-27 17:26:45 +04:00
HarpyWar
d96e102947 /set command modifications
* disallow get/set value for password hash and username (hash can be cracked easily, account name should be permanent)
* detailed output
* logging as "warning" any changes that made with /set
2014-03-26 12:14:48 +04:00
HarpyWar
bdb4500847 Various modifications to /finger:
- Displaying account creation time
- Renamed is_admin/operator to Admin/Operator respectively
- Displaying whether account is muted or not
- Displaying last login owner

http://developer.berlios.de/patch/?func=detailpatch&patch_id=2859&group_id=2291
2014-03-25 23:32:25 +04:00
HarpyWar
c229c6693b Command /find <substr to search for inside username>
http://developer.berlios.de/patch/?func=detailpatch&patch_id=1526&group_id=2291
2014-03-25 22:57:35 +04:00
HarpyWar
8762667276 Online friends list command /friends online
Shows friends list containing only friends who are online.

Note: The number prefix associated with each friend is their actual rank in the friend list instead of a normal numbered list incrementing by 1, e.g. (1,2,3,...)

http://developer.berlios.de/patch/?func=detailpatch&patch_id=3236&group_id=2291
2014-03-25 22:11:31 +04:00
HarpyWar
5d27cece2c "/games lobby" command - show only games in lobby
http://developer.berlios.de/patch/?func=detailpatch&patch_id=3235&group_id=2291
2014-03-25 22:04:27 +04:00
HarpyWar
a1fb914c30 Add option ignore-version for bnchat and bnstat
http://developer.berlios.de/patch/?func=detailpatch&patch_id=3184&group_id=2291
2014-03-25 21:49:34 +04:00
HarpyWar
6dc783309e magic mod new config options 2014-03-25 21:07:54 +04:00
HarpyWar
c39f9f0315 unknown udp packets should be logged in debug mode only 2014-03-01 11:09:00 +04:00
HarpyWar
34262706ea reorganize files, only pvpgn source here now 2014-02-03 11:02:09 +04:00
HarpyWar
a66afd0d43 code format 2014-02-03 10:58:57 +04:00
HarpyWar
1df3c408f3 Update README.md 2014-02-02 07:49:45 -08:00
HarpyWar
be8d65d16f Command /save that immediately saves changes from the cache to a storage 2014-02-02 19:31:53 +04:00
HarpyWar
7acb7c1382 Algorithms Library is needed to compile on VC++ 2013 2014-02-02 14:02:06 +04:00
HarpyWar
86b27d4835 Merge branch 'master' of https://github.com/HarpyWar/pvpgn 2014-01-24 15:09:14 +04:00
HarpyWar
18713ffe35 allows any symbols in sql field (not only letters and numerics)
http://forums.harpywar.com/viewtopic.php?id=1102
2014-01-24 15:07:00 +04:00
HarpyWar
daff864f80 Update README.md 2014-01-09 08:56:48 -08:00
HarpyWar
1c48ea06a8 Create README.md 2014-01-08 02:20:34 -08:00
HarpyWar
9bbf8db85a pvpgn-support-1.2.zip are added to the main package 2014-01-08 13:52:15 +04:00
HarpyWar
a7c7bff57f - /etc path for unix
- versioncheck disable by default
2014-01-08 13:41:21 +04:00
Mark Parncutt
1ea116434c Fix compile error when pointer size is larger than int 2013-07-02 12:15:07 +04:00
Shakar
74f9e4faaf fix against command flooding 2012-04-29 19:02:44 +04:00
HarpyWar
7dfb42af5f fixed motds to utf-8 2012-04-29 14:15:07 +04:00
HarpyWar
52302c1bf4 (changes from pvpgn magic builder)
- corrected cmake build under Windows
- added cmake module to build with ODBC
- fixed Russian MOTD
- added latest versioncheck.conf
2012-04-29 12:13:10 +04:00
HarpyWar
39d0b2be71 Added game id field and user game version in status.dat output (the same as status.xml) 2012-04-29 12:11:01 +04:00
HarpyWar
84811bcfe8 Fixed Warcraft 3 ICON SWITCH hack
http://forums.harpywar.com/viewtopic.php?pid=3786
2012-04-29 11:02:07 +04:00
HarpyWar
b989d26e11 Added game id field in status.xml output
Example:
...
		<Users>
		<Number>1</Number>
		<user><name>HarpyWar</name><clienttag>SEXP</clienttag><version>1.16.1.1</version></user>
<gameid>32</gameid></user>
		</Users>
		<Games>
		<Number>1</Number>
		<game><id>32</id><name>test</name><clienttag>SEXP</clienttag></game>
		</Games>
...
2012-04-16 08:03:07 +04:00
d1zzy
69976febd2 Merge pull request #1 from Pelish/master
Fix for a bug in WOL USERIP command
2011-12-29 13:36:52 -08:00
Pelish
2360a7e959 fix for USERIP command bug where missing one parameter 2011-12-29 21:40:33 +01:00
Pelish
563bc75a98 Fix for /clan commands bug when clan was always created after two invitations was accepted add PHP WOLHASH implementation script 2011-03-03 20:58:02 +00:00
Pelish
27a1de3879 Fix for bug introduced in multilingual motd's. Should fix Bug #16451 and #17054. Thank goes to pandaemonium for is help/fix of that issue. 2010-04-11 09:58:05 +00:00
Pelish
700ba62993 few WOL bug fixes (server admins are now able to join a game, client parts channel also if sends only QUIT command), big WOL cleanup - using native PvPGN functions instead of WOL hacks (which are no longer needed when WOL games uses t_game structure) 2010-02-19 23:36:03 +00:00
Pelish
786cc29fa9 fix for WOL gamepass bug 2010-02-14 11:55:56 +00:00
Pelish
4674084526 fix for copy-paste bug - thanks for fix goes to Alanstr 2010-02-07 10:55:30 +00:00
Pelish
97bdc50374 add WOL quickmatch player ability to prefer colour/country 2010-02-06 23:10:12 +00:00
Pelish
7af1cd6537 add of WOL quickmatch maps into bnmaps.conf and coded support for using them 2010-02-05 20:51:34 +00:00
Pelish
f6b2b75145 fix for bug "both WOL players got disconnect when game was not started" 2010-02-04 22:45:22 +00:00
Pelish
b2685ad084 add support for WOL passworded games 2010-02-04 16:27:51 +00:00
Pelish
ffee40fb08 add of TSXP and YURI solo ladders, fixed bad config line (according to multilingual motds), fix for bad WOL points counting when both ladder players has been disconnected 2010-01-28 22:10:56 +00:00
dizzy
390e469b2b Not sure how this dir got in here. 2010-01-23 22:37:56 +00:00
dizzy
3b2457a175 Import the CVS web module (as of 2010-01-23) to SVN trunk/web/site. 2010-01-23 22:34:14 +00:00
dizzy
68936423f8 Revert the web import (svn!!!) 2010-01-23 22:30:23 +00:00
dizzy
a0230d3b84 Imported the CVS web module as of Jan 23. 2010-01-23 22:17:50 +00:00
Pelish
f47b38cd6f fix for some of bugs introduced by multilingual motd's 2010-01-15 23:50:52 +00:00
Pelish
12bbcf0708 add of a bit recoded [ Patch #2709 ] /ipscan command. Thanks goes to saidin once again! 2009-10-17 16:20:17 +00:00
Pelish
96e932f6e5 fix for WOL anongame bug and added new functions for future colour/side support 2009-10-12 21:33:42 +00:00
Pelish
0350b32df2 Fix for Dune 2000 bug "Hosts's player list is not updated" 2009-10-11 18:26:23 +00:00
Pelish
0d93c87b08 fix for bug introduced by WOL autoupdate support (thanks for patch #2834 goes to saidin) and fix for bug when wol_anongame can crash server (thanks for fix goes to alanstr) 2009-10-07 17:56:36 +00:00
Pelish
ce3bfdb63c add of a little modified [ Patch #2717 ] /mute /unmute - disable users chat abilities. thanks goes to shakar 2009-07-08 20:32:29 +00:00
Pelish
10df8e9126 fix of "Red Alert 2 can not change maximum ingame players" bug 2009-05-27 21:36:04 +00:00
pandaemonium
ee6d215555 prevent access to already deleted channel 2009-03-22 21:18:05 +00:00
Pelish
e682ce7145 finally fixed all potential bugs in WOL gamelist callback function 2009-03-16 23:03:12 +00:00
Pelish
55fc31692b small fix of big bug... WOL should be now much more stable 2009-03-15 21:52:16 +00:00
pandaemonium
d82349e052 slightly improve IRC message handling (makes hexdumping of IRC connections actaully usefull\!) 2009-03-04 20:01:08 +00:00
1213 changed files with 179715 additions and 161820 deletions

69
.github/workflows/codeql-analysis.yml vendored Normal file
View file

@ -0,0 +1,69 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
name: "CodeQL"
on:
push:
branches: [ "master", "develop" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master", "develop" ]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Override automatic language detection by changing the below list
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
language: ['cpp']
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2
# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

10
.gitignore vendored Normal file
View file

@ -0,0 +1,10 @@
################################################################################
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
################################################################################
/zlib
/cmake/Modules
/build
/lua5.1
/.vs
/CMakeSettings.json

32
.travis.yml Normal file
View file

@ -0,0 +1,32 @@
os: linux
dist: focal
arch: amd64
language: cpp
compiler:
- gcc
branches:
only:
- master
- develop
addons:
apt:
packages:
- zlib1g-dev
- build-essential
- libmysqlclient-dev
- liblua5.1-0-dev
before_script:
- mkdir build
- cd build
- cmake -D WITH_MYSQL=true -D WITH_LUA=true ../
script:
- make
after_script:
- sudo make install
- sudo make uninstall

106
CMakeLists.txt Normal file
View file

@ -0,0 +1,106 @@
# Required cmake version
cmake_minimum_required(VERSION 3.1.0)
# Put the include dirs which are in the source or build tree
# before all other include dirs, so the headers in the sources
# are prefered over the already installed ones
# since cmake 2.4.1
set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
project(pvpgn CXX)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
option(WITH_BNETD "compile the bnetd target" ON)
option(WITH_D2CS "compile the d2cs target" ON)
option(WITH_D2DBS "compile the d2dbs target" ON)
option(WITH_LUA "enable Lua support" OFF)
if(WIN32)
option(WITH_WIN32_GUI "enable GUI building (default on)" ON)
endif(WIN32)
#storage backends flags
option(WITH_MYSQL "include MySQL user accounts support" OFF)
option(WITH_SQLITE3 "include SQLite3 user accounts support" OFF)
option(WITH_PGSQL "include PostgreSQL user accounts support" OFF)
option(WITH_ODBC "include ODBC user accounts support" OFF)
include(ConfigureChecks.cmake)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
# using Clang
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-idiomatic-parentheses -pedantic")
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
# using G++
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.1)
message(FATAL_ERROR "G++ 5.1 or higher required")
endif()
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wno-variadic-macros" )
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
# using Visual Studio
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 19.0)
message(FATAL_ERROR "Visual Studio 2015 or higher required")
endif()
add_definitions(
-D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE
-DUNICODE
-D_UNICODE
)
# DEBUG compiler flags:
# /Zi create debugging information PDB file
# /Od disable optimizations
# /Oy- do not suppress frame pointers (recommended for debugging)
# /MTd use statically linked, thread-safe, debug CRT libs (Magic Builder set this flag when build)
#
# RELEASE compiler flags:
# /MT use statically linked, thread-safe CRT libs (Magic Builder set this flag when build)
# /GS- no Buffer Security Check
#
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /Zi /Od /Oy-")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
# Explaining of linker flags and why enable pdb with debug info for Release build is on:
# https://www.wintellect.com/correctly-creating-native-c-release-build-pdbs
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /DEBUG /OPT:REF /OPT:ICF")
endif()
add_subdirectory(conf)
add_subdirectory(files)
add_subdirectory(lib/fmt)
add_subdirectory(man)
add_subdirectory(src)
if(WITH_LUA)
add_subdirectory(lua)
endif(WITH_LUA)
enable_testing()
# uninstall target
configure_file(
"${CMAKE_MODULE_PATH}/cmake_uninstall.cmake.in"
"${CMAKE_MODULE_PATH}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_MODULE_PATH}/cmake_uninstall.cmake)
# purge target
configure_file(
"${CMAKE_MODULE_PATH}/cmake_purge.cmake.in"
"${CMAKE_MODULE_PATH}/cmake_purge.cmake"
IMMEDIATE @ONLY)
add_custom_target(purge
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_MODULE_PATH}/cmake_purge.cmake)

View file

@ -1,20 +1,14 @@
# put in this file everything that needs to be setup depending
# on the target architecture
# our own modules
set(CMAKE_MODULE_PATH
${CMAKE_SOURCE_DIR}/cmake/Modules
)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
# include used modules
include(DefineInstallationPaths)
include(CheckIncludeFileCXX)
include(CheckIncludeFilesCXX)
include(CheckFunctionExists)
include(CheckSymbolExists)
include(CheckLibraryExists)
include(CheckTypeSizeCXX)
include(CheckCXXCompilerFlag)
include(CheckMkdirArgs)
include(CheckIncludeFiles)
# setup short variable path names
set(BINDIR ${BIN_INSTALL_DIR})
@ -24,24 +18,31 @@ set(LOCALSTATEDIR ${LOCALSTATE_INSTALL_DIR})
set(MANDIR ${MAN_INSTALL_DIR})
# set default hardcoded config paths
set(BNETD_DEFAULT_CONF_FILE "${SYSCONFDIR}/bnetd.conf")
set(D2CS_DEFAULT_CONF_FILE "${SYSCONFDIR}/d2cs.conf")
set(D2DBS_DEFAULT_CONF_FILE "${SYSCONFDIR}/d2dbs.conf")
if(WIN32)
set(BNETD_DEFAULT_CONF_FILE "conf/bnetd.conf")
set(D2CS_DEFAULT_CONF_FILE "conf/d2cs.conf")
set(D2DBS_DEFAULT_CONF_FILE "conf/d2dbs.conf")
else(WIN32)
set(BNETD_DEFAULT_CONF_FILE "${SYSCONFDIR}/bnetd.conf")
set(D2CS_DEFAULT_CONF_FILE "${SYSCONFDIR}/d2cs.conf")
set(D2DBS_DEFAULT_CONF_FILE "${SYSCONFDIR}/d2dbs.conf")
endif(WIN32)
# library checks
find_package(ZLIB REQUIRED)
check_library_exists(pcap pcap_open_offline "" HAVE_LIBPCAP)
check_library_exists(nsl gethostbyname "" HAVE_LIBNSL)
check_library_exists(socket socket "" HAVE_LIBSOCKET)
check_library_exists(resolv inet_aton "" HAVE_LIBRESOLV)
check_library_exists(bind __inet_aton "" HAVE_LIBBIND)
if(WITH_BNETD)
find_package(ZLIB REQUIRED)
endif(WITH_BNETD)
if(WITH_LUA)
find_package(Lua REQUIRED)
endif(WITH_LUA)
# storage module checks
if(WITH_ODBC)
find_package(ODBC REQUIRED)
endif(WITH_ODBC)
if(WITH_MYSQL)
find_package(MySQL REQUIRED)
# disable strict ANSI checking when using MySQL headers
# which contain invalid "long long" type
set(WITH_ANSI OFF)
endif(WITH_MYSQL)
if(WITH_SQLITE3)
find_package(SQLite3 REQUIRED)
@ -50,8 +51,12 @@ if(WITH_PGSQL)
find_package(PostgreSQL REQUIRED)
endif(WITH_PGSQL)
# if any of nsl or socket exists we need to make sure the following tests
# use them otherwise some functions may not be found
check_library_exists(nsl gethostbyname "" HAVE_LIBNSL)
check_library_exists(socket socket "" HAVE_LIBSOCKET)
check_library_exists(resolv inet_aton "" HAVE_LIBRESOLV)
check_library_exists(bind __inet_aton "" HAVE_LIBBIND)
if(HAVE_LIBNSL)
SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} nsl)
SET(NETWORK_LIBRARIES ${NETWORK_LIBRARIES} nsl)
@ -70,123 +75,103 @@ if(HAVE_LIBBIND)
SET(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} bind)
SET(NETWORK_LIBRARIES ${NETWORK_LIBRARIES} bind)
endif(HAVE_LIBBIND)
# for win32 unconditionally add network library linking to "ws2_32"
if(WIN32)
SET(NETWORK_LIBRARIES ${NETWORK_LIBRARIES} ws2_32)
endif(WIN32)
check_include_files_cxx("cassert;cctype;cerrno;cmath;climits;csignal;cstdarg;cstddef;cstdio;cstdlib;cstring;ctime;deque;exception;fstream;iomanip;iostream;limits;list;map;memory;sstream;stdexcept;string;utility;vector" HAVE_STD_HEADERS)
if(NOT HAVE_STD_HEADERS)
MESSAGE(FATAL_ERROR "Standard C90/C++98 header missing, you need a fully standard compliant compiler/enviroment.")
endif(NOT HAVE_STD_HEADERS)
check_include_file_cxx(fcntl.h HAVE_FCNTL_H)
check_include_file_cxx(sys/time.h HAVE_SYS_TIME_H)
check_include_file_cxx(sys/select.h HAVE_SYS_SELECT_H)
check_include_file_cxx(unistd.h HAVE_UNISTD_H)
check_include_file_cxx(sys/utsname.h HAVE_SYS_UTSNAME_H)
check_include_file_cxx(sys/timeb.h HAVE_SYS_TIMEB_H)
check_include_file_cxx(sys/socket.h HAVE_SYS_SOCKET_H)
check_include_file_cxx(sys/param.h HAVE_SYS_PARAM_H)
check_include_file_cxx(netinet/in.h HAVE_NETINET_IN_H)
message(STATUS "Checking POSIX headers")
check_include_file_cxx(arpa/inet.h HAVE_ARPA_INET_H)
check_include_file_cxx(netdb.h HAVE_NETDB_H)
check_include_file_cxx(termios.h HAVE_TERMIOS_H)
check_include_file_cxx(sys/types.h HAVE_SYS_TYPES_H)
check_include_file_cxx(sys/wait.h HAVE_SYS_WAIT_H)
check_include_file_cxx(sys/ioctl.h HAVE_SYS_IOCTL_H)
check_include_file_cxx(stdint.h HAVE_STDINT_H)
check_include_file_cxx(sys/file.h HAVE_SYS_FILE_H)
check_include_file_cxx(poll.h HAVE_POLL_H)
check_include_file_cxx(sys/poll.h HAVE_SYS_POLL_H)
check_include_file_cxx(sys/stropts.h HAVE_SYS_STROPTS_H)
check_include_file_cxx(sys/stat.h HAVE_SYS_STAT_H)
check_include_file_cxx(pwd.h HAVE_PWD_H)
check_include_file_cxx(grp.h HAVE_GRP_H)
check_include_file_cxx(dir.h HAVE_DIR_H)
check_include_file_cxx(dirent.h HAVE_DIRENT_H)
check_include_file_cxx(ndir.h HAVE_NDIR_H)
check_include_file_cxx(sys/ndir.h HAVE_SYS_NDIR_H)
check_include_file_cxx(sys/dir.h HAVE_SYS_DIR_H)
check_include_file_cxx(direct.h HAVE_DIRECT_H)
check_include_file_cxx(grp.h HAVE_GRP_H)
check_include_file_cxx(fcntl.h HAVE_FCNTL_H)
check_include_file_cxx(netdb.h HAVE_NETDB_H)
check_include_file_cxx(netinet/in.h HAVE_NETINET_IN_H)
check_include_file_cxx(poll.h HAVE_POLL_H)
check_include_file_cxx(pwd.h HAVE_PWD_H)
check_include_file_cxx(sys/mman.h HAVE_SYS_MMAN_H)
check_include_files_cxx("sys/types.h;sys/event.h" HAVE_SYS_EVENT_H)
check_include_file_cxx(sys/epoll.h HAVE_SYS_EPOLL_H)
check_include_file_cxx(sys/resource.h HAVE_SYS_RESOURCE_H)
check_include_file_cxx(pcap.h HAVE_PCAP_H)
check_include_file_cxx(sys/select.h HAVE_SYS_SELECT_H)
check_include_file_cxx(sys/socket.h HAVE_SYS_SOCKET_H)
check_include_file_cxx(sys/stat.h HAVE_SYS_STAT_H)
check_include_file_cxx(sys/time.h HAVE_SYS_TIME_H)
check_include_file_cxx(sys/types.h HAVE_SYS_TYPES_H)
check_include_file_cxx(sys/utsname.h HAVE_SYS_UTSNAME_H)
check_include_file_cxx(sys/wait.h HAVE_SYS_WAIT_H)
check_include_file_cxx(termios.h HAVE_TERMIOS_H)
check_include_file_cxx(unistd.h HAVE_UNISTD_H)
message(STATUS "Checking optional POSIX/required SUS headers")
check_include_file_cxx(sys/timeb.h HAVE_SYS_TIMEB_H)
message(STATUS "Checking FreeBSD-based headers")
check_include_file_cxx(sys/event.h HAVE_SYS_EVENT_H)
check_include_file_cxx(sys/param.h HAVE_SYS_PARAM_H)
message(STATUS "Checking BSD headers")
check_include_file_cxx(sys/file.h HAVE_SYS_FILE_H)
message(STATUS "Checking Linux headers")
check_include_file_cxx(sys/epoll.h HAVE_SYS_EPOLL_H)
message(STATUS "Checking Win32 headers")
check_include_file_cxx(windows.h HAVE_WINDOWS_H)
check_include_file_cxx(winsock2.h HAVE_WINSOCK2_H)
check_include_file_cxx(ws2tcpip.h HAVE_WS2TCPIP_H)
check_include_file_cxx(process.h HAVE_PROCESS_H)
check_type_size_cxx("unsigned char" SIZEOF_UNSIGNED_CHAR)
check_type_size_cxx("unsigned short" SIZEOF_UNSIGNED_SHORT)
check_type_size_cxx("unsigned int" SIZEOF_UNSIGNED_INT)
check_type_size_cxx("unsigned long" SIZEOF_UNSIGNED_LONG)
check_type_size_cxx("unsigned long long" SIZEOF_UNSIGNED_LONG_LONG)
check_type_size_cxx("signed char" SIZEOF_SIGNED_CHAR)
check_type_size_cxx("signed short" SIZEOF_SIGNED_SHORT)
check_type_size_cxx("signed int" SIZEOF_SIGNED_INT)
check_type_size_cxx("signed long" SIZEOF_SIGNED_LONG)
check_type_size_cxx("signed long long" SIZEOF_SIGNED_LONG_LONG)
message(STATUS "Checking other headers")
check_include_file_cxx(dir.h HAVE_DIR_H)
check_include_file_cxx(direct.h HAVE_DIRECT_H)
check_include_file_cxx(ndir.h HAVE_NDIR_H)
check_include_file_cxx(sys/dir.h HAVE_SYS_DIR_H)
check_include_file_cxx(sys/ndir.h HAVE_SYS_NDIR_H)
check_include_file_cxx(sys/poll.h HAVE_SYS_POLL_H)
check_function_exists(mmap HAVE_MMAP)
check_function_exists(gettimeofday HAVE_GETTIMEOFDAY)
check_function_exists(strdup HAVE_STRDUP)
check_function_exists(strtoul HAVE_STRTOUL)
check_function_exists(uname HAVE_UNAME)
check_function_exists(uname HAVE_UNAME)
check_function_exists(fork HAVE_FORK)
check_function_exists(getpid HAVE_GETPID)
check_function_exists(sigaction HAVE_SIGACTION)
check_function_exists(sigprocmask HAVE_SIGPROCMASK)
check_function_exists(sigaddset HAVE_SIGADDSET)
check_function_exists(setpgid HAVE_SETPGID)
check_function_exists(ftime HAVE_FTIME)
check_function_exists(strcasecmp HAVE_STRCASECMP)
check_function_exists(strncasecmp HAVE_STRNCASECMP)
check_function_exists(stricmp HAVE_STRICMP)
check_function_exists(strnicmp HAVE_STRNICMP)
check_function_exists(chdir HAVE_CHDIR)
check_function_exists(difftime HAVE_DIFFTIME)
check_function_exists(strchr HAVE_STRCHR)
check_function_exists(strrchr HAVE_STRRCHR)
check_function_exists(index HAVE_INDEX)
check_function_exists(rindex HAVE_RINDEX)
check_function_exists(epoll_create HAVE_EPOLL_CREATE)
check_function_exists(fork HAVE_FORK)
check_function_exists(ftime HAVE_FTIME)
check_function_exists(getgid HAVE_GETGID)
check_function_exists(getgrnam HAVE_GETGRNAM)
check_function_exists(getlogin HAVE_GETLOGIN)
check_function_exists(getopt HAVE_GETOPT)
check_function_exists(getpid HAVE_GETPID)
check_function_exists(getpwnam HAVE_GETPWNAME)
check_function_exists(getrlimit HAVE_GETRLIMIT)
check_function_exists(gettimeofday HAVE_GETTIMEOFDAY)
check_function_exists(getuid HAVE_GETUID)
check_function_exists(ioctl HAVE_IOCTL)
check_function_exists(kqueue HAVE_KQUEUE)
check_function_exists(_mkdir HAVE__MKDIR)
check_function_exists(mkdir HAVE_MKDIR)
check_function_exists(mmap HAVE_MMAP)
check_function_exists(pipe HAVE_PIPE)
check_function_exists(poll HAVE_POLL)
check_function_exists(setitimer HAVE_SETITIMER)
check_function_exists(setpgid HAVE_SETPGID)
check_function_exists(setpgrp HAVE_SETPGRP)
check_function_exists(setsid HAVE_SETSID)
check_function_exists(setuid HAVE_SETUID)
check_function_exists(sigaction HAVE_SIGACTION)
check_function_exists(sigaddset HAVE_SIGADDSET)
check_function_exists(sigprocmask HAVE_SIGPROCMASK)
check_function_exists(strcasecmp HAVE_STRCASECMP)
check_function_exists(strdup HAVE_STRDUP)
check_function_exists(stricmp HAVE_STRICMP)
check_function_exists(strncasecmp HAVE_STRNCASECMP)
check_function_exists(strnicmp HAVE_STRNICMP)
check_function_exists(strsep HAVE_STRSEP)
check_function_exists(uname HAVE_UNAME)
check_function_exists(wait HAVE_WAIT)
check_function_exists(waitpid HAVE_WAITPID)
check_function_exists(pipe HAVE_PIPE)
check_function_exists(getenv HAVE_GETENV)
check_function_exists(ioctl HAVE_IOCTL)
check_function_exists(setsid HAVE_SETSID)
check_function_exists(poll HAVE_POLL)
check_function_exists(getlogin HAVE_GETLOGIN)
check_function_exists(getpwnam HAVE_GETPWNAME)
check_function_exists(getgrnam HAVE_GETGRNAM)
check_function_exists(getuid HAVE_GETUID)
check_function_exists(getgid HAVE_GETGID)
check_function_exists(setuid HAVE_SETUID)
check_function_exists(mkdir HAVE_MKDIR)
check_function_exists(_mkdir HAVE__MKDIR)
check_function_exists(strsep HAVE_STRSEP)
check_function_exists(getopt HAVE_GETOPT)
check_function_exists(kqueue HAVE_KQUEUE)
check_function_exists(setitimer HAVE_SETITIMER)
check_function_exists(epoll_create HAVE_EPOLL_CREATE)
check_function_exists(getrlimit HAVE_GETRLIMIT)
check_function_exists(vsnprintf HAVE_VSNPRINTF)
check_function_exists(_vsnprintf HAVE__VSNPRINTF)
check_function_exists(snprintf HAVE_SNPRINTF)
check_function_exists(_snprintf HAVE__SNPRINTF)
check_function_exists(setpgrp HAVE_SETPGRP)
check_function_exists(inet_aton HAVE_INET_ATON)
# winsock2.h and ws2_32 should provide these
if(HAVE_WINSOCK2_H)
set(HAVE_GETHOSTNAME ON)
set(HAVE_SELECT ON)
set(HAVE_SOCKET ON)
set(HAVE_INET_NTOA ON)
set(HAVE_RECV ON)
set(HAVE_SEND ON)
set(HAVE_RECVFROM ON)
@ -197,7 +182,6 @@ else(HAVE_WINSOCK2_H)
check_function_exists(gethostname HAVE_GETHOSTNAME)
check_function_exists(select HAVE_SELECT)
check_function_exists(socket HAVE_SOCKET)
check_function_exists(inet_ntoa HAVE_INET_NTOA)
check_function_exists(recv HAVE_RECV)
check_function_exists(send HAVE_SEND)
check_function_exists(recvfrom HAVE_RECVFROM)
@ -208,21 +192,4 @@ endif(HAVE_WINSOCK2_H)
check_mkdir_args(MKDIR_TAKES_ONE_ARG)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
#check_cxx_compiler_flag("-Wall" WITH_FLAG_WALL)
if(WITH_ANSI)
# on MINGW non-standard library features are conditioned on __STRICT_ANSI__ not being defined
# (which is stupid since a program using specific system functions can still be standard
# conformant, -ansi doesn't mean to not use non ANSI features it just means to respect
# the standard text)
if(NOT MINGW AND NOT MSVC)
check_cxx_compiler_flag("-pedantic -ansi" WITH_FLAG_ANSIPEDANTIC)
endif(NOT MINGW AND NOT MSVC)
endif(WITH_ANSI)
# new VS.Net deprecates with warnings most of ISO C functions without this
if(MSVC)
add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
endif(MSVC)
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)

View file

View file

@ -339,6 +339,11 @@ valgrind cannot find (yes, valgrind is superb but there is a class of bugs,
especially overflows which valgrind can't help you with) you should then try
the next debugging tool.
2. Deleaker (http://deleaker.com)
For developers on Windows and uses Visual Studio, Deleaker is an extension for Visual Studio that helps you detect and localize resource leaks in memory, GDI and USER objects, handles. It integrates into Visual Studio's debugging functionality and displays useful information to trace leaks back to their source code.
Deleaker also comes with a standalone program for developers using other compilers.
Appendix C. How to generate and use "core" files
=================================================

165
README.md Normal file
View file

@ -0,0 +1,165 @@
Player vs Player Gaming Network - PRO
=====
![](http://i.imgur.com/LfI3hXo.png)
PvPGN is a free and open source cross-platform server software that supports Battle.net and and Westwood Online game clients. PvPGN-PRO is a fork of the official PvPGN project, whose development stopped in 2011, and aims to provide continued maintenance and additional features for PvPGN.
[![License (GPL version 2)](https://img.shields.io/badge/license-GNU%20GPL%20version%202-blue.svg?style=flat-square)](http://opensource.org/licenses/GPL-2.0)
![Language (C++)](https://img.shields.io/badge/powered_by-C++-brightgreen.svg?style=flat-square)
[![Language (Lua)](https://img.shields.io/badge/powered_by-Lua-red.svg?style=flat-square)](https://lua.org)
[![Github Releases (by Release)](https://img.shields.io/github/downloads/pvpgn/pvpgn-server/1.99.7.2.1/total.svg?maxAge=2592000)]()
[![Compiler (Microsoft Visual C++)](https://img.shields.io/badge/compiled_with-Microsoft%20Visual%20C++-yellow.svg?style=flat-square)](https://msdn.microsoft.com/en-us/vstudio/hh386302.aspx)
[![Compiler (LLVM/Clang)](https://img.shields.io/badge/compiled_with-LLVM/Clang-lightgrey.svg?style=flat-square)](http://clang.llvm.org/)
[![Compiler (GCC)](https://img.shields.io/badge/compiled_with-GCC-yellowgreen.svg?style=flat-square)](https://gcc.gnu.org/)
[![Build Status](https://travis-ci.org/pvpgn/pvpgn-server.svg?branch=master)](https://travis-ci.org/pvpgn/pvpgn-server)
[![Build status](https://ci.appveyor.com/api/projects/status/dqoj9lkvhfwthmn6)](https://ci.appveyor.com/project/HarpyWar/pvpgn)
[Deleaker](http://www.deleaker.com/) helps us find memory leaks.
## Tracking
By default, tracking is enabled and is only used for the purpose of sending informational data (e.g. server description, homepage, uptime, amount of users) to tracking servers. To disable tracking, set ````track = 0```` in ````conf/bnetd.conf````.
## Supported Clients
- **WarCraft 2: Battle.net Edition**: 2.02a, 2.02b
- **WarCraft 3: Reign of Chaos**\*: 1.13a, 1.13b, 1.14a, 1.14b, 1.15a, 1.16a, 1.17a, 1.18a, 1.19a, 1.19b, 1.20a, 1.20b, 1.20c, 1.20d, 1.20e, 1.21a, 1.21b, 1.22a, 1.23a, 1.24a, 1.24b, 1.24c, 1.24d, 1.24e, 1.25b, 1.26a, 1.27a, 1.27b, 1.28, 1.28.1, 1.28.2, 1.28.4, 1.28.5
- **WarCraft 3: The Frozen Throne**\*: 1.13a, 1.13b, 1.14a, 1.14b, 1.15a, 1.16a, 1.17a, 1.18a, 1.19a, 1.19b, 1.20a, 1.20b, 1.20c, 1.20d, 1.20e, 1.21a, 1.21b, 1.22a, 1.23a, 1.24a, 1.24b, 1.24c, 1.24d, 1.24e, 1.25b, 1.26a, 1.27a, 1.27b, 1.28, 1.28.1, 1.28.2, 1.28.4, 1.28.5
- **StarCraft**: 1.08, 1.08b, 1.09, 1.09b, 1.10, 1.11, 1.11b, 1.12, 1.12b, 1.13, 1.13b, 1.13c, 1.13d, 1.13e, 1.13f, 1.14, 1.15, 1.15.1, 1.15.2, 1.15.3, 1.16, 1.16.1, 1.17.0, 1.18.0
- **StarCraft: Brood War**: 1.08, 1.08b, 1.09, 1.09b, 1.10, 1.11, 1.11b, 1.12, 1.12b, 1.13, 1.13b, 1.13c, 1.13d, 1.13e, 1.13f, 1.14, 1.15, 1.15.1, 1.15.2, 1.15.3, 1.16, 1.16.1, 1.17.0, 1.18.0
- **Diablo**: 1.09, 1.09b
- **Diablo 2**: 1.10, 1.11, 1.11b, 1.12a, 1.13c, 1.14a, 1.14b, 1.14c, 1.14d
- **Diablo 2: Lord of Destruction**: 1.10, 1.11, 1.11b, 1.12a, 1.13c, 1.14a, 1.14b, 1.14c, 1.14d
- **Westwood Chat Client**: 4.221
- **Command & Conquer**: Win95 1.04a (using Westwood Chat)
- **Command & Conquer: Red Alert**: Win95 2.00 (using Westwood Chat), Win95 3.03
- **Command & Conquer: Red Alert 2**: 1.006
- **Command & Conquer: Tiberian Sun**: 2.03 ST-10
- **Command & Conquer: Tiberian Sun Firestorm**: 2.03 ST-10
- **Command & Conquer: Yuri's Revenge**: 1.001
- **Command & Conquer: Renegade**: 1.037
- **Nox**: 1.02b
- **Nox Quest**: 1.02b
- **Dune 2000**: 1.06
- **Emperor: Battle for Dune**: 1.09
\* WarCraft 3 clients are unable to connect to PvPGN servers without a client-side modification, through tools such as [W3L](https://github.com/w3lh/w3l), to disable server signature verification.
\* StarCraft clients beginning with patch 1.18 will not be supported by PvPGN-PRO due to protocol changes. A 1.18.0 versioncheck entry is included for compatibility with bot software.
## Support
[Create an issue](https://github.com/pvpgn/pvpgn-server/issues) if you have any questions, suggestions, or anything else to say about PvPGN-PRO. Please note that D2GS is not part of the PvPGN project and is therefore unsupported here.
Set `loglevels = fatal,error,warn,info,debug,trace` in `bnetd.conf` before obtaining logs and posting them.
## Development
Submit pull requests to contribute to this project. Utilize C++11 features and adhere to the [C++ Core Guidelines](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md) whenever possible.
## Building
See [docs/ports.md](https://github.com/pvpgn/pvpgn-server/blob/master/docs/ports.md) for operating systems and compilers that have been confirmed to work with PvPGN. Any operating system that supports WinAPI or POSIX, and any C++11 compliant compiler should be able to build PvPGN. The CMake files have been hardcoded to reject compilers older than Visual Studio 2015 and GCC 5.1.
#### Windows
Use [Magic Builder](https://github.com/pvpgn/pvpgn-magic-builder).
Alternatively, use cmake to generate the .sln project and build it from Visual Studio.
```
cmake -g "Visual Studio 14 2015" -H./ -B./build
```
This will generate .sln in `build` directory.
#### Linux in general
Do not blindly run these commands. The main problem with older distributions is installing CMake 3.2.x and GCC 5, so external repositories are used in the examples.
```
apt-get install git install cmake make build-essential zlib1g-dev
apt-get install liblua5.1-0-dev #Lua support
apt-get install mysql-server mysql-client libmysqlclient-dev #MySQL support
cd /home
git clone https://github.com/pvpgn/pvpgn-server.git
cmake -D CMAKE_INSTALL_PREFIX=/usr/local/pvpgn -D WITH_MYSQL=true -D WITH_LUA=true ../
make
make install
```
#### Ubuntu 16.04, 18.04
```
sudo apt-get -y install build-essential git cmake zlib1g-dev
git clone https://github.com/pvpgn/pvpgn-server.git
cd pvpgn-server && cmake -G "Unix Makefiles" -H./ -B./build
cd build && make
```
#### Ubuntu 14.04
```
sudo apt-get -y install build-essential zlib1g-dev git
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -y update
sudo apt-get -y install gcc-5 g++-5
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-5 60 --slave /usr/bin/g++ g++ /usr/bin/g++-5
sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
sudo apt-get update
sudo apt-get -y install cmake
git clone https://github.com/pvpgn/pvpgn-server.git
cd pvpgn-server && cmake -G "Unix Makefiles" -H./ -B./build
cd build && make
```
#### Debian 8 with clang compiler
```
sudo apt-get -y install build-essential zlib1g-dev clang libc++-dev git
wget https://cmake.org/files/v3.7/cmake-3.7.1-Linux-x86_64.tar.gz
tar xvfz cmake-3.7.1-Linux-x86_64.tar.gz
git clone https://github.com/pvpgn/pvpgn-server.git
cd pvpgn-server && CC=/usr/bin/clang CXX=/usr/bin/clang++ ../cmake-3.7.1-Linux-x86_64/bin/cmake -G "Unix Makefiles" -H./ -B./build
cd build && make
```
#### CentOS 7
```
sudo yum -y install epel-release centos-release-scl
sudo yum -y install git zlib-devel cmake3 devtoolset-4-gcc*
sudo ln -s /usr/bin/cmake3 /usr/bin/cmake
git clone https://github.com/pvpgn/pvpgn-server.git
cd pvpgn-server
CC=/opt/rh/devtoolset-4/root/usr/bin/gcc CXX=/opt/rh/devtoolset-4/root/usr/bin/g++ cmake -G "Unix Makefiles" -H./ -B./build
cd build && make
```
#### Fedora 25
```
sudo dnf -y install gcc-c++ gcc make zlib-devel cmake git
git clone https://github.com/pvpgn/pvpgn-server.git
cd pvpgn-server
cmake -G "Unix Makefiles" -H./ -B./build
cd build && make
```
#### FreeBSD 11
```
sudo pkg install -y git cmake
git clone https://github.com/pvpgn/pvpgn-server.git
cd pvpgn-server
cmake -G "Unix Makefiles" -H./ -B./build
cd build && make
```
Full instructions: [Русский](http://harpywar.com/?a=articles&b=2&c=1&d=74) | [English](http://harpywar.com/?a=articles&b=2&c=1&d=74&lang=en)
## Hosting on LAN or VPS with private IP address
Some VPS providers do not assign your server a direct public IP. If that is the case or you host at home behind NAT you need to setup the route translation in `address_translation.conf`. The public address is pushed as the route server address to game clients when seeking games. Failure to push the correct address to game clients results in players not being able to match and join games (long game search and error).
If your network interface is directly bound to public IP, PvPGN can figure it out on it's own and this step is not necessary.
## License
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

84
appveyor.yml Normal file
View file

@ -0,0 +1,84 @@
branches:
only:
- master
- develop
image: Visual Studio 2019
platform:
- x86
environment:
matrix:
- db: plain
db_id: 1
- db: mysql
db_id: 2
- db: pgsql
db_id: 3
- db: sqlite
db_id: 4
- db: odbc
db_id: 5
configuration:
# - Debug
- Release
matrix:
fast_finish: true
clone_folder: c:\pvpgn
install:
- cmd: cd c:\
- cmd: appveyor DownloadFile https://github.com/HarpyWar/pvpgn-magic-builder/archive/master.zip
- cmd: 7z.exe x master.zip >nul
- cmd: ren pvpgn-magic-builder-master builder
- cmd: mkdir c:\builder\source\
- cmd: xcopy /E /R /K /Y /Q "c:\pvpgn" "c:\builder\source\"
- cmd: cd c:\builder\
- cmd: mkdir bin
- cmd: mkdir pdb
before_build:
- cmd: set APPVEYOR_REPO_COMMIT_SHORT=%APPVEYOR_REPO_COMMIT:~0,7%
# read version string from version.h to %PVPGN_VERSION% and append commit string inside that file
- cmd: module\tools\pvpgn_version.bat %APPVEYOR_REPO_COMMIT_SHORT%
- cmd: set COMPLETE_BUILD_VERSION=pvpgn-%APPVEYOR_REPO_BRANCH%-%PVPGN_VERSION%-%APPVEYOR_REPO_COMMIT_SHORT%
- ps: $env:PVPGN_ZIP=$env:COMPLETE_BUILD_VERSION + "_" + $env:DB + $(If ($env:CONFIGURATION -ne "Release") {"_" + ($env:CONFIGURATION).ToLower()} Else {""}) + ".zip"
- ps: $env:PVPGN_PDB_ZIP=$env:COMPLETE_BUILD_VERSION + "_" + $env:DB + $(If ($env:CONFIGURATION -ne "Release") {"_" + ($env:CONFIGURATION).ToLower()} Else {".pdb"}) + ".zip"
build_script:
# build gui and console for each storage type
# build_pvpgn.bat params:
# 1. automatic build flag
# 2. visual studio version
# 3. console or gui
# 4. storage type
# 5. with or without lua
# 6. Release or Debug
# gui
- cmd: build_pvpgn.bat auto auto 2 %DB_ID% y %CONFIGURATION%
- cmd: move /Y %CONFIGURATION%\*.pdb pdb\ # move pdb files
- cmd: copy /Y %CONFIGURATION%\* bin\ # backup binary files
# console
- cmd: build_pvpgn.bat auto auto 1 %DB_ID% y %CONFIGURATION%
- cmd: move /Y %CONFIGURATION%\*.pdb pdb\ # move pdb files
- cmd: move /Y bin\* %CONFIGURATION% # move back binaries after build console version
# create zip artifacts
- cmd: 7z.exe a %PVPGN_ZIP% .\%CONFIGURATION%\*
- cmd: 7z.exe a %PVPGN_PDB_ZIP% .\pdb\*
deploy_script:
- ps: |
Push-AppveyorArtifact $env:PVPGN_ZIP
Push-AppveyorArtifact $env:PVPGN_PDB_ZIP
# check the latest build executable for exists
test:
assemblies:
- '**\src\bnetd\%CONFIGURATION%\bnetd.exe'

View file

@ -0,0 +1,78 @@
IF (NOT APPLICATION_NAME)
MESSAGE(STATUS "${PROJECT_NAME} is used as APPLICATION_NAME")
SET(APPLICATION_NAME ${PROJECT_NAME})
ENDIF (NOT APPLICATION_NAME)
SET(EXEC_INSTALL_PREFIX
"${CMAKE_INSTALL_PREFIX}"
CACHE PATH "Base directory for executables and libraries"
FORCE
)
SET(SHARE_INSTALL_PREFIX
"${CMAKE_INSTALL_PREFIX}/share"
CACHE PATH "Base directory for files which go to share/"
FORCE
)
SET(DATA_INSTALL_PREFIX
"${SHARE_INSTALL_PREFIX}/${APPLICATION_NAME}"
CACHE PATH "The parent directory where applications can install their data"
FORCE
)
SET(BIN_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/bin"
CACHE PATH "The ${APPLICATION_NAME} binary install dir (default prefix/bin)"
FORCE
)
#***********************************#
if(WIN32)
SET(LOCALSTATE_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/var"
CACHE PATH "The ${APPLICATION_NAME} local state install dir (default prefix/var)"
FORCE
)
else()
SET(LOCALSTATE_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/var/${APPLICATION_NAME}"
CACHE PATH "The ${APPLICATION_NAME} local state install dir (default prefix/var)"
FORCE
)
endif()
SET(MAN_INSTALL_DIR
"${SHARE_INSTALL_PREFIX}/man"
CACHE PATH "The ${APPLICATION_NAME} man install dir (default prefix/man)"
FORCE
)
if(WIN32)
SET(SBIN_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}"
CACHE PATH "The ${APPLICATION_NAME} sbin install dir (default prefix/sbin)"
FORCE
)
else()
SET(SBIN_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/sbin"
CACHE PATH "The ${APPLICATION_NAME} sbin install dir (default prefix/sbin)"
FORCE
)
endif()
if(WIN32)
SET(SYSCONF_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/conf"
CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default conf)"
FORCE
)
else()
SET(SYSCONF_INSTALL_DIR
"${EXEC_INSTALL_PREFIX}/etc/${APPLICATION_NAME}"
CACHE PATH "The ${APPLICATION_NAME} sysconfig install dir (default prefix/etc)"
FORCE
)
endif()

View file

@ -0,0 +1,80 @@
# - Try to find MySQL.
# Once done this will define:
# MYSQL_FOUND - If false, do not try to use MySQL.
# MYSQL_INCLUDE_DIRS - Where to find mysql.h, etc.
# MYSQL_LIBRARIES - The libraries to link against.
# MYSQL_VERSION_STRING - Version in a string of MySQL.
#
# Created by RenatoUtsch based on eAthena implementation.
#
# Please note that this module only supports Windows and Linux officially, but
# should work on all UNIX-like operational systems too.
#
#=============================================================================
# Copyright 2012 RenatoUtsch
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
if( WIN32 )
set(MYENV "PROGRAMFILES(X86)")
find_path( MYSQL_INCLUDE_DIR
NAMES "mysql.h"
PATHS "$ENV{PROGRAMFILES}/MySQL/*/include"
"$ENV{${MYENV}}/MySQL/*/include"
"$ENV{SYSTEMDRIVE}/MySQL/*/include" )
find_library( MYSQL_LIBRARY
NAMES "mysqlclient" "mysqlclient_r" "libmysql"
PATHS "$ENV{PROGRAMFILES}/MySQL/*/lib"
"$ENV{${MYENV}}/MySQL/*/lib"
"$ENV{SYSTEMDRIVE}/MySQL/*/lib" )
else()
find_path( MYSQL_INCLUDE_DIR
NAMES "mysql.h"
PATHS "/usr/include/mysql"
"/usr/local/include/mysql"
"/usr/mysql/include/mysql" )
find_library( MYSQL_LIBRARY
NAMES "mysqlclient" "mysqlclient_r"
PATHS "/lib/mysql"
"/lib64/mysql"
"/usr/lib/mysql"
"/usr/lib64/mysql"
"/usr/local/lib/mysql"
"/usr/local/lib64/mysql"
"/usr/mysql/lib/mysql"
"/usr/mysql/lib64/mysql" )
endif()
IF (MYSQL_INCLUDE_DIR AND MYSQL_LIBRARY)
SET(MYSQL_FOUND TRUE)
SET( MYSQL_LIBRARIES ${MYSQL_LIBRARY} )
ELSE (MYSQL_INCLUDE_DIR AND MYSQL_LIBRARY)
SET(MYSQL_FOUND FALSE)
SET( MYSQL_LIBRARIES )
ENDIF (MYSQL_INCLUDE_DIR AND MYSQL_LIBRARY)
IF (MYSQL_FOUND)
MESSAGE(STATUS "Found MySQL: ${MYSQL_LIBRARY}")
ELSE (MYSQL_FOUND)
IF (MySQL_FIND_REQUIRED)
MESSAGE(STATUS "Looked for MySQL libraries named ${MYSQL_NAMES}.")
MESSAGE(FATAL_ERROR "Could NOT find MySQL library")
ENDIF (MySQL_FIND_REQUIRED)
ENDIF (MYSQL_FOUND)
MARK_AS_ADVANCED(
MYSQL_LIBRARY
MYSQL_INCLUDE_DIR
)

View file

@ -0,0 +1,58 @@
#
# Find the ODBC driver manager includes and library.
#
# ODBC is an open standard for connecting to different databases in a
# semi-vendor-independent fashion. First you install the ODBC driver
# manager. Then you need a driver for each separate database you want
# to connect to (unless a generic one works). VTK includes neither
# the driver manager nor the vendor-specific drivers: you have to find
# those yourself.
#
# This module defines
# ODBC_INCLUDE_DIRECTORIES, where to find sql.h
# ODBC_LIBRARIES, the libraries to link against to use ODBC
# ODBC_FOUND. If false, you cannot build anything that requires MySQL.
# also defined, but not for general use is
# ODBC_LIBRARY, where to find the ODBC driver manager library.
set(ODBC_FOUND FALSE)
find_path(ODBC_INCLUDE_DIR sql.h
/usr/include
/usr/include/odbc
/usr/local/include
/usr/local/include/odbc
/usr/local/odbc/include
"C:/Program Files/ODBC/include"
"C:/Program Files/Microsoft SDKs/Windows/v7.0A/include"
"C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/include"
"C:/Program Files/Microsoft SDKs/Windows/v6.0a/include"
"C:/ODBC/include"
DOC "Specify the directory containing sql.h."
)
find_library(ODBC_LIBRARY
NAMES iodbc odbc odbcinst odbc32
PATHS
/usr/lib
/usr/lib/odbc
/usr/local/lib
/usr/local/lib/odbc
/usr/local/odbc/lib
"C:/Program Files/ODBC/lib"
"C:/ODBC/lib/debug"
"C:/Program Files/Microsoft SDKs/Windows/v7.0A/Lib"
"C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/Lib"
DOC "Specify the ODBC driver manager library here."
)
if(ODBC_LIBRARY)
if(ODBC_INCLUDE_DIR)
set( ODBC_FOUND 1 )
endif()
endif()
set(ODBC_LIBRARIES ${ODBC_LIBRARY})
mark_as_advanced(ODBC_FOUND ODBC_LIBRARY ODBC_EXTRA_LIBRARIES ODBC_INCLUDE_DIR)

View file

@ -0,0 +1,53 @@
if(WIN32)
message(STATUS "Uninstalling \"@EXEC_INSTALL_PREFIX@\"")
exec_program(
"@CMAKE_COMMAND@" ARGS "-E remove_directory \"@EXEC_INSTALL_PREFIX@\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing \"@EXEC_INSTALL_PREFIX@\"")
endif(NOT "${rm_retval}" STREQUAL 0)
else(WIN32)
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
exec_program(
"@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
endif(NOT "${rm_retval}" STREQUAL 0)
else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
endforeach(file)
#remove directories
message(STATUS "Uninstalling \"@SYSCONF_INSTALL_DIR@\"")
exec_program(
"@CMAKE_COMMAND@" ARGS "-E remove_directory \"@SYSCONF_INSTALL_DIR@\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing \"@SYSCONF_INSTALL_DIR@\"")
endif(NOT "${rm_retval}" STREQUAL 0)
message(STATUS "Uninstalling \"@LOCALSTATE_INSTALL_DIR@\"")
exec_program(
"@CMAKE_COMMAND@" ARGS "-E remove_directory \"@LOCALSTATE_INSTALL_DIR@\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing \"@LOCALSTATE_INSTALL_DIR@\"")
endif(NOT "${rm_retval}" STREQUAL 0)
endif(WIN32)

View file

@ -0,0 +1,21 @@
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
exec_program(
"@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
endif(NOT "${rm_retval}" STREQUAL 0)
else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
endforeach(file)

38
conf/CMakeLists.txt Normal file
View file

@ -0,0 +1,38 @@
# generate the configs with proper line endings
set(OUTPUT_CONFS ad.json anongame_infos.conf address_translation.conf
autoupdate.conf bnalias.conf bnban.conf bnetd_default_user.plain
bnissue.txt bnmaps.conf bnxpcalc.conf
bnxplevel.conf channel.conf command_groups.conf realm.conf
sql_DB_layout.conf supportfile.conf topics.conf
tournament.conf versioncheck.json icons.conf)
foreach(CONF ${OUTPUT_CONFS})
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${CONF}.in ${CMAKE_CURRENT_BINARY_DIR}/${CONF} @ONLY)
endforeach(CONF)
# generate the config files replacing the path variables
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/bnetd.conf.in ${CMAKE_CURRENT_BINARY_DIR}/bnetd.conf)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/d2cs.conf.in ${CMAKE_CURRENT_BINARY_DIR}/d2cs.conf)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/d2dbs.conf.in ${CMAKE_CURRENT_BINARY_DIR}/d2dbs.conf)
if(WITH_BNETD)
set(BNETD_CONFS bnetd.conf ad.json anongame_infos.conf address_translation.conf
autoupdate.conf bnalias.conf bnban.conf
bnetd_default_user.plain bnissue.txt bnmaps.conf
bnxpcalc.conf bnxplevel.conf channel.conf command_groups.conf
realm.conf sql_DB_layout.conf supportfile.conf topics.conf
tournament.conf versioncheck.json icons.conf)
endif(WITH_BNETD)
if(WITH_D2CS)
set(D2CS_CONFS d2cs.conf anongame_infos.conf)
endif(WITH_D2CS)
if(WITH_D2DBS)
set(D2DBS_CONFS d2dbs.conf)
endif(WITH_D2DBS)
foreach(CONF_FILE ${BNETD_CONFS} ${D2CS_CONFS} ${D2DBS_CONFS})
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${CONF_FILE} DESTINATION ${SYSCONFDIR})
endforeach(CONF_FILE)
add_subdirectory(i18n)

9
conf/ad.json.in Normal file
View file

@ -0,0 +1,9 @@
{
"ads":
[
{"filename": "ad000001.png", "url": "http://pvpgn.pro", "client": "W3XP", "lang": "NULL"},
{"filename": "ad000002.mng", "url": "http://pvpgn.pro", "client": "W3XP", "lang": "NULL"},
{"filename": "ad000001.smk", "url": "http://pvpgn.pro", "client": "NULL", "lang": "NULL"},
{"filename": "ad000002.smk", "url": "http://pvpgn.pro", "client": "NULL", "lang": "NULL"}
]
}

File diff suppressed because it is too large Load diff

View file

@ -35,24 +35,44 @@
# ${-19} - substitute arguments 0-19 here #
# ${2-} - substitue all arguments from 2 until the end here #
# #
@
//doubt //dt //d
[0]/me looks with doubt
[1+]/me looks at ${1-} with doubt
@
//numusers //nu
[0]%IThere are %u users online.
[0]%IThere are %g games online.
[0]%IThere are %c channels online.
[1+]%EThat command does not take any arguments.
@
//askban //ab
[2+]/w $1 Please ban ${2-}.
@
//statsme //sm
[0]/stats %u
@
//pvpgn
[*]/announce PVPGN rulez!
# %a - Number of registered accounts #
# %c - Number of existing channels #
# %g - Number of running games #
# %G - Number of games with the same clienttag #
# %h - Hostname of the server #
# %H - Contact name (as set in bnetd.conf) #
# %i - The userid of the user #
# %I - The username of the user #
# %N - Name of the game the user has connected with #
# %m - Check the user's mail #
# %r - IP address of the user #
# %s - Servername #
# %t - The clienttag of the user #
# %u - Number of users currently logged in #
# %U - Number of users logged in with the same clienttag #
# %v - Server version #
# #
# Examples #
#@
#//doubt //dt //d
#[0]/me looks with doubt
#[1+]/me looks at ${1-} with doubt
#@
#//numusers //nu
#[0]%IThere are %u users online.
#[0]%IThere are %g games online.
#[0]%IThere are %c channels online.
#[1+]%EThat command does not take any arguments.
#@
#//askban //ab
#[2+]/w $1 Please ban ${2-}.
#@
#//statsme //sm
#[0]/stats %u
#@
#//pvpgn
#[*]/announce PVPGN rulez!
#
# #
##############################################################################

View file

@ -34,13 +34,10 @@
# Syntax: #
# * for plain file driver: #
# storage_path = file:mode=plain;dir=<path_to_user_files>;clan=<path_to_clan_files>;default=/path/to/default/account #
# * for cdb file driver: #
# storage_path = file:mode=cdb;dir=<path_to_cdb_files>;clan=<path_to_clan_files>;default=/path/to/default/account #
# * for sql/sql2 driver: #
# * for sql driver: #
# storage_path = sql:variable=value;...;default=0 (0 is the default uid) #
# or storage_path = sql2:variable=value;...;default=0 (0 is the default uid) #
# #
# Variables for sql/sql2 can be: #
# Variables for sql can be: #
# - "mode" : tells PVPGN the sql mode you will use (mysql/pgsql/etc..) #
# - "host" : the database host #
# - "port" : the TCP/IP port if needed #
@ -53,18 +50,10 @@
# #
# Examples: #
# storage_path = "file:mode=plain;dir=${LOCALSTATEDIR}/users;clan=${LOCALSTATEDIR}/clans;team=${LOCALSTATEDIR}/teams;default=${SYSCONFDIR}/bnetd_default_user.plain"
# storage_path = "file:mode=cdb;dir=${LOCALSTATEDIR}/userscdb;clan=${LOCALSTATEDIR}/clans;team=${LOCALSTATEDIR}/teams;default=${SYSCONFDIR}/bnetd_default_user.cdb"
# storage_path = "sql:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_"
# storage_path = "sql:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_"
# storage_path = "sql:mode=sqlite3;name=${LOCALSTATEDIR}/users.db;default=0;prefix=pvpgn_"
# storage_path = "sql:mode=odbc;name=PVPGN;prefix=pvpgn_"
#
# WARNING!! you MUST change "DBlayoutfile" bellow configuration directive to
# sql_DB_layout2.conf to be able to use "sql2" !!!
# storage_path = "sql2:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn2_"
# storage_path = "sql2:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn2_"
# storage_path = "sql2:mode=sqlite3;name=${LOCALSTATEDIR}/users.db;default=0;prefix=pvpgn2_"
# storage_path = "sql2:mode=odbc;name=PVPGN;prefix=pvpgn2_"
#----------------------------------------------------------------------------#
storage_path = "file:mode=plain;dir=${LOCALSTATEDIR}/users;clan=${LOCALSTATEDIR}/clans;team=${LOCALSTATEDIR}/teams;default=${SYSCONFDIR}/bnetd_default_user.plain"
@ -79,21 +68,21 @@ storage_path = "file:mode=plain;dir=${LOCALSTATEDIR}/users;clan=${LOCALSTATEDIR}
#----------------------------------------------------------------------------#
filedir = "${LOCALSTATEDIR}/files"
scriptdir = "${LOCALSTATEDIR}/lua"
reportdir = "${LOCALSTATEDIR}/reports"
chanlogdir = "${LOCALSTATEDIR}/chanlogs"
motdfile = "${SYSCONFDIR}/bnmotd.txt"
userlogdir = "${LOCALSTATEDIR}/userlogs"
i18ndir = "${SYSCONFDIR}/i18n"
issuefile = "${SYSCONFDIR}/bnissue.txt"
channelfile = "${SYSCONFDIR}/channel.conf"
newsfile = "${SYSCONFDIR}/news.txt"
adfile = "${SYSCONFDIR}/ad.conf"
adfile = "${SYSCONFDIR}/ad.json"
topicfile = "${SYSCONFDIR}/topics.conf"
ipbanfile = "${SYSCONFDIR}/bnban.conf"
helpfile = "${SYSCONFDIR}/bnhelp.conf"
mpqfile = "${SYSCONFDIR}/autoupdate.conf"
logfile = "${LOCALSTATEDIR}/bnetd.log"
realmfile = "${SYSCONFDIR}/realm.conf"
maildir = "${LOCALSTATEDIR}/bnmail"
versioncheck_file = "${SYSCONFDIR}/versioncheck.conf"
versioncheck_file = "${SYSCONFDIR}/versioncheck.json"
mapsfile = "${SYSCONFDIR}/bnmaps.conf"
xplevelfile = "${SYSCONFDIR}/bnxplevel.conf"
xpcalcfile = "${SYSCONFDIR}/bnxpcalc.conf"
@ -107,8 +96,29 @@ anongame_infos_file = "${SYSCONFDIR}/anongame_infos.conf"
DBlayoutfile = "${SYSCONFDIR}/sql_DB_layout.conf"
supportfile = "${SYSCONFDIR}/supportfile.conf"
transfile = "${SYSCONFDIR}/address_translation.conf"
customicons_file = "${SYSCONFDIR}/icons.conf"
fortunecmd = /usr/games/fortune
# #
##############################################################################
##############################################################################
# Localized files realm server settings #
#----------------------------------------------------------------------------#
# These filenames can have translated versions in
# the "i18ndir" directory specified above.
# (there are also two downloadable files: chathelp-war3.txt, newaccount.txt)
localizefile = common.xml
motdfile = bnmotd.txt
motdw3file = w3motd.txt
newsfile = news.txt
helpfile = bnhelp.conf
tosfile = termsofservice.txt
# Do localization by a game language or by user country?
localize_by_country = true
# #
##############################################################################
@ -158,8 +168,6 @@ iconfile = "icons.bni"
war3_iconfile = "icons-WAR3.bni"
star_iconfile = "icons_STAR.bni"
tosfile = "tos.txt"
# #
##############################################################################
@ -198,22 +206,9 @@ tosfile = "tos.txt"
# Example: allowed_clients = war3,w3xp
allowed_clients = all
# If this option is enabled, the verification step is skipped if possible.
# This only works with clients < 109. It is useful because you no longer
# need any of the IX86AUTH?.MPQ and PMACAUTH?.MPQ files. Note that it will
# also skip over all the autoupdate checks effectively disabling it.
#
# If you disable this you must have one or more of the MPQ files. Otherwise
# clients will hang when they first connect because they are attempting to
# download them. The versioncheck can only be skipped for clients older
# than 109. Starting with version 109 the clients will always do version
# checking since they do not function properly if the server does not
# request it.
skip_versioncheck = false
# If you enable the version checks but want to allow clients that don't pass
# the checksum test then enable this.
allow_bad_version = false
allow_bad_version = true
# If you enable the version checks but want to allow clients that aren't
# listed in the versioncheck configuration file then enable this. Unless
@ -221,19 +216,6 @@ allow_bad_version = false
# is a good idea.
allow_unknown_version = true
# This defines how the exeinfo field in the versioncheck file is being
# checked. You can choose between no match at all [none] (default),
# exact match [exact], exact case-sensitive match [exactcase], dumb wildcard
# match [wildcard], and parsed value comparison [parse].
# NOTE: [parse] needs the mktime() function and might therefore not work on
# every system.
version_exeinfo_match = none
# If you have choosen [parse] above, this is the tolerance with which
# the time can differ. The value must be given in seconds. If it's 0 this
# check is disabled.
version_exeinfo_maxdiff = 0
# #
##############################################################################
@ -246,13 +228,15 @@ version_exeinfo_maxdiff = 0
usersync = 300
# Number of seconds of inactivity before file is unloaded from memory.
# (only checked during account file updates)
userflush = 1200
userflush = 3600
# Number of users checked for updates at once. Higher values make sense if you
# either have very fast hardware or you don't have many number of accounts.
# Lower values make sense if you have very high CPU usage on the system you run
# the server (dont make it too low or your system will save accounts continously).
# Modify this value ONLY if you know what you are doing!!
userstep = 100
# Flush connected users? Set "false" and they will never flushed untill logout (it will consume more memory but less CPU usage, because of no queries to a file)
userflush_connected = true
# How often to send user latency tests in seconds.
latency = 600
@ -283,7 +267,7 @@ new_accounts = true
# Set this to the maximum number of accounts you want to allow to be
# created on your server. A value of 0 means infinite and is the default.
#max_accounts = 0
max_accounts = 0
# If someone attempts to log in more than once, should it kick off the old
# login, or deny the new one?
@ -316,9 +300,6 @@ hide_started_games = true
# Should non-permanent channels hidden on the channel list?
hide_temp_channels = true
# Should the extended /-commands be avaliable? (of course!)
extra_commands = true
# Should any and all disconnects to be counted as losses?
# (Turning this on will override the user's choice in ladder games!)
disc_is_loss = false
@ -436,21 +417,19 @@ max_friends = 20
#----------------------------------------------------------------------------#
# Set track=0 to disable tracking. Any other number will set number
# of seconds between sending tracking packets. This is OFF by default.
# of seconds between sending tracking packets. This is ON by default.
#track = 0
track = 60
# 10 minutes
# Tracking server(s)
# Use a comma delimited list of hostnames with optional UDP port numbers
# after colons. (port 6114 is the default for the newer tracking protocol)
#trackaddrs = "track.bnetd.org,localhost:9999"
#trackaddrs = "track.pvpgn.org"
trackaddrs = "track.pvpgn.pro,track.pvpgn.org,bntrack.darkwings.org,bnet.mivabe.nl,track.eurobattle.net"
# Change these to match your system, for example:
location = "unknown"
description = "unknown"
url = "unknown"
url = "https://github.com/pvpgn/pvpgn-server"
contact_name = "a PvPGN user"
contact_email = "unknown"
@ -470,6 +449,11 @@ contact_email = "unknown"
# limit, NOT the concurrent user limit (for that see next option)
max_connections = 1000
# Set maximum amount of packets in client packet queue
# If limit is reached, client connection will be dropped
# Set to 0 to disable
packet_limit = 1000
# Maximum number of concurrent users (0 means unlimited).
max_concurrent_logins = 0
@ -644,3 +628,20 @@ clan_channel_default_private = 0
# without accepted invitations need. This does not affect WAR3/W3XP ingame
# clan management.
clan_min_invites = 2
###############################################################################
# user commands logging #
#-----------------------------------------------------------------------------#
# Should commands from users be logged to files in the userlogdir?
log_commands = true
# Commands will be logged for users with these command groups
# (global operators and admins are included)
log_command_groups = 2345678
# List of commands that will be logged
# can be defined by connecting them with a comma (,)
# set empty to log all commands
log_command_list = ""

View file

@ -19,11 +19,10 @@
# storage_path = file:mode=plain;dir=<path_to_user_files>;clan=<path_to_clan_files>;team=<path_to_team_files>;default=/path/to/default/account #
# * for cdb file driver: #
# storage_path = file:mode=cdb;dir=<path_to_cdb_files>;clan=<path_to_clan_files>;team=<path_to_team_files>;default=/path/to/default/account #
# * for sql/sql2 driver: #
# * for sql driver: #
# storage_path = sql:variable=value;...;default=0 (0 is the default uid) #
# or storage_path = sql2:variable=value;...;default=0 (0 is the default uid) #
# #
# Variables for sql/sql2 can be: #
# Variables for sql can be: #
# - "mode" : tells PVPGN the sql mode you will use (mysql/pgsql/etc..) #
# - "host" : the database host #
# - "port" : the TCP/IP port if needed #
@ -41,10 +40,6 @@
# storage_path = sql:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_
# storage_path = sql:mode=sqlite3;name=var\users.db;default=0;prefix=pvpgn_
# storage_path = sql:mode=odbc;name=PVPGN;prefix=pvpgn_
# storage_path = sql2:mode=mysql;host=127.0.0.1;name=PVPGN;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_
# storage_path = sql2:mode=pgsql;host=127.0.0.1;name=pvpgn;user=pvpgn;pass=pvpgnrocks;default=0;prefix=pvpgn_
# storage_path = sql2:mode=sqlite3;name=var\users.db;default=0;prefix=pvpgn_
# storage_path = sql2:mode=odbc;name=PVPGN;prefix=pvpgn_
#----------------------------------------------------------------------------#
storage_path = file:mode=plain;dir=var\users;clan=var\clans;team=var\teams;default=conf\bnetd_default_user.plain
@ -59,21 +54,21 @@ storage_path = file:mode=plain;dir=var\users;clan=var\clans;team=var\teams;defau
#----------------------------------------------------------------------------#
filedir = files
scriptdir = lua
reportdir = var\reports
chanlogdir = var\chanlogs
motdfile = conf\bnmotd.txt
userlogdir = var\userlogs
i18ndir = conf\i18n
issuefile = conf\bnissue.txt
channelfile = conf\channel.conf
newsfile = conf\news.txt
adfile = conf\ad.conf
adfile = conf\ad.json
topicfile = conf\topics.conf
ipbanfile = conf\bnban.conf
helpfile = conf\bnhelp.conf
transfile = conf\address_translation.conf
mpqfile = conf\autoupdate.conf
logfile = var\bnetd.log
realmfile = conf\realm.conf
versioncheck_file = conf\versioncheck.conf
versioncheck_file = conf\versioncheck.json
mapsfile = conf\bnmaps.conf
xplevelfile = conf\bnxplevel.conf
xpcalcfile = conf\bnxpcalc.conf
@ -85,8 +80,29 @@ aliasfile = conf\bnalias.conf
anongame_infos_file = conf\anongame_infos.conf
DBlayoutfile = conf\sql_DB_layout.conf
supportfile = conf\supportfile.conf
customicons_file = conf\icons.conf
fortunecmd = bin\fortune.exe
# #
##############################################################################
##############################################################################
# Localized files realm server settings #
#----------------------------------------------------------------------------#
# These filenames can have translated versions in
# the "i18ndir" directory specified above.
# (there are also two downloadable files: chathelp-war3.txt, newaccount.txt)
localizefile = common.xml
motdfile = bnmotd.txt
motdw3file = w3motd.txt
newsfile = news.txt
helpfile = bnhelp.conf
tosfile = termsofservice.txt
# Do localization by a game language or by user country?
localize_by_country = true
# #
##############################################################################
@ -106,7 +122,7 @@ fortunecmd = bin\fortune.exe
# error
# fatal
#loglevels = fatal,error,warn,info,debug,trace
loglevels = fatal,error
loglevels = fatal,error,warn,info
# #
##############################################################################
@ -136,8 +152,6 @@ iconfile = "icons.bni"
war3_iconfile = "icons-WAR3.bni"
star_iconfile = "icons_STAR.bni"
tosfile = "tos.txt"
# #
##############################################################################
@ -175,22 +189,9 @@ tosfile = "tos.txt"
# Example: allowed_clients = war3,w3xp
allowed_clients = all
# If this option is enabled, the verification step is skipped if possible.
# This only works with clients < 109. It is useful because you no longer
# need any of the IX86AUTH?.MPQ and PMACAUTH?.MPQ files. Note that it will
# also skip over all the autoupdate checks effectively disabling it.
#
# If you disable this you must have one or more of the MPQ files. Otherwise
# clients will hang when they first connect because they are attempting to
# download them. The versioncheck can only be skipped for clients older
# than 109. Starting with version 109 the clients will always do version
# checking since they do not function properly if the server does not
# request it.
skip_versioncheck = false
# If you enable the version checks but want to allow clients that don't pass
# the checksum test then enable this.
allow_bad_version = false
allow_bad_version = true
# If you enable the version checks but want to allow clients that aren't
# listed in the versioncheck configuration file then enable this. Unless
@ -198,19 +199,6 @@ allow_bad_version = false
# is a good idea.
allow_unknown_version = true
# This defines how the exeinfo field in the versioncheck file is being
# checked. You can choose between no match at all [none] (default),
# exact match [exact], exact case-sensitive match [exactcase], dumb wildcard
# match [wildcard], and parsed value comparison [parse].
# NOTE: [parse] needs the mktime() function and might therefore not work on
# every system.
version_exeinfo_match = none
# If you have choosen [parse] above, this is the tolerance with which
# the time can differ. The value must be given in seconds. If it's 0 this
# check is disabled.
version_exeinfo_maxdiff = 0
# #
##############################################################################
@ -223,13 +211,15 @@ version_exeinfo_maxdiff = 0
usersync = 300
# Number of seconds of inactivity before file is unloaded from memory.
# (only checked during account file updates)
userflush = 1200
userflush = 3600
# Number of users checked for updates at once. Higher values make sense if you
# either have very fast hardware or you don't have many number of accounts.
# Lower values make sense if you have very high CPU usage on the system you run
# the server (dont make it too low or your system will save accounts continously).
# Modify this value ONLY if you know what you are doing!!
userstep = 100
# Flush connected users? Set "false" and they will never flushed untill logout (it will consume more memory but less CPU usage, because of no queries to a file)
userflush_connected = true
# How often to send user latency tests in seconds.
latency = 600
@ -293,9 +283,6 @@ hide_started_games = true
# Should non-permanent channels hidden on the channel list?
hide_temp_channels = true
# Should the extended /-commands be avaliable? (of course!)
extra_commands = true
# Should any and all disconnects to be counted as losses?
# (Turning this on will override the user's choice in ladder games!)
disc_is_loss = false
@ -413,21 +400,19 @@ max_friends = 20
#----------------------------------------------------------------------------#
# Set track=0 to disable tracking. Any other number will set number
# of seconds between sending tracking packets. This is OFF by default.
# of seconds between sending tracking packets. This is ON by default.
#track = 0
track = 60
# 10 minutes
# Tracking server(s)
# Use a comma delimited list of hostnames with optional UDP port numbers
# after colons. (port 6114 is the default for the newer tracking protocol)
#trackaddrs = "track.bnetd.org,localhost:9999"
#trackaddrs = "track.pvpgn.org"
trackaddrs = "track.pvpgn.pro,track.pvpgn.org,bntrack.darkwings.org,bnet.mivabe.nl,track.eurobattle.net"
# Change these to match your system, for example:
location = "unknown"
description = "unknown"
url = "unknown"
url = "https://github.com/pvpgn/pvpgn-server"
contact_name = "a PvPGN user"
contact_email = "unknown"
@ -447,6 +432,11 @@ contact_email = "unknown"
# limit, NOT the concurrent user limit (for that see next option)
max_connections = 1000
# Set maximum amount of packets in client packet queue
# If limit is reached, client connection will be dropped
# Set to 0 to disable
packet_limit = 1000
# Maximum number of concurrent users (0 means unlimited).
max_concurrent_logins = 0
@ -625,3 +615,20 @@ clan_channel_default_private = 0
# without accepted invitations need. This does not affect WAR3/W3XP ingame
# clan management.
clan_min_invites = 2
###############################################################################
# user commands logging #
#-----------------------------------------------------------------------------#
# Should commands from users be logged to files in the userlogdir?
log_commands = true
# Commands will be logged for users with these command groups
# (global operators and admins are included)
log_command_groups = 2345678
# List of commands that will be logged
# can be defined by connecting them with a comma (,)
# set empty to log all commands
log_command_list = ""

View file

@ -288,3 +288,31 @@ W3XP at2v2v2 Maps\FrozenThrone\(6)RuinsOfStratholme.w3x
W3XP at2v2v2 Maps\FrozenThrone\(6)Typhoon.w3x
W3XP at2v2v2 Maps\FrozenThrone\(6)UpperKingdom.w3x
W3XP at2v2v2 Maps\FrozenThrone\(8)Mur'gulOasis.w3x
######### COMMAND & CONQUER: RED ALERT 2 ############
RAL2 1v1 eb2.map
RAL2 1v1 mp02t2.map
RAL2 1v1 mp06mw.map
RAL2 1v1 mp06t2.map
RAL2 1v1 mp08mw.map
RAL2 1v1 mp08t2.map
RAL2 1v1 mp11t2.map
RAL2 1v1 mp14mv.map
RAL2 1v1 mp14t2.map
RAL2 1v1 mp21s2.map
RAL2 1v1 mp24t2.map
RAL2 1v1 mp29mw.map
RAL2 1v1 mp29u2.map
RAL2 1v1 mp31s2.map
RAL2 1v1 mp09du.map
RAL2 1v1 mp09t3.map
RAL2 1v1 mp18s3.map
######### COMMAND & CONQUER: YURI'S REVENGE #########
YURI 1v1 xgrinder.map
YURI 1v1 xeb1.map
YURI 1v1 xeb1mw.map
YURI 1v1 xeb2.map
YURI 1v1 xeb3.map
YURI 1v1 xeb4.map
YURI 1v1 xeb5.map

View file

@ -27,7 +27,7 @@
# Add the following line to your user file to get access to all groups:
# "BNET\\auth\\command_groups"="255"
#
# For regualar users to be able to use the regualr commands make sure to
# For regular users to be able to use the regular commands make sure to
# use the updated 'bnetd_default_user' file
#
# SQL MODE:
@ -35,7 +35,7 @@
# ALTER TABLE BNET ADD COLUMN auth_command_groups VARCHAR(128) default '1';
# UPDATE BNET SET auth_command_groups='255' WHERE uid='youruserid'
#
# For regular users to be able to use the reqular commands
# For regular users to be able to use the regular commands
# issue the following command:
# UPDATE BNET SET auth_command_groups='1' WHERE uid='0'
#
@ -48,27 +48,31 @@
1 /c /clan
1 /f /friends
1 /me
1 /msg /whisper /w /m /r /reply
1 /me /emote
1 /msg /whisper /w /m
1 /r /reply
1 /status /users /lusers
1 /who /whois /whereis /where /whoami
1 /beep /nobeep
1 /version /copyright /warrenty /license
1 /uptime /stats /astat /time
1 /channel /join /rejoin
1 /away /dnd /ignore /squelch /unignore /unsquelch
1 /version /copyright /warranty /license
1 /uptime
1 /stats /astat
1 /time
1 /channel /join /j /rejoin
1 /away /dnd /ignore /unignore /squelch /unsquelch
1 /watch /unwatch /watchall /unwatchall
1 /news /games /channels /chs /admins
1 /logout /quit /exit
1 /ladderinfo
1 /timer /quota
1 /help
1 /help /?
1 /mail
1 /motd
1 /tos
1 /bitsinfo
1 /latency /ping /p
1 /topic
1 /icon
1 /language /lang
# /////////////////////////////
# ///// Operator commands /////
@ -144,23 +148,38 @@
# -- They are all locked out for regular users and require access to the Group to Use.
# -- Use the /cg command to assign groups to users.
2 /realmann /ann /announce
2 /realmann
2 /ann /announce
2 /alert
3 /serverban /ipban
3 /ipscan
4 /kill /killsession /addacct /lockacct /unlockacct
4 /kill
4 /lock /lockacct /unlock /unlockacct
4 /mute /muteacct /unmute /unmuteacct
5 /ladderactivate
# 5 /rank_all_accounts
# -- Access to group '6' allows users to not only make others Server Admins & Server Operators
# but will allow them to make themselves Server Admin & Server Operator.
6 /operator /admin /flag /tag
6 /log
7 /set /commandgroups /cg /clearstats
7 /set
7 /commandgroups /cg
7 /clearstats
8 /shutdown /rehash /find /save
# //////////////////////////////////////
# ///// Commands for Debugging /////
# //////////////////////////////////////
#8 /killsession
#8 /addacct
8 /shutdown /rehash
# //////////////////////////////////////
# ///// End of Command Groups File /////

View file

@ -108,11 +108,19 @@ charinfodir = "${LOCALSTATEDIR}/charinfo"
bak_charsavedir = "${LOCALSTATEDIR}/bak/charsave"
bak_charinfodir = "${LOCALSTATEDIR}/bak/charinfo"
ladderdir = "${LOCALSTATEDIR}/ladders"
newbiefile = "${LOCALSTATEDIR}/files/newbie.save"
transfile = "${SYSCONFDIR}/address_translation.conf"
d2gsconffile = "${SYSCONFDIR}/d2server.ini"
#pidfile = "${LOCALSTATEDIR}/d2cs.pid"
# d2s template for a new created characters
newbiefile_amazon = "${LOCALSTATEDIR}/files/newbie.save"
newbiefile_sorceress = "${LOCALSTATEDIR}/files/newbie.save"
newbiefile_necromancer = "${LOCALSTATEDIR}/files/newbie.save"
newbiefile_paladin = "${LOCALSTATEDIR}/files/newbie.save"
newbiefile_barbarian = "${LOCALSTATEDIR}/files/newbie.save"
newbiefile_druid = "${LOCALSTATEDIR}/files/newbie.save"
newbiefile_assasin = "${LOCALSTATEDIR}/files/newbie.save"
# #
#################################################################################

View file

@ -108,10 +108,18 @@ charinfodir = var\charinfo
bak_charsavedir = var\bak\charsave
bak_charinfodir = var\bak\charinfo
ladderdir = var\ladders
newbiefile = files\newbie.save
transfile = conf\address_translation.conf
d2gsconffile = conf\d2server.ini
#pidfile = var\d2cs.pid
# d2s template for a new created characters
newbiefile_amazon = files\newbie.save
newbiefile_sorceress = files\newbie.save
newbiefile_necromancer = files\newbie.save
newbiefile_paladin = files\newbie.save
newbiefile_barbarian = files\newbie.save
newbiefile_druid = files\newbie.save
newbiefile_assasin = files\newbie.save
# #
#################################################################################

17
conf/i18n/CMakeLists.txt Normal file
View file

@ -0,0 +1,17 @@
# copy all files from directory
file(GLOB DEPLOY_FILES_AND_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/*")
foreach(ITEM ${DEPLOY_FILES_AND_DIRS})
IF( IS_DIRECTORY "${ITEM}" )
LIST( APPEND DIRS_TO_DEPLOY "${ITEM}" )
ELSE()
IF(NOT ${ITEM} MATCHES "CMakeLists.txt")
LIST( APPEND FILES_TO_DEPLOY "${ITEM}" )
ENDIF(NOT ${ITEM} MATCHES "CMakeLists.txt")
ENDIF()
endforeach()
INSTALL( FILES ${FILES_TO_DEPLOY} DESTINATION ${SYSCONFDIR}/i18n )
INSTALL( DIRECTORY ${DIRS_TO_DEPLOY} DESTINATION ${SYSCONFDIR}/i18n )

12
conf/i18n/bgBG/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%EЗдравей %l, добре дошъл в %s!
%IВерсията на сървъра е %v на %h.
%IТози сървър се хоства от %H
%I
%IИма %a потребителски акаунти на този сървър.
%IВ момента има %U потребители в %G игри на %N
%Iи общо %u потребители играещи общо %g игри и разговарящи в общо %c канала.
%IИмате проблем с команда? Въведете /help за да
%Iнаучите повече за нея.
%IType /language to switch translation.
%I
%I%m

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="bgBG">Bulgarian</language>
<countries>
<country>BGR</country>
</countries>
</meta>
</root>

650
conf/i18n/bnhelp.conf Normal file
View file

@ -0,0 +1,650 @@
##############################################################################
# bnhelp - This Help File is used for describing the commands to the user #
#----------------------------------------------------------------------------#
# Entries are separated by a percent sign (%) at the beginning of the line. #
# The commands that correspond with the entry should follow the % on the #
# same line. #
# #
# You can enter comments by starting a line with #. Comments extend to the #
# end of the line. #
# Tabs replaces with 3 spaces. #
# Empty lines are ignored. #
# #
##############################################################################
%whois whereis where
--------------------------------------------------------
/whois <player> (aliases: /where /whereis)
Displays where a <player> is on the server.
Example: /whois nomad
%msg whisper m w
--------------------------------------------------------
/whisper <player> <message> (aliases: /w /m /msg)
Sends a private <message> to <player>
Example: /whisper nomad How are you doing?
%ignore squelch
--------------------------------------------------------
/squelch <username> (alias: ignore, see also: /unsquelch)
Blocks future messages sent from <username>.
Example: /squelch nomad
%unignore unsquelch
--------------------------------------------------------
/unsquelch <player> (alias: /unignore)
Allows a previously squelched <player> to talk to you normally.
Example: /unsquelch nomad
%away
--------------------------------------------------------
/away [message]
Displays [message] to users who whisper to you. To disable, use the /away command again with no [message].
Example: /away Eating dinner
%dnd
--------------------------------------------------------
/dnd [message]
Prevents all whispers from displaying to your screen. To disable, use the command again with no [message].
Example: /dnd I'm playing a game and don't want to hear whispers.
%who
--------------------------------------------------------
/who <channel>
Displays a list of users in <channel>
Example: /who Moderated Support
%stats astat
--------------------------------------------------------
/stats [player] [client] (alias: /astat)
Displays a [player]'s Win/Loss record.
Example: /stats nomad
%status users
--------------------------------------------------------
/users [gametag] (alias: /status)
Displays the current number of users connected to the server.
Example: /users W3XP
%time
--------------------------------------------------------
/time
Displays the current server and your local time.
%channel join j
--------------------------------------------------------
/channel <channel> (alias: /join /j)
Moves you to <channel>
Example: /channel Moderated Support
%rejoin
--------------------------------------------------------
/rejoin (alias: /resign)
Removes your status as the channel Operator.
%me emote
--------------------------------------------------------
/me <message> (alias: /emote)
Displays your name and <message> in a different color.
Example: /emote wants to play a game.
%kick
--------------------------------------------------------
/kick <player>
Kicks <player> from the channel.
Example: /kick nomad
%ban
--------------------------------------------------------
/ban <player> (see also: /unban)
Bans <player> from the channel, and prevents him from returning.
Example: /ban nomad
%unban
--------------------------------------------------------
/unban <player>
Allows a banned <player> to return to the channel.
Example: /unban nomad
%serverban
--------------------------------------------------------
/serverban <player> (see also: /unban)
Bans <player> by IP and lock his account
Example: /serverban nomad
%ipscan
--------------------------------------------------------
/ipscan <name or IP-address>
Finds all currently logged in users with the given <name> or <IP-address>.
Example: /ipscan 127.0.0.1
Example: /ipscan nomad
%whoami
--------------------------------------------------------
/whoami
Displays where you are on the server.
%uptime
--------------------------------------------------------
/uptime
Displays how long the server has been running.
%version
--------------------------------------------------------
/version
Displays the version of the server
%lusers
--------------------------------------------------------
/lusers
Displays a list of players who have been banned from the channel
%games
--------------------------------------------------------
/games [gametag] [difficulty]
Displays a list of online games.
Set [difficulty] for Diablo games only (norm|night|hell)
--------------------------------------------------------
/games all
Displays a list of all games.
/games l[obby]
Displays a list of games in lobby.
%channels chs
--------------------------------------------------------
/channels [gametag] (alias: /chs)
Displays a list of channels.
--------------------------------------------------------
/channels all
Displays a list of all channels.
%connections con
--------------------------------------------------------
/connections (alis: /con)
Displays a list of connections.
%finger
--------------------------------------------------------
/finger <player>
Displays detailed information about <player>
Example: /finger nomad
%admins
--------------------------------------------------------
/admins
Displays a list of all currently logged in administrators.
%reply r
--------------------------------------------------------
/reply <message> (alias: /r)
Replies to the last player who whispered you with <message>.
Example: /r Hi, mate!
%announce ann
--------------------------------------------------------
/announce <message> (alias: /ann)
Announces <message> to everyone.
Example: /ann Hello everyone!
%realmann
--------------------------------------------------------
/realmann <message>
Announces <message> to everyone in the current Diablo 2 realm.
Example: /realmann Hello everyone!
%alert
--------------------------------------------------------
/alert <message>
Show MessageBox with <message> to everyone. Use \n as a new line symbol.
Example: /alert Hello\neveryone!
%news
--------------------------------------------------------
/news
Displays the news.
%logout quit exit
--------------------------------------------------------
/logout (alias: /quit /exit)
Disconnects you from the server.
%kill
--------------------------------------------------------
/kill {<username>|#<socket>} [min]
Disconnects <player> from the server and bans the player's IP address for [min] minutes.
Example: /kill nomad 5
%killsession
--------------------------------------------------------
/killsession <sessionid> [min]
Disconnects the session from the server and bans the session's IP address for [min] minutes.
Example: /killsession 1 5
%watch
--------------------------------------------------------
/watch <player>
Enables notifications for <player>.
Example: /watch nomad
%unwatch
--------------------------------------------------------
/unwatch <player>
Disables notifications for <player>.
Example: /unwatch nomad
%watchall
--------------------------------------------------------
/watchall [gametag]
Enables notifications for everyone.
Example: /watchall SEXP
%unwatchall
--------------------------------------------------------
/unwatchall [gametag]
Disables notifications for everyone.
Example: /unwatchall SEXP
%gameinfo
--------------------------------------------------------
/gameinfo <gamename>
Displays information about <gamename>.
Example: /gameinfo FS 1v1!!!
%ladderactivate
--------------------------------------------------------
/ladderactivate
Copies current ladder statistics to active ladder statistics.
%ladderinfo
--------------------------------------------------------
/ladderinfo <rank> [gametag]
Displays ladder information for <rank> of [gametag]
Example: /ladderinfo 1000 SEXP
%timer
--------------------------------------------------------
/timer <duration> [message]
Displays [message] after <duration> seconds.
Example: /timer 60 one minute has passed
%netinfo
--------------------------------------------------------
/netinfo [player]
Displays [player]'s network information.
Example: /netinfo nomad
%addacct
--------------------------------------------------------
/addacct <player> <password>
Creates a new account named <player> with password <password>.
Example: /addacct nomad password
%chpass
--------------------------------------------------------
/chpass [<player>] <password> - change a player's password
Changes [<player>]'s password to <password>.
If [<player>] is empty then change password for your account.
Example: /chpass nomad password
%quota
--------------------------------------------------------
/quota
Displays your message quota.
%shutdown
--------------------------------------------------------
/shutdown [duration]
Sets the shutdown sequence at [duration] seconds or cancels it if set to zero.
Example: /shutdown 300
%lock lockacct
--------------------------------------------------------
/lock <player> [hours] [reason] (alias: /lockacct)
Locks <player>'s account to prevent him/her from logging in with it.
Set [hours] = 0 to ban permanently.
Example: /lock nomad 0 bye noob!
%unlock unlockacct
--------------------------------------------------------
/unlock <player> (alias: /unlockacct)
Unlocks <player>'s account to allow him/her to log in with it.
Example: /unlock nomad
%mute muteacct
--------------------------------------------------------
/mute <player> [hours] [reason] (alias: /muteacct)
Mutes <player>'s account to prevent him/her from talking on channels.
Set [hours] = 0 to mute permanently.
Example: /mute nomad 6 stop spam!
%unmute unmuteacct
--------------------------------------------------------
/unmute <player> (alias: /unmuteacct)
Unmutes <player>'s account to allow him/her to talk on channels.
Example: /unmute nomad
%friends f
--------------------------------------------------------
/friends <command> [options] (alias: /f)
--------------------------------------------------------
/friends add <username>
Adds <username> to your friends list.
/friends del <username>
Removes <username> from your friends list.
/friends promote <username>
Promotes <username> one line up your friends list.
/friends demote <username>
Demotes <username> one line down your friends list
/friends list
Displays your friends list.
/friends online
Displays your online friends list.
/friends msg <msgtext>
Whisper <msgtext> to all of your online friends.
%mail
--------------------------------------------------------
/mail <command> [options]
--------------------------------------------------------
/mail s[end] <receiver> <message>
Sends mail to <receiver> with <message>.
/mail r[ead] [index]
Reads mail [index]
/mail del[ete] {all|<index>}
Deletes mail <index> or [all] mail.
%flag
--------------------------------------------------------
/flag <number>
A debug tool for icon flags.
%tag
--------------------------------------------------------
/tag <gamename>
A debug tool for client tags.
%help
--------------------------------------------------------
/help [command]
Displays help about [command]
Example: /help whisper
%ipban
--------------------------------------------------------
/ipban <command> [option] [time]
--------------------------------------------------------
/ipban l[ist]
Displays a list of banned IP addresses
/ipban c[heck] <IP>
Checks if IP address <IP> is banned or not.
/ipban d[el] <IP|index>
Deletes IP address <IP> or <index>
/ipban a[dd] <IP> [time]
Bans IP address <IP> for [time] minutes. [time] = 0 - permanent ban
%set
--------------------------------------------------------
/set <account> <key> [value]
Sets or returns the value of <key> for account <account>.
Set [value] = null to erase value.
Example: /set nomad BNET\auth\botlogin true
Example: /set nomad Record\SEXP\0_wins 999
%motd
--------------------------------------------------------
/motd
Displays the MOTD.
%tos
--------------------------------------------------------
/tos /warranty /license
Displays the Terms of Service.
%admin
--------------------------------------------------------
/admin [+|-]<player>
Promotes/demotes <player> to/from server administrator.
Example: /admin +nomad
%rehash
--------------------------------------------------------
/rehash <mode>
Forces the server to reload specified config. Set "all" to reload all configs.
<mode> = all | i18n | channels | realms | autoupdate | news | versioncheck | ipbans | helpfile | banners | tracker | commandgroups | aliasfile | transfile | tournament | icons | anongame | topiclist | lua
%clan
--------------------------------------------------------
/clan <command> [option]
--------------------------------------------------------
/clan create <clantag> <clanname>
Create a new clan (max <clantag> length = 4; spaces are allowed in <clanname>)
Commands for clan members:
/clan m[sg] <message> (alias [w]hisper)
Whispers a message to all your fellow clan members
/clan inv[ite] <username>
Invite <username> to your clan.
/clan inv[ite] get
Show clanname which you have been invited
/clan inv[ite] accept
Accept invitation to clan
/clan inv[ite] decline
Decline invitation to clan
Commands for clan chieftain:
/clan motd <message>
Update the clan's Message of the Day to <message>.
/clan pub[lic] (alias: pub)
Opens the clan channel up to the public so that anyone may enter.
/clan priv[ate] (alias: priv)
Closes the clan channel such that only members of the clan may enter.
/clan dis[band]
Disband your clan.
%ping p latency
--------------------------------------------------------
/ping (alias: /p /latency)
Displays your ping to the server.
%command_groups cg
--------------------------------------------------------
/command_groups <command> <user> [groups] (alias: /cg)
--------------------------------------------------------
/cg list <user>
Displays <user>'s command groups.
/cg add <user> <group(s)>
Adds command group(s) <group(s)> to <user>.
/cg del <user> <group(s)>
Deletes command group(s) <group(s)> from <user>.
%operator
--------------------------------------------------------
/operator [+|-]<player> (alias: /op)
Promotes/demotes <player> to/from server operator.
Example: /operator +nomad
%aop
--------------------------------------------------------
/aop <username>
Promotes <username> to channel administrator.
Example: /aop nomad
%op
--------------------------------------------------------
/op <username>
Promotes <username> to channel operator.
Example: /op nomad
%deop
--------------------------------------------------------
/deop <username>
Demotes <username> from channel administrator or operator.
Example: /deop nomad
%tmpop
--------------------------------------------------------
/tmpop <username>
Promotes <username> to temporary channel operator.
Example: /tmpop <username>
%vop
--------------------------------------------------------
/vop <username>
Adds <username> to the VOP list.
Example: /vop nomad
%voice
--------------------------------------------------------
/voice <username>
Temporarily gives voice privileges to <username>.
Example: /voice nomad
%devoice
--------------------------------------------------------
/devoice <username>
Removes <username> from the VOP list and removes temporary voice privileges.
Example: /devoice nomad
%topic
--------------------------------------------------------
/topic [message]
Sets or displays current channel's topic.
Example: /topic Supported is given in this channel...\n(some text on a new line)
%moderate
--------------------------------------------------------
/moderate
Toggles the current channel's moderated status.
%clearstats
--------------------------------------------------------
/clearstats <player> <clienttag>
Clears <player>'s <clienttag> statistics, where <clienttag> can be any valid client or ALL for all clients
Supported clients: DRTL|DSHR|W2BN|STAR|SEXP|SSHR|WAR3|W3XP
Example: /clearstats nomad SEXP
%find
--------------------------------------------------------
/find <substring>
Finds users with <substring> in their username. <substring> MUST be lowercase!
%save
--------------------------------------------------------
/save
Forces the server to save account and clan changes to the database.
%icon
--------------------------------------------------------
/icon [name]
Set custom icon for normal user.
Use /icon without [name] to display list of available icons in your stash.
--------------------------------------------------------
Syntax for operator/admin:
/icon a[dd] <username> <icon>
Add icon into user stash
/icon d[el] <username> <icon>
Remove icon from user stash
/icon s[et] <username> <icon>
Set custom icon to user without adding it in user stash
/icon l[ist] <username>
Display icons in user's stash
/icon l[ist]
Display availaible icons in server stash that can be assigned to users
%language lang
--------------------------------------------------------
/lang [code]
Set your language to get another translation:
%log
--------------------------------------------------------
/log <command> <username> [args]
Read <username> log with commands (from the end)
--------------------------------------------------------
/log r[ead] <username> [startline]
Show last lines in user log from [startline]
/log f[ind] <username> <substring> [startline]
Find <substring> in user log from [startline]
Example: /log read Joe
Example: /log find Joe shutdown
%quiz
--------------------------------------------------------
/quiz <command> [option]
Trivia Quiz Game
--------------------------------------------------------
/quiz start <name>
Start game with given dictionary name in current channel
/quiz stop
Finish game by force
/quiz stats [username]
Display record statistics for user
/quiz stats
Display Top records
%host
--------------------------------------------------------
/host <type> <mode> <game name>
Create a ladder DotA map using Host Bot
Available types: 5x5/3x3
Available modes: ap/cm/rd/sd/ar/tt/aptb/rdtb/artb/sdtb/tttb
%chost
--------------------------------------------------------
/chost <map code> <game name>
Create a custom map from the list using Host Bot
Available maps:

View file

@ -1,11 +1,12 @@
%IHello %l, welcome to %s!
%EHello %l, welcome to %s!
%IRunning version %v on %h.
%IThis server is hosted by %H
%I
%IThere are %a user accounts on this server.
%IThere are currently %U users in %G games of %N,
%Iand %u users playing %g games and chatting in %c channels.
%IHaving trouble with a command? Type /help to
%IHaving trouble with a command? Type /help to
%Ilearn more about it.
%IType /language to switch translation.
%I
%I%m
%M%m

2072
conf/i18n/common.xml Normal file

File diff suppressed because it is too large Load diff

13
conf/i18n/csCZ/bnmotd.txt Normal file
View file

@ -0,0 +1,13 @@
%EAhoj %l,
%IVitej na serveru %s, verze %v.
%I
%IMomentalne je zde registrovanych %a uzivatelu, z toho je %u online, hrajicich %g hry.
%I
%I%N si muzes zahrat s %U hraci, v %G prave probihajicich hrach nebo si muzes pokecat v %c chatech.
%I
%INevis si rady ? Napis /help pro napovedu.
%I
%ITvoje IP adresa: %r, tvoje ID %i a tvuj klient %t.
%IType /language to switch translation.
%I
%M%m

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="csCZ">Czech</language>
<countries>
<country>CZE</country>
</countries>
</meta>
</root>

621
conf/i18n/deDE/bnhelp.conf Normal file
View file

@ -0,0 +1,621 @@
##############################################################################
# bnhelp - This Help File is used for describing the commands to the user #
#----------------------------------------------------------------------------#
# Entries are separated by a percent sign (%) at the beginning of the line. #
# The commands that correspond with the entry should follow the % on the #
# same line. #
# #
# You can enter comments by starting a line with #. Comments extend to the #
# end of the line. #
# Tabs replaces with 3 spaces. #
# Empty lines are ignored. #
# #
##############################################################################
%whois whereis where
--------------------------------------------------------
/whois <Spieler> (oder auch: /where /whereis)
Zeigt an wo ein <Spieler> sich gerade auf dem Server befindet.
Beispiel: /whois nomad
%msg whisper m w
--------------------------------------------------------
/whisper <Spieler> <Nachricht> (oder auch: /w /m /msg)
Sendet eine private <Nachricht> an <Spieler>
Beispiel: /whisper nomad Wie geht es dir?
%ignore squelch
--------------------------------------------------------
/squelch <Benutzername> (oder auch: ignore, siehe aauch: /unsquelch)
Blockiert weitere Nachrichten von <Benutzername>
Beispiel: /squelch nomad
%unignore unsquelch
--------------------------------------------------------
/unsquelch <Spieler> (oder auch: /unignore)
Erlaubt einem vorher geblocktem <Spieler>, normal mit dir zu reden.
Beispiel: /unsquelch nomad
%away
--------------------------------------------------------
/away [Nachricht]
Zeigt den Benutzern, die dich anflüstern eine [Nachricht] an. Nutze den /away Befehl nochmals ohne [Nachricht], um diese Funktion abzuschalten.
Beispiel: /away beim Abendessen
%dnd
--------------------------------------------------------
/dnd [Nachricht]
Bei dir wird kein Chat mehr auf dem Bildschirm gezeigt. Benutze den Befehl nochmals ohne [Nachricht], um ihn aufzuheben.
Beispiel: /dnd Ich bin im Spiel und möchte keinen Chat bekommen.
%who
--------------------------------------------------------
/who <Kanal>
Zeigt eine Liste der Nutzer in <Kanal>
Beispiel: /who Moderated Support
%stats astat
--------------------------------------------------------
/stats [Spieler] [client] (oder auch: /astat)
Zeigt die Gewinn/Verlust Statisitk eines [Spielers].
Example: /stats nomad
%status users
--------------------------------------------------------
/users [Spieletag] (oder auch: /status)
Zeigt die Anzahl der User, die mit dem Server verbunden sind.
Beispiel: /users W3XP
%time
--------------------------------------------------------
/time
Zeigt den aktuellen Server und deine lokale Zeit an.
%channel join j
--------------------------------------------------------
/channel <Kanal> (oder auch: /join /j)
Du betrittst den <Kanall>
Beispiel: /channel Moderated Support
%rejoin
--------------------------------------------------------
/rejoin (oder auch: /resign)
Entfernt deinen Status als Kanal Operator.
%me emote
--------------------------------------------------------
/me <Nachricht> (oder auch: /emote)
Zeigt deinen Namen und eine <Nachricht> in einer anderen Farbe.
Example: /emote will ein Spiel spielen.
%kick
--------------------------------------------------------
/kick <Spieler>
kickt <Spieler> aus dem Kanal.
Beispiel: /kick nomad
%ban
--------------------------------------------------------
/ban <Spieler> (siehe auch: /unban)
Bannt <Spieler> aus dem Kana und hindert ihn daran, zurückzukommen.
Beispiel: /ban nomad
%unban
--------------------------------------------------------
/unban <Spieler>
Erlaubt einem gebannten <Spieler>, in den Kanal zurückzukehren.
Beispiel: /unban nomad
%serverban
--------------------------------------------------------
/serverban <Spieler> (siehe auch: /unban)
Bannt die IP eines <Spielers> und sperrt seinen Zugang.
Beispiel: /serverban nomad
%ipscan
--------------------------------------------------------
/ipscan <Name or IP-Addresse>
Findet alle zur Zeit eingeloggten Benutzer mit dem gesuchten <Namen> oder <IP-Addresse>.
Beispiel: /ipscan 127.0.0.1
Beispiel: /ipscan nomad
%whoami
--------------------------------------------------------
/whoami
Zeigt an, wo du dich auf dem Server befindest.
%uptime
--------------------------------------------------------
/uptime
Zeigt an, seit wann der Server laeuft.
%version
--------------------------------------------------------
/version
Zeigt die Serverversion an.
%lusers
--------------------------------------------------------
/lusers
Zeigt die Lister der Spieler, die vom Server gebannt wurden.
%games
--------------------------------------------------------
/games [Spieletag] [Schwierigkeit]
Zeigt eine Liste der Onlinespiele.
Setze die [Schwierigkeit] nur für for Diablo Spiele(norm|night|hell)
--------------------------------------------------------
/games all
Zeigt eine Liste aller Spiele.
/games l[obby]
Zeigt eine Liste der Spiele in der Lobby.
%channels chs
--------------------------------------------------------
/channels [Spieletag] (oder auch: /chs)
Zeigt eine Liste aller Kanäle für diesen [Spieletag].
--------------------------------------------------------
/channels all
Zeigt eine Liste aller Kanäle.
%connections con
--------------------------------------------------------
/connections (oder auch: /con)
Zeigt eine Liste der Verbindungen an.
%finger
--------------------------------------------------------
/finger <Spieler>
Zeigt genaue Informationen über <Spieler> an.
Beispiel: /finger nomad
%admins
--------------------------------------------------------
/admins
Zeigt eine Liste der zur Zeit eingeloggten Admins an.
%reply r
--------------------------------------------------------
/reply <message> (alias: /r)
Antwortet dem letzten Spieler, der dich mit einer <Nachricht> angeflüstert hat.
Beispiel: /r Hi Kumpel!
%announce ann
--------------------------------------------------------
/announce <Nachricht> (oder auch: /ann)
Schickt eine <Nachricht> an alle.
Beispiel: /ann Hallo zusammen!
%realmann
--------------------------------------------------------
/realmann <Nachricht>
Schickt eine <Nachicht> an alle in der aktuellen Diablo2 Instanz.
Beispiel: /realmann Hallo zusammen!
%alert
--------------------------------------------------------
/alert <Nachricht>
Zeigt eine Textbox mit deiner <Nachricht> an alle. Nutze \n um einen Absatz zu setzen.
Beispiel: /alert Hallo\nzusammen!
%news
--------------------------------------------------------
/news
Zeigt die Neuigkeiten an.
%logout quit exit
--------------------------------------------------------
/logout (alias: /quit /exit)
Trennt dich vom Server.
%kill
--------------------------------------------------------
/kill {<Benutzername>|#<socket>} [min]
Trennt <Spieler> vom Server und bannt die IP des Spielers für [min] Minuten.
Beispiel: /kill nomad 5
%killsession
--------------------------------------------------------
/killsession <SitzungsID> [min]
Trennt die Sitzung vom Server und bannt die zugehörige IP-Adresse für [min] Minuten.
Beispiel: /killsession 1 5
%watch
--------------------------------------------------------
/watch <Spieler>
Du wirst über <Spieler> benachrichtigt.
Beispiel: /watch nomad
%unwatch
--------------------------------------------------------
/unwatch <Spieler>
Du wirst nicht mehr über <Spieler> benachrichtigt.
Beispiel: /unwatch nomad
%watchall
--------------------------------------------------------
/watchall [Spieletag]
Du wirst über die Aktionen von allen benachrichtigt.
Beispiel: /watchall SEXP
%unwatchall
--------------------------------------------------------
/unwatchall [gametag]
Du wirst nicht mehr über die Aktionen von allen benachrichtigt.
Example: /unwatchall SEXP
%gameinfo
--------------------------------------------------------
/gameinfo <Spielename>
Zeigt Informationen über <Spielename>.
Beispiel: /gameinfo FS 1v1!!!
%ladderactivate
--------------------------------------------------------
/ladderactivate
Kopiert aktuelle ladder Statistiken zu aktiven Ladder Statistiken
%ladderinfo
--------------------------------------------------------
/ladderinfo <Rang> [Spieletag]
Displays ladder information for <rank> of [gametag]
Zeigt Ladderinformationen für den <Rang> mi [Spieletag]
Beispiel: /ladderinfo 1000 SEXP
%timer
--------------------------------------------------------
/timer <Dauer> [Nachricht]
Zeigt [Nachricht] nach <Dauer> Sekunden.
Beispiel: /timer 60 eine Minute ist vergangen.
%netinfo
--------------------------------------------------------
/netinfo [Spieler]
Zeigt die Netzwerkinformationen von [Spieler].
Beispiel: /netinfo nomad
%addacct
--------------------------------------------------------
/addacct <Spieler> <Passwort>
Erschafft einen neuen account mit Namen <Spieler> mit dem gewählten <Passwort>.
Beispiel: /addacct nomad password
%chpass
--------------------------------------------------------
/chpass [<Spieler>] <Passwort> - ändert das Passwort von <Spieler>
Ändert [<Spieler>]s Passwort zu <Passwort>.
Wenn du [<Spieler>] leer lässt, wird das Passwort zu deinem account geändert.
Beispiel: /chpass nomad password
%quota
--------------------------------------------------------
/quota
Zeigt, wieviel du geschrieben hast.
%shutdown
--------------------------------------------------------
/shutdown [Dauer]
Stellt die Shutdown Sequenz auf [Dauer] Sekunden, oder hebt sie auf, wenn du die [Dauer] auf 0 setzt.
Beispiel: /shutdown 300
%lock lockacct
--------------------------------------------------------
/lock <Spieler> [Stunden] [Grund] (oder auch: /lockacct)
Sperrt <Spieler>s account, damit er sich nicht einloggen kann.
Setze [Stunden] = 0 um dauerhaft zu bannen.
Beispiel: /lock nomad 0 bye noob!
%unlock unlockacct
--------------------------------------------------------
/unlock <Spieler> (oder auch: /unlockacct)
Entsperrt <Spieler>s account, damit er sich wieder einloggen kann.
Beispiel: /unlock nomad
%mute muteacct
--------------------------------------------------------
/mute <Spieler> [Stunden] [Grund] (oder auch: /muteacct)
Schaltet <Spieler>s account auf stumm, so dass er in Kanälen nichts schreiben kann.
Setze [Stunden] = 0 um den Account dauerhaft auf stumm zu schalten.
Beispiel: /mute nomad 6 lass den spam!
%unmute unmuteacct
--------------------------------------------------------
/unmute <Spieler> (oder auch: /unmuteacct)
Hebt die Stummschaltung von <Spieler>s account auf, damit er wieder in Kanälen schreiben kann.
Beispiel: /unmute nomad
%friends f
--------------------------------------------------------
/friends <Befehl> [Optionen] (oder auch: /f)
--------------------------------------------------------
/friends add <Nutzername>
Fügt <Nutzername> deiner Freundesliste hinzu.
/friends del <Nutzername>
Entfernt <Nutzername> von deiner Freundesliste.
/friends promote <Nutzername>
Befördert <Nutzername> eine Zeile in deiner Freundesliste.
/friends demote <Nutzername>
Stuft <Nutzername> eine Zeile in deiner Freundesliste herab.
/friends list
Zeigt deine Freundesliste.
/friends online
Zeigt die Liste deiner Freunde, die online sind.
/friends msg <Text>
Flüstert <Text> an alle deine Freunde, die online sind.
%mail
--------------------------------------------------------
/mail <Befehl> [Optionen]
--------------------------------------------------------
/mail s[end] <Empfaenger> <Nachricht>
Sendet einen Brief an <Empfänger> mit der <Nachricht>.
/mail r[ead] [index]
Liesst den Brief [index]
/mail del[ete] {all|<index>}
Löscht Briefe im <index> oder [all]e Briefe.
%flag
--------------------------------------------------------
/flag <Nummer>
Ein Reperaturwerkzeug für Symboltags.
%tag
--------------------------------------------------------
/tag <gamename>
Ein Reperaturwerkzeug für Klienttags.
%help
--------------------------------------------------------
/help [Befehl]
Zeigt die Hilfe zu [Befehl].
Beispiel: /help whisper
%ipban
--------------------------------------------------------
/ipban <Befehl> [Option] [Zeit]
--------------------------------------------------------
/ipban l[ist]
Zeigt eine Liste der gebannten IP-Adressen.
/ipban c[heck] <IP>
Überprüft ob die IP-Adresse <IP> gebannt ist.
/ipban d[el] <IP|index>
Loescht den Ban der IP Adresse <IP> oder den <index> dazu.
/ipban a[dd] <IP> [time]
Bannt IP Addresse <IP> für [Zeit] Minuten. [Zeit] = 0 - dauerhafter Bann.
%set
--------------------------------------------------------
/set <account> <Schlüssel> [Wert]
Setzt oder den Wert von <Schlüssel> für den account <account>, oder setzt ihn zurück.
Setze [Wert] = null um den Wert zurückzusetzen.
Beispiel: /set nomad BNET\auth\botlogin true
Beispiel: /set nomad Record\SEXP\0_wins 999
%motd
--------------------------------------------------------
/motd
Zeigt die MOTD.
%tos
--------------------------------------------------------
/tos /warranty /license
Zeigt die Endbenutzerbedingungen.
%admin
--------------------------------------------------------
/admin [+|-]<Spieler>
Befördert/degradiert <Spieler> zum/als Server Administrator.
Beispiel: /admin +nomad
%rehash
--------------------------------------------------------
/rehash <Modus>
Zwingt den Server, eine spezifische Konfig. zu laden. Setze auf "alle" um alle Konfigs neu zu laden.
<Modus> = alle | i18n | channels | realms | autoupdate | news | versioncheck | ipbans | helpfile | banners | tracker | commandgroups | aliasfile | transfile | tournament | icons | anongame | topiclist | lua
%clan
--------------------------------------------------------
/clan <Befehl> [Option]
--------------------------------------------------------
/clan create <Clantag> <Clanname>
Erschafft einen neuen Clan (max <Clantag> Länge = 4; Freizeichen sind erlaubt im <Clanname>n)
Befehle für clan Mitglieder:
/clan m[sg] <Nachricht> (oder auch: [w]hisper)
Fluestert eine Nachricht an alle deine Clan Mitglieder
/clan inv[ite] <Nutzername>
Laed <Nutzername> in deinen Clan ein.
/clan inv[ite] get
Zeigt, in welchen Clan du eingeladen wurdest.
/clan inv[ite] accept
Akzeptiert eine Clan Einladung.
/clan inv[ite] decline
Lehnt eine Clan Einladung ab.
Befehle für Clanleader:
/clan motd <Nachricht>
Updated die Clan "Nachricht des Tages".
/clan pub[lic] (oder auch: pub)
Öffnet den Clan Kanal für andere.
/clan priv[ate] (oder auch: priv)
Schliesst den Clan Kanal,nur Mitglieder haben zutritt.
/clan dis[band]
Löst den Clan Kanal auf.
%ping p latency
--------------------------------------------------------
/ping (oder auch: /p /latency)
Zeigt deinen Ping zum Server.
%command_groups cg
--------------------------------------------------------
/command_groups <Befehl> <Nutzer> [Gruppen] (oder auch: /cg)
--------------------------------------------------------
/cg list <user>
Zeigt die Befehlgruppe zu <Nutzer>.
/cg add <Nutzer> <Gruppe(n)>
Fügt eine Befehlgruppe(n) zu <Nutzer> hinzu.
/cg del <Nutzer> <Gruppe(n)>
Löscht Befehlgruppe(n) von <Nutzer>.
%operator
--------------------------------------------------------
/operator [+|-]<Spieler> (oder auch: /op)
Befoerdert/degradiert <Spieler> zum/vom Server Operator.
Beispiel: /operator +nomad
%aop
--------------------------------------------------------
/aop <Nutzername>
Befördert <Nutzername> zum Kanal Administrator.
Beispiel: /aop nomad
%op
--------------------------------------------------------
/op <Nutzername>
Befördert <Nutzername> zum Kanal Operator.
Beispiel: /op nomad
%deop
--------------------------------------------------------
/deop <Nutzername>
Degradiert <Nutzername> als Kanal Administrator oder Operator.
Beispiel: /deop nomad
%tmpop
--------------------------------------------------------
/tmpop <Nutzername>
Befördert <Nutzername> zum vorübergehenden Kanal Operator.
Beispiel: /tmpop <username>
%vop
--------------------------------------------------------
/vop <Nutzername>
Fügt <Nutzername> der VOP Liste hinzu.
Beispiel: /vop nomad
%voice
--------------------------------------------------------
/voice <Nutzername>
Gibt vorübergehend Voice Rechte an <Nutzername>.
Beispiel: /voice nomad
%devoice
--------------------------------------------------------
/devoice <username>
Entfernt <Nutzername> von der VOP Liste und vorübergehende Voice Rechte.
Beispiel: /devoice nomad
%topic
--------------------------------------------------------
/topic [Nachricht]
Setzt oder zeigt die aktuelle Kanal Überschrift.
Beispiel: /topic Supported is given in this channel...\n(some text on a new line)
%moderate
--------------------------------------------------------
/moderate
schaltet den aktuellen Moderationsstatus des Kanals um.
%clearstats
--------------------------------------------------------
/clearstats <Spieler> <Klienttag>
Löscht die Statistik von <Spieler>s <Klienttag> , dabei kann <Klienttag> jeder zulässige Klient oder JEDER Klient sein.
Unterstützte Klienten: DRTL|DSHR|W2BN|STAR|SEXP|SSHR|WAR3|W3XP
Beispiel: /clearstats nomad SEXP
%find
--------------------------------------------------------
/find <Unterbegriff>
Findet einen Nutzer mit dem <Teilbegriff> in seinem Nutzernamen. Der <Teilbegriff> MUSS in Kleinbuchstaben stehen!
%save
--------------------------------------------------------
/save
Zwingt den Server, Änderungen am Account und Clan Änderungen in der Datenbank zu speichern.
%icon
--------------------------------------------------------
/icon [Name]
Setzt ein spezifisches Icon für normale Nutzer.
Nutze /icon ohne [Name] um die Liste der verfügbaren Icons in deinem Vorrat anzuzeigen.
--------------------------------------------------------
Syntax fuer Operatoren/Admins:
/icon a[dd] <Nutzername> <icon>
Fügt ein Icon dem Vorrat eines Nutzers hinzu.
/icon d[el] <Nutzername> <icon>
Entfernt ein Icon aus dem Vorrat eines Nutzers
/icon s[et] <Nutzername> <icon>
Setzt ein spezifisches Icon für den Nutzer, ohne es seinem Vorrat hinzuzufügen.
/icon l[ist] <Nutzername>
Zeigt die Icons im Vorrat des Nutzers an.
/icon l[ist]
Zeigt die auf dem Server vorrätigen Icons an, die Nutzern zugewiesen werden können.
%language /lang
--------------------------------------------------------
/lang [code]
Stellt deine Sprache auf eine andere Übersetzung um:
%quiz
--------------------------------------------------------
/quiz <Befehl> [Option]
Trivia Quiz Spiel
--------------------------------------------------------
/quiz start <Name>
Startet ein Spiel mit der Datenbak <Name> im aktuellen Kanal
/quiz stop
Beendet das Quiz erzwungen.
/quiz stats [Nutzername]
Zeigt die Quiz Statistik für [Nutzername]
/quiz stats
Zeigt die Bestenliste des Quiz
Nutzername

12
conf/i18n/deDE/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%EHallo %l, willkommen zu %s!
%ILaufende Version %v auf %h.
%IDer Server ist von %H gehostet
%I
%IEs sind %a Benutzerprofile auf dem Server.
%IAktuell sind %U Spieler in %G Spielen von %N,
%Iund %u Spieler spielen %g Spiele und chatten in %c Kanälen.
%IEin Problem mit den Befehlen? Schreibe /help und
%Ilerne mehr über die Befehle.
%IType /language to switch translation.
%I
%M%m

View file

@ -0,0 +1,15 @@
PvPGN Bnet Emulation Chat Hilfe Befehle
Neue Befehle:
nutze /f help für Hilfe mit der Freundesliste.
nutze /users um zu sehen, welche Nutzer online sind.
nutze /w or /msg <Nutzername> um Nutzer anzuflüstern.
nutze /join <Kanal> um einem Kanal beizutreten
Fuerr Chan Ops:
nutze /ban <Nutzername> um einen Nutzer aus dem Kanal zu bannen.
nutze /kick <Nutzername> um einen Nutzer aus dem Kanal zu kicken.
Für eine genauere Hilfe schreibe: /help

2078
conf/i18n/deDE/common.xml Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,20 @@
Sie sind zur Zeit mit einem PvPGN Server (Player -vs- Player Gaming Network) verbunden.
PvPGN Allgemeine Geschaeftsbedingungen:
PvPGN ist ein Battle.net(R) Emulationsserver und ist auf keine Weise verbunden mit bnetd, warforge, oder Blizzard Entertainment(R).
PvPGN wird zur Verfügung gestellt "wie er ist" ohne Gewährleistungen jedweder Art.
Wir unterstützen Softwarepiraterie nicht und halten Sie an, eine legale Kopie der Spiele zu erwerben, die Sie auf unserem Server spielen möchten.
1. Inhalte, die auf PvPGN gefunden werden.
PvPGN unterstützt oder garantiert nicht für die Genauigkeit, den Wahrheitsgehalt oder die Zuverlässigkeit jedweder Informationen, darunter auch Meinungen und Ratschläge, die auf oder über PvPGN vermittelt werden. Jede und alle Aussagen, die in Foren, Chatverläufen oder in Spielen gemacht werden, geben nur die Meinung ihrer Urheber wieder.
2. Ausschluss von Gewährleistung.
PvPGN wird gestellt "wie er ist" ohne Gewährleistungen irgendeiner Art. PvPGN gewährleistet nicht, dass ihr Programm ungestört und fehlerfrei läuft.
3. begrenzte Haftbarkeit
PvPGN ist in keiner Weise haftbar für Verlust oder Schaden jedweder Art, der aus der Benutzung von PvPGN resultiert. Das schliesst ein, ist aber nicht begrenzt auf, Verlust von Geschäftswerten, Computerfehlern oder -Versagen und jedwede Art von Schaden, Verlust, sei er kommerziell oder privat.
Battle.net(R) und Blizzard Entertainment(R) sind Warenzeichen oder eingetragene Warenzeichen von Blizzard Entertainment in den Vereinigten Staaten von Amerika und oder anderen Staaten.
Davon abgesehen... Viel Spaß...
PvPGN Projekt Seite: http://pvpgn.berlios.de/

View file

@ -0,0 +1,21 @@
Sie sind zur Zeit mit einem PvPGN Server (Player -vs- Player Gaming Network) verbunden.
PvPGN Allgemeine Geschaeftsbedingungen:
PvPGN ist ein Battle.net(R) Emulationsserver und ist auf keine Weise verbunden mit bnetd, warforge, oder Blizzard Entertainment(R).
PvPGN wird zur Verfügung gestellt "wie er ist" ohne Gewährleistungen jedweder Art.
Wir unterstützen Softwarepiraterie nicht und halten Sie an, eine legale Kopie der Spiele zu erwerben, die Sie auf unserem Server spielen möchten.
11. Inhalte, die auf PvPGN gefunden werden.
PvPGN unterstützt oder garantiert nicht für die Genauigkeit, den Wahrheitsgehalt oder die Zuverlässigkeit jedweder Informationen, darunter auch Meinungen und Ratschläge, die durch oder über PvPGN vermittelt werden. Jede und alle Aussagen, die in Foren, Chatverläufen oder in Spielen gemacht werden, geben nur die Meinung ihrer Urheber wieder.
2. Ausschluss von Gewaehrleistung.
PvPGN wird gestellt "wie er ist" ohne Gewährleistungen irgendeiner Art. PvPGN gewährleistet nicht, dass ihr Programm ungestört und fehlerfrei läuft.
3. begrenzte Haftbarkeit
PvPGN ist in keiner Weise haftbar für Verlust oder Schaden jedweder Art, der aus der Benutzung von PvPGN resultiert. Das schliesst ein, ist aber nicht begrenzt auf, Verlust von Geschäftswerten, Computerfehlern oder -Versagen und jedwede Art von Schaden, Verlust, sei er kommerziell oder privat.
Battle.net(R) und Blizzard Entertainment(R) sind Warenzeichen oder eingetragene Warenzeichen von Blizzard Entertainment in den Vereinigten Staaten von Amerika und oder anderen Staaten.
Davon abgesehen... Viel Spaß...
PvPGN Projekt Seite: http://pvpgn.berlios.de/

11
conf/i18n/deDE/w3motd.txt Normal file
View file

@ -0,0 +1,11 @@
|c00FF0000Welcome |c00FF9933to |c0000CCFFthe |c00FF66FF%s |c0000CC00Version |c009999FF%v |c00FFFFFF
Es sind zur Zeit %U Nutzer in %G Spielen von %N und %u Nutzer spielen %g Spiele and chatten in %c Kanälen.
Dieser Text ist nicht sichtbar wegen der 11 Zeilen Begrenzung!

622
conf/i18n/esES/bnhelp.conf Normal file
View file

@ -0,0 +1,622 @@
##############################################################################
# bnhelp - Este Archivo de Ayuda se usa para describir comandos al usuario #
#----------------------------------------------------------------------------#
# Cada entrada está separada por un signo de porcentaje (%) al inicio #
# de la línea. #
# Los comandos que se corresponden con la entrada deberán estar seguidos de #
# % en la mísma línea #
# #
# Se pueden insertar comentarios al empezar una línea con #. #
# Los comentarios se extienden hasta el final de la línea. #
# Las tabulaciones se reemplazan con 3 espacios. #
# Las líneas vacias se ignoran. #
# #
##############################################################################
%whois whereis where
--------------------------------------------------------
/whois <jugador> (también se puede usar: /where /whereis)
Muestra donde un <jugador> se encuentra en el servidor.
Ejemplo: /whois nomad
%msg whisper m w
--------------------------------------------------------
/whisper <jugador> <mensaje> (también se puede usar: /w /m /msg)
Envía un <mensaje> privado para <jugador>
Ejemplo: /whisper nomad ¿Qué tal todo?
%ignore squelch
--------------------------------------------------------
/squelch <nombreusuario> (también se puede usar: /ignore, Véase también: /unsquelch)
Bloquea mensajes futuros enviados por <nombreusuario>.
Ejemplo: /squelch nomad
%unignore unsquelch
--------------------------------------------------------
/unsquelch <jugador> (también se puede usar: /unignore)
Permite a <jugador> previamente ignorado poder volver a hablar con normalidad.
Ejemplo: /unsquelch nomad
%away
--------------------------------------------------------
/away [mensaje]
Muestra [mensaje] a los usuarios que le susurren (whisper). Para desactivar, usar el comando /away de nuevo sin [mensaje].
Ejemplo: /away Estoy cenando.
%dnd
--------------------------------------------------------
/dnd [mensaje]
Previene que se muestre cualquier susurro en su pantalla. Para desactivar, usar el comando /dnd de nuevo sin [mensaje].
Ejemplo: /dnd Estoy jugando y no quiero leer mensajes.
%who
--------------------------------------------------------
/who <canal>
Muestra una lista de los usuarios en <canal>
Ejemplo: /who Moderated Support
%stats astat
--------------------------------------------------------
/stats [jugador] [cliente] (también se puede usar: /astat)
Muestra el record de Victorias/Derrotas de un [jugador].
Ejemplo: /stats nomad
%status users
--------------------------------------------------------
/users [SiglasJuego] (también se puede usar: /status)
Muestra el actual número de usuarios conectados al servidor.
Ejemplo: /users W3XP
%time
--------------------------------------------------------
/time
Muestra su hora local y el servidor actual.
%channel join j
--------------------------------------------------------
/channel <canal> (también se puede usar: /join /j)
Mueve al usuario a <canal>
Ejemplo: /channel Moderated Support
%rejoin
--------------------------------------------------------
/rejoin (también se puede usar: /resign)
Elimina su status como Operador del canal.
%me emote
--------------------------------------------------------
/me <mensaje> (también se puede usar: /emote)
Muestra su nombre y el <mensaje> en diferente color.
Ejemplo: /emote quiere jugar una partida.
%kick
--------------------------------------------------------
/kick <jugador>
Expulsa <jugador> del canal.
Ejemplo: /kick nomad
%ban
--------------------------------------------------------
/ban <jugador> (véase también: /unban)
Banea al <jugador> del canal, previniendo que regrese.
Ejemplo: /ban nomad
%unban
--------------------------------------------------------
/unban <jugador>
Permite a un <jugador> baneado poder volver a entrar al canal.
Example: /unban nomad
%serverban
--------------------------------------------------------
/serverban <jugador> (véase también: /unban)
Banea <jugador> por su IP y bloquea la cuenta.
Ejemplo: /serverban nomad
%ipscan
--------------------------------------------------------
/ipscan <nombre o dirección-IP>
Busca a todos los usuarios actualmente conectados con el <nombre> o <dirección-IP> dados.
Ejemplo: /ipscan 127.0.0.1
Ejemplo: /ipscan nomad
%whoami
--------------------------------------------------------
/whoami
Muestra donde se encuentra uno mismo en el servidor.
%uptime
--------------------------------------------------------
/uptime
Muestra durante cuanto tiempo el servidor ha estado en marcha.
%version
--------------------------------------------------------
/version
Muestra la versión del servidor.
%lusers
--------------------------------------------------------
/lusers
Muestra una lista de los jugadores que han sido baneados del canal.
%games
--------------------------------------------------------
/games [SiglasJuego] [dificultad]
Muestra una lista de los juegos online.
Establece [dificultad] solamente para juegos en Diablo (norm|night|hell)
--------------------------------------------------------
/games all
Muestra una lista de todos los juegos.
/games l[obby]
Muestra una lista de los juegos en la sala de espera (lobby).
%channels chs
--------------------------------------------------------
/channels [SiglasJuego] (también se puede usar: /chs)
Muestra una lista de los canales.
--------------------------------------------------------
/channels all
Muestra una lista de todos los canales.
%connections con
--------------------------------------------------------
/connections (también se puede usar: /con)
Muestra una lista de las conexiones.
%finger
--------------------------------------------------------
/finger <jugador>
Muestra informaciónd detallada sobre <jugador>
Ejemplo: /finger nomad
%admins
--------------------------------------------------------
/admins
Muestra una lista de todos los administradores actualmente conectados.
%reply r
--------------------------------------------------------
/reply <mensaje> (también se puede usar: /r)
Contesta al último jugador que le haya susurrado con <mensaje>.
Ejemplo:/r Hey, ¿como vá?
%announce ann
--------------------------------------------------------
/announce <mensaje> (también se puede usar: /ann)
Anuncia un <mensaje> para todos.
Ejemplo: /ann ¡Hola a todos!
%realmann
--------------------------------------------------------
/realmann <mensaje>
Anuncia un <mensaje> para todos en el reino actual de Diablo 2.
Ejemplo: /realmann ¡Hola a todos!
%alert
--------------------------------------------------------
/alert <mensaje>
Muestra un cuadro de mensaje con <mensaje> para todos. Usar \n como símbolo para una nueva línea.
Example: /alert ¡Hola\na todos!
%news
--------------------------------------------------------
/news
Muestra las noticias.
%logout quit exit
--------------------------------------------------------
/logout (también se puede usar: /quit /exit)
Desconecta del servidor.
%kill
--------------------------------------------------------
/kill {<nombreusuario>|#<socket>} [min]
Desconecta a <jugador> del servidor y banea la dirección IP del jugador durante [min] minutos.
Ejemplo: /kill nomad 5
%killsession
--------------------------------------------------------
/killsession <sessionid> [min]
Desconecta la sesión del servidor y banea la dirección IP de la sesión durante [min] minutos.
Ejemplo: /killsession 1 5
%watch
--------------------------------------------------------
/watch <jugador>
Activa notificaciones para <jugador>.
Ejemplo: /watch nomad
%unwatch
--------------------------------------------------------
/unwatch <jugador>
Desactiva notificaciones para <jugador>.
Ejemplo: /unwatch nomad
%watchall
--------------------------------------------------------
/watchall [SiglasJuego]
Activa notificaciones para todos.
Ejemplo: /watchall SEXP
%unwatchall
--------------------------------------------------------
/unwatchall [SiglasJuego]
Desactiva notificaciones para todos.
Ejemplo: /unwatchall SEXP
%gameinfo
--------------------------------------------------------
/gameinfo <nombrejuego>
Muestra información sobre <nombrejuego>.
Ejemplo: /gameinfo FS 1v1!!!
%ladderactivate
--------------------------------------------------------
/ladderactivate
Copia las estadísticas actuales de ladder a las estadísticas de ladder activas.
%ladderinfo
--------------------------------------------------------
/ladderinfo <rango> [SiglasJuego]
Muestra información de ladder para <rango> en [SiglasJuego]
Ejemplo: /ladderinfo 1000 SEXP
%timer
--------------------------------------------------------
/timer <duración> [mensaje]
Muestra [mensaje] tras <duración> segundos.
Example: /timer 60 ha pasado un minuto
%netinfo
--------------------------------------------------------
/netinfo [jugador]
Muestra la información de red de [jugador].
Ejemplo: /netinfo nomad
%addacct
--------------------------------------------------------
/addacct <jugador> <password>
Crea una nueva cuenta con el nombre <jugador> con el <password>.
Ejemplo: /addacct nomad password
%chpass
--------------------------------------------------------
/chpass [<jugador>] <password> - cambia el password de un jugador
Cambia el password de [<jugador>] por <password>.
Si [<jugador>] está vacio, entonces se cambia el password de su cuenta.
Ejemplo: /chpass nomad password
%quota
--------------------------------------------------------
/quota
Muestra su cuota de mensajes.
%shutdown
--------------------------------------------------------
/shutdown [duración]
Establece la secuencia de apagado en [duración] segundos o la cancela si se introduce a cero.
Ejemplo: /shutdown 300
%lock lockacct
--------------------------------------------------------
/lock <jugador> [horas] [razón] (también se puede usar: /lockacct)
Bloquea la cuenta de <jugador> previnendole de que se conecte con tal cuenta.
Establecer [horas] = 0 para banear permanentemente.
Ejemplo: /lock nomad 0 ¡bye noob!
%unlock unlockacct
--------------------------------------------------------
/unlock <jugador> (también se puede usar: /unlockacct)
Desbloquea la cuenta de <jugador> permitiendo poder volver a conectarse con ella.
Ejemplo: /unlock nomad
%mute muteacct
--------------------------------------------------------
/mute <jugador> [horas] [razón] (también se puede usar: /muteacct)
Silencia la cuenta de <jugador> previniendole de que pueda hablar en los canales.
Establecer [horas] = 0 para silenciar permanentemente.
Ejemplo: /mute nomad 6 ¡Basta con el spam!
%unmute unmuteacct
--------------------------------------------------------
/unmute <jugador> (también se puede usar: /unmuteacct)
Devuelve la voz a la cuenta de <jugador> permitiendole volver a hablar en los canales.
Ejemplo: /unmute nomad
%friends f
--------------------------------------------------------
/friends <comando> [opciones] (también se puede usar: /f)
--------------------------------------------------------
/friends add <nombreusuario>
Añade a <nombreusuario> a su lista de amigos.
/friends del <nombreusuario>
Elimina a <nombreusuario> de su lista de amigos.
/friends promote <nombreusuario>
Asciende a <nombreusuario> una línea arriba en su lista de amigos.
/friends demote <nombreusuario>
Desciende a <nombreusuario> una línea abajo en su lista de amigos.
/friends list
Muestra su lista de amigos.
/friends online
Muestra la lista de sus amigos online.
/friends msg <msgtexto>
Susurra <msgtexto> a todos sus amigos online.
%mail
--------------------------------------------------------
/mail <commando> [opciones]
--------------------------------------------------------
/mail s[end] <receptor> <mensaje>
Envia mail a <receptorr> con <mensaje>.
/mail r[ead] [índice]
Leer mail [índice]
/mail del[ete] {all|<index>}
Deletes mail <index> or [all] mail.
%flag
--------------------------------------------------------
/flag <number>
Una herramienta de depuración para iconos de estado.
%tag
--------------------------------------------------------
/tag <nombrejuego>
Una herramienta de depuración para etiquetas de clientes.
%help
--------------------------------------------------------
/help [comando]
Muestra ayuda sobre [comando]
Ejemplo: /help whisper
%ipban
--------------------------------------------------------
/ipban <comando> [opción] [tiempo]
--------------------------------------------------------
/ipban l[ist]
Muestra una lista de las direcciones IP baneadas
/ipban c[heck] <IP>
Comprueba si la dirección IP <IP> ha sido baneada o no.
/ipban d[el] <IP|índice>
Elimina la dirección IP <IP> o el <índice>
/ipban a[dd] <IP> [time]
Banea la dirección IP<IP> durante [tiempo] minutos. [tiempo] = 0 - ban permanente
%set
--------------------------------------------------------
/set <cuenta> <clave> [valor]
Establece o retorna el valor de <clave> para la cuenta <cuenta>.
Establece [valor] = nulo para eliminar valor.
Ejemplo: /set nomad BNET\auth\botlogin true
Ejemplo: /set nomad Record\SEXP\0_wins 999
%motd
--------------------------------------------------------
/motd
Muestra el MOTD (Mensaje del Dia).
%tos
--------------------------------------------------------
/tos /warranty /license
Muestra los Términos de Servicio.
%admin
--------------------------------------------------------
/admin [+|-]<jugador>
Asciende/Degrada a <jugador> a ser /no ser administrador del servidor.
Ejemplo: /admin +nomad
%rehash
--------------------------------------------------------
/rehash <modo>
Fuerza al servidor a recargar una config específica. Establecer "all" para recargar todas las configs.
<modo> = all | i18n | channels | realms | autoupdate | news | versioncheck | ipbans | helpfile | banners | tracker | commandgroups | aliasfile | transfile | tournament | icons | anongame | topiclist | lua
%clan
--------------------------------------------------------
/clan <comando> [opción]
--------------------------------------------------------
/clan create <siglasclan> <nombreclan>
Crea un nuevo clan (longitud max <siglasclan> = 4; no se permiten espacios en <nombreclan>)
Commands for clan members:
/clan m[sg] <mesnsaje> (También se puede usar [w]hisper)
Susurra un mensaje a todos los compañeros del clan
/clan inv[ite] <nombreusuario>
Invita a <nombreusuario> a su clan
/clan inv[ite] get
Muestra el nombre del clan al cual ha sido invitado
/clan inv[ite] accept
Acepta invitación al clan
/clan inv[ite] decline
Declina invitación al clan
Comandos para jefe del clan:
/clan motd <mensaje>
Actualiza el Mensaje del Dia del clan a <mensaje>.
/clan pub[lic] (también se puede usar: pub)
Abre el canal del clan al público para que cualquiera pueda entrar.
/clan priv[ate] (también se puede usar: priv)
Cierra el canal al público de manera que solamente miembros del clan pueden entrar.
/clan dis[band]
Disuelve su clan.
%ping p latency
--------------------------------------------------------
/ping (también se puede usar: /p /latency)
Muestra su ping en el servidor.
%command_groups cg
--------------------------------------------------------
/command_groups <comando> <usuario> [grupos] (también se puede usar: /cg)
--------------------------------------------------------
/cg list <usuario>
Muestra los grupos de comandos de <usuario>.
/cg add <usuario> <grupo(s)>
Añade grupos de comandos <grupo(s)> al <usuario>.
/cg del <usuario> <grupo(s)>
Elimina grupos de comandos <grupo(s)> del <usuario>.
%operator
--------------------------------------------------------
/operator [+|-]<jugador>
Asciende/degrada a <jugador> a ser/no ser operador del servidor.
Ejemplo: /operator +nomad
%aop
--------------------------------------------------------
/aop <nombreusuario>
Asciende a <nombreusuario> a ser administrador del canal.
Ejemplo: /aop nomad
%op
--------------------------------------------------------
/op <nombreusuario>
Asciende a <nombreusuario> a ser operador del canal.
Ejemplo: /op nomad
%deop
--------------------------------------------------------
/deop <nombreusuario>
Degrada a <nombreusuario> a no ser operador o administrador del canal.
Ejemplo: /deop nomad
%tmpop
--------------------------------------------------------
/tmpop <nombreusuario>
Asciende a <nombreusuario> operador del canal temporal.
Ejemplo: /tmpop <nombreusuario>
%vop
--------------------------------------------------------
/vop <nombreusuario>
Añade a <nombreusuario> a la lista VOP.
Ejemplo: /vop nomad
%voice
--------------------------------------------------------
/voice <nombreusuario>
Se dan privilegios de voz temporales a <nombreusuario>.
Ejemplo: /voice nomad
%devoice
--------------------------------------------------------
/devoice <nombreusuario>
Elimina a <nombreusuario> de la lista VOP y elimina los privilegios de voz temporales.
Ejemplo: /devoice nomad
%topic
--------------------------------------------------------
/topic [mensaje]
Establece o muestra el tema del canal actual.
Ejemplo: /topic En este canal se ofrece ayuda...\n(texto en una nueva línea)
%moderate
--------------------------------------------------------
/moderate
Activa/desactiva el estado de la moderación del canal actual.
%clearstats
--------------------------------------------------------
/clearstats <jugador> <SiglasCliente>
Resetea las estadísitcas del <jugador> para <SiglasCliente>, donde <SiglasCliente> puede ser cualquier cliente válido o ALL para todos.
Clientes soportados: DRTL|DSHR|W2BN|STAR|SEXP|SSHR|WAR3|W3XP
Ejemplo: /clearstats nomad SEXP
%find
--------------------------------------------------------
/find <substring>
Encuentra usuarios con <substring> en su nombre de usuario. ¡<substring> DEBE estar en minúsculas!
%save
--------------------------------------------------------
/save
Fuerza al servidor a guardar todos los cambios en cuentas y clanes a la base de datos.
%icon
--------------------------------------------------------
/icon [nombre]
Establece un icono personalizado para un usuario normal.
Usar /icon sin [nombre] para mostrar una lista de los iconos disponibles en su reserva.
--------------------------------------------------------
Sintaxis para operador/admin:
/icon a[dd] <nombreusuario> <icon>
Añadir icono a la reserva del usuario
/icon d[el] <nombreusuario> <icon>
Elimina icono de la reserva del usuario
/icon s[et] <nombreusuario> <icon>
Establece el icono para el usuario sin añadirlo en su reserva
/icon l[ist] <nombreusuario>
Muestra lista de los iconos en la reserva del usuario
/icon l[ist]
Muestra los iconos disponibles en la reserva del servidor para asginar a los usuarios
%language /lang
-------------------------------------------------------
/lang [código]
Establece su idioma para obtener otra traducción:
%quiz
--------------------------------------------------------
/quiz <comando> [opción]
Trivia Quiz Game
--------------------------------------------------------
/quiz start <nombre>
Comienza un juego con el nombre de diccionario introducido en el canal actual
/quiz stop
Finaliza el juego por la fuerza
/quiz stats [nombreusuario]
Muestra los records estadísticas del jugador
/quiz stats
Muestra los Top Records

12
conf/i18n/esES/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%EHola %l, bienvenido a %s!
%IEn %h se usa la versión %v
%IEste servidor está alojado por %H
%I
%IEn este servidor hay %a cuentas registradas.
%IActualmente hay %U usuarios en %G partidas de %N,
%Iy %u usuarios jugando %g partidas y conversando en %c salas.
%I¿Tiene problemas con algun comando? Teclee "/help" para
%Iaprender más sobre los comandos.
%IEscribir /language para cambiar el idioma de traducción.
%I
%M%m

View file

@ -0,0 +1,15 @@
Comandos de Ayuda para el Chat de la Emulación de Bnet PvPGN
Nuevos Comandos:
usar /f help para ayuda sobre la lista de amigos
usar /users para ver usuarios online
usar /w o /msg <nombre de usuario> para sususrrar a gente
usar /join <canal> para unirse a un canal
Para Operadores de Canal:
usar /ban <nombre de usuario> prohibe permanentenmente al usuario usar el canal
usar /kick <nombre de usuario> expulsa al usuario del canal
Para una ayuda más detallada escribir: /help

2096
conf/i18n/esES/common.xml Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,21 @@
Actualmente está conectado al Servidor PvPGN ( Player -vs- Player Gaming Network)
TÉRMINOS DE USO del PvPGN:
PVPGN es una emulación del servidor de Battle.net(r) y de ninguna manera afiliado con bnetd, warforge o Blizzard Entertainment (R).
PVPGN está disponible al público "tal y como es" sin ningún tipo de garantias.
No apoyamos la idea de software Pirata y incitamos a todos a obtener una copia legal de cualquiera de los juegos disponibles en nuestros servidores.
1. Información sobre PvPGN.
PvPGN no aprueba ni se apela a la precisión, veracidad o fiabilidad de cualquier información ( incluídas declaraciones sobre opinión o consejos) dada en o por cualquier medio de PvPGN. Cualquiera y todas las declaraciones hechas en foros, chat o durante juegos reflejan solamente el parecer de su autor.
2. Exclusión de Garantía.
PvPGN está disponible al público "tal y como es" sin ningún tipo de garantias. PvPGN no garantiza que su programa sea ininterrumpido o libre de errores.
3. Limitaciones de Responsabilidad.
PvPGN es de ninguna manera responsable por pérdidas o daños de cualquier tipo al usar PvPGN, incluyendo pero no limitándose a, pérdida de libre voluntad, paro laboral, fallos o defectos en los ordenadores, o cualquier y todos otros tipos de daños o perdidas, comerciales o de cualquier otro tipo.
Battle.net(R) y Blizzard Entertainment(R) son marcas registrada de Blizzard Entertainment en los E.U. y/o otros países.
Aparte de todo esto... Disfrutar jugando..
PvPGN Project Page: http://pvpgn.berlios.de/

View file

@ -0,0 +1,21 @@
Actualmente está conectado al Servidor PvPGN ( Player -vs- Player Gaming Network)
TÉRMINOS DE USO del PvPGN:
PVPGN es una emulación del servidor de Battle.net(r) y de ninguna manera afiliado con bnetd, warforge o Blizzard Entertainment (R).
PVPGN está disponible al público "tal y como es" sin ningún tipo de garantias.
No apoyamos la idea de software Pirata y incitamos a todos a obtener una copia legal de cualquiera de los juegos disponibles en nuestros servidores.
1. Información sobre PvPGN.
PvPGN no aprueba ni se apela a la precisión, veracidad o fiabilidad de cualquier información ( incluídas declaraciones sobre opinión o consejos) dada en o por cualquier medio de PvPGN. Cualquiera y todas las declaraciones hechas en foros, chat o durante juegos reflejan solamente el parecer de su autor.
2. Exclusión de Garantía.
PvPGN está disponible al público "tal y como es" sin ningún tipo de garantias. PvPGN no garantiza que su programa sea ininterrumpido o libre de errores.
3. Limitaciones de Responsabilidad.
PvPGN es de ninguna manera responsable por pérdidas o daños de cualquier tipo al usar PvPGN, incluyendo pero no limitándose a, pérdida de libre voluntad, paro laboral, fallos o defectos en los ordenadores, o cualquier y todos otros tipos de daños o perdidas, comerciales o de cualquier otro tipo.
Battle.net(R) y Blizzard Entertainment(R) son marcas registrada de Blizzard Entertainment en los E.U. y/o otros países.
Aparte de todo esto... Disfrutar jugando..
PvPGN Project Page: http://pvpgn.berlios.de/

11
conf/i18n/esES/w3motd.txt Normal file
View file

@ -0,0 +1,11 @@
|c00FF0000Bienvenido |c00FF9933to |c0000CCFFthe |c00FF66FF%s |c0000CC00Versión |c009999FF%v |c00FFFFFF
Actualmente hay %U usuario(s) en %G partidas de %N, y %u usuario(s) jugando %g partidas y chateando en %c canales.
Este texto es invisible, debido a limitación de 11 lineas.

12
conf/i18n/frFR/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%EBonjour %l, bienvenue sur %s!
%IUtilisant la version %v sur %h.
%ICe serveur est hébergé par %H
%I
%IIl y à %a comptes utilisateur sur ce serveur.
%IIl y à en ce moment %U ultilisateurs dans %G parties de %N,
%Iainsi que %u utilisateurs jouant dans %g parties et discutant dans %c canaux.
%IUn problème avec une commande ? Tappez /help pour
%Ien savoir plus.
%IType /language to switch translation.
%I
%M%m

View file

@ -7,9 +7,9 @@ utiliser /users pour voir les utilisateur en ligne
utiliser /w ou /msg <utilisateur> pour chuchoter a une personne
utiliser /join <canal> pour joindre un canal de discussions
Pour les opérateurs du canal:
Pour les opйrateurs du canal:
utiliser /ban <utilisateur> banni l'utilisateur du canal de discussions
utiliser /kick <utilisateur> pour sortir un utilisateur du canal de discussions
pour une aide plus détaillé taper: /help
pour une aide plus dйtaillй taper: /help

15
conf/i18n/frFR/common.xml Normal file
View file

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="frFR">French</language>
<countries>
<country>FRA</country>
<country>BEL</country>
<country>CAN</country>
<country>FRA</country>
<country>LUX</country>
<country>MCO</country>
<country>CHE</country>
</countries>
</meta>
</root>

12
conf/i18n/itIT/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%EHello %l, welcome to %s!
%IRunning version %v on %h.
%IThis server is hosted by %H
%I
%IThere are %a user accounts on this server.
%IThere are currently %U users in %G games of %N,
%Iand %u users playing %g games and chatting in %c channels.
%IHaving trouble with a command? Type /help to
%Ilearn more about it.
%IType /language to switch translation.
%I
%M%m

10
conf/i18n/itIT/common.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="itIT">Italian</language>
<countries>
<country>ITA</country>
<country>CHE</country>
</countries>
</meta>
</root>

12
conf/i18n/jpJA/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%E%l さん, PvPGN サーバへようこそ!
%I%h さんが %v を運用します。
%Iこのサーバは今 %H さんがホスティング中です。
%I
%I登録ユーザの数は %a 名です。
%I今 %U 名のユーザさんが %N に %G 個のゲームをプレー中です。
%Iすべては %u 名のユーザさんが %g 個のゲームをプレーします。
%I%c 個のチャンネが生成しました。
%Iコマンド・リストは「/help」をタイプして下さい。
%IType /language to switch translation.
%I
%M%m

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="jpJA">Japanese</language>
<countries>
<country>JPN</country>
</countries>
</meta>
</root>

12
conf/i18n/koKR/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%E안녕하세요 %l 님, PvPGN 서버에 오신것을 환영합니다!
%I%h 님이 %v 를 구동하고 계십니다.
%I본 서버는 %H 님이 호스팅하고 계십니다.
%I
%I현재 %a 개의 계정이 저장되어 있습니다.
%I현재 %U 명의 유저들이 %N 에서 %G 개의 게임을 즐기시고 계십니다.
%I모두 %u 명의 유저가 %g 개의 게임을 즐기고 있으며 %c 개의 채널이 있습니다.
%I명령어의 대해 궁금한 사항이 있으시다구요?
%I/help 명령어를 이용해 보세요.
%IType /language to switch translation.
%I
%M%m

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="koKR">Korean</language>
<countries>
<country>KOR</country>
</countries>
</meta>
</root>

View file

@ -1,10 +1,10 @@
You are currently connected to a PvPGN Server (Player -vs- Player Gaming Network)
현재 PvPGN 서버를 연걸했습니다. (플레이어 대 플레이어 게임잉 네트워크)
PvPGN TERMS OF USE:
PvPGN 조건:
PvPGN is a Battle.net(R) emulation server and in no way affiliated with bnetd, warforge, or Blizzard Entertainment(R).
PvPGN is provided "as is" without warrenties of any kind.
We do not support the idea of Pirated software and urge you to purchase a legit copy of any games that you play on our servers.
PvPGN은 배틀넷 (Battle.net®) 에물레이션 서버 라고 bnetd, warforge, Blizzard Entertainment과 제휴하고 있지 않다.
PvPGN이 그대로 제공하고 보증서를 없다.
불법 복제된 소프트웨어의 사용을 지지하지 않다. 우리의 서버들에서 게임을 하려고 합법적인 버전을 구입하세요.
1. Information found on PvPGN.
PvPGN does not endorse or stand behind the accuracy, truthfulness or reliability of any information (including statements of opinion or advice) provided on or by means of PvPGN. Any and all statements made in forums, chat or during game play reflect only the views of their author.

View file

@ -1,26 +1,31 @@
{03/29/2014}
Note that text of news is cached in Warcraft 3 client. Be careful when deleting existing news -
it remain on a client side until bncache.dat won't be removed or outdated!
A file news.txt is loaded once when the server starts. Use command "/rehash news" to reload the file.
New support channel at:
http://pvpgn.pro
{10/01/2004}
Welcome To The Player-vs-Player Gaming Network!
Bringing Emulation To New Levels!
=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=
** IF YOU EXPERIENCE PROBLEMS USING THIS SERVER PLEASE REPORT IT TO THE **
********* ADMINISTRATOR OF THE SERVER NOT TO THE PVPGN TEAM ************
Project development homepage: http://pvpgn.berlios.de
Support channels (ONLY for the admins):
========================================
1. BugTracker (preffered support method):
http://sourceforge.net/tracker/?atid=470605&group_id=53514&func=browse
2. Mailing List: pvpgn-users@lists.sourceforge.net (to subscribe go here
http://lists.sourceforge.net/lists/listinfo/pvpgn-users )
3. Forums: http://forums.pvpgn.org
4. IRC live support: #pvpgn on irc.pvpgn.org
1. Forums: http://forums.pvpgn.org
2. IRC live support: #pvpgn on irc.pvpgn.org
Enjoy!
The PvPGN Team
http://www.PvPGN.org

View file

@ -1,11 +1,12 @@
%IHallo %l, welom bij %s!
%IWe draaien versie %v op %h.
%EWe draaien versie %v op %h.
%IDeze server wordt gehost bij %H
%I
%IEr zijn %a gebruikers accounts op deze server.
%IEr zijn momenteel %U gebruikers in %G games van %N,
%Ien %u gebruikers spelen %g spellen en chatten in %c channels.
%IProblemen met een commando? Type /help om
%IProblemen met een commando? Type /help om
%Ier meer te weten over te komen.
%IType /language to switch translation.
%I
%I%m
%M%m

10
conf/i18n/nlNL/common.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="nlNL">Dutch</language>
<countries>
<country>NLD</country>
<country>BEL</country>
</countries>
</meta>
</root>

12
conf/i18n/plPL/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%ECześć %l, witaj w %s!
%IWersja serwera %v uruchomiona na %h.
%ISerwer obsługuje %H
%I
%IDo tej pory zarejestrowaliśmy %a kont.
%IAktualnie jest %U użytkowników zalogowanych, w %G grach, z pośród %N,
%I%u użytkowników gra w %g gier, i rozmawia na %c kanałach.
%IJeśli masz jakieś problemy z poleceniami, to napiszsz /help aby
%Idowiedzieć się wiecej.
%IType /language to switch translation.
%I
%M%m

View file

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="plPL">Polish</language>
<countries>
<country>POL</country>
</countries>
</meta>
</root>

12
conf/i18n/ptBR/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%EOlá %l, Bem vindo a %s!
%IRodando a versão %v em %h.
%IEste servidor é hosteado por %H
%I
%IExistem %a contas criadas nesse servidor.
%IAtuamente existe %U usuarios %G jogos de %N,
%IE %u usuários jogando %g jogos e conversando em %c canais.
%ITendo algum problema com comando? Digite /help ra
%Aprender mais sobre.
%IType /language to switch translation.
%I
%M%m

10
conf/i18n/ptBR/common.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="ptBR">Portuguese</language>
<countries>
<country>BRA</country>
<country>PRT</country>
</countries>
</meta>
</root>

12
conf/i18n/ruRU/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%EПривет %l, добро пожаловать на %s!
%IСервер версии %v на %h.
%IСервер расположен на %H (%h)
%I
%IНа сервере зарегистрировано %a аккаунтов.
%IСейчас %G игр и %U игроков в %N
%Iиз них %u находятся в %g играх и общаются на %c каналах.
%IПроблемы с использованием команды? Введите /help, чтобы
%Iузнать больше о командах чата.
%IНаберите /language, чтобы переключить язык перевода.
%I
%M%m

View file

@ -0,0 +1,15 @@
PvPGN Bnet Emulation Chat Help Commands
Новые команды:
наберите /f help для вызова справки по списку друзей
наберите /users для просмотра пользоватей в онлайне
наберите /w или /msg <имя_пользователя> для личного сообщения
наберите /join <канал> для присоединения к каналу
Для операторов каналов:
наберите /ban <имя_пользователя>, чтобы забанить игрока на данном канале
наберите /kick <имя_пользователя>, чтобы кикнуть пользователя с этого канала
Для более подробной справки наберите: /help

14
conf/i18n/ruRU/common.xml Normal file
View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="ruRU">Russian</language>
<countries>
<country>RUS</country>
<country>UZB</country>
<country>TTT</country>
<country>UKR</country>
<country>AZE</country>
<country>ARM</country>
</countries>
</meta>
</root>

12
conf/i18n/svSE/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%EHej %l, välkommen till %s!
%IKör version %v på %h.
%IVärden för den här servern är %H
%I
%IDet finns %a användarkonton på denna server.
%IDet finns förnärvarande %U användare i %G spel av %N,
%Ioch %u användare som spelar %g spel och chattar i %c kanaler.
%IHar du problem med ett kommando? Skriv /help för
%Iatt lära dig mer om det.
%IType /language to switch translation.
%I
%M%m

10
conf/i18n/svSE/common.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="svSE">Swedish</language>
<countries>
<country>SWE</country>
<country>FIN</country>
</countries>
</meta>
</root>

11
conf/i18n/w3motd.txt Normal file
View file

@ -0,0 +1,11 @@
|c00FF0000Welcome |c00FF9933to |c0000CCFFthe |c00FF66FF%s |c0000CC00Version |c009999FF%v |c00FFFFFF
There are currently %U user(s) in %G games of %N, and %u user(s) playing %g games and chatting in %c channels.
This text invisible, because of limitation of 11 lines

12
conf/i18n/zhCN/bnmotd.txt Normal file
View file

@ -0,0 +1,12 @@
%E%l你好。欢迎来到 %s
%I现在 %h 正在运行的版本为 %v
%I本服务器由 %H 管理维护
%I
%I本服务器现在有 %a 个用户账号
%I当前有 %U 人登陆到 %G 个 %N 游戏中
%I有 %u 人在玩 %g 个游戏,以及在 %c 个频道中聊天
%I还不了解可以使用哪些命令
%I输入 /help 就可以学习了
%IType /language to switch translation.
%I
%M%m

View file

@ -1,15 +1,15 @@
PvPGN模拟战网聊天命令帮助
新命令:
使用 /f help 显示朋友命令帮助
使用 /users 显示在线玩家数
使用 /w 或者 /msg <玩家名称> 发送消息给玩家
使用 /join <频道> 加入指定的频道
频道管理员:
使用 /ban <玩家名称> 把玩家从该频道中踢出,并禁止玩家再次进入此频道
使用 /kick <玩家名称> 把玩家从该频道中踢出
更多的帮助:输入/help
PvPGN模拟战网聊天命令帮助
新命令:
使用 /f help 显示朋友命令帮助
使用 /users 显示在线玩家数
使用 /w 或者 /msg <玩家名称> 发送消息给玩家
使用 /join <频道> 加入指定的频道
频道管理员:
使用 /ban <玩家名称> 把玩家从该频道中踢出,并禁止玩家再次进入此频道
使用 /kick <玩家名称> 把玩家从该频道中踢出
更多的帮助:输入/help

10
conf/i18n/zhCN/common.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="zhCN">Chinese Simplified</language>
<countries>
<country>CHN</country>
<country>SGP</country>
</countries>
</meta>
</root>

11
conf/i18n/zhTW/bnmotd.txt Normal file
View file

@ -0,0 +1,11 @@
%E哈囉! %l, 歡迎蒞臨 %s!
%I本伺服器由 %H 架設於 %h.
%I現行的伺服器版本是 %v.
%I
%I本伺服器已有 %a 個使用者帳號.
%I共有 %U 個玩家在玩 %N 的 %G 個遊戲,
%I其中有 %u 個玩家一邊在玩 %g 個遊戲一邊在 %c 個聊天頻道.
%I不懂使用指令? 請輸入 /help 來了解更多...
%IType /language to switch translation.
%I
%M%m

11
conf/i18n/zhTW/common.xml Normal file
View file

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<root xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<meta>
<language tag="zhTW">Chinese Traditional</language>
<countries>
<country>TWN</country>
<country>MCO</country>
<country>HKG</country>
</countries>
</meta>
</root>

209
conf/icons.conf.in Normal file
View file

@ -0,0 +1,209 @@
##############################################################################
# icons.conf - Custom icons configuration file #
#----------------------------------------------------------------------------#
# #
# Allowed clients: #
# W3XP, WAR3, STAR, SEXP, JSTR, SSHR, W2BN, DRTL, DSHR #
# #
# W3XP: It also disables icon selection from user portrait #
# #
# [icons] table format (first variable always corresponds to icon_key: #
# icon_key | rank | icon_code #
# #
# [stats] output format: #
# initialize variables under a client tag #
# band variables with figure brackets {{var}} #
# use {{variable->rank}} to display an icon rank for a custom variable #
# #
# [iconstash] list of available icons that admins can set to user with /icon #
# icon_alias | icon_code #
# /icon can be set by alias or code, and it's not necessary to add alias #
# in the table. icon_alias or icon_code can not equal "default" #
# #
##############################################################################
##############################################################################
# General settings #
#----------------------------------------------------------------------------#
# Enable icon sets below
custom_icons = true
# Command groups for master users who can manage icons of other users (allowed: 12345678)
master_commandgroups = 678
##############################################################################
# Warcraft 3 icon set #
# Use MPQ editor to edit icons-WAR3.bni (just change extension bni->mpq) #
#----------------------------------------------------------------------------#
[W3XP]
solo_level = "Record\W3XP\solo\level"
solo_xp = "Record\W3XP\solo\xp"
solo_wins = "Record\W3XP\solo\wins"
solo_losses = "Record\W3XP\solo\losses"
team_level = "Record\W3XP\team\level"
team_xp = "Record\W3XP\team\xp"
team_wins = "Record\W3XP\team\wins"
team_losses = "Record\W3XP\team\losses"
ffa_level = "Record\W3XP\ffa\level"
ffa_xp = "Record\W3XP\ffa\xp"
ffa_wins = "Record\W3XP\ffa\wins"
ffa_losses = "Record\W3XP\ffa\losses"
username = "BNET\acct\username"
[icons]
0 Beginner KBKB
1 Dungeon KBKD
2 Expert KBKE
3 Mid KBKM
4 Pro KBKP
5 World KBKW
6 Universe WCYB
[/icons]
[stats]
{{username}}'s record:
Solo games: [{{solo_level->rank}}] {{solo_xp}} xp ({{solo_wins}} - {{solo_losses}})
Team games: [{{team_level->rank}}] {{team_xp}} xp ({{team_wins}} - {{team_losses}})
FFA games: [{{ffa_level->rank}}] {{ffa_xp}} xp ({{ffa_wins}} - {{ffa_losses}})
[/stats]
[iconstash]
smile BOMB
starcraft SEXP
warcraft WAR3
diablo DRTL
[/iconstash]
##############################################################################
# Starcraft icon set #
# Use Bni Icon Builder to edit icons.bni #
# https://github.com/pvpgn/bni-icon-builder #
#----------------------------------------------------------------------------#
[SEXP]
ladder_rating = "Record\SEXP\1\rating"
ladder_wins = "Record\SEXP\1\wins"
ladder_losses = "Record\SEXP\1\losses"
ladder_disconnects = "Record\SEXP\1\disconnects"
normal_rating = "Record\SEXP\0\rating"
normal_wins = "Record\SEXP\0\wins"
normal_losses = "Record\SEXP\0\losses"
normal_disconnects = "Record\SEXP\0\disconnects"
username = "BNET\acct\username"
[icons]
1000 n00b NOOB
1250 Chobo+ CHO1
1500 Chobo++ CHO2
1750 Chobo+++ CHO3
2000 Hasu+ HAS1
2300 Hasu++ HAS2
2650 Hasu+++ HAS3
3000 Gosu+ GOS1
3300 Gosu++ GOS2
3650 Gosu+++ GOS3
4000 Mega Gosu GOSU
5500 Father MEGA
[/icons]
[stats]
{{username}}'s record:
Ladder games: [{{ladder_rating->rank}}] {{ladder_rating}} pts ({{ladder_wins}}/{{ladder_losses}}/{{ladder_disconnects}})
Normal games: [{{normal_rating->rank}}] {{normal_rating}} pts ({{normal_wins}}/{{normal_losses}}/{{normal_disconnects}})
[/stats]
[iconstash]
demon EYES
warcraft WAR3
diablo DRTL
[/iconstash]
##############################################################################
# Warcraft II icon set #
# Use Bni Icon Builder to edit icons.bni #
# https://github.com/pvpgn/bni-icon-builder #
#----------------------------------------------------------------------------#
[W2BN]
ironman_rating = "Record\W2BN\3\rating"
ironman_wins = "Record\W2BN\3\wins"
ironman_losses = "Record\W2BN\3\losses"
ironman_disconnects = "Record\W2BN\3\disconnects"
ladder_rating = "Record\W2BN\1\rating"
ladder_wins = "Record\W2BN\1\wins"
ladder_losses = "Record\W2BN\1\losses"
ladder_disconnects = "Record\W2BN\1\disconnects"
normal_rating = "Record\W2BN\0\rating"
normal_wins = "Record\W2BN\0\wins"
normal_losses = "Record\W2BN\0\losses"
normal_disconnects = "Record\W2BN\0\disconnects"
username = "BNET\acct\username"
[icons]
1000 n00b NOOB
1250 Chobo+ CHO1
1500 Chobo++ CHO2
1750 Chobo+++ CHO3
2000 Hasu+ HAS1
2300 Hasu++ HAS2
2650 Hasu+++ HAS3
3000 Gosu+ GOS1
3300 Gosu++ GOS2
3650 Gosu+++ GOS3
4000 Mega Gosu GOSU
5500 Father MEGA
[/icons]
[stats]
{{username}}'s record:
Ladder games: [{{ladder_rating->rank}}] {{ladder_rating}} pts ({{ladder_wins}}/{{ladder_losses}}/{{ladder_disconnects}})
Normal games: [{{normal_rating->rank}}] {{normal_rating}} pts ({{normal_wins}}/{{normal_losses}}/{{normal_disconnects}})
IronMan games: [{{ironman_rating->rank}}] {{ironman_rating}} pts ({{ironman_wins}}/{{ironman_losses}}/{{ironman_disconnects}})
[/stats]
[iconstash]
demon EYES
diablo DRTL
[/iconstash]
##############################################################################
# Diablo: Retail icon set #
# Use Bni Icon Builder to edit icons.bni #
# https://github.com/pvpgn/bni-icon-builder #
#----------------------------------------------------------------------------#
[DRTL]
class = "Record\DRTL\0\class"
level = "Record\DRTL\0\level"
dexterity = "Record\DRTL\0\dexterity"
magic = "Record\DRTL\0\magic"
vitality = "Record\DRTL\0\vitality"
strength = "Record\DRTL\0\strength"
gold = "Record\DRTL\0\gold"
diablo_kills = "Record\DRTL\0\diablo kills"
username = "BNET\acct\username"
[icons]
0 warrior DRTL
1 rogue DRTL
2 sorcerer DRTL
[/icons]
[stats]
{{username}}'s record:
level: {{level}}
class: {{class->rank}}
stats: {{strength}} str / {{magic}} mag / {{dexterity}} dex / {{vitality}} vit / {{gold}} gold
Diablo kills: {{diablo_kills}}
[/stats]
[iconstash]
demon EYES
[/iconstash]

View file

@ -17,21 +17,26 @@
"acct_username varchar(32)","NULL"
"username varchar(32)","NULL" && "UPDATE ${prefix}BNET SET username = lower(acct_username)"
"acct_userid int","NULL"
"acct_passhash1 varchar(128)","NULL"
"acct_passhash1 varchar(40)","NULL"
"acct_email varchar(128)","NULL"
"auth_admin varchar(16)","'false'"
"auth_normallogin varchar(16)","'true'"
"auth_changepass varchar(16)","'true'"
"auth_changeprofile varchar(16)","'true'"
"auth_botlogin varchar(16)","'true'"
"auth_operator varchar(16)","'false'"
"auth_admin varchar(6)","'false'"
"auth_normallogin varchar(6)","'true'"
"auth_changepass varchar(6)","'true'"
"auth_changeprofile varchar(6)","'true'"
"auth_botlogin varchar(6)","'false'"
"auth_operator varchar(6)","'false'"
"new_at_team_flag int","'0'"
"auth_lockk varchar(16)","'0'"
"auth_command_groups varchar(128)","'1'"
"auth_lock varchar(6)","'false'"
"auth_locktime int","'0'"
"auth_lockreason varchar(128)","NULL"
"auth_mute varchar(6)","'false'"
"auth_mutetime int","'0'"
"auth_mutereason varchar(128)","NULL"
"auth_command_groups varchar(16)","'1'"
"acct_lastlogin_time int","'0'"
"acct_lastlogin_owner varchar(128)","NULL"
"acct_lastlogin_clienttag varchar(128)","NULL"
"acct_lastlogin_ip varchar(32)","NULL"
"acct_lastlogin_clienttag varchar(4)","NULL"
"acct_lastlogin_ip varchar(16)","NULL"
:"DROP INDEX username"
:"CREATE UNIQUE INDEX username2 ON ${prefix}BNET (username)"
[${prefix}WOL]
@ -42,7 +47,7 @@
"uid int NOT NULL PRIMARY KEY","'0'"
[${prefix}profile]
"uid int NOT NULL PRIMARY KEY","'0'"
"sex varchar(16)","NULL"
"sex varchar(8)","NULL"
"location varchar(128)","NULL"
"description varchar(256)","NULL"
"age varchar(16)","NULL"
@ -75,7 +80,6 @@
"WAR3_random_wins int","'0'"
"WAR3_random_losses int","'0'"
"WAR3_teamcount int","'0'"
"WAR3_userselected_icon varchar(16)","NULL"
"W3XP_solo_xp int","'0'"
"W3XP_solo_level int","'0'"
"W3XP_solo_wins int","'0'"
@ -102,7 +106,8 @@
"W3XP_random_wins int","'0'"
"W3XP_random_losses int","'0'"
"W3XP_teamcount int","'0'"
"W3XP_userselected_icon varchar(16)","NULL"
"W3XP_userselected_icon varchar(4)","NULL"
"W3XP_iconstash varchar(1024)","NULL"
"STAR_0_wins int","'0'"
"STAR_0_losses int","'0'"
"STAR_0_disconnects int","'0'"
@ -131,16 +136,28 @@
"SEXP_1_high_rating int","'0'"
"SEXP_1_rank int","'0'"
"SEXP_1_high_rank int","'0'"
"SEXP_userselected_icon varchar(4)","NULL"
"SEXP_iconstash varchar(1024)","NULL"
"TSUN_solo_rank int","'0'"
"TSUN_solo_points int","'0'"
"TSUN_solo_wins int","'0'"
"TSUN_solo_losses int","'0'"
"TSUN_solo_disconnects int","'0'"
"TSXP_solo_rank int","'0'"
"TSXP_solo_points int","'0'"
"TSXP_solo_wins int","'0'"
"TSXP_solo_losses int","'0'"
"TSXP_solo_disconnects int","'0'"
"RAL2_solo_rank int","'0'"
"RAL2_solo_points int","'0'"
"RAL2_solo_wins int","'0'"
"RAL2_solo_losses int","'0'"
"RAL2_solo_disconnects int","'0'"
"YURI_solo_rank int","'0'"
"YURI_solo_points int","'0'"
"YURI_solo_wins int","'0'"
"YURI_solo_losses int","'0'"
"YURI_solo_disconnects int","'0'"
[${prefix}clan]
"cid int NOT NULL PRIMARY KEY","'0'"
"short int","'0'"
@ -152,6 +169,7 @@
"cid int","'0'"
"status int","'0'"
"join_time int","'0'"
:"CREATE INDEX cid ON ${prefix}clanmember (cid)"
[${prefix}arrangedteam]
"teamid int NOT NULL PRIMARY KEY","'0'"
"size int","0"

View file

@ -1,15 +1,14 @@
# this file contains the names of all files that need to be installed in the filedir
# (but that aren't any longer part of the pvpgn package)
# some lines are commented out, cause they weren't installed by default in older versions
IX86ver1.mpq
ver-ix86-1.mpq
#PMACver1.mpq
#XMACver1.mpq
ver-IX86-1.mpq
PMACver1.mpq
XMACver1.mpq
bnserver-D2DV.ini
#bnserver-D2XP.ini
bnserver-D2XP.ini
bnserver-WAR3.ini
bnserver.ini
icons-WAR3.bni
icons.bni
icons_STAR.bni
icons.bni

2
conf/topics.conf.in Normal file
View file

@ -0,0 +1,2 @@
Chat This is the public chat channel. Feel free to chat...
Moderated Support Support is provided in this channel...

1987
conf/versioncheck.json.in Normal file

File diff suppressed because it is too large Load diff

Some files were not shown because too many files have changed in this diff Show more