Commit Graph

248 Commits

Author SHA1 Message Date
n0n4m3
a6af93c3d6 Create new table character_stats for external tools(website,etc). This table use only when player logout. Original code by hunuza.
--HG--
branch : trunk
2010-04-14 13:29:56 +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
XTZGZoReX
7c277c87d8 * Only call Database::ThreadStart()/ThreadEnd() once per thread.
* Some cleanups in MapUpdater/DelayExecutor.

--HG--
branch : trunk
2010-04-05 13:08:47 +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
XTZGZoReX
2c3aaee502 * Remove unused config option Rate.XP.PastLevel70.
--HG--
branch : trunk
2010-03-27 20:26:35 +01:00
Spp
ff89bad0fe Allow Battlegrounds and arenas to be disabled by DB.
wtlk arenas disabled by default.

- Player will continue to see all bgs using UI, but won't be able to join disabled bg's
- Gossip menu not shown for disabled Bgs/arenas
- Id 6 disabled = all arenas disabled.
- Only id 6 arena enabled = Gossip shown but unable to join any arena

--HG--
branch : trunk
2010-03-13 00:47:24 +01:00
Spp
e1a8e1b2c9 Fix compile after 7548.
Also reorder the columns of account onlinelist command

--HG--
branch : trunk
2010-03-12 20:43:46 +01:00
Spp
2cac9671ca Add map and zone to account onlinelist command.
Closes issue 466

--HG--
branch : trunk
2010-03-12 18:55:41 +01:00
Spp
cef249ff2c Add level restrictions to some commands:
say, yell, emote, whisper, channel use, trade, auction, mail, tickets
By azazel. Closes issue #598

--HG--
branch : trunk
2010-03-09 12:58:48 +01:00
Spp
9dd9096d57 Fix a typo in trinitycore.conf.dist added in rev 8529262de6.
Closes #887

--HG--
branch : trunk
2010-03-05 12:42:03 +01:00
Tartalo
c6bdcb6b7c Dump characters to separate files config option, by azazel.kon
Resolves #744

--HG--
branch : trunk
2010-02-23 00:05:10 +01:00
Brian
ca10925d41 * Changed default for MinRecordUpdateTimeDiff from 10ms to 100ms.
* Even on a local LAN, you are lucky to get 50ms with gigabit LAN

--HG--
branch : trunk
2010-02-15 08:31:45 -07: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
Machiavelli
ce2d71e1d9 Add config option that determines the maximum allowed time between the last received CMSG_CHAR_ENUM and another incoming packet, and will disconnect the peer if this time limit is exceeded.
In other words, a time limit in which idlers can stay logged in on the character selection screen before they are disconnected.
Fixes issue #335

--HG--
branch : trunk
2010-02-12 19:59:44 +01:00
Xanadu
f8d1920fa5 Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
--HG--
branch : trunk
2010-02-05 13:01:32 +01:00
Xanadu
a5d1bc77ab A great purge of obsolete macros.
--HG--
branch : trunk
2010-02-05 00:31:28 +01:00
Brian
6a3cd98529 * Fixed the console in Linux so the prompt doesn't get hung, that was so
* annoying. Original idea by stump

--HG--
branch : trunk
2010-01-30 09:26:56 -07:00
XTZGZoReX
a385ea64b0 * Call Database::ThreadStart()/Database::ThreadEnd() for all databases in all threads.
--HG--
branch : trunk
2010-01-29 19:24:14 +01:00
Rat
523dae2f63 *added new CMakeLists
-should speed up building on linux systems

--HG--
branch : trunk
2010-01-24 20:02:05 +01: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
Brian
bbdca0aa43 * Cleaning Wintergrasp from the core part 1
* When someone feels like coding it properly, it can be added back in.

--HG--
branch : trunk
2010-01-20 06:26:13 -07:00
Rat
0cc053ea4d *Integrate Script system to Core
-added ScriptMgr for loading scripts
-removed bindings
-moved script system to src/game
-moved scripts to src/scripts
-VC project files updated
-cmakes updated (not 100% done yet)

