Commit graph

2154 commits

Author SHA1 Message Date
VladimirMangos
a7cbc7d8ec [8100] Include known MaNGOS EULA. 2009-07-02 09:18:41 +04:00
VladimirMangos
008240678b [8099] Small not detected uint16 cases for spell ids. 2009-07-02 09:18:40 +04:00
VladimirMangos
c9fbd99579 [8098] Support uint32 spell ids in code.
* Propertly work with uint32 spell ids in player action bar
* Fix in same time bug with not save equipment set button with id==0
* Merge misc field in character_action and playercreateinfo_action to action field as 3 byte
* Propertly load uint32 spell ids from character_spell
* Fixed types for some pet/creature related structure for spell id storing.
2009-07-02 09:18:39 +04:00
ApoC
f1284882a9 [8097] Updated comment based on research.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:38 +04:00
ApoC
2d33a8d220 [8096] Fixed dummy effect for 34665
* Removed dynamic cast
* Little effect code clean up

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:38 +04:00
freghar
81d0e303d2 [8095] Added gitignore for src/bindings/
Signed-off-by: freghar <compmancz@gmail.com>
2009-07-02 09:18:37 +04:00
VladimirMangos
3cdc1f2792 [8094] Overwrite max durability for item at item loading from prototype. 2009-07-02 09:18:37 +04:00
ApoC
d09b4b96be [8093] Fixed effect of spell 25771.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:36 +04:00
VladimirMangos
8e05eb53d3 [8092] No, one more not safe place found.
Patch inspired bug report connected with alt.patch written by Machiavelli.
2009-07-02 09:18:35 +04:00
VladimirMangos
5a8640a69b [8091] Check bag size at item protos loading and item slots at invetory loading.
This is single not safe places in work with bag slots in current code.
2009-07-02 09:18:34 +04:00
VladimirMangos
fad9c4c0b3 [8090] Fixed build problems. 2009-07-02 09:18:34 +04:00
VladimirMangos
cceb334533 [8089] Implement SPELL_EFFECT_CHARGE2(149), more correct monster flags use in charge effects.
Last fix let for example correct charge for flight creatures...
2009-07-02 09:18:33 +04:00
ApoC
ed8a3a39cc [8088] Fixed min_range checking for spell casts.
Skip in check values 0.0f from DBC, this spells
do not have min range limitation.

This should fix some inappropriate target too close messages.

Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:32 +04:00
NoFantasy
55a383cbd0 [8087] Cleanup code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:32 +04:00
ApoC
f232421069 Allow NPCs to apply taunt.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:31 +04:00
Maxxie
b7f699d89b [8086] Restore work spell 11196.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:30 +04:00
duckman
d7a4665aaf [8085] Apply talent rate to all talents points.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:30 +04:00
VladimirMangos
a656bc36fa [8084] Correctly show spell icon disabled state at relogin for spells with cooldown delayed until expire. 2009-07-02 09:18:29 +04:00
VladimirMangos
34d5620a91 [8083] New debug command: .debug setaurastate for test target/caster aura states.
Also fix wrong (!args) checks in debug commands.
2009-07-02 09:18:28 +04:00
Lightguard
7eef6d2638 [8082] Update Diminishing Returns.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:28 +04:00
Ambient
d23f80924c [8081] Remove player only targeting limitation for spell 25899, 20911 for triggering part.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:27 +04:00
VladimirMangos
cc23cf4653 [8080] Portability fixes for some Unix platforms.
* Add #include <stdio.h> to some fiels where related functions call.
* Avoid template dependent lookup for fields in class LockedQueue.
2009-07-02 09:18:26 +04:00
VladimirMangos
0a8f9ac6e9 [8079] Fixed build errors at use old ACE versions (without ace/Stack_Trace.h). 2009-07-02 09:18:26 +04:00
VladimirMangos
fc5dde85c4 [8078] Fixed typos in character data loading after recently added new field.
* Really use race/class/gender fields instead `data` field values.
* Load extra flags (gm mode onm gm fly mode, gm invisibility and etc) from proper field.

