Spp
23c4b1be25
Dungeon Finder: minor improvements and code clean-ups
...
- Initialize all packet size properly
- Updated all function documentation
- Add placeholders to all LFG opcodes
- Use lowguids wherever is possible
--HG--
branch : trunk
2010-08-11 13:25:14 +02:00
Spp
ac4df5204b
Dungeon Finder: Improve Join and UpdateRoles and move queue to main class
...
--HG--
branch : trunk
2010-08-11 12:44:49 +02:00
Spp
4b62042b28
Dungeon Finder: Make player internal Lfg data private and some minor cleanups
...
--HG--
branch : trunk
2010-08-11 11:54:03 +02:00
Spp
2638d24926
Dungeon Finder: redo CheckGroupRoles, sometimes it was accepting wrong roles as valid
...
--HG--
branch : trunk
2010-08-11 11:27:36 +02:00
Shauren
36d1405b52
Fixed bug allowing players to enter instance even if selected difficulty was disabled
...
Added map id to log when player tries to enter disabled map
--HG--
branch : trunk
2010-08-10 19:40:35 +02:00
Shauren
88965d9419
Fixed honor points and arena points displaying in currency tab
...
Currencies lost (spent all in vendor) are not removed from known currencies tab, they now display 0 count
--HG--
branch : trunk
2010-08-10 13:26:07 +02:00
click
a8303b38e6
Merge
...
--HG--
branch : trunk
2010-08-09 23:17:02 +02:00
click
816acb11a4
BuilSystem: Clean up some small but annoying things from my earlier commits:
...
- return to using default CMake buildconfiguration (release, relwithdebinfo, debug, minsizerel
Note: These are not yet populated as buildmodes : relwithdebinfo / minsizerel (will be created later)
- change it so that genrev creates revision.h properly (after genrev has been compiled successfully)
- split scripts/game PCH creation depending on which part a user wants to compile (default on) (thanks shauren)
--HG--
branch : trunk
2010-08-09 23:14:16 +02:00
XTZGZoReX
cecb8117d5
Aaand, finally, scripting is working. Thanks to Derex for helping with debugging/suggestions.
...
--HG--
branch : trunk
2010-08-09 16:07:03 -05:00
click
4b5c9552cb
BuildSystem/Windows: Add RelWithDebInfo configuration-type (reverts previous commit for fixups with RelWithDebInfo buildtype)
...
+ Stuff revision.h in under genrev project (yay, another project removed from projectlist)
--HG--
branch : trunk
2010-08-09 21:36:03 +02:00
click
3d48c480ce
Fix: append a .c_str() on a variable in Spell.cpp (no more grumpy compilers) - Thanks to StormByte for the heads up
...
Fixes issue 3343
--HG--
branch : trunk
2010-08-09 20:20:55 +02:00
XTZGZoReX
70fc93da7b
* Get rid of virtual function calls completely, seeing as they weren't necessary. Thanks to Ge0rG and Derex for enlightening me about this.....
...
* Also add map ID for EoE instance script (thanks Silinoron).
--HG--
branch : trunk
2010-08-09 19:53:21 +02:00
Brian
1f52153410
Backed out changeset f751065ec933
...
Spell rep rate was already implemented by QAston
--HG--
branch : trunk
2010-08-09 11:33:31 -06:00
azazel
f5399618d9
Implement reputation rates and aura effects for Spell::EffectReputation() (thanks Lynx3d)
...
--HG--
branch : trunk
2010-08-09 23:22:31 +06:00
azazel
5643dee52f
Avoid explicit client max level use for selction of bg/arena bracket.
...
This allows to use brackets like 85-89 existing for some maps
(if server allows levels more than 80) (thanks VladimirMangos)
--HG--
branch : trunk
2010-08-09 23:09:36 +06:00
azazel
464c0c1611
* Process GAMEOBJECT_TYPE_FISHINGHOLE in normal way as for other GO's (thanks NoFantasy)
...
* Improve process for Use() of GAMEOBJECT_TYPE_SUMMONING_RITUAL (thanks NoFantasy)
--HG--
branch : trunk
2010-08-09 22:50:30 +06:00
XTZGZoReX
099b66a899
* Fixed issue in OutdoorPvPMgr::LoadTemplates. (Note to self: don't take the address of a temporary, damnit)
...
--HG--
branch : trunk
2010-08-09 14:58:50 +02:00
XTZGZoReX
a038772b3e
* Remove Player::SetSession (obsolete and dangerous function).
...
* Speed up map script searches (avoid redundant loops).
* Fix linking errors for ScriptObject::RegisterSelf.
--HG--
branch : trunk
extra : rebase_source : 2ba48fdab4e119c6de7fe64e47c5b8115fdac1b5
2010-08-09 11:07:23 +02:00
Shauren
4392b95703
Fixed scriptName check in achievement_criteria_data loader
...
--HG--
branch : trunk
2010-08-09 10:56:59 +02:00
QAston
fa8a826656
*(More) correct implementation of SPELL_EFFECT_PULL_TOWARDS_DEST(145)
...
--HG--
branch : trunk
2010-08-09 02:31:42 +02:00
QAston
910864c856
*Missing ScriptName column in achievement_criteria_data loader.
...
--HG--
branch : trunk
2010-08-09 00:12:54 +02:00
Shauren
ede953500b
Fixed line endings in 9237_world_outdoorpvp_template.sql
...
Remove no longer existing scripts from ScriptLoader
--HG--
branch : trunk
2010-08-08 22:57:07 +02:00
XTZGZoReX
93bca275aa
* Fix possible crash, thanks to Machiavelli for spotting it.
...
--HG--
branch : trunk
2010-08-08 22:02:11 +02:00
azazel
e5c797cef6
* Fix remaining errors in scripts project
...
* Remove now obsolete ScriptedInstance.h file
--HG--
branch : trunk
2010-08-09 00:56:10 +06:00
QAston
617a56ba29
*Implement spell casting on transports (no more out of range error, etc)
...
*Add MO transports to ObjectAccessor storage
*Add functions Position::RelocateOffset and Position::GetPositionOffsetTo to help offset manipulations - BIG thanks to azazelkon for creating formulas!
*Add function to output debug info for MovementInfo and SpellCastTargets
*Throw ByteBufferException on incorrect packGUID read
*Add rfinish function to finish bytebuffer read.
--HG--
branch : trunk
2010-08-08 20:32:14 +02:00
click
1f80c7b3c0
Sourcefile sleanups -> tabs to spaces, remove whitespace - also update the cleanupscripts very slightly
...
--HG--
branch : trunk
2010-08-08 19:45:53 +02:00
azazel
590199d8e1
* Rename InstanceData to InstanceScript
...
* Rename *mgr to their new names in scripts project
* Mass convert all the scripts (NEEDS THOROUGH TESTING, because it was done automatically) Please, report bugs on issue tracker.
--HG--
branch : trunk
rename : src/server/game/Instances/InstanceData.cpp => src/server/game/Instances/InstanceScript.cpp
rename : src/server/game/Instances/InstanceData.h => src/server/game/Instances/InstanceScript.h
2010-08-08 22:54:58 +06:00
XTZGZoReX
39c61157c5
Fixed *nix build.
...
--HG--
branch : trunk
2010-08-08 09:36:45 -05:00
Shauren
0758e9f78a
More cleaning for CMakeLists
...
Moved ScriptPCH from game directory to scripts
--HG--
branch : trunk
rename : src/server/game/PrecompiledHeaders/ScriptPCH.cpp => src/server/scripts/PrecompiledHeaders/ScriptPCH.cpp
rename : src/server/game/PrecompiledHeaders/ScriptPCH.h => src/server/scripts/PrecompiledHeaders/ScriptPCH.h
2010-08-08 12:41:22 +02:00
XTZGZoReX
2974727ad4
* Useless declaration.
...
--HG--
branch : trunk
2010-08-08 05:39:59 +02:00
XTZGZoReX
87965e764e
* Remove empty ScriptedSmartAI files.
...
--HG--
branch : trunk
2010-08-08 05:36:51 +02:00
XTZGZoReX
9083271a2f
* Some singleton renames for consistency:
...
accmgr -> AccountMgr
objmgr -> ObjectMgr
auctionmgr -> sAuctionMgr
spellmgr -> sSpellMgr
CreatureEAI_Mgr -> sEventAIMgr
achievementmgr -> sAchievementMgr
gameeventmgr -> sGameEventMgr
sInstanceSaveManager -> sInstanceSaveMgr
poolhandler -> sPoolMgr
--HG--
branch : trunk
2010-08-08 05:25:45 +02:00
XTZGZoReX
93fc24ece9
* Remove lame ScriptedInstance define.
...
--HG--
branch : trunk
2010-08-08 05:09:27 +02:00
XTZGZoReX
e03c873bcf
* Move weather management to new WeatherMgr (yes, I care that much about the weather - I really do).
...
--HG--
branch : trunk
2010-08-08 05:06:13 +02:00
XTZGZoReX
18dce8897f
* Rename: Sha1Hash -> SHA1Hash.
...
--HG--
branch : trunk
2010-08-08 04:49:04 +02:00
XTZGZoReX
909e332579
* Rename: BattleGround -> Battleground.
...
--HG--
branch : trunk
2010-08-08 04:37:24 +02:00
click
3d1efa6ed7
Renaming a little bit more - this IS war!
...
--HG--
branch : trunk
rename : src/server/game/BattleGrounds/BattleGroundQueue.cpp => src/server/game/Battlegrounds/BattlegroundQueue.cpp
rename : src/server/game/BattleGrounds/BattleGroundQueue.h => src/server/game/Battlegrounds/BattlegroundQueue.h
2010-08-08 04:27:32 +02:00
click
4cb0f25b94
Some consistency-cleanups on the TC battleground (This means war?)
...
--HG--
branch : trunk
rename : src/server/game/BattleGrounds/ArenaTeam.cpp => src/server/game/Battlegrounds/ArenaTeam.cpp
rename : src/server/game/BattleGrounds/ArenaTeam.h => src/server/game/Battlegrounds/ArenaTeam.h
rename : src/server/game/BattleGrounds/BattleGround.cpp => src/server/game/Battlegrounds/Battleground.cpp
rename : src/server/game/BattleGrounds/BattleGround.h => src/server/game/Battlegrounds/Battleground.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundAA.cpp => src/server/game/Battlegrounds/Zones/BattlegroundAA.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundAA.h => src/server/game/Battlegrounds/Zones/BattlegroundAA.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundAB.cpp => src/server/game/Battlegrounds/Zones/BattlegroundAB.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundAB.h => src/server/game/Battlegrounds/Zones/BattlegroundAB.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundAV.cpp => src/server/game/Battlegrounds/Zones/BattlegroundAV.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundAV.h => src/server/game/Battlegrounds/Zones/BattlegroundAV.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundBE.cpp => src/server/game/Battlegrounds/Zones/BattlegroundBE.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundBE.h => src/server/game/Battlegrounds/Zones/BattlegroundBE.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundDS.cpp => src/server/game/Battlegrounds/Zones/BattlegroundDS.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundDS.h => src/server/game/Battlegrounds/Zones/BattlegroundDS.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundEY.cpp => src/server/game/Battlegrounds/Zones/BattlegroundEY.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundEY.h => src/server/game/Battlegrounds/Zones/BattlegroundEY.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundIC.cpp => src/server/game/Battlegrounds/Zones/BattlegroundIC.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundIC.h => src/server/game/Battlegrounds/Zones/BattlegroundIC.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundNA.cpp => src/server/game/Battlegrounds/Zones/BattlegroundNA.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundNA.h => src/server/game/Battlegrounds/Zones/BattlegroundNA.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundRB.cpp => src/server/game/Battlegrounds/Zones/BattlegroundRB.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundRB.h => src/server/game/Battlegrounds/Zones/BattlegroundRB.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundRL.cpp => src/server/game/Battlegrounds/Zones/BattlegroundRL.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundRL.h => src/server/game/Battlegrounds/Zones/BattlegroundRL.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundRV.cpp => src/server/game/Battlegrounds/Zones/BattlegroundRV.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundRV.h => src/server/game/Battlegrounds/Zones/BattlegroundRV.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundSA.cpp => src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundSA.h => src/server/game/Battlegrounds/Zones/BattlegroundSA.h
rename : src/server/game/BattleGrounds/Zones/BattleGroundWS.cpp => src/server/game/Battlegrounds/Zones/BattlegroundWS.cpp
rename : src/server/game/BattleGrounds/Zones/BattleGroundWS.h => src/server/game/Battlegrounds/Zones/BattlegroundWS.h
2010-08-08 04:12:18 +02:00
XTZGZoReX
d15556589d
* Move BattleGroundQueue to its own cpp/h.
...
--HG--
branch : trunk
2010-08-08 03:41:46 +02:00
click
9a8342abb7
Buildsystem: Make core buildable under Windows again
...
- changed OpenSSL detection of headers around slightly
- changed paths to MySQL-headers on Windows in a few files
- removed precompiled header for scripts being built when building game
- added requirement of building revision.h to be built before building shared
- added some generic buildfixes (thanks zor)
- use resource-files, allowing for icons to show up on windows
--HG--
branch : trunk
2010-08-08 03:33:21 +02:00
silinoron
36fffd9550
Properly fix problems with applying/removing mods on disarmed items.
...
--HG--
branch : trunk
2010-08-07 16:40:33 -07:00
silinoron
5aa6bb2169
Fix an exploit allowing druids to gain substantial stat increases.
...
Fixes issue #3316
--HG--
branch : trunk
2010-08-07 16:19:52 -07:00
Shauren
d3712984c1
Fixed build errors in AchievementMgr
...
--HG--
branch : trunk
2010-08-07 23:46:00 +02:00
Shauren
b56cfe03d5
Implemented ACHIEVEMENT_CRITERIA_TYPE_BG_OBJECTIVE_CAPTURE
...
Added support for "in single battleground" and "without dying" requirement to battleground achievements
Add examples of scripting achievement (School of Hard Knocks, Storm Glory)
--HG--
branch : trunk
2010-08-07 18:31:06 +02:00
XTZGZoReX
9794e99d8a
* Some fixes and cleanups.
...
--HG--
branch : trunk
2010-08-07 17:58:45 +02:00
Shauren
431301c1b2
Added support for scripting achievement criteria checks using ACHIEVEMENT_CRITERIA_DATA_TYPE_SCRIPT (11)
...
--HG--
branch : trunk
2010-08-07 16:48:34 +02:00
XTZGZoReX
ed4e49a4e7
* OutdoorPvP implementations now reside in the script library.
...
--HG--
branch : trunk
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPEP.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPEP.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPEP.h => src/server/scripts/OutdoorPvP/OutdoorPvPEP.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPHP.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPHP.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPHP.h => src/server/scripts/OutdoorPvP/OutdoorPvPHP.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPNA.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPNA.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPNA.h => src/server/scripts/OutdoorPvP/OutdoorPvPNA.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPSI.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPSI.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPSI.h => src/server/scripts/OutdoorPvP/OutdoorPvPSI.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPTF.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPTF.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPTF.h => src/server/scripts/OutdoorPvP/OutdoorPvPTF.h
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPZM.cpp => src/server/scripts/OutdoorPvP/OutdoorPvPZM.cpp
rename : src/server/game/OutdoorPvP/Zones/OutdoorPvPZM.h => src/server/scripts/OutdoorPvP/OutdoorPvPZM.h
2010-08-07 16:38:22 +02:00
click
b0890c32fc
Add #ifdef SCRIPTS to ScriptLoader-functions when using with -DSCRIPTS=0
...
--HG--
branch : trunk
2010-08-07 15:49:28 +02:00
XTZGZoReX
14aeb09945
* This should help with the Linux build; thanks to Machiavelli/click.
...
* VehicleScript is now bound to the database (`creature_template`.`ScriptName`) and only works for creature vehicles.
--HG--
branch : trunk
2010-08-07 15:26:24 +02:00
click
f296addc47
Correction on previous commit: use uint32 and not simple ints
...
--HG--
branch : trunk
2010-08-07 15:04:28 +02:00