Commit Graph
95 Commits
Author SHA1 Message Date
Rat 037fd1b1bb Core/Phases: backported 6.x phase fixes 2015-04-02 20:32:09 +02:00
Rat e6cc39258d Merge branch '4.3.4' of https://github.com/TrinityCore/TrinityCore into phases
Conflicts:
	sql/updates/world/2014_10_30_00_world.sql
2014-12-30 10:22:55 +01:00
Rat 708b09e9f7 Core/Logs: fixing typos 2014-12-28 10:44:10 +01:00
Rat 323f80c801 Core/Phases: Mmaps now use the swapped terrain's mmtiles for all units if available
- Needs more testing!
2014-11-08 23:00:12 +01:00
Rat 34553afa95 Core/Zmq: Added 50ms wait in the Run() loop to get rid of excessive cpu usage
(cherry picked from commit cbb6ca0339)
2014-11-08 13:11:53 +00:00
Rat e7a248523a Core/Phases: Load all phaseable mmtiles (yet unused) when loading the phase's root map 2014-11-02 20:41:45 +01:00
Rat cbb6ca0339 Core/Zmq: Added 50ms wait in the Run() loop to get rid of excessive cpu usage 2014-11-02 16:49:45 +01:00
Rat 1f4d52b2ff Core/Phases:
- Added terrain swap info to .gps command (todo: move text to db)
- RebuildTerrainSwaps when adding a Unit to world
2014-11-01 20:36:24 +01:00
Rat 50228fc9da Core/Phases:
- Implemented CONDITION_SOURCE_TYPE_PHASE (26)
- Implemented phase_area DB table to link phases to specific areas using conditions
- updated logic to correctly handle phases gained from auras and areas (they should not remove each other's phases)
2014-11-01 19:36:05 +01:00
Rat 9690b54f75 Core/Phases: handle empty phaselist as always visible 2014-10-31 19:23:29 +01:00
Rat 79af33a508 Core/Phases:
- redone how default terrain swaps are handled
- added new table for worldmaparea data
- only send terranswaps for player's current map
- always send all valid worldmaparea swaps for ingame worldmap
- added Hyjal's terrain swap as example, after turning in quest 25372, the Inferno area will change to Regrowth, both the terrain and the worldmap changes
2014-10-31 18:42:02 +01:00
Rat 03fed3c7a4 Core/Phases: implemented usage of default terrain swaps
- added example for Gilneas (from sniff)
2014-10-31 00:05:13 +01:00
Rat d25a8c4859 Core/Phases: added 2 example terrain swaps with map swaps linked to them for Gilneas (sniffed data)
for testing use .mod phase 182 or 186
or apply aura 68482 or 69484 on self
2014-10-30 23:17:57 +01:00
Rat 2583661703 Core/Phases:
- fixed packet structure, thanks to Shauren for the notice
- fixed .mod phase command
- implemented world map area swaps for swapped terrain
2014-10-30 23:08:23 +01:00
Rat d77bb02e88 Core/Phases: some error checking at db loading
- implement .debug phase command
2014-10-30 21:20:04 +01:00
Rat 8ba89d2311 Core/Phases: implemented new commands:
.npc set phase
.npc set phasegroup
- implemented saving creature phasing to database
2014-10-30 16:18:11 +01:00
Rat 5993b946c9 Core/Phases: some cleanup
- implemented CopyPhaseFrom(obj)
2014-10-30 13:35:12 +01:00
Rat 4fab55d703 Core/Phases: apply phasing to bones when converting from corpse 2014-10-30 11:58:05 +01:00
Rat 2f48b5fb59 Core/Phases: gamemasters should see all phases with gm on 2014-10-30 11:45:01 +01:00
Rat b91c8c76b6 Core/Phases: fixed corpse phase deleting 2014-10-30 11:28:10 +01:00
Rat 517369a3df Core/Phases: more work on corpse phasing
- moved all sql queries to prepared statements
- implemented corpse phases saving, loading, cleaning
2014-10-29 21:47:25 +01:00
Rat 49187f51b5 Core/Phases: implement loading of corpse_phases 2014-10-28 22:24:59 +01:00
Rat 9f33e02a85 Core/Phases: removed phaseMask from corpse queries 2014-10-28 20:16:05 +01:00
Rat 9b8b644569 Core/Phases: add table for corpse_phases
- set all phase related fields to unsigned
- remove old phaseMask from corpse table
2014-10-28 19:03:56 +01:00
Rat 5533c85a4a Core/Phases: sql naming updates 2014-10-28 07:43:26 +01:00
Rat d32492fa42 Core/Phases: only send packets to players, also fixes compile 2014-10-28 07:31:39 +01:00
Rat 001e1ce935 Core/Phases: fix logic in SetInPhase()
- we should not remove the terrain swap if another phase still use it

(cherry picked from commit 299c693b8420d81951ef67b8481e4ad6b192473f)
2014-10-27 23:08:23 +00:00
Rat 8b1e546ce9 Core/Phases: some commenting, more cleanup and compile fix
(cherry picked from commit 8b536fdf9d38a3e0c94dc9c1184ea8582495064f)
2014-10-27 23:08:02 +00:00
Rat c16afec600 Merge pull request #4982 from Gyx/4.x
Gyx 4.x update
2012-01-29 02:13:35 -08:00
Rat 6900230a03 Merge pull request #4937 from Aokromes/master
Fix sql
2012-01-23 22:43:45 -08:00
Rat dad75019d4 Merge pull request #4934 from DrakeFish/4x_2
4.x - Added most spline speed changes. (and others)
2012-01-23 22:40:38 -08:00
Rat 47909d916a Merge pull request #4926 from Gyx/4.x
Gyx 4.x update
2012-01-23 20:50:59 -08:00
Rat 1561f24806 Merge pull request #4925 from DrakeFish/4x_2
4.x - Added forced speed changes.
2012-01-22 21:07:34 -08:00
Rat f006a2da68 Core/Movement: updated UN/SET_FLY packets, .gm fly on/off now works, fly mounts are still broken, probably aura handling needs to be updated too 2012-01-21 22:25:01 +01:00
Rat 68ec9b02e3 Core/Movement: added forgotten MSG_MOVE_STOP_ASCEND structure 2012-01-21 22:22:24 +01:00
Rat 6cd52e7e02 Core/Movement: Fixed short-range teleportation, needs more testing
-added structure for CMSG_MOVE_TIME_SKIPPED, still need to implement the time synch
2012-01-20 14:34:04 +01:00
Rat 7d2c5d263d Core/Misc: use ReadXorByte to read bitpacked guids 2012-01-20 14:30:30 +01:00
Rat 98f57f6963 Core/Trade: Uncommented and updated HandleBeginTradeOpcode 2012-01-20 14:26:42 +01:00
Rat 7749359269 Core/ByteBuffer: Implemented ReadXorByte, usefull when reading guid bytes based on bits 2012-01-20 14:25:46 +01:00
Rat 166a161f35 Core/Opcodes: Removed and checked some duplicate opcodes 2012-01-20 07:11:54 +01:00
Rat 2a549a0369 Core/Opcodes: Removed and checked some duplicate opcodes 2012-01-20 06:17:58 +01:00
Rat 599db736e7 Core/Movement: Enabled CMSG_WORLD_PORT_RESPONSE, fixes Cross-Map teleportation 2012-01-19 21:09:02 +01:00
Rat fa77969184 Core/Movement: Updated/Added/Removed/Renamed Movement related Opcodes.
- Rearranged opcodes enum
(started working on structs + have to check new naming and such)
2012-01-19 20:11:32 +01:00
Rat e5bdc6612d Core/Packets: Moved Bit related functions to ByteBuffer from WorldPacket 2012-01-19 12:59:28 +01:00
Rat 02b5a81ed3 Core/Opcodes: more ops + checked handlers 2012-01-12 19:25:52 +01:00
Rat 629694cbad Core: Some opcodes + handler fixes + cleanup 2012-01-12 17:59:03 +01:00
Rat 01e515d94b Core/Spells: fixed SMSG_SET_FLAT_SPELL_MODIFIER and SMSG_SET_PCT_SPELL_MODIFIER by Shauren
changed TOTAL_AURAS to 363 (biggest number in dbc files)
2012-01-12 14:16:16 +01:00
Rat c33475c6a8 Core/MovementHandler: small cleanup
disabled SMSG_THREAT_UPDATE for now (client crash issue)
2012-01-10 19:31:34 +01:00
Rat 2cc092b9e3 Merge pull request #4761 from Gyx/4.x
Gyx 4.x update
2012-01-10 08:12:08 -08:00
Rat de6a45b207 Core/WorldSession: commented null opcode tracer 2012-01-10 15:26:12 +01:00
Rat 8d19dc343e Core/Movement: updated movement structures again ... 2012-01-10 14:50:25 +01:00
Rat 07d27cbbf7 Core/ByteBuffer: fixed bitreader, this fixes the "strange movement" bug 2012-01-10 10:22:49 +01:00
Rat e8c5218e00 Core/Movement: updated 2 more movement structures 2012-01-09 18:17:09 +01:00
Rat fae72c75a6 Merge pull request #4709 from Gyx/4.x
Gyx 4.x update
2012-01-09 03:32:26 -08:00
Rat e8877e8d64 Core/Movement: updated 2 more movement structures 2012-01-08 16:25:39 +01:00
Rat 3897d26317 Merge pull request #4652 from Gyx/4.x
Gyx 4.x update
2012-01-07 05:31:28 -08:00
Rat 0e950d5e46 Merge branch '4.x' of git://github.com/TrinityCore/TrinityCore into 4.x 2012-01-01 22:31:48 +01:00
Rat bff7c18251 Core/Movement: Fixed some movement structures, added SMSG_PLAYER_MOVE 2012-01-01 22:30:37 +01:00
Rat b1e19257bc Merge pull request #4548 from weclub/4.x
[4.x] Update
2012-01-01 12:34:49 -08:00
Rat 91a6bee7ad Merge pull request #4503 from Subv/fix002
Some changes in SMART_ACTION_MOVE_TO_POS
2011-12-30 04:19:24 -08:00
Rat 309fd11fb9 Core/MovementHandler: added new packet handler for movement
(it is using 4.2.0 struct so not useable, but can be updated, use it as a base)
2011-11-29 17:57:38 +01:00
Rat c1d6359218 Core/Packets: CANCEL_AURA "fix"
-Updates to WorldPacket and MovementInfo
2011-11-28 15:50:25 +01:00
Rat 487da95a92 Core/Packets: added new opcodes for player movement and some others
-enabled some handlers
-temp disabled the movementhandler to prevent spamming bytebuffer exceptions, until correct structure is found
2011-11-28 07:39:21 +01:00
Rat 7b5f51b006 Core/Packets: enabled / fixed handlers 2011-11-27 21:20:37 +01:00
Rat 0ffb50fcd2 Core/Packets: corrected error msg 2011-11-27 20:49:07 +01:00
Rat d27ba7379b Core/Units: SetPower should be signed int 2011-11-27 20:23:48 +01:00
Rat d977ed01e7 Core/Units: fixed power update
(yes you are now alive ingame)
2011-11-27 19:09:47 +01:00
Rat 5be5eae64f Core/Packets: updated WorldPacket compressor 2011-11-27 17:04:01 +01:00
Rat 7fdefceb43 Core/Packets: updated update_object structure
Welcome ingame!
2011-11-27 16:06:29 +01:00
Rat 70c3488dd0 Core/Player: fixed player loading to reflect new DB changes
- added missing changes to characters_datasabase.sql
2011-11-27 09:37:32 +01:00
Rat ccb89b0347 Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 21:22:14 +01:00
Rat 35579e574c Core/DB: fixed player loading from DB 2011-11-26 21:21:31 +01:00
Rat b09d532be7 Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 21:09:51 +01:00
Rat 7dca37ea16 Core/DB2Stores: fixed loading ItemCurrencyCost.db2 2011-11-26 21:06:24 +01:00
Rat ca03e79ce7 Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.x 2011-11-26 20:38:25 +01:00
Rat 8cf3fde329 Core/CharacterHandler: fixed guid reading in PlayerLoginOpcode handler
thanks to Nay && Shauren
2011-11-26 20:38:00 +01:00
Rat e97527c24e Core/Packets: Implemented BitStream helper class
- added Static BitConverter class
- upgraded the ByteBuffer class for easier usage
2011-11-26 20:32:32 +01:00
Rat 929da7396d Core/Packets: disable sending 0 as opcode and print trace info 2011-11-26 20:28:12 +01:00
Rat 05880cc748 Core/DataStores:
-dropped dbcstring/db2string, use simple nonconstant char* (will be useable when loading custom data from db to dbc)
-fixed most dbc string related errors (you can now turn on logging)
2011-11-24 13:43:41 +01:00
Rat 5d39e09d89 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-11-23 20:23:26 +01:00
Rat 47d0a7f3af Merge branch 'master' of github.com:TrinityCore/TrinityCore
Conflicts:
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/DataStores/DBCfmt.h
	src/server/game/Server/Protocol/Opcodes.cpp
2011-11-23 20:23:04 +01:00
Rat 47e28a7576 removed no more needed mixed dbc files 2011-11-23 13:18:35 +01:00
Rat 8c4d145178 fixed dbc local handling 2011-11-23 13:17:40 +01:00
Rat dd80a880dc updated all remaining dbc structures 2011-11-23 13:16:45 +01:00
Rat 34f0792f75 fixed startup crash while loading instance_encounters 2011-11-22 16:50:00 +01:00
Rat a12df963b9 -updated all DBC formats, except spell* ones
-added dbc.zip (all 4.2.2 files + 3.3.5 spells)
-hardcoded map 0's entry for mapdifficulty (dbc has no data for it)
2011-11-22 13:32:11 +01:00
Rat 154612f279 -started updating DBC formats for 14545
-added new dbc files for dev usage
2011-11-21 14:27:26 +01:00
Rat d2a97e0d26 modified base sql to use 14545 as default game version 2011-11-21 14:25:25 +01:00
Rat 7f8193abf1 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-11-20 18:39:20 +01:00
Rat 27afb1acd4 Added temperory dbc / db2 files
currently 3.3.5 dbc files are used, except for CurrencyTypes.dbc (was needed to get items working)

overwrite/add files in your build/data/dbc directory with these to get server running
2011-11-20 18:38:33 +01:00
Rat d1affc4340 Initial Commit for client version change to 4.2.2 (14545)
- added known opcodes (handlers are commented till not updated)
- added bitstream support to bytebuffer
- updated realm auth for 14545
- updated world auth
- fixed char_enum,create,delete handlers
- added DB2 reader
- added opcode logging to debuglogmask (ignores loglevel)
- fixed compile in win64, others not yet tested
- using db2 values for item models at char_enum to prevent client crash

Lots of Thanks to All SingularityCore Members
2011-11-20 18:28:18 +01:00
Rat e23fe1845f Core/SmartAI: Updated SMART_ACTION_RESPAWN_TARGET, should work for GOs as intented. Param1 is to set GO respawn time. 2011-10-07 14:12:09 +02:00
Rat 0ab9dd3f9f Core/SmartAI: Re-apply accidentally removed crash fix, whoops 2011-09-20 17:56:47 +02:00
Rat 41ad855bdf Core/SmartAI: fixed SMART_ACTION_SOUND, note: target(s) must be player(s)
Signed-off-by: Rat <gmstreetrat@gmail.com>
2011-09-20 17:46:40 +02:00
Rat 8b37ac4688 Core/SAI: Fix invoker logic and possible crashes
Signed-off-by: Rat <gmstreetrat@gmail.com>
2011-02-21 22:23:43 +01:00