Commit Graph
755 Commits
Author SHA1 Message Date
Subv 0434d3ab69 Core/PacketIO: Enabled/Fixed more opcodes 2012-08-08 21:01:33 -05:00
Nay 10c9c55700 Core/Quests: Fix and enable all quest related opcodes 2012-08-09 00:58:04 +01:00
Nay 7249992e28 DB: Rename characters' void_storage to character_void_storage
Core: Fix build (/slap subv)
Also proper names for sql files
2012-08-08 03:42:48 +01:00
Subv cb5b85d9e0 Core/PacketIO: Enabled/Fixed more opcodes 2012-08-07 19:54:42 -05:00
Subv 46cf08684d Core/PacketIO: Fixed and enabled SMSG_ITEM_REFUND_RESULT 2012-08-07 18:24:10 -05:00
Subv d82266bc0e Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/authserver/Server/AuthSocket.cpp
	src/server/game/Achievements/AchievementMgr.cpp
	src/server/game/Chat/Chat.h
	src/server/game/Chat/Commands/Level1.cpp
	src/server/game/Chat/Commands/Level2.cpp
	src/server/game/Chat/Commands/Level3.cpp
	src/server/game/DataStores/DBCStores.cpp
	src/server/game/DataStores/DBCStructure.h
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Entities/Object/Updates/UpdateData.cpp
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Globals/ObjectMgr.cpp
	src/server/game/Guilds/Guild.cpp
	src/server/game/Guilds/GuildMgr.cpp
	src/server/game/Handlers/AuctionHouseHandler.cpp
	src/server/game/Handlers/CharacterHandler.cpp
	src/server/game/Handlers/ChatHandler.cpp
	src/server/game/Handlers/GroupHandler.cpp
	src/server/game/Handlers/ItemHandler.cpp
	src/server/game/Handlers/MailHandler.cpp
	src/server/game/Handlers/MiscHandler.cpp
	src/server/game/Handlers/MovementHandler.cpp
	src/server/game/Handlers/PetHandler.cpp
	src/server/game/Handlers/QuestHandler.cpp
	src/server/game/Handlers/VehicleHandler.cpp
	src/server/game/Server/WorldSession.cpp
	src/server/game/Server/WorldSocket.cpp
	src/server/game/Spells/Auras/SpellAuraEffects.cpp
	src/server/game/Spells/SpellEffects.cpp
	src/server/game/Spells/SpellMgr.cpp
	src/server/game/World/World.cpp
	src/server/scripts/Commands/cs_debug.cpp
	src/server/scripts/Commands/cs_modify.cpp
	src/server/scripts/Commands/cs_reload.cpp
	src/server/scripts/Kalimdor/azuremyst_isle.cpp
	src/server/shared/Logging/Log.cpp
	src/server/shared/Logging/Log.h
	src/server/worldserver/worldserver.conf.dist
2012-08-07 13:44:22 -05:00
Nay 16035a9eff Core/PacketIO: Enable many verified opcode handlers 2012-08-07 17:10:13 +01:00
Shauren f8cd39b2ed Core/Players: Improved alcohol handling, weeeeeeeeeeeeeeeee
Closes #7293
2012-08-07 17:45:10 +02:00
Shauren 7770c82097 Core/Items: Finished reforging (mostly by subv) 2012-08-06 23:00:57 +02:00
Shauren a83c2ca60a Core/Movement: Added another researched spline flag 2012-08-06 17:42:12 +02:00
Subv 89482323b7 Protocol/PacketIO: Enabled more opcodes 2012-08-06 10:03:01 -05:00
Spp 97c4b92eb0 Core/Logging: Try to simplify configuration of loggers and appenders
Changed multiple lines to a simple format:
- Logger.name=Type,LogLevel,Flags,AppenderList
- Appender.name=Type,LogLevel,Flags,optional1,optional2
  * Type = File: optional1 = File name, optiona2 = Mode
  * Type = Console: optional1 = Colors

Created a default set of loggers and appenders.
- Root logger defaults to Error, that means you will see nothing on console by default (not even loading)
- You need to add the loggers to Loggers options if you want to enable them, otherwise Root logger will be used for all types

