click
fdd8d2f3cc
Move around and do some changes to homebinding, thanks to Vladimir
...
* Adds support for spelltarget-positions
* Uses areaname instead of zonename on hearthstone
Add homebind animation to player, with cast from innkeeper
--HG--
branch : trunk
2010-04-18 23:20:07 +02:00
n0n4m3
be95faff23
Fix mail, professions, group loot, console spam, and some fixes. Big thx to TOM_RUS.
...
--HG--
branch : trunk
2010-04-11 11:16:42 +04:00
Spp
4635fbc020
Code Style (game + scripts only):
...
"!=" --> " != " (when needed)
" !=" --> " !="
"!= " --> "!= "
--HG--
branch : trunk
2010-04-08 08:20:08 +02:00
Spp
2454c290b8
Code Style (game + scripts only):
...
"==" --> " == " (when needed)
--HG--
branch : trunk
2010-04-07 23:25:02 +02:00
Spp
49d05ba9aa
Code style (game + scripts only):
...
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
2010-04-07 22:59:46 +02:00
Spp
d19e127080
Code style (game + scripts only):
...
"if(" --> "if ("
--HG--
branch : trunk
2010-04-07 19:14:10 +02:00
Spp
2e127f7a30
Code style (game + scripts only):
...
"while(" --> "while ("
--HG--
branch : trunk
2010-04-07 19:13:19 +02:00
silver1ce
fcaa318fb3
Update visibility system
...
*visibility updates and ai relocations processed simultaneously for each grid
*these operations now are not synchronized for different grids
*some changes into structure of visibility notifiers
--HG--
branch : trunk
2010-02-27 15:25:14 +02:00
Xanadu
f8d1920fa5
Yet more cleanup, mostly in the script system. This should conclude the script integration into core.
...
--HG--
branch : trunk
2010-02-05 13:01:32 +01:00
QAston
ac388e6f21
*Add support for spells in npc_trainer table with multiple SPELL_EFFECT_LEARN_SPELL, this fixes problems with learning such spells from trainers.
...
--HG--
branch : trunk
2010-01-31 17:24:13 +01:00
QAston
a331b67244
*Add error checks at spell_required table loading
...
*Allow spell_required table to store more than 1 spell learn requirement for a spell
*spell_required table data is removed from world.sql and since this commit the data for it should be maintained by db project you're using.
--HG--
branch : trunk
2010-01-30 19:25:04 +01:00
Anubisss
d9cb070215
Implement QueryResult_AutoPtr type which is ACE's reference counted auto_ptr(ACE_Refcounted_Auto_Ptr) for QueryResult pointers.
...
Use this auto_ptr for every DB queries(except QueryNamedResult yet).
This patch guarantees NO memory leaks from QueryResult pointers.
Thanks to raczman for the idea and for the helping to make this patch.
--HG--
branch : trunk
2010-01-23 14:45:58 +01:00
Rat
0cc053ea4d
*Integrate Script system to Core
...
-added ScriptMgr for loading scripts
-removed bindings
-moved script system to src/game
-moved scripts to src/scripts
-VC project files updated
-cmakes updated (not 100% done yet)
NOTE to Devs:
-file locations changed
-precompiled renamed to ScriptedPch
-ecsort_ai renamed to ScriptedEscortAI
-follower_ai renamed to ScriptedFollowerAI
-guard_ai renamed to ScriptedGuardAI
-simple_ai renamed to ScriptedSimpleAI
-sc_creature renamed to ScriptedCreature
-sc_gossip renamed to ScriptedGossip
-sc_instance renamed to ScriptedInstance
*use the new headers in scripts, thank you
NOTE to ALL:
cmake not fully tested, please report any errors with it
could make creashes, incompability
USE AT YOUR OWN RISK before further tests!!
--HG--
branch : trunk
2010-01-19 11:36:05 +01:00
QAston
f5dea61b66
*Remove some of no longer needed debug code.
...
--HG--
branch : trunk
2010-01-18 23:47:26 +01:00
QAston
a1bbbd1421
*Cleanups before delete after not successfull load pet from db. Thanks to Drahy for debug traces.
...
--HG--
branch : trunk
2010-01-18 23:12:35 +01:00
n0n4m3
99f66a6bc9
Updated copyright for new year.
...
--HG--
branch : trunk
2010-01-16 20:19:18 +03:00
Brian
6aea9f7a0a
* Fixed a small opps on the last commit with NPCHandler
...
* Fixed error in script boss_grand_champions (Thanks QAston)
--HG--
branch : trunk
2010-01-12 19:55:18 -07:00
Brian
f5b1534f22
* Renamed 3.2.2.a_old to 3.2.2a_old (proper format)
...
* Fixes cmake complaining :)
--HG--
branch : trunk
rename : sql/updates/3.2.2.a_old/6589_characters_bugreport.sql => sql/updates/3.2.2a_old/6589_characters_bugreport.sql
rename : sql/updates/3.2.2.a_old/6589_characters_character_action.sql => sql/updates/3.2.2a_old/6589_characters_character_action.sql
rename : sql/updates/3.2.2.a_old/6589_characters_character_aura.sql => sql/updates/3.2.2a_old/6589_characters_character_aura.sql
rename : sql/updates/3.2.2.a_old/6589_characters_character_spell_cooldown.sql => sql/updates/3.2.2a_old/6589_characters_character_spell_cooldown.sql
rename : sql/updates/3.2.2.a_old/6589_characters_characters.sql => sql/updates/3.2.2a_old/6589_characters_characters.sql
rename : sql/updates/3.2.2.a_old/6589_characters_groups.sql => sql/updates/3.2.2a_old/6589_characters_groups.sql
rename : sql/updates/3.2.2.a_old/6589_characters_instance_reset.sql => sql/updates/3.2.2a_old/6589_characters_instance_reset.sql
rename : sql/updates/3.2.2.a_old/6589_characters_spell.sql => sql/updates/3.2.2a_old/6589_characters_spell.sql
rename : sql/updates/3.2.2.a_old/6589_realmd_realmlist.sql => sql/updates/3.2.2a_old/6589_realmd_realmlist.sql
rename : sql/updates/3.2.2.a_old/6589_world_battleground_template.sql => sql/updates/3.2.2a_old/6589_world_battleground_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_creature_template.sql => sql/updates/3.2.2a_old/6589_world_creature_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_instance_template.sql => sql/updates/3.2.2a_old/6589_world_instance_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_item_template.sql => sql/updates/3.2.2a_old/6589_world_item_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_player_classlevelstats.sql => sql/updates/3.2.2a_old/6589_world_player_classlevelstats.sql
rename : sql/updates/3.2.2.a_old/6589_world_playercreateinfo_action.sql => sql/updates/3.2.2a_old/6589_world_playercreateinfo_action.sql
rename : sql/updates/3.2.2.a_old/6589_world_playercreateinfo_spell.sql => sql/updates/3.2.2a_old/6589_world_playercreateinfo_spell.sql
rename : sql/updates/3.2.2.a_old/6589_world_quest_template.sql => sql/updates/3.2.2a_old/6589_world_quest_template.sql
rename : sql/updates/3.2.2.a_old/6589_world_spell_bonus_data.sql => sql/updates/3.2.2a_old/6589_world_spell_bonus_data.sql
rename : sql/updates/3.2.2.a_old/6589_world_spell_elixir.sql => sql/updates/3.2.2a_old/6589_world_spell_elixir.sql
rename : sql/updates/3.2.2.a_old/6589_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6589_world_spell_proc_event.sql
rename : sql/updates/3.2.2.a_old/6597_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6597_world_spell_proc_event.sql
rename : sql/updates/3.2.2.a_old/6643_world_gameobject_template.sql => sql/updates/3.2.2a_old/6643_world_gameobject_template.sql
rename : sql/updates/3.2.2.a_old/6644_world_creature_template.sql => sql/updates/3.2.2a_old/6644_world_creature_template.sql
rename : sql/updates/3.2.2.a_old/6644_world_gossip_menu.sql => sql/updates/3.2.2a_old/6644_world_gossip_menu.sql
rename : sql/updates/3.2.2.a_old/6644_world_gossip_menu_option.sql => sql/updates/3.2.2a_old/6644_world_gossip_menu_option.sql
rename : sql/updates/3.2.2.a_old/6644_world_gossip_scripts.sql => sql/updates/3.2.2a_old/6644_world_gossip_scripts.sql
rename : sql/updates/3.2.2.a_old/6644_world_locales_npc_option.sql => sql/updates/3.2.2a_old/6644_world_locales_npc_option.sql
rename : sql/updates/3.2.2.a_old/6644_world_npc_gossip_textid.sql => sql/updates/3.2.2a_old/6644_world_npc_gossip_textid.sql
rename : sql/updates/3.2.2.a_old/6644_world_npc_option.sql => sql/updates/3.2.2a_old/6644_world_npc_option.sql
rename : sql/updates/3.2.2.a_old/6644_world_scriptname.sql => sql/updates/3.2.2a_old/6644_world_scriptname.sql
rename : sql/updates/3.2.2.a_old/6645_world_gameobject_template.sql => sql/updates/3.2.2a_old/6645_world_gameobject_template.sql
rename : sql/updates/3.2.2.a_old/6649_world_scriptname.sql => sql/updates/3.2.2a_old/6649_world_scriptname.sql
rename : sql/updates/3.2.2.a_old/6655_world_spell_bonus_data.sql => sql/updates/3.2.2a_old/6655_world_spell_bonus_data.sql
rename : sql/updates/3.2.2.a_old/6657_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6657_world_spell_proc_event.sql
rename : sql/updates/3.2.2.a_old/6664_world_quest_template.sql => sql/updates/3.2.2a_old/6664_world_quest_template.sql
rename : sql/updates/3.2.2.a_old/6665_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6665_world_creature_classlevelstats.sql
rename : sql/updates/3.2.2.a_old/6665_world_creature_template.sql => sql/updates/3.2.2a_old/6665_world_creature_template.sql
rename : sql/updates/3.2.2.a_old/6669_world_creature_template.sql => sql/updates/3.2.2a_old/6669_world_creature_template.sql
rename : sql/updates/3.2.2.a_old/6675_world_spell_linked_spell.sql => sql/updates/3.2.2a_old/6675_world_spell_linked_spell.sql
rename : sql/updates/3.2.2.a_old/6676_world_script_texts.sql => sql/updates/3.2.2a_old/6676_world_script_texts.sql
rename : sql/updates/3.2.2.a_old/6678_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6678_world_creature_classlevelstats.sql
rename : sql/updates/3.2.2.a_old/6686_world_scriptname.sql => sql/updates/3.2.2a_old/6686_world_scriptname.sql
rename : sql/updates/3.2.2.a_old/6691_world_spell_proc_event.sql => sql/updates/3.2.2a_old/6691_world_spell_proc_event.sql
rename : sql/updates/3.2.2.a_old/6694_world_item_template.sql => sql/updates/3.2.2a_old/6694_world_item_template.sql
rename : sql/updates/3.2.2.a_old/6710_realmd_account_access.sql => sql/updates/3.2.2a_old/6710_realmd_account_access.sql
rename : sql/updates/3.2.2.a_old/6710_world_command.sql => sql/updates/3.2.2a_old/6710_world_command.sql
rename : sql/updates/3.2.2.a_old/6710_world_trinity_string.sql => sql/updates/3.2.2a_old/6710_world_trinity_string.sql
rename : sql/updates/3.2.2.a_old/6711_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6711_world_creature_classlevelstats.sql
rename : sql/updates/3.2.2.a_old/6712_realmd_account_access.sql => sql/updates/3.2.2a_old/6712_realmd_account_access.sql
rename : sql/updates/3.2.2.a_old/6739_world_script_waypoints.sql => sql/updates/3.2.2a_old/6739_world_script_waypoints.sql
rename : sql/updates/3.2.2.a_old/6742_world_script_texts.sql => sql/updates/3.2.2a_old/6742_world_script_texts.sql
rename : sql/updates/3.2.2.a_old/6742_world_script_waypoints.sql => sql/updates/3.2.2a_old/6742_world_script_waypoints.sql
rename : sql/updates/3.2.2.a_old/6742_world_scriptname.sql => sql/updates/3.2.2a_old/6742_world_scriptname.sql
rename : sql/updates/3.2.2.a_old/6748_world_command.sql => sql/updates/3.2.2a_old/6748_world_command.sql
rename : sql/updates/3.2.2.a_old/6751_world_creature_classlevelstats.sql => sql/updates/3.2.2a_old/6751_world_creature_classlevelstats.sql
2010-01-12 19:02:54 -07:00
win32
7c9f6b4bc3
Merge MaNGOS, Gossip System. Autor NoFantasy.
...
* DB support required
* Closes #859
--HG--
branch : trunk
2009-12-20 13:35:08 +02:00
n0n4m3
863fca80eb
Removed some redundant player->SaveToDB calls, original autor balrok
...
--HG--
branch : trunk
2009-12-17 07:56:20 +01:00
maximius
3f338cc1c3
*Massive cleanup redux.
...
--HG--
branch : trunk
2009-10-17 16:20:24 -07:00
maximius
e585187b24
*Backed out changeset 3be01fb200a5
...
--HG--
branch : trunk
2009-10-17 15:51:44 -07:00
maximius
26b5e033ff
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
...
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
2009-10-17 15:35:07 -07:00
megamage
e954904e6d
[8378] Use exceptions instead of explicit size checking for each packet Author: arrai
...
CHECK_PACKET_SIZE was pretty error prone; once it was forgotten mangosd
could crash due to the asserts in ByteBuffer.h. That was exploitable by
malicious players.
Furthermore, there were duplicate checks: Additionally to
CHECK_PACKET_SIZE, the ByteBuffer assertions keept an eye
on not exceeding the packet boundaries - just to crash the server for
sure in such a case.
To prevent memory leaks or other undesirable states, please read in
every handler all variables _before_ doing any concrete handling.
--HG--
branch : trunk
2009-08-19 16:26:22 -05:00
megamage
4a8a89e1db
[8103] More wide use IsInWorld checks and delayed at teleport operations. Author: Ambal
...
* IsInWorld used to prevent return unexpected not in world objects.
* Delayed operations need to process its in world state.
--HG--
branch : trunk
2009-07-01 18:36:03 -05:00
megamage
9b37ac896a
*Fix a typo in 3806 that makes players item is mailed back.
...
*Also a missing part of last rev.
--HG--
branch : trunk
2009-06-06 22:25:15 -05:00
megamage
ebfb4c0558
[7971] Implement support exotic pets limtations related to hunter telent 53270. Author: VladimirMangos
...
Note: before this commit hunters can tame exotic pets like any other.
After patch like not propertly contriolled pets will auto-dismiss at loading
if talent not learned.
--HG--
branch : trunk
2009-06-06 20:31:23 -05:00
megamage
711ae28947
[7942] Fixed typo: proffesion->profession
...
[7944] Replace 10 by MAX_UNIT_ACTION_BAR_INDEX in packet size of SMSG_PET_SPELLS.
Author: yad02
--HG--
branch : trunk
2009-06-02 17:50:12 -05:00
megamage
7bf03fbeb3
[7768] Add check to prevent set homebind to instance map. Author: VladimirMangos
...
--HG--
branch : trunk
2009-05-05 14:46:53 -05:00
QAston
6998da2028
*Fix chains of ice
...
*Correct typo in my prev commit-by megamage
*Fix hearthstone obtaining from innkeeper.
--HG--
branch : trunk
2009-05-04 18:31:37 +02:00
megamage
85fbe3ada2
[7740] More correct flags in trainer list data for profession ranks. Author: VladimirMangos
...
Note: this is not fix problem with gren show recently learned non-first rank of primary profession.
Thanks to Seizerkiller for help in reseach.
--HG--
branch : trunk
2009-05-01 01:33:08 -05:00
megamage
f9befe1d3d
[7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange. Author: VladimirMangos
...
--HG--
branch : trunk
2009-04-19 18:23:10 -05:00
megamage
3120221deb
*Note: this patch may do not have any use for TC.
...
[7645] Fixed problems wit temporary unsummoned pets and cleanup code. Author: VladimirMangos
* Save temporary unsummoned pet to current slot (instead non_in_slot mode) and
prevent save as current pet summoned while temporay unsummon (arena)
* Prevent overwrite temporary summoned pet data
* At player loading set temporary unsummoned pet data instead pet loading
if pet expected to be temporary unsummoned in current player state (loading in taxi flight/etc)
* Restore proper pet at arena leave and unsummon in arena summoned.
--HG--
branch : trunk
2009-04-11 14:47:38 -05:00
megamage
4d277430c5
[7644] Fixed pet slot values using in pet save. Author: VladimirMangos
...
Problem exist from client version switch when stable slot amount changed.
In result this has been source problems with stable use (3-4 slots) and possible pet lost in some cases
or "not save state" for summoned pets.
Use enums to avoid repeating problem, use more safe value for not-in-slot save (for summoned pets)
Fixed data preparing for MSG_LIST_STABLED_PETS.
--HG--
branch : trunk
2009-04-10 18:18:44 -05:00
QAston
20c02ef760
*Update of aura system.
...
--HG--
branch : trunk
2009-04-06 13:31:14 +02:00
megamage
4afd030b48
*Merge.
...
--HG--
branch : trunk
2009-03-31 14:17:57 -06:00
raczman
3f985645db
Added GO gossip menu support. Kudos and cookies to arrai.
...
--HG--
branch : trunk
2009-03-30 16:57:17 +02:00
megamage
1c2eab4110
*Fix a crash caused by pet.
...
*Make pet class derived from guardian class.
--HG--
branch : trunk
2009-03-25 21:32:34 -06:00
megamage
6e29ab4fbb
[7440] Use server-side only zone info. Optimize related calles in case zone and subzone use. Author: VladimirMangos
...
This in some cases make some zones not explorable if it not have server side data in current maps
but not allow cheating with zone set from client.
--HG--
branch : trunk
2009-03-11 16:17:37 -06:00
megamage
328345ac1a
[7403] much more unneeded includes removed Author: balrok
...
--HG--
branch : trunk
2009-03-08 13:05:56 -06:00
megamage
31637d4aac
*Merge.
...
--HG--
branch : trunk
2009-02-18 11:36:19 -06:00
KingPin
14234c86fa
Newline added to bottom of all files.
...
--HG--
branch : trunk
2009-02-17 20:07:49 -06:00
megamage
319f70fb76
[7283] Use map for trainer spells for fast find data by spell id. Author: zhenya
...
--HG--
branch : trunk
2009-02-16 20:10:04 -06:00
megamage
b8d4c24359
[7248] Check battlemaster_entry data at loading. Code cleanups. Author: zhenya
...
--HG--
branch : trunk
2009-02-09 20:09:03 -06:00
biglad
d8f0479c0a
* Fix bug where pet is lost while working in stables and mounted.
...
--HG--
branch : trunk
2009-01-24 12:52:33 +00:00
Drahy
5dab980495
* Updated copyright notice for new year (2009) part 2
...
* Changed mangos website
--HG--
branch : trunk
2009-02-04 12:42:26 +01:00
Drahy
7c19c420c6
* Updated copyright notice for new year (2009) part 1 - Mercurial cant convert all files at once
...
--HG--
branch : trunk
2009-02-04 12:04:12 +01:00
megamage
f7cfae4332
*Merge.
...
--HG--
branch : trunk
2009-01-25 16:38:51 -06:00
megamage
ef88b04451
*Update to Mangos 7183.
...
--HG--
branch : trunk
2009-01-25 16:35:14 -06:00
megamage
80263de422
Update to Trinity 863.
...
--HG--
branch : trunk
2009-01-16 14:32:47 -06:00