Commit Graph

9315 Commits

Author SHA1 Message Date
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
silinoron
a094d3e281 Properly initialize instance scripts with the appropriate map id to avoid loadup errors.
--HG--
branch : trunk
2010-08-09 10:37:28 -07: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
Brian
45bb540b02 Added tag 335a-stable for changeset be74b1c64536
--HG--
branch : trunk
2010-08-09 09:54:52 -06:00
click
72d27a34fd Clean up some doubledefined ScriptPCH.h includes
--HG--
branch : trunk
2010-08-09 16:24:13 +02: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
Brian
4688d5ab27 * Fix genrev not being found under Linux
* Thanks woron

--HG--
branch : trunk
2010-08-09 05:01:05 -06: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
click
6729518dbb Buildsytem/All: Clean up main CMakeLists.txt a tad bit
- Move genrevision subproject into own folder to avoid clutter (less junk)
- Make options a bit more understandable (for CMake GUI)
- Arrange CMakeLists.txt actions into subsections so it's easier to understand

--HG--
branch : trunk
2010-08-09 05:22:58 +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
click
abd261b1a1 Replace (CR) character from all converted scripts and replace it with it's proper (LF) counterpart
- should fix the "linking scripts" failure (not tested)

--HG--
branch : trunk
2010-08-09 01:52:26 +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
Supabad
ebc0821e88 set correct script in class instance the eye,
remove line endings in g3dlite\g3d\ray.h

--HG--
branch : trunk
2010-08-08 22:49:20 +02:00
XTZGZoReX
d75011c4a8 * Fix SQL errors, again thanks to Machiavelli.
--HG--
branch : trunk
2010-08-08 22:05:28 +02:00
XTZGZoReX
93bca275aa * Fix possible crash, thanks to Machiavelli for spotting it.
--HG--
branch : trunk
2010-08-08 22:02:11 +02:00
XTZGZoReX
936e641b84 Fix.
--HG--
branch : trunk
2010-08-08 14:37:58 -05:00
Shauren
db75157d74 Fixed icons for windows
--HG--
branch : trunk
2010-08-08 21:04:56 +02:00
click
e15d1c37f4 Add a compileflag for authserver/worldserver/scripts that allows GCC-users to
catch (if any) a few bugs that are otherwise (normally) optimized away.
+ Adjust .hgignore slightly (remove lock on MSVC-projects, we have none)
+ Properly upload the corrected version of the whitespace-script (sigh...)

--HG--
branch : trunk
2010-08-08 21:02:56 +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
John Holiver
b3b7ffdfeb [FIX] Intravenous Healing Potion. Thanks Gyullo.
--HG--
branch : trunk
2010-08-08 15:59:17 -03: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
XTZGZoReX
48c4d4551c Fix.
--HG--
branch : trunk
2010-08-08 13:06:17 -05:00
azazel
39ab39f6cb Source code for the scripts converter.
NOTE: It is pretty straighforward and ugly, so make sure you check all the changes it does. :P

--HG--
branch : trunk
2010-08-09 00:01:35 +06: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
click
31160bcfce Buildsystem/Windows: Minor adjustment to use the correct "environment"-variable in both VS2008 and VS2010
--HG--
branch : trunk
2010-08-08 19:11:57 +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
click
8a69e50d6a Buildsystem/Windows: Put all finished products (compiled executables and external DLLs) in BUILDDIR/bin/<builddtype>/
(Some cleanups will be done to this later, this is just POC for developers)

--HG--
branch : trunk
2010-08-08 18:34:35 +02:00
XTZGZoReX
39c61157c5 Fixed *nix build.
--HG--
branch : trunk
2010-08-08 09:36:45 -05:00
Shauren
bd926de31c Correct include dirs in scripts and achievement_scripts build errors (because of Battleground renames)
--HG--
branch : trunk
2010-08-08 15:37:42 +02:00
Shauren
2ea64ea173 Added #ifdef _WIN32 to Windows-specific files
--HG--
branch : trunk
2010-08-08 15:17:27 +02:00
Shauren
68d24581aa PCH for scripts is now fixed
--HG--
branch : trunk
2010-08-08 15:07:35 +02:00
Shauren
03a7683ef2 Fix PCH for scripts
--HG--
branch : trunk
2010-08-08 14:12:11 +02:00
XTZGZoReX
eddeef5431 * Convert Ashenvale scripts.
--HG--
branch : trunk
2010-08-08 14:03:22 +02:00
XTZGZoReX
02121a026e * Convert npc_professor_phizzlethorpe.
--HG--
branch : trunk
extra : rebase_source : 55c18bea7f25634a86c028cff3bbf2a2c10420d3
2010-08-08 13:48:01 +02: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
John Holiver
99a054bfd2 Converting EasternKingdoms/ZulAman and EasternKingdoms/ZulGurub.
Need to recheck tomorrow. :)

--HG--
branch : trunk
2010-08-08 05:01:17 -03:00
John Holiver
0ce01cdb63 Missed a new file from EasternKingdoms/Uldaman
--HG--
branch : trunk
2010-08-08 03:41:36 -03: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