Restored outSQLDriver (LOG_FILTER_SQL_DRIVER), outSQLDev (LOG_FILTER_SQL_DEV), outArena (LOG_FILTER_ARENA) and outChar (LOG_FILTER_CHARACTER) functionality by creating new types (LOG_FILTER_CHARACTER is a rename of LOG_FILTER_DELETE.

Note: You need to update your config file... again (yeah sorry... trying to make it simpler)
2012-08-06 12:10:33 +02:00
Subv 8b8fa24fec Core/PacketIO: Enabled another bunch of opcodes and made some misc fixes here and there 2012-08-05 21:52:36 -05:00
Subv 1928964443 Core/Items: Implemented SOCKET_COLOR_COGWHEEL.
Codestyle/Misc: Renamed recv_data to recvData
2012-08-05 19:40:30 -05:00
Nay c7c714eb38 Merge pull request #7267 from cyberbrest/pull5
[434][Item] remove support KeyRing Slots and CurrencyTokenSlots.
2012-08-04 11:40:42 -07:00
kaelima f5d19939bf Core/Guilds: Implemented some guild packets, some basic guild functions is working, though most are still WIP/TODO 2012-08-04 18:41:18 +02:00
Subv d9da2e8e50 Core/Player: Use DBC data to set the correct amount of hp and mana based on player level and class 2012-08-04 11:33:49 -05:00
Nay 5518daa74b Core/Chat: Send addon prefix in addon messages
Correct structure of some CMSG_MESSAGECHAT_ADDON_x opcodes
Fix a compile error in HandleReforgeItemOpcode
2012-08-04 15:58:09 +01:00
Nay 48db4b2b7d Core/PacketIO: Fix and enable SMSG_MESSAGECHAT
TODO: 	- Send addon prefix in this packet when language is Addon
	- Cleanup uses of SMSG_MESSAGECHAT (17 different "handlers" for it is not okay) (long term)
	- Missing a CMSG_MESSAGECHAT_ADDON_x or two
2012-08-04 01:39:18 +01:00
Nay f9a0821b2b Core/PacketIO: Correct a value sent in BuildPlayerChat (just for the sake of being correct, no noticeable changes) 2012-08-03 22:50:02 +01:00
cyberbrest b2f42fef44 [Item] remove support KeyRing Slots and CurrencyTokenSlots.
ToDo: on rewarding currency items no need create item, just set curency count.
2012-08-03 22:24:09 +03:00
Spp 55ce180f28 Core/Logging: Add Asyncronous logging with Loggers ("What to log") and Appenders ("Where to log") system. Will allow to select to full log some parts of core while others are not even logged.
- Logging System is asyncronous to improve performance.
- Each msg and Logger has a Log Type and Log Level assigned. Each msg is assigned the Logger of same Log Type or "root" Logger is selected if there is no Logger configured for the given Log Type
- Loggers have a list of Appenders to send the msg to. The Msg in the Logger is not sent to Appenders if the msg LogLevel is lower than Logger LogLevel.
- There are three (at the moment) types of Appenders: Console, File or DB (this is WIP, not working ATM). Msg is not written to the resource if msg LogLevel is lower than Appender LogLevel.
- Appender and Console Log levels can be changed while server is active with command '.set loglevel (a/l) name level'

Explanation of use with Sample config:

Appender.Console.Type=1       (1 = Console)
Appender.Console.Level=2      (2 = Debug)

Appender.Server.Type=2        (2 = File)
Appender.Server.Level=3       (3 = Info)
Appender.Server.File=Server.log

Appender.SQL.Type=2           (2 = File)
Appender.SQL.Level=1          (1 = Trace)
Appender.SQL.File=sql.log

Appenders=Console Server      (NOTE: SQL has not been included here... that will make core ignore the config for "SQL" as it's not in this list)

Logger.root.Type=0            (0 = Default - if it's not created by config, server will create it with LogLevel = DISABLED)
Logger.root.Level=5           (5 = Error)
Logger.root.Appenders=Console

Logger.SQL.Type=26            (26 = SQL)
Logger.SQL.Level=3            (2 = Debug)
Logger.SQL.Appenders=Console Server SQL

Logger.SomeRandomName.Type=24 (24 = Guild)
Logger.SomeRandomName.Level=5 (5 = Error)
Loggers=root SQL SomeRandomName

* At loading Appender SQL will be ignored, as it's not present on "Appenders"

* sLog->outDebug(LOG_FILTER_GUILD, "Some log msg related to Guilds")
  - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomName is found but it's LogLevel = 5 and Msg LogLevel=2... Msg is not logged

* sLog->outError(LOG_FILTER_GUILD, "Some error log msg related to Guilds")
  - Msg is sent to Logger of Type LOG_FILTER_GUILD (24). Logger with name SomeRandomeName is found with proper LogLevel but Logger does not have any Appenders assigned to that logger... Msg is not logged

* sLog->outDebug(LOG_FILTER_SQL, "Some msg related to SQLs")
  - Msg is sent to Logger SQL (matches type), as it matches LogLevel the msg is sent to Appenders Console, Server and SQL
    - Appender Console has lower Log Level: Msg is logged to Console
    - Appender Server has higher Log Level: Msg is not logged to file
    - Appender SQL has lower Log Level: Msg is logged to file sql.log

* sLog->outDebug(LOG_FILTER_BATTLEGROUND, "Some msg related to Battelgrounds")
  - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). As Logger has higher LogLevel msg is not sent to any appender

* sLog->outError(LOG_FILTER_BATTLEGROUND, "Some error msg related to Battelgrounds")
  - Msg is sent to Logger root (Type 0) as no Logger was found with Type LOG_FILTER_BATTLEGROUND (13). Msg has lower LogLevel and is sent to Appender Console
    - Appender Console has lower LogLevel: Msg is logged to Console
2012-08-03 14:20:18 +02:00
Shauren 69bbe1fded Core/Items: Added loading and saving transmogrification. 2012-08-01 14:31:09 +02:00
Nay ce1391840f Core/VS: Finally fix item swapping, correct a file name 2012-07-30 21:51:21 +01:00
Nay 940f655a3c Core/VS: Allow to store/retrive random stats items in void storage
Also set items to soulbound on withdraw
2012-07-30 18:34:39 +01:00
Nay 3df10d8273 Core/DBLayer: Fix a typo in void_storage table name 2012-07-30 16:41:48 +01:00
Nay c24de2c6d8 Core: Implement Void Storage 2012-07-30 16:39:46 +01:00
stfx bb9b98098e Fix sending wrong world states in Shattrath 2012-07-25 11:50:34 +03:00
Nay 6dd20770af Core/Misc: Few more missed chances related to money
Expect more commits like this :/
2012-07-24 15:47:47 +01:00
Nay 0f04b2fc36 Core/Misc: Update money to 64 bits (from 32), increasing the maximum gold possible
This got a bit messy and will be further fixed when all related packets are updated.
(Also fixed a typo in atoll msvc macro)
2012-07-24 15:27:42 +01:00
Shauren fc453ab623 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2012-07-23 00:13:13 +02:00
Shauren 1fd37ac61b Core/Object: Use updatefield flags extracted from client to determine whether to send or not a field value instead of sending all data to client for non-player objects 2012-07-22 14:20:26 +02:00
Shauren 1558b602f4 Core/Items: Renamed new currency related fields in item_template 2012-07-19 16:04:42 +02:00
Shauren 390d6b56d7 Core/PacketIO: Enabled and updated a bunch of opcodes 2012-07-19 01:21:41 +02:00
Shauren 1a290f17f5 Core/Player: Moved guild id storing back to updatefields 2012-07-18 22:04:06 +02:00
Shauren 075e5d6751 Core/Units: Some cleanup in movement packet related functions - try to keep only one function handling a packet, not have it scattered all over the place 2012-07-18 15:00:48 +02:00
Shauren 52751a2c73 Core/Players: Update rune cooldown handling for cataclysm 2012-07-17 21:37:33 +02:00
Shauren 953f093920 Core/PacketIO: Updated and enabled MSG_MOVE_TELEPORT, MSG_MOVE_TELEPORT_ACK, MSG_MOVE_WORLDPORT_ACK, SMSG_NEW_WORLD and SMSG_TRANSFER_PENDING 2012-07-17 19:29:18 +02:00
Shauren 27ea130b55 Core/Movement
* Updated movement flags
* Cleaned up MovementStatusElements enum
* Updated and enabled MSG_MOVE_START_FORWARD
2012-07-14 23:39:12 +02:00
Shauren a9d3940738 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2012-07-14 19:03:03 +02:00
Nay 8ffafdc859 Core: Fix build 2012-07-13 16:56:58 +02:00
NNN666 e757ebf6ba Core/Player: Fix issues with 'ignore this slot' option on equipment manager usage 2012-07-13 16:27:11 +02:00
Shauren a2b1cf66ca Core/PacketIO: Update structures of many packets sent during the login process 2012-07-11 23:28:40 +02:00
Shauren 947dbcbabc Core/Achievements: Fixed crash in CheckAllAchievementCriteria 2012-07-11 23:27:00 +02:00
Shauren 492fd80b06 Core/Misc
* Cleaned up packet manipulation methods, no need to keep duplicate sets of functions doing the same
* Added a very basic ObjectGuid structure for easier (and endian-safe) method of accessing individual guid bytes
2012-07-11 19:26:26 +02:00
Shauren d23ae07f64 Core/Players: Fixed saving/loading glyphs 2012-07-11 00:13:41 +02:00
Shauren d8ce0c8830 Core/Objects: Updated UpdateFields 2012-07-10 18:59:40 +02:00
Shauren d9e830c484 Core/PacketIO: Updated character list packet structure to 4.3.4 2012-07-09 14:23:55 +02:00
Shauren 06a4ade88a Core/Achievements: Implemented guild achievements 2012-07-09 11:08:33 +02:00
Shauren 32ba32c4eb Merge branch '4.x' of github.com:TrinityCore/TrinityCore into 4.3.4 2012-07-05 14:16:44 +02:00