Commit graph

671 commits

Author SHA1 Message Date
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