NOTE: recommedned reset characters.extra_flags field to 0 for all characters.
It can be corrupted in time login/logout before this fix.
2009-07-02 09:18:25 +04:00
VladimirMangos
48caaaffcf [8077] Resolve mixed store and use 2 different flags values types in single field.
* Create new monster move field in Creature class and use it in all cases when expected use MONSTER_MOVE_* flags.
* Store and use MOVEMENTFLAG_* values in field in MovementInfo structure of Player class.
* Cleanups and fix related code.

NOTE: DB in creature_addon store values similar MONSTER_MOVE_* flags, scritps also expected set only this flags.
2009-07-02 09:18:24 +04:00
thenecromancer
9bc57c8512 [8076] Fixed well known walk-after-taxi bug.
Also thanks to jolan, yad02, nos4r2zod for deep reseach problem.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:17:30 +04:00
NoFantasy
4baf32d05f [8075] Effect at remove for aura of spell 42783.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:17:29 +04:00
nos4r2zod
93d3edfc15 [8074] Fixed typo in money save.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:17:28 +04:00
tomrus88
f8740c15ef Updated to latest PTR build 10048. 2009-06-30 09:46:27 +04:00
tomrus88
12f05c3c78 Renamed file. 2009-06-25 19:10:56 +04:00
tomrus88
02bcc56919 Added placeholders for new battlegrounds, some other stuff. 2009-06-25 19:08:53 +04:00
tomrus88
7df6372458 Updated to client 3.2.0.10026, not tested. 2009-06-24 10:23:02 +04:00
hunuza
517697768a [8073] Use new database fields in offline player answer to CMSG_NAME_QUERY.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-23 19:47:54 +02:00
hunuza
8a32a19bad [8072] First step to get rid of data blob.
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table.

The update will not work if your database contains characters with an old data field (not fitting to the actual client version).

It's recommended to backup your character database before applying this patch.

Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-23 17:51:48 +02:00
VladimirMangos
f34ce077c0 [8071] Restore work .modify tp command. Allow apply it to selected character's pet. 2009-06-23 04:46:13 +04:00
VladimirMangos
7175007aba [8070] Restore spell casting loot items and recipes.
* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without template replace spells like clam loot spells)
  Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with itemtype==0

Note: required DB support in `spell_loot_termplate`
2009-06-23 03:46:27 +04:00
Saeba
e455ee7da7 [8069] Fixed copy/paste mistake in achievement error output.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-22 22:21:51 +02:00
SeT
d4017afadd [8068] Fixed crash from 33201 and ranks, remove outdated rank case.
Signed-off-by: SeT <can15@ngs.ru>
(cherry picked from commit e52f1f4e530a435edb156de5083e39b2ef23bbb5)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 15:59:47 +04:00
VladimirMangos
634fda8475 [8067] Fixed tabs and trailing whitespaces in code. 2009-06-22 15:43:47 +04:00
Ambal
c402d3ec26 [8066] Fixed typo in Teleport call.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 13:43:27 +04:00
Rhyll
8f69f19027 [8065] Remove outdated data in spell_proc_event.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 00:44:07 +04:00
pasdVn
14700e9918 [8064] Implemented dummy procs for spell 47535 and ranks
(cherry picked from commit 80d0367959b110cb3daa0c6dd65022f5ecf84ac5)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 00:22:25 +04:00
bobaz
d49d7e74f9 [8063] Fix summon water elemental.
Summon type changed in 3.1.0.

Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 15:13:33 +02:00
Alez
17a82a063e [8062] Update triggering spell for talent 51625 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 16:27:00 +04:00
hunuza
e2d3a68a48 [8061] Fixed 12834 and ranks stacking behaviour.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 13:17:45 +02:00
hunuza
7448aaa37e [8060] Fix 56314 and ranks.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 12:33:52 +02:00
Skirnir
113a492e02 [8059] Fix summon type for 33831 (changed in 3.0.0).
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 10:41:39 +02:00
NoFantasy
ec133404ca [8058] Avoid use error_log in non-scripting DLL code.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 04:13:07 +04:00
NoFantasy
400c110e1f [8057] Move code from Event AI to class Creature function for reuse in other scripting cases.
Also some outdated and wrong checks remove.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 03:39:43 +04:00
XTZGZoReX
9b9fe55981 [8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 03:07:54 +04:00