Commit graph

148 commits

Author SHA1 Message Date
VladimirMangos
1eed65d5ac [10082] Drop now unused dotconfpp lib code. 2010-06-20 02:20:51 +04:00
Astellar
41d178ca7b [10081] Use ACE config library instead dotconfpp
NOTE: all config versions update because in old state
      it's not compatible with new way loading.
      Look for *.conf.dist.in chnages in commit for update configs.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-06-20 01:54:42 +04:00
Derex
b23fd66aa6 [10009] Fix realmd to accept more than 64 connections on windows.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-05-31 03:21:42 +04:00
VladimirMangos
4f4bf7f45d [9942] Output ACE version at realmd start. 2010-05-21 01:26:28 +04:00
Derex
47186c05ec [9940] Fix typo in AuthSocket.cpp 2010-05-20 02:10:45 +03:00
AlexDereka
85e3100bc7 [9937] Added copyright notice. 2010-05-20 02:05:17 +04:00
Derex
8a1fd9e086 [9935] ACE realmd, thanks to Zor and Vladimir for windows. 2010-05-19 23:37:35 +03:00
VladimirMangos
aaa33d5385 [9904] Add new config option for wait mode at startup error.
Note: it not applied to crashes and shutdowns after mangosd/relamd startup completed.
You can continue without delay (as now) and fast exist, or wait <Enter>, or some secs
for continue. Last can be helpful for see for example not applied sql update revision
data and etc.
2010-05-16 02:19:40 +04:00
hunuza
68abd76c97 [9844] Fix some whitespace errors.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-05-07 12:25:12 +02:00
VladimirMangos
722135b326 [9838] More log filters and macro uses.
* LogFilter_Weather
* LogFilter_PeriodicAffects
* LogFilter_PlayerMoves
* LogFilter_SQLText
* LogFilter_AIAndMovegens
* LogFilter_PlayerStats
2010-05-05 18:46:10 +04:00
VladimirMangos
c5974b8a7e [9762] Init client build at reconnect (logout back to char list)
This fix bug with show all realms as offline at view relam list after logout.
2010-04-18 19:20:55 +04:00
VladimirMangos
92b11459b1 [9748] Fixed startup problems after recent realmd DB. 2010-04-14 16:40:11 +04:00
VladimirMangos
822ec31cb9 [9746] Implement show realm version and build in realm list.
* Rename `realmlist`.`color` field to `realmflags`

* Client 2.x and later support show in realm list supported
  client version for specific realm.

  For client 1.x this implemented by adding version to name
  in similar way as it look in more recent clients.

  For enable version show each affected realm must have in `realmflags` set
  flag 4.

  For realm work with not officially supported builds (build > last suported)
  will show version 0.0.0 and correct build value.
2010-04-14 09:15:33 +04:00
VladimirMangos
6bcbbc321b Merge branch 'master' into 330 2010-04-07 06:58:42 +04:00
VladimirMangos
068fca0d74 [9678] Some comments for realmd data. 2010-04-06 06:24:51 +04:00
tomrus88
3f071ed1d2 Fixed realm flags enum. 2010-04-05 13:53:17 +04:00
tomrus88
68e73f105e Added some info about realm list and auth response packets.
Added few dbc structs and updated related enums.
2010-04-05 13:48:23 +04:00
tomrus88
6ee7875d2b Updated AuthResult enum. 2010-04-05 13:47:36 +04:00
VladimirMangos
7619b2ef4b Re-add current supported build to realmd list. 2010-04-05 02:08:17 +04:00
tomrus88
34b1bff6e8 Updated AuthResult enum. 2010-04-04 10:04:48 +04:00
tomrus88
55e7fb1b08 Fixed realm flags enum. 2010-04-04 02:29:32 +04:00
tomrus88
4535f78573 Added some info about realm list and auth response packets.
Added few dbc structs and updated related enums.
2010-04-04 01:14:16 +04:00
tomrus88
d131f137cc Merge remote branch 'origin/master' into 330 2010-04-03 11:33:45 +04:00
DasBlub
6148675b0e [9662] Use the db-user 'mangos' instead of 'root' in the config file.
Change done for consistence with 'mangos' created in sql/create_mysql.sql

NOTE: for secirity reason better not use this user name (and password)
in real configs/MySQL.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-04-03 04:10:52 +04:00
tomrus88
7b1e8cae76 Merge remote branch 'origin/master' into 330 2010-03-28 04:32:10 +04:00
Zor
7b180e5fa8 [9631] Fix enum names.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2010-03-27 22:12:21 +03:00
tomrus88
dd3d5eec69 Updated to client build 11723. 2010-03-27 03:50:35 +03:00
tomrus88
fc3f08a468 Updated to build 11685. 2010-03-24 08:32:44 +03:00
tomrus88
768772b14b Updated to PTR build 11655. 2010-03-13 00:50:15 +03:00
tomrus88
e73c5d3b79 Merge remote branch 'origin/master' into 330
Conflicts:
	src/game/Unit.cpp
