Commit Graph

226 Commits

Author SHA1 Message Date
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
maximius 3f338cc1c3 *Massive cleanup redux.
--HG--
branch : trunk
2009-10-17 16:20:24 -07: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 ad91c3a94b * Wintergrasp: Elementals/Revenants only visible outside Wartime. By Spp
*Wintergrasp: Fixed Towers, weren't giving rewards. By Spp
*Wintergrasp: Cosmetic changes to make code easier to follow. By Spp (idea by Biglad)
*Wintergrasp: Building are immune to damage outside Wartime. By Spp (Original code by Biglad)
*Wintergrasp: Modified Custom Honor (Honor and marks) to fit with rank level. By Spp (Thanks to Gyullo and Magnarion)
*Some cleanup.

--HG--
branch : trunk
2009-10-17 02:06:12 -07:00
maximius 7caac8a805 *Fix some typos in trinitycore.conf.dist
*Fix Enduring Winter not increasing water elemental duration, by Cleave

--HG--
branch : trunk
2009-10-15 08:34:19 -07:00
maximius ae3a82feed *Wintergrasp: Cannons only visible during wartime, by Spp
*Wintergrasp: Custom Honor system now gives marks and completes achievements, by Spp

--HG--
branch : trunk
2009-10-14 22:35:09 -07:00
Machiavelli 43b3f834cf * Allow the initialization of the Wintergrasp OutdoorPvP enviroment to be disabled if configured.
--HG--
branch : trunk
2009-10-06 20:46:58 +02:00
maximius f980dd9ac6 *Merge [8524] New cell search algorithm implemented. You can now choose different
visibility distances on continents, in BG/Arenas and instances. Author: Ambal
*Some warning cleanup

--HG--
branch : trunk
2009-09-27 02:24:25 -07:00
maximius c66005ea06 *Should fix Linux build, thanks Drahy
--HG--
branch : trunk
2009-09-26 16:52:54 -07:00
maximius 9dfaa02895 *Remove some redundant code, and relocate some illogical code.
--HG--
branch : trunk
2009-09-26 12:54:12 -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
maximius 18c9a4f510 *Indentation cleanup
--HG--
branch : trunk
2009-09-18 14:14:39 -07:00
maximius 333f1c9d72 *[8475] fixed some gcc-warnings Author: balrok
*[8476] Revert some recent cleanup changes, some other fixes and cleanups. Author: VladimirMangos
*[8489] Fixed player visibility update in case view point different from player itself. Author: SilverIce
*[8493] Avoid unexpected multiply error messages at wrong `quest_template`.`RewSpell*` Author: VladimirMangos
*[8496] Resolve some #include cycles and unsafe code.
* Common.h -> Threading.h -> Errors.h -> Common.h
* Remove reduncdent #include "ByteBuffer.h" in headers
* Remove redundent #include "Auth/BigNumber.h" in headers
* Avoid multyply data copy at use some now dropped functions in BigNumber.
* Avoid copy fixed byte count from byte arrays with unknown real size created from BigNumber.
* Avoid possible problems for build mangos at different platform or compilers. Author: VladimirMangos.
*[8501] Apply code style and cleanups to some Player functions. Author: VladimirMangos.
*[8502] Disable quests related to specific game events at startup if event not active. Also rename member boolean variable. Author: NoFantasy
*[8506] Add check for IsAutoComplete() in SendPreparedQuest().
For cases where quest is repeatable but has Method!=0, QuestDetails must be sent instead of RequestItems.
Some additional code cleanup. Author: NoFantasy
*[8507] Check amount of spawned pools before decrement to avoid unexpected result. Also rename variable to more meaningful name. Signed-off-by: NoFantasy <nofantasy@nf.no>

Thanks to Stryker and onkelz28!

--HG--
branch : trunk
2009-09-18 14:10:37 -07:00
root@trinity b07aba2513 * Changed the logging for missing spell_script_target / spell_script_position
* entries in DB to "debug" level.
* Set the default level for DBLogLevel in trinitycore.conf.dist to 2 "detail"

--HG--
branch : trunk
2009-09-16 13:16:42 -06:00
maximius 140ec674a0 Backed out changeset d3fe2d6d504a (please test your patches thoroughly before getting me to push them ogeraisi)
--HG--
branch : trunk
2009-09-14 16:49:23 -07:00
maximius b37f9b1e55 *Merged MaNGOS [8458], [8475], [8476] by ogeraisi, thanks to all authors :)
--HG--
branch : trunk
2009-09-14 16:02:13 -07:00
Chaz Brown b8dc3f55f0 Remove the remaining obsolete Zthread code
--HG--
branch : trunk
2009-09-13 06:01:45 -04:00
maximius c61bb37a0e *Config option to allow multiple Guild Masters by MrSmite
--HG--
branch : trunk
2009-09-12 22:33:24 -07:00
Machiavelli 5bd67d1b4b Allow Wintergrasp honor rewards to be customized. Please update your trinitycore.conf.
--HG--
branch : trunk
2009-09-11 17:51:32 +02:00
Kudlaty b287288888 Fix compatibility problems with PostgreSQL. Patch by Azuritus
--HG--
branch : trunk
2009-09-10 22:40:40 +02:00
maximius 580b3f8805 *Add Instant flight paths option, by Hawthorne
--HG--
branch : trunk
2009-09-10 09:37:29 -07:00
Kudlaty b6e694ab68 Add macro for finding Termcap with cmake, and some cleaning about readline
--HG--
branch : trunk
2009-09-06 00:39:13 +02:00