Commit Graph

121 Commits

Author SHA1 Message Date
Machiavelli
1a636d3af8 Fix realmd to accept more than 64 connections on windows. Author: Derex
--HG--
branch : trunk
2010-05-31 15:02:41 +02:00
Xanadu
d104f19469 *Properly initialize members to prevent DB logging before the DB is started. Fixes a rarely seen startup crash.
*Code cleanup.

--HG--
branch : trunk
2010-05-29 03:16:39 +02:00
Anubisss
a5840e9286 Implement a signalhandler via ACE.
Thanks to Diver for test compiling under WIN.

--HG--
branch : trunk
2010-05-19 21:16:59 +02:00
Anubisss
47b32302f1 Fix a crash in realmd.
That crash occurs when realmd get an unknown packet and try to "shutdown" the socket.

Note that: don't try to release an ACE_Message_Block if it is _not_ dynamically allocated.

--HG--
branch : trunk
2010-05-17 15:58:12 +02:00
Spp
a3a8e6da2c Some warning fix
Tab to spaces
Remove trailing spaces

--HG--
branch : trunk
2010-05-13 00:15:21 +02:00
Anubisss
737ebb99f7 Delete an unused variable.
--HG--
branch : trunk
2010-05-12 22:37:03 +02:00
Anubisss
02e0136867 Fix the bug that client can see incompatible realms in the RealmList.
--HG--
branch : trunk
2010-05-12 22:08:43 +02:00
Machiavelli
758faad1ca Typo.
(Need more caffeine)

--HG--
branch : trunk
2010-05-10 21:38:05 +02:00
Machiavelli
4335d97f37 Fix typo that occured in the mess of exporting/stripping, my humble apologies.
--HG--
branch : trunk
2010-05-10 20:31:24 +02:00
Machiavelli
d2f35a2045 Cleanup and optimization in realmd netcode.
- Get rid of some potential memory leaks and lingering connections issues.
- Code style cleanup where applicable.

Please give proper feedback and let me know how she fares.