2010-03-10 20:24:28 +03:00
tomrus88
393d46f9f6 Updated to latest PTR build. 2010-03-10 20:21:18 +03:00
hunuza
5d84477f7f [9564] Remove some trailing whitespace and add comment for last commit.
Signed-off-by: hunuza <hunuza@gmail.com>
2010-03-10 13:45:41 +01:00
tomrus88
32168d697b Updated to 3.3.3.11573 client. 2010-02-23 08:08:33 +03:00
VladimirMangos
9d191da17d [9314] Add new explcitly supported build to realmd 2010-02-06 18:57:07 +03:00
VladimirMangos
573651435e [9290] Some cleanups in realmd, no functional changes 2010-02-03 14:24:43 +03:00
VladimirMangos
3b71868cd9 [9137] Add prev/new supported builds explcitly to realmd supported builds list. 2010-01-10 08:29:07 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
VladimirMangos
6057be2656 [9011] Drop unused enum. 2009-12-17 15:32:49 +03:00
Laizerox
022524c1bb [9010] Implement realmd support realms for different client versions
* Supported 1.12.1, 1.12.2, 2.4.3, 3.2.2a in same time as relams in same realmlist
* mangosd by self check correct for it client build and reject all incorrect cases
* realmd know from mangosd what builds supported each realm and
  if realm not support it then in relamlist for specific client this relam show as offline.
  Not need any manual settings for this.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-17 03:40:29 +03:00
XTZGZoReX
9ccf3ffc0f [8839] Correct "outdated OpenSSL" warning message. 2009-11-19 12:43:37 +01:00
VladimirMangos
bc5fb40867 [8825] At fail start db connections stop all started db connection threads.
This will restore state before start Db function call and prevent crashes
at delayed access to log singleton in case outdated DB structure detection.
2009-11-17 12:42:45 +03:00
balrok
fbe9241a96 [8823] removed ban-cleanup queries from realmd at login
now they just getting executed when realmd is started

i think this will improve speed a bit.. cause we don't need to cleanup those
bans so often we just can check the conditions inside the select
2009-11-15 20:38:23 +01:00
VladimirMangos
ea7100ff63 [8798] Partly revert and optimize [8797]
* Revert realmd changes:
  - typos in prev. commit prevent correct work of realmd code.
  - useless log login packets
  - and really horrible idea log of patch packets (how nice convert some MB in hex strings)
* Revert output world packet format to more readable old but output timestamp
* Drop outWorld, but use explcit fprintf calls into new outWorldPacketDump.
  Not nice have 16 flush calls at hex line.
2009-11-09 15:18:16 +03:00
XTZGZoReX
07aa44992b [8797] Merge WorldLog class into Log class.
* Added AuthSocket::SendPacket() function.
 * Packet logging now also possible in realmd.
 * realmd.conf.dist.in updated (added "WorldLogFile" setting).
2009-11-09 02:24:29 +01:00
XTZGZoReX
b3f3ffa885 [8793] Don't do operations through singleton if already in singleton context.
* Also, some minor things:
   - Remove duplicate sWorldLog define.
   - Add sRealmList macro for RealmList::Instance().
   - Use sLog macro in scripting log functions.
2009-11-08 19:32:59 +01:00
XTZGZoReX
6abf7e7f58 Make RealmList proper singleton in realmd. 2009-11-08 03:54:27 +01:00
Ambal
64baf661f5 [8759] Fix for Intel TBB library aka 'Cannot open "../../dep/tbb/libtbbmalloc.so"'. Thanks to ApoC, ghostpast and me :P
Signed-off-by: Ambal <pogrebniak@gala.net>
2009-11-01 13:47:46 +02:00
Ambal
a2ed351365 [8735] New memory allocator for MaNGOS, based on Intel Threading Building Blocks library. Performance gains depend greatly on OS you use!
You should add two libraries into your server binaries:
tbb.so/tbbmalloc.so on *nix and tbb(_debug).dll/tbbmalloc(_debug).dll on Windows!!!

Define USE_STANDARD_MALLOC while compiling 'framework' project to use OS' default memory allocator!

Signed-off-by: Ambal <pogrebniak@gala.net>
2009-10-26 00:59:35 +02:00
XTZGZoReX
aff1a3e59f [8645] Cleanup code for config loading/store/access.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-14 20:48:16 +04:00
tomrus88
3f33946d6a Update to latest client build 10505.
Fixed CMSG_AUCTION_SELL_ITEM.
Fixed CMSG_BUY_PETITION.
Some other fixes.
2009-09-26 19:40:14 +04:00