Commit graph

3277 commits

Author SHA1 Message Date
NoFantasy
45a2ee21ef [8623] Add function to update orientation of unit (for both server and client)
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-10-11 11:32:47 +02:00
NoFantasy
732bcfbbb6 [8622] Add own function to send AI_Reaction packet.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-10-11 00:01:49 +02:00
zhenya
4cc389ff71 [8621] Missing break.
Not affect anything but code style problem anyway.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-11 00:11:33 +04:00
Lynx3d
1fdf473bd8 [8620] Use platform independent by size types in extractor typedefs.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also use in same way size fixed types in windows case.
2009-10-10 20:22:29 +04:00
VladimirMangos
61e0bf532d [8619] Drop VC71 support in extractor, add some includes in VC project files. 2009-10-10 20:10:35 +04:00
tomrus88
e0476c7922 Updated to client build 10554. 2009-10-10 17:29:25 +04:00
tomrus88
f46c1aaabb Merge commit 'origin/master' into 330
Conflicts:
	src/game/MiscHandler.cpp
2009-10-10 17:28:59 +04:00
GalaxyMan
545218fda3 [8618] Implement glyph 42752
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also fix typo in mangos.sql.
2009-10-10 17:26:37 +04:00
Lutik
ddb67f69ca [8617] Update resilience affect for 3.2.x
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-10 14:55:58 +04:00
VladimirMangos
f5db4fc163 [8616] Some cleanups in WorldSession::SendMailTo 2009-10-10 12:16:49 +04:00
balrok
29e6601335 [8615] fixed wrong assert in av-code
when alliance captured snowfall and horde assaulted
this grave while assault in progress crashes could happen
2009-10-10 10:08:38 +02:00
VladimirMangos
17b0c43ea9 [8614] Simplify check, drop redundent break. 2009-10-10 11:40:44 +04:00
balrok
21de4570dc [8613] mail from battlemasters should be deleted after one day 2009-10-10 01:45:21 +02:00
balrok
caf4732e38 [8612] better error-check when getting bgTypeId from Battlemasterentry 2009-10-10 01:40:22 +02:00
balrok
d7e01c3e16 [8611] added new 322 value to MailStationery
also changed numbers from hexadecimal to decimal
2009-10-09 22:47:10 +02:00
balrok
4dc1df7d54 [8610] castchecks for recall spell for the av-trinket
this spell should be cast only in battlegrounds
and only after battleground started
2009-10-09 20:48:07 +02:00
LordJZ
bb10fada9a [8609] fixed typo in UpdateScore in last commit 2009-10-09 20:33:06 +02:00
balrok
45f6a474bf [8608] implement BattleGround Alterac Valley
sql won't be included - please look at your database
providers forum

also note, that creature_loot_template id 0
is used for the loot of dead players in this bg
(after a player died and you remove insignia from him..
he not only drops money - he drops some random items too)

further work must be done in better code for adjusting right
levels to creatures - maybe using something similar like it's
done in heroic instances

also quests and creatures needs some scripts in future

thanks to:
netsky - initial start of this patch
bogie - 2nd person writing on this patch
triply, kapatejib, vladimir - code review and suggestions
arrai - for his great tool and help
and all testers / code contributers - I won't write
down a list, else I would forget most probably one ^^
2009-10-09 18:18:22 +02:00
balrok
ed5130c1c1 [8607] more userfriendly eventcommands
.event start/stop will now output the started/stopped eventame+id
.event activelist got renamed to .event list with optional parameter "all"
so .event list - will list all active events
and .event list all - will list all events including inactive ones
2009-10-09 14:38:58 +02:00
VladimirMangos
f591211538 [8606] Restore seelction point around dest coordinates for TARGET_RANDOM_NEARBY_DEST
Thanks to qsa for pointing to problem.
2009-10-09 13:08:33 +04:00
VladimirMangos
c5bda77fe2 [8605] Check unused text/summon data in EventAI scripts. 2009-10-09 10:26:19 +04:00
arrai
fe1560a483 [8604] Consider random enchants in chatmessage validation 2009-10-09 02:14:09 +02:00
arrai
3e6b4b529e fixed considering chatmessages with a pipe character to be invalid
problem appeared only with ChatStrictLinkChecking.Severity = 2
2009-10-09 02:05:54 +02:00
balrok
c999490aa2 [8603] corrected comment of last commit
the problem was in Unit::setFeared
which got called after removing a fearaura

inside setFeared there is a check for isAlive()
which will return true in this case, cause m_deathState
is updated only after RemoveAllAurasOnDeath()