NOTE to Devs:
-file locations changed
-precompiled renamed to ScriptedPch
-ecsort_ai renamed to ScriptedEscortAI
-follower_ai renamed to ScriptedFollowerAI
-guard_ai renamed to ScriptedGuardAI
-simple_ai renamed to ScriptedSimpleAI
-sc_creature renamed to ScriptedCreature
-sc_gossip renamed to ScriptedGossip
-sc_instance  renamed to ScriptedInstance

*use the new headers in scripts, thank you

NOTE to ALL:
cmake not fully tested, please report any errors with it
could make creashes, incompability
USE AT YOUR OWN RISK before further tests!!

--HG--
branch : trunk
2010-01-19 11:36:05 +01:00
n0n4m3
99f66a6bc9 Updated copyright for new year.
--HG--
branch : trunk
2010-01-16 20:19:18 +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
XTZGZoReX
8ca7410c35 * Little leftover...
--HG--
branch : trunk
2009-12-29 19:03:25 +01:00
XTZGZoReX
2159602f27 * Remove useless CheckDB functionality. This does not belong in core in any shape or form.
--HG--
branch : trunk
2009-12-29 18:25:21 +01:00
n0n4m3
5b975766f5 Removed not needed gomp from cmakefiles
--HG--
branch : trunk
2009-12-29 17:56:43 +01:00
n0n4m3
d82d10ff36 Added new config options chat channel level limit, option to disable player commands of any kind
--HG--
branch : trunk
2009-12-27 16:10:15 +01:00
n0n4m3
4a707509b9 Set Wintergrasp disable by default(now unstable).
--HG--
branch : trunk
2009-12-26 09:47:52 +01:00
n0n4m3
531945f8ad Fixed RA auth. by toshik
--HG--
branch : trunk
2009-12-25 11:43:39 +01:00
n0n4m3
250a00cc1c Temporary revert 6743 commit. I fix this patch across 1-2 days.
--HG--
branch : trunk
2009-12-24 10:20:15 +01:00
n0n4m3
73a849ae1d Fixed some typos
--HG--
branch : trunk
2009-12-23 09:05:17 +01:00
p0wer
f637efa908 * Require all RA use to have -1 (equal power across all realms) to prevent abuse
* of people using RA to assign powers to themselves on other realms. Thanks Sundark.

--HG--
branch : trunk
2009-12-22 22:27:15 -06:00
maanuel
76ed9dd088 Fixed typo in RASocket.cpp
--HG--
branch : trunk
2009-12-23 00:36:28 -03:00
p0wer
1df511c5dd * Fix a silly mistake by Sundark.
--HG--
branch : trunk
2009-12-22 21:10:45 -06:00
p0wer
6cd46ebd4a * Add more checks for the gmlevel patch in RAsocket.cpp
* Allow only GM's with the gmlevel across all realms access to RA.
* Thanks to Sundark.

--HG--
branch : trunk
2009-12-22 21:09:04 -06:00
maanuel
fafad0a3a4 Added new function "GetSecurity(targetAccountId, gmRealmID);" by ogeraisi.
Fixed command .account set gmlevel
Fixed command .ticket assing by Sundark/ogeraisi.
Improvements in .modify scale by ogeraisi.
Repaired Remote Access by Sundark.
The original patch of the access by realms was from ogeraisi/Kudlaty, not ilixiumemu like commit 6710 say.

--HG--
branch : trunk
2009-12-22 15:35:44 -03: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
8ffb5cd33a * Added comment in trinitycore.conf concerning PlayerStart.AllSpells only
* working up to TBC classes / races, and the fact that it is the
* responsibility of the server admin to populate that table.

--HG--
branch : trunk
2009-12-21 20:46:29 -07:00
Brian
35717d94db * Clean up a few old files
--HG--
branch : trunk
2009-12-21 17:40:21 -07:00
n0n4m3
2a0afbf2fc log ACE-version at startup. by balrok
--HG--
branch : trunk
2009-12-19 19:49:24 +01:00
n0n4m3
243f33b5ea Implement new visibility system, based on Silverice patch for mangos
--HG--
branch : trunk
2009-12-19 10:12:40 +01:00
n0n4m3
eb424ec292 Change WORLD_SLEEP_CONST to 50ms
--HG--
branch : trunk
2009-12-17 08:12:33 +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
Anubisss
1feb189ce7 *Fix a typo.
--HG--
branch : trunk
2009-11-23 19:20:36 +01: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