Warpten
55338ff53b
Revert "Shared/Utils: Fixed ApplyPercentModFloatVar."
...
This reverts commit 2005be0474 .
Note to self: do not touch maths past 10 any more.
2013-07-11 11:10:05 +02:00
Warpten
2005be0474
Shared/Utils: Fixed ApplyPercentModFloatVar.
...
This has been around since 2010-12-11 :)
2013-07-10 21:44:08 +02:00
Nay
3561ab98ba
Misc: Use override and final C++11 keywords in a few places (mostly scripts)
...
OVERRIDE and FINAL are TC macros (expand to nothing if compiler does not support C++11)
2013-07-06 20:21:45 +01:00
Spp
d58a037512
Build: Set _BUILD_DIRECTIVE even if the compiler is not properly detected
2013-06-27 10:47:30 +02:00
Shauren
3c91c04758
Buildsystem/MSVC
...
* Fixed ACE PCH
* Removed WheatyExceptionReport sources from shared project
2013-06-15 14:07:12 +02:00
Malcrom
ec474a62e5
Core: More Function Renaming.
2013-06-11 21:25:12 -02:30
Shauren
ef15fe8ed2
Core/Instances: Fixed a bug that caused switching group leader inside active instance to cause players not being saved when a boss was killed.
...
Closes #5109
2013-06-11 15:50:08 +02:00
Subv
1d1bb84cf9
Merge pull request #9854 from Ascathor/master
...
Core/Command: Optimized .pinfo more
2013-06-02 17:52:27 -07:00
Vincent-Michael
15b055fe87
Core/Database: Fix bad sql query in 55b3819d12 (thx Shauren)
2013-06-01 23:47:46 +02:00
Subv
55b3819d12
Core/Database: Deleted characters will no longer be loaded when sending the SMSG_CHAR_ENUM packet.
2013-06-01 12:57:37 -05:00
Ascathor
fb52e9ea03
Core/Command: Optimized .pinfo more
...
* Moved some checks around
* Added RBAC Permission for Email, last login and last ip (group 3 and 4) -- If missing RBAC permission, then it displays "Unauthorized (RBAC)"
* Changed totalmail output from uint64 to uint32
* Level either puts Max level, or a list of information necessary
* Only queries guild if the current xp query also detects guild membership
* Incorporated recent changes into code
* Commander requires higher than target to get sensitive data beside RBAC permission.
2013-05-26 14:21:39 +02:00
Shauren
590133c2b0
Missed change for previous commit
2013-05-24 18:33:33 +02:00
Bezo
178cb300d1
Implement .arena commands - add new commands to the core to handle with arena teams.
...
*.arena create [player] "arena name" [type]
*.arena create "arena name" [type]
*.arena disband [TeamID]
*.arena rename "oldName" "newName"
*.arena captain [TeamID] [Player]
*.arena info [TeamID]
*.arena lookup [name]
2013-05-22 00:50:51 +03:00
Aokromes
78840516f1
Merge pull request #9827 from Ascathor/master
...
Core/Command: Rework .PInfo and give more output and add Gender to trinity_string
2013-05-21 09:41:18 -07:00
Spp
00c1168897
Core/Misc: Remove trailing whitespace, compile warnings and minor cosmetic changes
2013-05-21 08:37:28 +02:00
Ascathor
051d6ef925
Core/Command: Rework PInfo and give more output and add Gender to trinity_string
...
* Prints out in several strings instead of few
* Leaves unnecessary ones out (e.g. phase for GMs)
* Some code documentation included (including doxygen)
* Cleaner code (partly)
* Prints more content, e.g.:
** Localized Class- and Race names
** Localizable Gender names
** Current experience, required experience
** And more
Shoutouts to @Nay, @Subv, @Shauren and several others from the irc
Core/Command: Rework PInfo and give more output and add Gender to trinity_string
2013-05-20 03:09:34 +02:00
Shauren
d6709ed610
Reverted part of 8be181c7e6 that was not supposed to be pushed
2013-05-18 11:49:46 +02:00
Shauren
8be181c7e6
Core/Misc: Fixed a bunch of issues found by static analysis
2013-05-17 20:39:53 +02:00
Nay
60dae46462
Core: Fix compiler warnings
2013-05-16 01:10:53 +01:00
Shauren
8e1601e202
Core/Debugging: Marked assert functions as non returning
2013-05-13 18:12:01 +02:00
Shauren
86d846e627
Core: Fixed windows compile
2013-05-13 18:10:20 +02:00
Spp
d1677b2db0
Core/Logging: Performance-related tweaks to logging system
...
All sLog->out* functions (except outCommand atm) are replaced with TC_LOG_* macros.
Memleak fix
2013-05-13 15:07:36 +02:00
xjose93
f2b6b2f95e
Core/Commands: Improve .character rename [name], now can force rename .character rename [name] [newName]
2013-04-29 11:26:54 +02:00
Aokromes
1087e5f5c9
Merge pull request #9710 from xjose93/Autobroadcast
...
Core/World: Improvements in Autobroadcast system (dropped from world database and moved to auth database, added realmid and weight columns)
2013-04-27 05:02:48 -07:00
Aokromes
e486cd7623
Merge pull request #9662 from xjose93/GuildRename
...
Guild rename
2013-04-27 05:02:07 -07:00
xjose93
d7e9d1bafb
Core/World: Improvements in Autobroadcast system (dropped from world database and moved to auth database, added realmid and weight columns)
2013-04-25 22:54:20 +02:00
Bezo
7542049eba
[Ip2nationLock] Implement the ip2nation lock country.
2013-04-22 15:53:48 +02:00
xjose93
678cade116
Core/Commands: rename guilds (.guild rename "old guildname" "new guildname")
2013-04-19 23:21:23 +02:00
Spp
d7d62e4248
Core: Fix compile with WITH_COREDEBUG option enabled
2013-03-26 19:34:49 +01:00
Spp
3c6c8c1117
Core/Misc: Remove the use of logging system from WPFatal (Fixes tools compile)
...
Closes #9501
2013-03-26 09:44:01 +01:00
Spp
1a6a23ec96
Core/Misc: Minor optimizations (+code changes to reduce differences with 4.3.4 branch)
...
Core/Logging: Create new logger type "Cheat". Will be used to log all cheat attempts
2013-03-25 13:26:48 +01:00
Nay
4e1a4b3ce4
Core/DB: Fix a table name in CHAR_SEL_MAIL_LIST_INFO
2013-03-17 18:19:15 +00:00
Bezo
228d9803f3
Scripts/Commands: Add .list mail $char/$guid command
...
Prints a list of mails received by the characters
Closs #9421
2013-03-17 17:32:24 +00:00
Vincent_Michael
4ee0a4a446
Revert "Core/Commands: Optimize for command .npc near"
...
This reverts commit 4e789d4c5c .
2013-03-09 23:28:32 +01:00
Vincent_Michael
4e789d4c5c
Core/Commands: Optimize for command .npc near
2013-03-09 23:05:27 +01:00
Vincent_Michael
8aaaaedbdd
Core: Fix warnings for msvc
2013-03-09 01:49:05 +01:00
Nay
41c7f35a31
Merge pull request #9385 from thomas007788/Doxygen
...
First step of comment style refactoring to doxygen-style.
2013-03-08 16:25:05 -08:00
Nay
c7463c5f6c
Buildsystem: Add support for compiling with MinGW on Windows
...
Tested with:
- Windows 8 x64
- MySQL 5.5.30 win32
- OpenSSL 1.0.1c (32 bits)
- No PCH
- MinGW with GCC 4.7.0
TODO:
- Fix compile/link with PCH enabled
- Fix compile with WheatyExceptonionReport enabled (ignored for now)
- Fix compile of .rc files (ignored for now)
- Test with more platforms
2013-03-09 00:12:50 +00:00
Nefarion
49fd11ab5a
First step of comment style refactoring to doxygen-style.
2013-03-08 21:55:37 +01:00
WyldePointer
8c4dd52d45
Update SQLOperation.h
...
Extra ';'.
2013-03-06 13:48:49 +05:00
Shauren
f37e0ee838
Core/Players: Implemented converting quests on faction change (keeping old faction quests in disabled state - not loaded during login) and restoring them if changing back to original faction
...
Closes #890
Closes #9248
2013-03-04 14:15:52 +01:00
click
58ac8207ec
Core: Add support for compiling core in a cygwin-environment
...
- rename/readd/add G3D-patches
- give a history on the changes (some G3D-changes didn't even HAVE a patch - boo!)
DON'T MESS ABOUT WITH CHANGING DEP/* LIBRARIES AND NOT LEAVING A DIFF IN THE SOURCETRE, MKAY!?
2013-02-27 22:31:25 +01:00
Spp
480c6cf4dd
Core/RBAC: Add .reload rbac command and prevent possible crash if rbac_permissions has wrong data
2013-02-27 03:30:53 +01:00
Shauren
6a5c9bc5e3
Core/DBLayer: Made connection types consistent in DatabaseWorkerPool
2013-02-25 17:43:04 +01:00
Spp
fd882a4e61
Core/Logging: Fix mem leak. Thanks to @Sar777 for the report
2013-02-21 01:10:58 +01:00
Nay
4e59dab703
Core/DBLayer: Comment out MySQL client/server version mismatch warning
...
MySQL version above 5.1 IS required in both client and server and there is no known issue with different versions above 5.1
2013-02-20 01:17:26 +00:00
Nay
028c72a9f2
Core/NPCs: Refactor equipments
...
- creature_template.equipment_id deleted
- creature_equip_template.entry == creature_template.entry
- id field added to creature_equip_template -> PK(entry, id)
- id field in creature_equip_template starts at 1
- creature.equipment_id references id of creature_equip_template
- creature.equipment_id = 0 means no equipment at all (default 1)
- creature.equipment_id = -1 means pick a random equipment from creature_equip_template
- add equipment info to .npc info command
While table creature_equip_template got bigger in size, this system is easier to mantain and allows creatures to have a random template from a group of equipments
2013-02-18 12:24:18 +00:00
Nay
f902362ad1
Core/DBLayer: Avoid a crash when calling mysql_get_server_version if connection was not open
2013-02-08 23:06:25 +00:00
Shauren
b6e56e42ea
Core/Auth: Reverted part of fb43a92cc2 - session key is still needed after logging in to be able to switch realms
2013-02-08 01:03:56 +01:00
Shauren
fb43a92cc2
Core/Accounts: sessionkey field in account table is only a temporary storage to pass data from authserver to worldserver and should only be used as such. Clearing sessionkey from database after a successful login to prevent possible exploits.
2013-02-07 16:15:23 +01:00