Commit graph

918 commits

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