--HG--
branch : trunk
2010-05-10 18:06:28 +02:00
click
f60d534b73 Cleanup on some database-related files: merge some DB-related files, add some consistency to callhandles in sourcetree (M
+ combine MySQL-specific files into main database-files (click)
+ fix vcproj-files, adjust handler-function names for consistency (Machiavelli)

--HG--
branch : trunk
2010-05-08 05:03:32 +02:00
click
cb84d3e617 Cleanup : Remove postgreSQL-support (not used and has also been broken for a long time)
--HG--
branch : trunk
2010-05-06 09:53:09 +02:00
Spp
274457a7fb Make RealmList a Singleton.
Patch by Anubiss

--HG--
branch : trunk
2010-05-02 00:06:08 +02:00
click
c816f9a992 Put back version-numbers for supported clients
--HG--
branch : trunk
2010-04-12 15:15:03 +02:00
Spp
65c3e979e2 Tab to Spaces and remove of trailing spaces
--HG--
branch : trunk
2010-04-11 20:20:38 +02:00
n0n4m3
aaf6411bcb Finish basic implement support client version 3.3.3a build 11723. Need extract new dbc/maps/vmaps files.
--HG--
branch : trunk
2010-04-11 11:52:08 +04:00
n0n4m3
0d48d3bd8c Fix some typo and compile errors.
--HG--
branch : trunk
2010-04-11 11:24:59 +04:00
n0n4m3
cdec48b9ef Some fixes for quests/basePoints calculation, realm server.
--HG--
branch : trunk
2010-04-11 11:23:32 +04:00
Spp
b27ce42704 Code Style: Remove trailing spaces
--HG--
branch : trunk
2010-04-07 18:09:10 +02:00
raczman
bcb67eb490 Include ACE headers in case they are not in system path.
Thanks for spotting the bug guys:
GL.AntiDiavol, next3x, Aokromes

--HG--
branch : trunk
2010-04-07 13:09:07 +02:00
raczman
e30e9a45cb Cleaned up include directories in cmakes.
--HG--
branch : trunk
2010-04-06 15:53:27 +02:00
Brian
c86b228668 * Removed check for SSL version requirement of .98k or higher (works just fine
* with .98e).
* Thanks raczman for testing.

--HG--
branch : trunk
2010-04-02 10:56:30 -06:00
n0n4m3
d8db56ec48 Add report unknown packets in the error log and close this packets.
--HG--
branch : trunk
2010-03-11 15:09:51 +03:00
n0n4m3
e5eaa46a7f Removed not needed #include AuthSocket.
--HG--
branch : trunk
2010-03-09 19:01:45 +03:00
n0n4m3
5411468f5d Removed unused function bool AuthSocket::IsLag, also small code cleanup.
--HG--
branch : trunk
2010-03-09 18:53:22 +03:00
n0n4m3
269728b9ae Implement ACE netcode for realm server. Original author derex.
--HG--
branch : trunk
2010-03-09 18:01:42 +03:00
Brian
486c00891b * Core switch to client 3.3.2 (11403)
* Credits (in no particular order) to:
* n0n4m3, raczman, manuel, Spp, Malcrom, Teacher, QAston, Tartalo,
* thenecromancer, Xanadu, Trazom, Zor, kiper
* Additional credits to:
* TOM_RUS and NoFantasy from MaNGOS
* Thanks for testing Aokromes and XTElite1
* SoTA still needs some work, but is very playable (huge thanks to raczman and
* kiper)
* To upgrade, you need to apply all SQL from sql/updates/3.2.2a_old from the
* last rev you are on
* and then apply all SQL from sql/updates/3.3.2_old to char / realmd / world
* DBs
* Known problem with guild banks.

--HG--
branch : trunk
2010-02-14 19:13:14 -07:00
Anubisss
d9cb070215 Implement QueryResult_AutoPtr type which is ACE's reference counted auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
Use this auto_ptr for every DB queries(except QueryNamedResult yet).

This patch guarantees NO memory leaks from QueryResult pointers.

Thanks to raczman for the idea and for the helping to make this patch.

--HG--
branch : trunk
2010-01-23 14:45:58 +01:00
n0n4m3
99f66a6bc9 Updated copyright for new year.
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
XTZGZoReX
f5998611c3 Backed out changeset: 52e769d95f14
--HG--
branch : trunk
2010-01-13 18:24:23 +01:00
n0n4m3
f7ad3aefc8 Removed all my commits for today, this is hack? really? okey
--HG--
branch : trunk
2010-01-13 19:11:46 +03:00
n0n4m3
aeb008d4ef Set close and delete unknown packets - helps with DDOS atack.
Print ip address and port for unknown packets(if debug mode on) - helps determine the ip address of the attacking.

--HG--
branch : trunk
2010-01-12 21:08:40 +03:00
Paradox
e24386e698 Clean up trinitycore.conf.dist and trinityrealm.conf.dist
This is a purely cosmetic change, and isn't required
for proper server functioning.
If you are using windows and decide to merge it, I recommend
windiff32

All Lines have been kept at column 80 or less to help make the files
easier to read and edit in text mode editors.

--HG--
branch : trunk
2009-12-30 10:53:27 -05:00
XTZGZoReX
d847e1db2a * Remove ConfVersion from the config files. It is considered the end-user's responsibility to check for config file changes.
--HG--
branch : trunk
2009-12-29 19:20:14 +01:00
n0n4m3
5b975766f5 Removed not needed gomp from cmakefiles
--HG--
branch : trunk
2009-12-29 17:56:43 +01:00
p0wer
7590479186 * Add support for different gmlevel's for different realms.
*
* Using the value -1 will add the same value for all realms.
* Make sure to apply the updates.
* Information regarding this patch will be posted on the database forums soon.
*
* Thanks to Sundark and the Ilixiuemu team(for original patch)

--HG--
branch : trunk
2009-12-21 21:08:29 -06:00
Brian
85a89ab301 * Added missing file in rev 6678 AuthCodes.cpp
--HG--
branch : trunk
2009-12-20 22:30:32 -07:00
Brian
e55710fc68 * Massive cleanup of realmd
* Patch by w12x -- THANK YOU!

--HG--
branch : trunk
2009-12-20 22:15:24 -07:00
n0n4m3
8b95981ed0 Update DataBase and Realm code for 322a
--HG--
branch : trunk
2009-12-17 12:42:53 +01:00
Brian
2547e5c109 * Removed all unneeded Makefile.am files that were leftover from merges with
* MaNGOS

--HG--
branch : trunk
2009-12-11 13:52:46 -07:00
tartalo
b19c7b0d85 Fix compile un *NIX, closes #53
--HG--
branch : trunk
2009-11-04 18:12:19 +01:00
tartalo
1eaf0396b2 Fix postgresql compilation on *nix, by itzamna. Fixes #33
--HG--
branch : trunk
2009-11-04 00:02:43 +01:00
maximius
e585187b24 *Backed out changeset 3be01fb200a5
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff *Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
maximius
b528d14e73 *Tried to combine a little too much code here I think :P
--HG--
branch : trunk
2009-09-26 16:56:35 -07:00
maximius
c66005ea06 *Should fix Linux build, thanks Drahy
--HG--
branch : trunk
2009-09-26 16:52:54 -07:00
maximius
ff3f556423 *Missed condition, thanks Zor :)
--HG--
branch : trunk
2009-09-26 13:00:40 -07:00
maximius
3416a6543d *Wintergrasp: Tenacity fixes by Spp
*Better Windows signal handling for services, by defacer
*Always hide triggers for players, by ogeraisi

--HG--
branch : trunk
2009-09-26 12:41:46 -07:00
Chaz Brown
15d85229fa Replace useless code with more useful code.
--HG--
branch : trunk
2009-09-19 00:51:47 -04:00
Chaz Brown
118e01a08e Fix some errors in last commit
--HG--
branch : trunk
2009-09-19 00:24:35 -04:00