a fix could be to set m_deathState earlier, but
then auras which require a spellcast on remove
won't work anymore..
(not sure if we actualy have such auras)

but if in future more functions will require special code there,
moving the m_deathState setting should be considered

big thx to Naicisum for explanation and investigation
2009-10-09 02:01:16 +02:00
balrok
5a48fe3c96 [8602] update movement packet when unit dies
this avoids, that feared creatures walk away after dead
(happens often if a creature dies in fear)
2009-10-08 18:37:06 +02:00
VladimirMangos
308439a335 [8601] Fixed some movement *_ACK packets structure after switch. 2009-10-08 16:02:28 +04:00
balrok
49c52ddf9c [8600] allow unbinding instances also per map
so command can be called as
.instance unbind all
or
.instance unbind #mapid
now

output also the mapname next to the mapid
for the humanoid users among us ;)
2009-10-08 00:46:55 +02:00
balrok
dc96ddfbfb [8599] removed now unneeded parameter from GetBattleGroundQueueIdFromLevel
cause alterac valley is not handled special since 3.2.2
this function also works without bgtypeid parameter
2009-10-07 15:36:43 +02:00
tomrus88
90a80471f7 Merge commit 'origin/master' into 330 2009-10-07 16:37:49 +04:00
NoFantasy
0516ed3557 [8598] Clarify one error message and provide spellId in text.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-10-07 08:52:19 +02:00
Xadiaris
416f511419 [8597] Manually fix src/shared/revision_sql.h
It expected to be generated by git_id at [8596] commit
if use up-to-date git_id version...

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-07 09:06:34 +04:00
balrok
dc382abdf5 [8596] fixed query from last commit
now i also know what the error caused
old sql made "alter table `characters`.`bugreport`"
but my database wasn't supposed to be called "characters"
and the other db had an index defined over the type-field
2009-10-07 01:00:42 +02:00
balrok
6800ae932b [8595] fixed incompatible mysql
in 8589_06 i got an error:
ERROR 1170 (42000) at line 2: BLOB/TEXT column 'type' used in key specification without a key length

also added delete-queries for 8589_05
2009-10-07 00:31:27 +02:00
VladimirMangos
793102318e [8594] Resync command data in mangos.sql with code. 2009-10-07 01:59:45 +04:00
VladimirMangos
cbfb671af3 [8593] Fixed my typo in mangos.sql. :/ 2009-10-07 01:40:49 +04:00
balrok
8eb9d3edd8 [8592] added missing include 2009-10-06 23:09:29 +02:00
VladimirMangos
1d9a142237 [8591] Add switch sql update changes into mangos.sql/characters.sql 2009-10-07 00:59:15 +04:00
VladimirMangos
d38866cfbc [8590] Restore build at Unix/Linux. 2009-10-06 15:34:33 +04:00
tomrus88
c9636623bf Added support for 3.3.0 PTR client. 2009-10-06 13:44:48 +04:00
VladimirMangos
f37f27d3c2 [8589] Merge branch '320' - Switch to support client version 3.2.2A
You need extract new dbc/map/vmaps for correct work.
And apply ofc sql updates that including character convertion.

Special thanks to TOM_RUS for prepering this switch :)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-10-06 12:59:26 +04:00
VladimirMangos
58c1f1158a [8588] Bump for 0.15.0 development. 2009-10-06 12:08:13 +04:00
VladimirMangos
97381d3e68 [8587] MaNGOS 0.14 release. 2009-10-06 12:06:56 +04:00
ApoC
9e669137a1 [8586] Fixed crash when no event indexes loaded.
Minor coding style fixes.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-06 03:14:52 +02:00
ApoC
b9168145b5 [8586] Fixed sql query to be compatible with PGSQL.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-10-06 03:11:22 +02:00
VladimirMangos
a9af7f2b1c Use reset time for normal/heroic from new DBC. Improve basic support for raid difficalties. 2009-10-06 02:12:02 +04:00
Triply
a0079ed59d [8585] Fixed problem with guild_bank_rights not removed when guild master deleted rank. Problem reported by leak, Thx.
Signed-off-by: Triply <triply@getmangos.com>
2009-10-04 18:22:30 +02:00
VladimirMangos
9850551751 Small cleanupas in petition code. 2009-10-04 20:07:56 +04:00
tomrus88
3193896935 Some changes from 3.3.0, that applies to 3.2.2 as well. 2009-10-04 11:22:21 +04:00
tomrus88
d341702a11 Merge branch '320' of github.com:mangos/mangos into 320 2009-10-04 10:48:48 +04:00
tomrus88
a6c04f1667 - Fixed arena petitions (not tested). 2009-10-04 10:46:19 +04:00