Spp
d59c5e627f
Fix warnings
2011-12-15 11:12:15 +01:00
Shauren
7147063c17
Core/Instances: Required achievement to enter instance should only apply to group leader, original patch by kandera
...
Closes #4279
2011-12-12 18:20:46 +01:00
Shauren
3ff67fb257
Core/Achievements: Refactored HasAchieved to take only achievement id as parameter
2011-12-12 18:19:26 +01:00
Shocker
196159dbcf
Core/Player: Remove unused Player method TeleportOutOfMap
2011-12-10 20:29:23 +02:00
Shocker
d4921e0f25
Core/Misc: Small english fix
2011-12-10 20:05:51 +02:00
Nay
15c24a4e97
Core/Quest: Consistency, god damn..
...
(RequiredSourceItemIdCount -> RequiredSourceItemCount; quest_template did not change)
2011-12-06 10:56:37 +00:00
Shauren
ea7ec9e7a6
Core/Spells: Fixed resurrection order (teleport, then set alive), fixes aggroing creatures nearby and during The Lich King's outro - players who fell off the platform
2011-12-05 19:25:52 +01:00
Nay
a0226ec5d1
Core/Quests: Fix some variable renaming fails in quest related code
...
Closes #4183
2011-12-03 21:30:30 +00:00
Nay
310af5bb76
Core/DBLayer: Yet Another Typo Fix To Player::SaveToDB()
2011-11-26 15:40:10 +00:00
Machiavelli
fcd28e5dad
Core/DBLayer: Fix player saving
2011-11-26 15:15:04 +01: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
kaelima
a919265623
Core/DB: Fix character creation in Player::SaveToDB.
...
And some misc comments/whitespaces
2011-11-26 01:53:44 +01:00
Machiavelli
72675d55d8
Core/DBLayer: Use prepared statements in Player::SaveToDB. Also split the function up between an INSERT part (new character creation) and UPDATE part (existing character).
2011-11-25 15:14:00 +01:00
Stalker_Riddick
d8ffeed476
Core/Quests: Add new field RequiredClasses for quest_template Credits to
...
NoFantasy.
* SkillOrClass is converted to RequiredSkill (and then field can contain skill id only)
* Field ZoneOrSort has no longer a function in quest requirement, and RequiredClasses must be used instead where class limits are expected.
To restrict a quest to one class or more, use bitmask of class in RequiredClasses. RequiredSkill works like before.
Signed-off-by: NoFantasy <nofantasy@nf.no >
Signed-off-by: Stalker_Riddick <nenad_kuza@hotmail.com >
2011-11-25 13:11:53 +00:00
megamage
f116960b2a
Remove a check which always returns true. Correct me if I am wrong.
2011-11-23 13:21:10 -05: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
megamage
f091360940
Do not allow base map be accessed from outside if map is instanceable.
2011-11-23 13:14:59 -05:00
megamage
0eb193f2b4
Revert 2f83db28f2. Note that here we only want to check baseMap->canEnter, but not instanceMap->canEnter.
...
Thanks to SignFinder.
2011-11-23 12:55:00 -05:00
megamage
98be413ce0
Clean up very some confusing MapManager functions (create/find map/base map).
2011-11-23 12:45:59 -05:00
Kandera
e814cd8c35
Core/Mechanic: Resurrection (fixed the issue with players ressing in place then being ported to the person who revived them.)
2011-11-18 14:57:30 -05:00
megamage
07cf71fdd4
Some cleanup of add/remove to/from map.
2011-11-11 17:50:26 -05:00
kaelima
b5cb41b4ea
Core/Player: Make chat tag (last byte in SMSG_MESSAGECHAT) a bitmask.
2011-11-07 07:16:31 +01:00
kaelima
526ada47e1
BG/Isle of Conquest:
...
- Fix seaforium bombs.
- Add flag pole for Refinery
- Some cleanup
Also correct a typo in 0083290322
2011-10-29 15:16:13 +01:00
kaelima
0083290322
Core/Player: Fix gaining fishing skill of wielding fishing pole in offhand
...
Closes #3717
2011-10-29 15:07:08 +01:00
Spp
b5e8a192b1
Core/Calendar: Send map raid reset only once
...
Also some minor changes here and there
2011-10-18 14:23:08 +02:00
Spp
e5fb7f093f
Minor cleanups here and there
2011-10-18 11:13:56 +02:00
Spp
ee69fc940e
Core/Items: Split SetSoulboundTradeable in two functions (Set and Clear)
...
Note: this is mostly for clarify action being done: ClearSoulboundTradeable better than SetSoulboundTradeable(..., ..., false)
2011-10-18 10:44:45 +02:00
Fredi Machado
97142102e0
Core/Misc: Added 'f' after float values
2011-10-17 07:38:27 -03:00
megamage
c8251bc619
Remove some "_" from private methods as required by TC standards. Thanks to Shauren for pointing out.
2011-10-13 17:01:55 -04:00
megamage
bcc55489f8
More cleanup of CanSeeOrDetect
2011-10-13 14:02:07 -04:00
megamage
5912e2444d
Some cleanup of CanSeeOrDetect code.
2011-10-13 13:26:27 -04: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
megamage
0bb86a3e97
Update code related to character name data.
...
Note: need to add/delete data when character is created/deleted.
2011-10-08 16:09:12 -04:00
Machiavelli
82dbe7bc17
Core: Fix some build errors after code style cleanup
2011-10-08 13:20:04 +02:00
megamage
679802ecf4
Merge pull request #3400 from Bootz/master
...
REPO: Code-Style fixes... (Part duece)
2011-10-07 17:56:47 -07: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
megamage
1e44044a8f
Merge pull request #3281 from n4ndo/master
...
Fix Crash in ProcessQueryCallbacks
2011-10-07 15:19:21 -07:00
root
8a0e7537b5
Core/Misc: Small fixes after recent pulls
2011-10-07 20:07:07 +03:00
megamage
42d1562183
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore.git
...
Conflicts:
src/server/game/Entities/Player/Player.cpp
2011-10-07 12:48:20 -04:00
Shocker
7f89678bcd
Merge pull request #3278 from lost-illusion/master
...
CleanUp
2011-10-07 09:28:10 -07:00
Bootz
81c0a3a847
REPO: code-style clean-up
...
* Fixed pPlayer->player
* Fixed pCreature->creature
~DevNote: codestyle for Player should be (*player), not *plr or *p...
same goes for Creatures (*creature)... more cleaning needed.
We've way too many codestyles happening here.
2011-10-07 11:08:09 -05:00
Bootz
96d7a1e970
REPO: code-style clean-up
...
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
megamage
7f4be7e93a
Fix a crash caused by items with 0 price.
2011-10-03 08:43:21 -04:00
n4ndo
d1370a5e0a
Fix Crash in ProcessQueryCallbacks
2011-09-30 10:57:02 -05:00
unknown
8acf07dbab
Random minor code cleanup
2011-09-29 22:35:00 +04: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
megamage
2730d51266
Fix possible total price overflow when buying items. Fix #3137 .
...
Thanks to BroodWyrm for finding out the problem.
2011-09-28 16:03:46 -04:00
Spp
71228f90bb
Core/Weather: Move static function to WeatherMgr.
2011-09-28 11:55:25 +02:00
Spp
b93067350c
Core/WeatherMgr: singleton converted to namespace with free functions. Note how RAII saves your life and removes the need in explicit delete :)
2011-09-28 11:38:56 +02:00