click
5411e1ce52
Core: Clean up whitespace and tabs in the base sourcetree
2012-02-18 16:52:08 +01:00
Spp
03c34ee507
Fix a lot of warnings
2012-02-16 13:56:28 +01:00
Subv
9791bb599a
Merge pull request #5160 from TrinityCore/dynamic_vmaps
...
Added Dynamic Vmaps, RE-EXTRACT YOUR VMAPS
2012-02-09 11:17:05 -08:00
Subv2112
93d199f043
Core/Collision: Ported dynamic line of sight patch by Silverice from MaNGOS and
...
added lots of improvements
Please re-extract vmaps
2012-02-09 13:58:22 -05:00
Aokromes
d1bb8afadd
Scripts/Commands Send Global GM message when reloading waypoint_data table like other reloads
2012-02-07 17:53:42 +01:00
Subv2112
03953930f9
Scripts/Commands: Adjust .pinfo and .gm list to respect the realmid in account_access table.
...
closes #1306
Signed-off-by: Subv2112 <s.v.h21@hotmail.com >
2012-01-28 16:03:36 -05:00
click
e6d5b21778
Core: Fix non-PCH build and remove a few warnings.
2012-01-24 00:24:39 +01:00
Subv2112
3d4f55723c
Core/SAI: Linked events should be executed after the event that linked them is executed.
...
Core/SAI: Allow SMART_EVENT_GO_STATE_CHANGED to use ActionInvoker target
Signed-off-by: Subv2112 <s.v.h21@hotmail.com >
2012-01-22 20:36:01 -05:00
Shocker
5552a33251
Merge pull request #4839 from Fredi/reload
...
Core/Commands: Implement reload multiple creature templates
2012-01-21 08:32:54 -08:00
Machiavelli
2d89b4bfe0
Core/DBLayer: Change some incorrect uses of PQuery with PExecute or Execute
2012-01-18 21:02:06 +01:00
Fredi
688ddb17d4
Core/Commands: Implement reload multiple creature templates
...
Example: .reload creature_template 34797 34799 35144 34796
Closes #2700
2012-01-17 09:25:46 -02:00
Machiavelli
dbbac0bdaa
Core/Movement: Implement spline movement subsystem.
...
Spline movement controls movements of server-side controlled units (monster movement, taxi movement, etc).
Proper implementation of effects such as charge, jump, cyclic movement will rely on it.
However, need improve our states system before.
Technical changes:
* Added linear, catmullrom and bezier3 splines which based on client's algorthims. They can be reused for proper transport position interpolation.
* Precission increased. There are no more position desync issues since client's position calculation formulas used.
* Now possible to move by paths with multiple points, send whole path to client.
--
Original author of research and implementation: SilverIce. Massive kudos.
Original port for Trinity (ref #4629 ) Chaplain and Venugh
With the following incremental fixes during my review:
- Restore flightmaster end grid pre-loading
- Fix uninitialized Creature::m_path_id
- Add missing trinity_string entries for .movegens command
- Fix a bug in WaypointMovementGenerator that would trigger unexpected pausing at waypoints for various amounts of time
Known issues:
- Errors like WaypointMovementGenerator::LoadPath creature XXX (Entry: YYYYY GUID: ZZZZZZ) doesn't have waypoint path id: 0.
This is caused by bad DB data. This commit didn't "break" it.
Do not forget to re-run CMake before compiling.
2012-01-14 15:36:07 +01:00
Subv2112
7101e9626c
Scripts/Commands: Fixed an error with account set gmlevel, the gmRealmID can be signed
...
Signed-off-by: Subv2112 <s.v.h21@hotmail.com >
2012-01-09 09:28:27 -05:00
danik
803acccb07
Command/Account: fixed crash when creating account from console
2012-01-06 17:49:15 +01:00
Venugh
b7959716ea
Core/Commands: Implemented .reload waypoint_data command. (requests from Aokromes.)
2012-01-05 20:31:12 +01:00
Bezo
9473c11383
Add Password change (Player level.) logs
2012-01-04 02:56:00 +02:00
leak
73f79c41a1
Core/DBLayer: Couple fixes
2012-01-02 20:29:22 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
leak
73cf793e56
Core/DBLayer: Refactor prepared statement defines Note:
...
The new format for the middle section is a 3-letter upper case abbreviation of the sql command being executed (select -> SEL, update -> UPD, etc.)
{DB}_{SEL/INS/UPD/DEL/REP}_{Summary of data changed}
2011-12-31 20:14:38 +01:00
leak
b39857a15d
Core/DBLayer: Convert PExecute() queries to prepared statements No. 4
2011-12-31 19:06:24 +01:00
leak
8adac3f246
Core/DBLayer: Convert PExecute() queries to prepared statements No. 3
2011-12-31 00:32:05 +01:00
leak
ef17c05dec
Core/DBLayer: Convert PExecute() queries to prepared statements No. 1
2011-12-25 18:13:21 +01:00
kaelima
7a2f7b0e63
Commands/Npc: Add AIName/ScriptName to npc info
...
Thanks Aokromes for suggestion
2011-12-18 22:45:23 +01:00
Kapoeira
b0dfaa204d
Core/Commands: Allow .mod drunk to modify the drunk state of the targeted player. Original idea on the forums, can't remember who exactly suggested this.
2011-12-10 14:39:52 -05:00
megamage
5b034ee631
Revert 81fea2d7b5.
2011-11-28 14:34:30 -05:00
megamage
81fea2d7b5
Fix some memory leak from CreateTamedPetFrom.
2011-11-28 14:10:56 -05:00
megamage
529af3cd09
Delete obj if it is not successfully added to grid. More to fix.
2011-11-28 14:05:25 -05:00
Nay
5a4636c145
Core|DB/Quests: Rename and re-order fields in quest_template table, for the sake of consistency
...
Order should match SMSG_QUEST_QUERY_RESPONSE
2011-11-26 03:00:06 +00:00
Shauren
358b33239a
Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit
2011-11-23 19:17:33 +01:00
Machiavelli
682c3289c7
Tabs
2011-11-20 13:46:53 +01:00
thumsoul
831f2f4a9d
Core/Commands: Allow "$home" to be second parameter of .tele name, to teleport players to homebind
...
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com >
2011-11-20 13:43:58 +01:00
Shauren
c5c06f4b72
Core/Commands: Fixed .account set gmlevel to correctly use realmId specified instead of id of the realm that the command was executed on
2011-11-13 18:52:46 +01:00
Bootz
d1334624da
Core: Codestyle clean-up
...
"pl"->"player"
Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
megamage
e3fa04823d
Use TRINITY_GUARD to replace ACE_GUARD. ASSERT(false) if failed to acquire the lock.
2011-10-31 17:25:12 -04:00
Kaelima
e158a5e14e
Core/Commands: Typo in d9406b0e59 Ty glkrlos
2011-10-31 09:17:45 +01:00
kaelima
d9406b0e59
Core/Commands: Add stupid-check for trying to add negative itemID to vendor. Fixes crash #3238
2011-10-31 00:02:32 +01:00
Fredi
a8d20d5da8
Script/Commands: Codestyle and cleanups
2011-10-24 08:35:33 -02:00
megamage
c9c5c2a355
Use read/write thread mx guard instead of general guard for HashMapHolder.
2011-10-21 17:29:09 -04:00
megamage
c29ff41001
Rename some classes in grid system.
...
Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
2011-10-18 10:53:34 -04:00
Fredi Machado
97142102e0
Core/Misc: Added 'f' after float values
2011-10-17 07:38:27 -03:00
kaelima
97e5140a1d
Core/WaypointMgr: Allow to set orientation to waypoints.
...
- Instead of the need to use a waypoint_script to change orientation on waypoint arrival.
2011-10-15 18:38:27 +02:00
megamage
3ba22d0d06
Rename Map::Add to Map::AddToMap, Map::Remove to Map::RemoveFromMap for better management.
2011-10-10 17:39:34 -04:00
megamage
d156e066cf
Rename "SetPosition" to "UpdatePosition".
...
Replace CreatureRelocation in scripts with new Creature::SetPosition.
2011-10-10 17:08:01 -04:00
Fredi Machado
fd76ef3cd0
Script/Commands: Codestyle and cleanups
2011-10-10 10:33:13 -03:00
Bootz
5b4c7783c2
REPO: Code-style clean-ups
...
* Fixed pMap->map
* Fixed pInstance->instance
* Fixed pInsta->instance
* Fixed pQuest->quest
* Fixed pWho->who
* Fixed pTarget->target
* Fixed pGo->go
~DEVNOTES: Handlers/QuestHandler.cpp still needs to be cleaned...
2011-10-07 19:45:43 -05:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00
Rochet2
a0a22ecbc8
Scripts/Commands: Added .dev command to show <Dev> tag in nickname
2011-09-21 11:35:29 -03:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
33ce07bdde
Core: Minor cleanups (here and there)
...
- Fix warning
- Fix some typos
- Correct upper 'for' limit in LoadSkillLineAbilityMap
- Remove use of magic number in a query related to security levels
2011-09-13 14:15:35 +02:00